From bc256b255a6501d51126f497c5e6a87f141bdd8f Mon Sep 17 00:00:00 2001 From: PlayerUnknown14 <139672964+PlayerUnknown14@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:50:00 +0700 Subject: [PATCH] =?UTF-8?q?spellcheck:=20=D0=BB=D0=BE=D0=BA=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D1=80=D0=B5=D0=B0=D0=B3?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=BE=D0=B2,=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B5=D0=B9=D0=BD=D0=B5=D1=80=D0=BE=D0=B2,=20=D0=BC=D0=B5?= =?UTF-8?q?=D0=B4=D0=B8=D1=86=D0=B8=D0=BD=D1=8B=20=D0=B8=20=D1=82=D0=B0?= =?UTF-8?q?=D0=BA=20=D0=B4=D0=B0=D0=BB=D0=B5=D0=B5=20(#6459)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Тык * Тык * Чиюризин * Вода и всё такое * Вкусы * Фикс * Всякое * Дисис * . * Пум * Тык * Тык * Алкоголь и коктейли * Дринкс * Фуд * . * Миск * медицине * драгс * пиротекник * токсины * фикс * парадизе_поп * и ещё * тык * тык * кэнс * сайринджжж * тык * тык * бикеры * всякое-всякое * и ещё тык * патч * таблетка * спрэй * табуляция блин * Фиксы + переименование * гипоспрей * Я ПОЧИНИЛ ВЕНДОМАТЫ!!! * и ещё * дроппер * фиксы вендомата * мендер * борг_гипо * стакан + рюмка * фиксы * ботлс * фикс * капельницы * фиксы * аптечки, патчницы, таблетницы * фиксы * фикс * Тык * Тык * Чиюризин * Вода и всё такое * Вкусы * Фикс * Всякое * Дисис * . * Пум * Тык * Тык * Алкоголь и коктейли * Дринкс * Фуд * . * Миск * медицине * драгс * пиротекник * токсины * фикс * парадизе_поп * и ещё * тык * тык * кэнс * сайринджжж * тык * тык * бикеры * всякое-всякое * и ещё тык * патч * таблетка * спрэй * табуляция блин * Фиксы + переименование * гипоспрей * Я ПОЧИНИЛ ВЕНДОМАТЫ!!! * и ещё * дроппер * фиксы вендомата * мендер * борг_гипо * стакан + рюмка * фиксы * ботлс * фикс * капельницы * фиксы * аптечки, патчницы, таблетницы * фиксы * фикс * Squashed commit of the following: commit e38c83d286f306f57f3ac856dd99a143130b0e87 Author: PlayerUnknown14 Date: Sat Feb 8 19:36:50 2025 +0700 Squashed commit of the following: commit bc27b9c36ac08c0209420f50d55cfce91008186f Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 17:33:40 2025 +0500 add: Inugami medical gloves (#6462) * add: Inugami medical gloves * Update code/modules/clothing/gloves/color.dm Co-authored-by: PlayerUnknown14 <139672964+PlayerUnknown14@users.noreply.github.com> * Update code/modules/clothing/gloves/color.dm Co-authored-by: PlayerUnknown14 <139672964+PlayerUnknown14@users.noreply.github.com> * refator_to_signal * Update code/modules/clothing/gloves/color.dm * refector_part2 * Update code/modules/clothing/gloves/color.dm * Update code/modules/surgery/surgery.dm Co-authored-by: BeebBeebBoob * Update code/modules/surgery/surgery.dm Co-authored-by: BeebBeebBoob --------- Co-authored-by: PlayerUnknown14 <139672964+PlayerUnknown14@users.noreply.github.com> Co-authored-by: BeebBeebBoob commit 2620a9115dac349dc74476b55c6b0863de44e96e Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 17:32:29 2025 +0500 refactor: Попытка убрать лаги от бури на Лаве (#6536) * tweak: Попытка убрать лаги от бури на Лаве * fix * comment --------- Co-authored-by: BeebBeebBoob commit 3d18996f69153a166f7d15511fa4917e9604ffe1 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 17:09:48 2025 +0500 admin: tgui интпуты в админских кнопках + фикс работы кнопок (#6530) * admin: tgui интпуты в админских кнопках + фикс работы кнопок * fix * map_fix commit 16bd52b6c21612a812062c9d70ae03a8af5f4311 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 16:59:16 2025 +0500 admin: Две новые кнопки для контроля раунда (#6535) * admin: Две новые кнопки для контроля раунда * Update code/modules/admin/topic.dm Co-authored-by: BeebBeebBoob --------- Co-authored-by: BeebBeebBoob commit d21a8be58401a47a4ce0cd28629c35f6e36d6856 Author: Andrew455h <93648272+Andrew455h@users.noreply.github.com> Date: Sat Feb 8 13:31:37 2025 +0200 bugfix: спавн камеры абдукторов на ЦК (#6534) * camera aiEye network check * remove var commit 0d1c85c02119b8cc934e1c0f993b745ad366da92 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 16:29:02 2025 +0500 bugfix: tgui input text более не обрезает переносы строки в начале ввода (#6526) * bugfix: tgui input text более не обрезает переносы строки в начале ввода * Update code/modules/tgui/tgui_input/text_input.dm Co-authored-by: BeebBeebBoob --------- Co-authored-by: BeebBeebBoob commit 1af09431f258152828d528650642979e259fba13 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 16:24:06 2025 +0500 admin: Возможность отменить сохранение выбранного режима в файл (#6525) commit 7e98f69d0aad185f09e873c7c875ef7b4d910a64 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 16:22:43 2025 +0500 admin: дни, часы, минуты в бан панели (#6524) commit d9778054b7d3146345ee12047758425649ba208e Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Sat Feb 8 14:22:00 2025 +0300 map: Автолат в рнд для Коробки (#6523) * Автолат в рнд * Шатерсы преОпен commit 1a9a92f5b9b2fa8f32617b6c2c01546eb1dbf533 Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Sat Feb 8 14:21:16 2025 +0300 tweak: Добавляем броню кожаным жилетам (#6520) * Помогаем Шейе * Update code/modules/clothing/suits/miscellaneous.dm Co-authored-by: Antoonij <42318445+Antoonij@users.noreply.github.com> --------- Co-authored-by: Antoonij <42318445+Antoonij@users.noreply.github.com> commit 09d5afdd9f73a758e2231a49410ce09dbbe09ebd Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Sat Feb 8 14:20:42 2025 +0300 tweak: Бога больше не надо кормить после призыва (#6518) Богу призывается сразу после обеда commit 4c99cff7cad5ee708edfe9e469e4a4da86bd479a Author: PlayerUnknown14 <139672964+PlayerUnknown14@users.noreply.github.com> Date: Sat Feb 8 18:13:32 2025 +0700 bugfix: рабочее переименование объектов с ru_names (#6532) тык commit 596e7472f77310e828b0d7b921ed322aabd1b8bd Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 15:55:54 2025 +0500 bugfix: Исправление ввода чисел в ВВ + Возможность отмены раздачи куклы призракам (#6521) Co-authored-by: BeebBeebBoob commit 0cb84a5b465dbc29687e0cd1e9fc015861e68282 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat Feb 8 15:54:27 2025 +0500 bugfix: Исправление ошибки при добавлении в VV нового объекта без аргументов (#6517) commit 5e35d40b6c8d1337aede3ca5985e92b0b3b81ab4 Author: BeebBeebBoob Date: Sun Feb 2 13:46:34 2025 +0300 bugfix: Голомап инженерный на Дельте (#6516) commit 6c5e69d2e13f3ab9e42d3ae4cbe3855466aad6e8 Author: TimChi <123629996+timchigaming@users.noreply.github.com> Date: Sun Feb 2 12:35:40 2025 +0300 add: Light frame coloring (#6381) * working properly * что за удаление символа переноса строки?! * Update lighting.dm --------- Co-authored-by: BeebBeebBoob commit 8e35d68bc4b9dab719b802083622c0d7634396d8 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sun Feb 2 14:34:13 2025 +0500 admin: Настраиваемый портальный шторм (#6496) * admin: Настраиваемый портальный шторм * fix * fix commit 45d2197c43a332e16f86d60e69db09c74f26b8f3 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sun Feb 2 14:32:57 2025 +0500 admin: Изменение доступа админской части консоли коммуникаций + багфикс обр (#6501) * admin: Изменение доступа админской части консоли коммуникаций + багфикс обр * ERT_lock_fix * уведомление тоже commit db45acdafc1d894660b25bc006f199ee723e4746 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sun Feb 2 14:31:56 2025 +0500 admin: немного ПОДизации админских кнопок (#6503) * admin: немного ПОДезации админских кнопок * ящик тоже * fix * style fix commit bab8b289770490620f4ff1d524ad71bf39ff698a Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Sun Feb 2 12:27:05 2025 +0300 imageadd: Спрайты в руках для ксено-органов и медицинской одежды (#6505) * Спрайты орагов и одежды в руках и немного логики для обновления спрайтов в руках * Фиксим одежду * Меняем спрайты сердец местами commit dd10549be6081366acead805d212dbba9e60263b Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sun Feb 2 14:24:48 2025 +0500 experiment: explosions subsystem (#6372) * experiment: explosions subsystem * style fix * fix * infinity cycle fix * experiment: explosions subsystem * style fix * fix * infinity cycle fix * node qdels fix * no_more_infinity_cycle * update Добавлена корректная более обработка мультиЗ взрывов, теперь взрыв на разны уровнях происходит в рамках одной обработки, а не как последовательность взрывов на разных уровнях. Так же в прок добавлена возможность содавать направленные взрывы, а так же исключать эпицентр из обработки. Убрана старая обработка мультиЗ взрывов commit bb77a48bda024c73f6945999e6c3b222bc05137f Author: BeebBeebBoob Date: Sun Feb 2 12:17:58 2025 +0300 refactor: Метеорные щиты, визуал на голомапе, соединение Z уровней (#6513) * refactor: Метеорные щиты, визуал на голомапе, соединение Z уровней * translation fix commit ace94d09fa5a1d6bafc7fee81cb63e850c18aac7 Author: Vitalya <73825194+oi98@users.noreply.github.com> Date: Sun Feb 2 16:10:27 2025 +0700 imageadd: Респрайт космических кои (#6448) * some_koi_resprite * koi resprite 2 * kisik fix commit 233348760e5cb677883156e4defad85b2578910d Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Sun Feb 2 12:08:11 2025 +0300 bugfix: Исправил путь до стейтов темплар щита и дарк блессинга (#6514) Исправил путь до стейтов commit 104211c70d0d7c7ff2061d32fd1a0bfbd3f82f44 Author: BeebBeebBoob Date: Sun Feb 2 12:07:01 2025 +0300 bugfix: NaN воздух от фризеров (#6515) commit bb529d3376568532f006657900060573f1a0500c Author: BeebBeebBoob Date: Sun Feb 2 12:05:55 2025 +0300 add: Augury, Авто-отслеживание метеоров и палок (#6512) * add: Augury, Авто-отслеживание метеоров и палок * fixing commit 77e43ebc5f86b4681d8460b796f7039bb7d17fbb Author: Antoonij <42318445+Antoonij@users.noreply.github.com> Date: Sat Feb 1 23:28:44 2025 +0100 code_imp: Set key wrapper (#6492) * 1 * comsig mob login * fix commit 0e1e29e6ff4e4beb4289e7f38abe8f278ce77549 Author: BeebBeebBoob Date: Sun Feb 2 01:27:28 2025 +0300 bugfix: Вендоматы теперь правильно показывают(Откат часть перевода) (#6511) commit 93bb6d25c831804e7e9f86b21153c2d1b873b7f8 Author: BeebBeebBoob Date: Sun Feb 2 01:27:16 2025 +0300 bugfix: ИИ работает с голомапом теперь (#6510) * bugfix: ИИ работает с голомапом теперь * fix commit a56df789a36a435c2fa01a23b73a58578babca4a Author: BeebBeebBoob Date: Sun Feb 2 01:27:02 2025 +0300 bugfix: Засосывание двух людей в ДНК одновременно (#6509) * bugfix: Засосывание двух людей в ДНК одновременно * fuck commit f1a53920e0c6e44040e72766beca61b0902b2f2a Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Sun Feb 2 01:26:49 2025 +0300 bugfix: Добавил новой зоне звуки от старой (#6506) Добавил новой зоне звуки от старой commit 0aadff673e9ac1ac1e55052d4963b7438b44a8d9 Author: Changelog Generation Date: Fri Jan 31 05:57:21 2025 +0000 Automatic changelog generation commit ade321e8a5b8979c056d1fba17a2638ea4638a90 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri Jan 31 08:55:29 2025 +0300 Automatic NanoMap Update (#6486) NanoMap Auto-Update (Fri Jan 31 01:23:17 UTC 2025) Co-authored-by: NanoMap Generation commit 87e1aa417efaa828d3ea76aa1d27dae709bb55a5 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Fri Jan 31 10:54:35 2025 +0500 admin: Несколько PM qol-ов (#6497) * admin: Несколько PM qol-ов * adminhelps too * fix commit d6abd40fdc2b19ee02af2ed19c1594cca55b24fc Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Fri Jan 31 08:53:45 2025 +0300 map: Заменил название зоны внешнего коридора спутника на Дельтах (#6500) Зоны, которые фармят +1 -1 за каждый тайл commit eb610e3eabf5a6f18392e4ac16d522e7f91e3689 Author: littleboobs Date: Fri Jan 31 08:41:53 2025 +0300 spellcheck: перевод датчиков костюма + фиксы локализации (#6485) * датчики * fix * Apply suggestions from code review * Apply suggestions from code review * fix * fix * fix * fix * fix --------- Co-authored-by: PlayerUnknown14 <139672964+PlayerUnknown14@users.noreply.github.com> commit 90bd5bb0ace1de76017ae23f47fb698c5ca1efe1 Author: Antoonij <42318445+Antoonij@users.noreply.github.com> Date: Fri Jan 31 06:41:25 2025 +0100 add: object posession component (#6461) * czponk * dme * 3 * 4 * fix ident * 5 * fix * bright back rod possessed movement * trailing newline * 1 fix * 2 commit 216ecbd806a8f99bc9ffb2aeb08f94d730ab2e11 Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Fri Jan 31 08:39:05 2025 +0300 bugfix: Задержка для дымогена и новый реагент взамен удалённого для ксеноборга (#6495) * Задержка для дымогена и новый реагент взамен удалённого * Энергопотребление для "спреев" и дым для стан спрея commit beaaecbb980e43bffffe6ea0e8754d78c90a02a2 Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Fri Jan 31 10:37:39 2025 +0500 bugfix: player panel fixes (#6494) * bugfix: player panel fixes * sounds category * Update code/modules/admin/player_options_panel.dm Co-authored-by: BeebBeebBoob * Update code/modules/admin/player_panel_veth.dm Co-authored-by: BeebBeebBoob --------- Co-authored-by: BeebBeebBoob commit 5be0b7b0080e30ee30a82dbc939fb0ec6d8d1eae Author: Rafnik02 <141545822+Rafnik02@users.noreply.github.com> Date: Thu Jan 30 14:36:30 2025 +0700 imageadd: органы, рюкзаки, папки в руки (#6490) спрайтики commit 1788646eccd5fe5455629cc20018de2d37e8331a Author: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Thu Jan 30 12:27:52 2025 +0500 bugfix: Категория у Advanced Spawn + возможность удаления излучателя звука (#6487) * тгуи * фиксы * Squashed commit of the following: commit 765d04e4987d3dd434f7f69ebf118c02868940e0 Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Mon Feb 17 15:45:06 2025 +0300 bugfix: satchel item_state (#6568) Сатчельки commit a1b511f246fa250e9be73f42a3db147044566f66 Author: Antoonij <42318445+Antoonij@users.noreply.github.com> Date: Mon Feb 17 13:42:15 2025 +0100 bugfix: reagent attack message (#6563) 1 commit e64f8ca99f63ec5e077821d3c4d3e9339355fc7a Author: BeebBeebBoob Date: Mon Feb 17 15:41:42 2025 +0300 bugfix: Player panel fix (#6572) * bugfix: Player Panel fixes * bundle * whoops * Update tgui.bundle.js * Squashed commit of the following: commit 765d04e4987d3dd434f7f69ebf118c02868940e0 Author: FlitchTime <109819349+FlitchTime@users.noreply.github.com> Date: Mon Feb 17 15:45:06 2025 +0300 bugfix: satchel item_state (#6568) Сатчельки commit a1b511f246fa250e9be73f42a3db147044566f66 Author: Antoonij <42318445+Antoonij@users.noreply.github.com> Date: Mon Feb 17 13:42:15 2025 +0100 bugfix: reagent attack message (#6563) 1 commit e64f8ca99f63ec5e077821d3c4d3e9339355fc7a Author: BeebBeebBoob Date: Mon Feb 17 15:41:42 2025 +0300 bugfix: Player panel fix (#6572) * bugfix: Player Panel fixes * bundle * whoops * Update tgui.bundle.js * фикс --- code/__HELPERS/_lists.dm | 20 + code/datums/diseases/_disease.dm | 2 +- code/datums/diseases/viruses/_virus.dm | 2 +- code/game/atoms.dm | 8 +- code/game/gamemodes/cult/blood_magic.dm | 18 +- code/game/gamemodes/cult/runes.dm | 2 +- .../shadowling/shadowling_abilities.dm | 10 +- code/game/machinery/Sleeper.dm | 2 +- code/game/machinery/adv_med.dm | 12 +- code/game/machinery/vending.dm | 36 +- code/game/objects/items/devices/scanners.dm | 12 +- .../objects/items/weapons/storage/firstaid.dm | 252 ++- .../antagonists/blob/blobstrains/_reagent.dm | 6 +- .../blob/blobstrains/blob_sorium.dm | 2 +- .../blob/blobstrains/cryogenic_poison.dm | 4 +- .../blob/blobstrains/distributed_neurons.dm | 4 +- .../blob/blobstrains/electromagnetic_web.dm | 2 +- .../blob/blobstrains/energized_jelly.dm | 4 +- .../blob/blobstrains/networked_fibers.dm | 2 +- .../blob/blobstrains/pressurized_slime.dm | 2 +- .../blob/blobstrains/radioactive_gel.dm | 2 +- .../blob/blobstrains/reactive_spines.dm | 2 +- .../blob/blobstrains/regenerative_materia.dm | 4 +- .../blob/blobstrains/replicating_foam.dm | 2 +- .../blob/blobstrains/synchronous_mesh.dm | 4 +- .../antagonists/borer/borer_reagent.dm | 40 +- .../ninja_status_read.dm | 2 +- code/modules/clothing/suits/miscellaneous.dm | 6 +- code/modules/flufftext/Hallucination.dm | 2 +- code/modules/food_and_drinks/drinks/drinks.dm | 64 +- .../food_and_drinks/drinks/drinks/bottle.dm | 348 +++- .../food_and_drinks/drinks/drinks/cans.dm | 306 ++- .../drinks/drinks/drinkingglass.dm | 16 +- .../drinks/drinks/shotglass.dm | 47 +- code/modules/food_and_drinks/food.dm | 2 +- code/modules/food_and_drinks/food/snacks.dm | 4 +- .../mining/lavaland/loot/tendril_loot.dm | 6 +- code/modules/mob/living/carbon/carbon.dm | 24 +- code/modules/mob/living/carbon/human/human.dm | 12 +- code/modules/mob/living/living_defense.dm | 4 +- .../living/simple_animal/bot/construction.dm | 2 +- .../hostile/terror_spiders/chem.dm | 8 +- code/modules/mob/living/taste.dm | 9 +- code/modules/reagents/chemistry/holder.dm | 10 +- .../chemistry/machinery/chem_master.dm | 11 +- .../reagents/chemistry/machinery/pandemic.dm | 12 +- code/modules/reagents/chemistry/reagents.dm | 14 +- .../reagents/chemistry/reagents/admin.dm | 12 +- .../reagents/chemistry/reagents/alcohol.dm | 1712 ++++++++--------- .../reagents/chemistry/reagents/disease.dm | 72 +- .../reagents/chemistry/reagents/drink_base.dm | 6 +- .../reagents/chemistry/reagents/drink_cold.dm | 180 +- .../reagents/chemistry/reagents/drinks.dm | 389 ++-- .../reagents/chemistry/reagents/drugs.dm | 303 ++- .../reagents/chemistry/reagents/food.dm | 458 +++-- .../reagents/chemistry/reagents/medicine.dm | 410 ++-- .../reagents/chemistry/reagents/misc.dm | 343 ++-- .../reagents/chemistry/reagents/ninja.dm | 34 +- .../reagents/chemistry/reagents/paint.dm | 26 +- .../chemistry/reagents/paradise_pop.dm | 46 +- .../chemistry/reagents/pyrotechnic.dm | 118 +- .../reagents/chemistry/reagents/toxins.dm | 401 ++-- .../reagents/chemistry/reagents/water.dm | 114 +- code/modules/reagents/reagent_containers.dm | 32 +- .../reagents/reagent_containers/applicator.dm | 59 +- .../reagents/reagent_containers/borghydro.dm | 76 +- .../reagents/reagent_containers/bottle.dm | 744 ++++++- .../reagents/reagent_containers/dropper.dm | 57 +- .../reagent_containers/glass_containers.dm | 191 +- .../reagents/reagent_containers/hypospray.dm | 279 ++- .../reagents/reagent_containers/iv_bag.dm | 97 +- .../reagents/reagent_containers/patch.dm | 78 +- .../reagents/reagent_containers/pill.dm | 222 ++- .../reagents/reagent_containers/spray.dm | 202 +- .../reagents/reagent_containers/syringes.dm | 165 +- strings/lobby_phrases.txt | 10 +- tgui/packages/tgui/interfaces/BodyScanner.js | 12 +- .../packages/tgui/interfaces/ChemDispenser.js | 4 +- tgui/packages/tgui/interfaces/Cryo.js | 8 +- .../tgui/interfaces/OperatingComputer.js | 8 +- tgui/packages/tgui/interfaces/Sleeper.js | 8 +- .../tgui/interfaces/VampireTrophiesStatus.js | 4 +- tgui/packages/tgui/interfaces/Vending.js | 33 +- tgui/public/tgui.bundle.js | 6 +- 84 files changed, 5252 insertions(+), 3032 deletions(-) diff --git a/code/__HELPERS/_lists.dm b/code/__HELPERS/_lists.dm index c5b3804803d..21e9cd64847 100644 --- a/code/__HELPERS/_lists.dm +++ b/code/__HELPERS/_lists.dm @@ -116,6 +116,26 @@ return "[output][and_text][input[index]]" +/proc/russian_list(var/list/input, nothing_text = "ничего", and_text = " и ", comma_text = ", ", final_comma_text = "" ) + var/total = input.len + if(!total) + return "[nothing_text]" + else if(total == 1) + return "[input[1]]" + else if(total == 2) + return "[input[1]][and_text][input[2]]" + else + var/output = "" + var/index = 1 + while(index < total) + if(index == total - 1) + comma_text = final_comma_text + + output += "[input[index]][comma_text]" + index++ + + return "[output][and_text][input[index]]" + //Returns list element or null. Should prevent "index out of bounds" error. /proc/listgetindex(var/list/list,index) if(istype(list) && list.len) diff --git a/code/datums/diseases/_disease.dm b/code/datums/diseases/_disease.dm index c56eb3ddbef..da4dd10418a 100644 --- a/code/datums/diseases/_disease.dm +++ b/code/datums/diseases/_disease.dm @@ -84,7 +84,7 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease)) var/datum/reagent/R = GLOB.chemical_reagents_list[id] if(istype(R)) reagents += R.name - cure_text = english_list(reagents, "Неизлечимо", needs_all_cures ? " & " : " or ") + cure_text = russian_list(reagents, "Неизлечимо", needs_all_cures ? " и " : " или ") /datum/disease/Destroy() affected_mob = null diff --git a/code/datums/diseases/viruses/_virus.dm b/code/datums/diseases/viruses/_virus.dm index b06fc397217..bce22e4658b 100644 --- a/code/datums/diseases/viruses/_virus.dm +++ b/code/datums/diseases/viruses/_virus.dm @@ -100,4 +100,4 @@ spread += "Контактный" if(spread_flags & AIRBORNE) spread += "Воздушно-капельный" - return english_list(spread, "Неизвестен", " и ") + return russian_list(spread, "Неизвестен", " и ") diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 27f343ca9c2..a58041fbf9f 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -418,20 +418,20 @@ if(reagents) if(container_type & TRANSPARENT) - . += span_notice("Внутри содержится:") + . += span_notice("Содержимое:") if(reagents.reagent_list.len) if(user.can_see_reagents()) //Show each individual reagent for(var/I in reagents.reagent_list) var/datum/reagent/R = I - . += span_notice("[R.volume] единиц[declension_ru(R.volume, "у", "ы", "")] [R.name].") + . += span_notice("[R.name] - [R.volume] единиц[declension_ru(R.volume, "а", "ы", "")].") else //Otherwise, just show the total volume if(reagents && reagents.reagent_list.len) - . += span_notice("[reagents.total_volume] единиц[declension_ru(reagents.total_volume, "у", "ы", "")] различных веществ.") + . += span_notice("[reagents.total_volume] единиц[declension_ru(reagents.total_volume, "а", "ы", "")] вещества.") else . += span_notice("Ничего.") else if(container_type & AMOUNT_VISIBLE) if(reagents.total_volume) - . += span_notice("Осталось ещё [reagents.total_volume] единиц[declension_ru(reagents.total_volume, "у", "ы", "")].") + . += span_notice("Осталось ещё [reagents.total_volume] единиц[declension_ru(reagents.total_volume, "а", "ы", "")] вещества.") else . += span_danger("Внутри ничего нет.") diff --git a/code/game/gamemodes/cult/blood_magic.dm b/code/game/gamemodes/cult/blood_magic.dm index 5d9a07f5ee3..7b511291478 100644 --- a/code/game/gamemodes/cult/blood_magic.dm +++ b/code/game/gamemodes/cult/blood_magic.dm @@ -104,7 +104,7 @@ desc += "
Has [charges] use\s remaining." all_magic = BM button.ordered = FALSE - + ..() /datum/action/innate/cult/blood_spell/override_location() @@ -160,7 +160,7 @@ desc = "Channel an electromagnetic pulse inside your body, then release it, affecting nearby non-cultists. The pulse will still affect you." button_icon_state = "emp" health_cost = 10 - invocation = "Ta'gh fara'qha fel d'amar det!" + invocation = "Та'гх фара'кха фель де'амар дет!" /datum/action/innate/cult/blood_spell/emp/Grant(mob/living/owner) if(ishuman(owner)) @@ -302,7 +302,7 @@ /datum/action/innate/cult/blood_spell/veiling name = "Conceal Presence" desc = "Alternates between hiding and revealing nearby cult structures, cult airlocks and runes." - invocation = "Kla'atu barada nikt'o!" + invocation = "Кла'ату барада никт'o!" button_icon_state = "veiling" charges = 10 var/revealing = FALSE //if it reveals or not @@ -341,7 +341,7 @@ name = "Blood Rites" desc = "Empowers your hand to manipulate blood. Use on blood or a noncultist to absorb blood to be used later, use on yourself or another cultist to heal them using absorbed blood. \ \nUse the spell in-hand to cast advanced rites, such as summoning a magical blood spear, firing blood projectiles out of your hands, and more!" - invocation = "Fel'th Dol Ab'orod!" + invocation = "Фел'т Дол Аб'ород!" button_icon_state = "manip" charges = 5 magic_path = /obj/item/melee/blood_magic/manipulator @@ -423,7 +423,7 @@ name = "Stunning Aura" desc = "Will stun and mute a victim on contact." color = RUNE_COLOR_RED - invocation = "Fuu ma'jin!" + invocation = "Фуу ма'джин!" /obj/item/melee/blood_magic/stun/afterattack(atom/target, mob/living/carbon/user, proximity, params) if(!isliving(target) || !proximity) @@ -465,7 +465,7 @@ name = "Teleporting Aura" color = RUNE_COLOR_TELEPORT desc = "Will teleport a cultist to a teleport rune on contact." - invocation = "Sas'so c'arta forbici!" + invocation = "Сас'со к'арта форбичи!" /obj/item/melee/blood_magic/teleport/afterattack(atom/target, mob/living/carbon/user, proximity, params) var/list/potential_runes = list() @@ -522,7 +522,7 @@ /obj/item/melee/blood_magic/shackles name = "Shackling Aura" desc = "Will start handcuffing a victim on contact, and mute them for a short duration if successful." - invocation = "In'totum Lig'abis!" + invocation = "Ин'тотум Лиг'абис!" color = "#000000" // black /obj/item/melee/blood_magic/shackles/afterattack(atom/target, mob/living/carbon/user, proximity, params) @@ -574,7 +574,7 @@ /obj/item/melee/blood_magic/construction name = "Twisting Aura" desc = "Corrupts certain metalic objects on contact." - invocation = "Ethra p'ni dedol!" + invocation = "Этра п'ни дедоль!" color = "#000000" // black var/channeling = FALSE @@ -658,7 +658,7 @@ /obj/item/melee/blood_magic/empower name = "Blood Recharge" desc = "Can be used on some cult items, to restore them to their previous state." - invocation = "Ditans Gut'ura Inpulsa!" + invocation = "Дитанс Гут'ура Инпульса!" color = "#9c0651" has_source = FALSE //special, only availible for a blood cost. diff --git a/code/game/gamemodes/cult/runes.dm b/code/game/gamemodes/cult/runes.dm index fbdc4c534a2..c985cc902cd 100644 --- a/code/game/gamemodes/cult/runes.dm +++ b/code/game/gamemodes/cult/runes.dm @@ -411,7 +411,7 @@ structure_check() searches for nearby cultist structures required for the invoca /obj/effect/rune/teleport cultist_name = "Teleport" cultist_desc = "warps everything above it to another chosen teleport rune." - invocation = "Sas'so c'arta forbici!" + invocation = "Сас'со к'арта форбичи!" icon_state = "teleport" req_keyword = TRUE light_power = 4 diff --git a/code/game/gamemodes/shadowling/shadowling_abilities.dm b/code/game/gamemodes/shadowling/shadowling_abilities.dm index 8fa01aad902..1d80581f907 100644 --- a/code/game/gamemodes/shadowling/shadowling_abilities.dm +++ b/code/game/gamemodes/shadowling/shadowling_abilities.dm @@ -506,9 +506,9 @@ /datum/reagent/shadowling_blindness_smoke //Blinds non-shadowlings, heals shadowlings/thralls - name = "odd black liquid" + name = "Странная чёрная жидкость" id = "blindness_smoke" - description = "<::ERROR::> CANNOT ANALYZE REAGENT <::ERROR::>" + description = "ЗАПИСЬ В БАЗЕ ДАННЫХ ОТСУТСТВУЕТ" color = "#000000" //Complete black (RGB: 0, 0, 0) metabolization_rate = 250 * REAGENTS_METABOLISM //still lel @@ -516,13 +516,13 @@ /datum/reagent/shadowling_blindness_smoke/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(!is_shadow_or_thrall(M)) - to_chat(M, "You breathe in the black smoke, and your eyes burn horribly!") + to_chat(M, span_warning("Вы вдыхаете чёрный дым, и ваши глаза ужасно горят!")) M.EyeBlind(10 SECONDS) if(prob(25)) - M.visible_message("[M] claws at [M.p_their()] eyes!") + M.visible_message(span_warning("[M] яростно тр[pluralize_ru(M.gender, "ёт", "ут")] свои глаза!")) M.Stun(4 SECONDS) else - to_chat(M, "You breathe in the black smoke, and you feel revitalized!") + to_chat(M, span_notice("Вы вдыхаете чёрный дым и чувствуете лёгкость!")) update_flags |= M.heal_organ_damage(10, 10, updating_health = FALSE) update_flags |= M.adjustOxyLoss(-10, FALSE) update_flags |= M.adjustToxLoss(-10, FALSE) diff --git a/code/game/machinery/Sleeper.dm b/code/game/machinery/Sleeper.dm index 194bc3b3f67..b06a7c03d83 100644 --- a/code/game/machinery/Sleeper.dm +++ b/code/game/machinery/Sleeper.dm @@ -137,7 +137,7 @@ if(world.timeofday > (R.last_addiction_dose + ADDICTION_SPEEDUP_TIME)) // 2.5 minutes addiction_removal_chance = 10 if(prob(addiction_removal_chance)) - to_chat(occupant, span_notice("Ваш разум проясняется, а навязчивые мысли уходят. Похоже, вы побороли свою зависимость от [R.name]!")) + to_chat(occupant, span_notice("Ваш разум проясняется, а навязчивые мысли уходят. Похоже, вы побороли свою зависимость от [R.name]!")) occupant.reagents.addiction_list.Remove(R) qdel(R) diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index 819dc59004a..e9af73402e0 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -459,16 +459,16 @@ var/extra_font = null extra_font = (occupant.getBruteLoss() < 60 ? "" : "") - dat += "[extra_font]\t-Физические повреждения: [occupant.getBruteLoss()]
" + dat += "[extra_font]\t-Механические повреждения: [occupant.getBruteLoss()]

" extra_font = (occupant.getOxyLoss() < 60 ? "" : "") - dat += "[extra_font]\t-Удушение: [occupant.getOxyLoss()]
" + dat += "[extra_font]\t-Удушье: [occupant.getOxyLoss()]

" extra_font = (occupant.getToxLoss() < 60 ? "" : "") - dat += "[extra_font]\t-Токсины: [occupant.getToxLoss()]
" + dat += "[extra_font]\t-Отравление: [occupant.getToxLoss()]

" extra_font = (occupant.getFireLoss() < 60 ? "" : "") - dat += "[extra_font]\t-Ожоги: [occupant.getFireLoss()]
" + dat += "[extra_font]\t-Термические повреждения: [occupant.getFireLoss()]

" extra_font = (occupant.radiation < 10 ?"" : "") dat += "[extra_font]\tРадиационное поражение: [occupant.radiation]
" @@ -509,8 +509,8 @@ dat += "
" dat += "" dat += "" - dat += "" - dat += "" + dat += "" + dat += "" dat += "" dat += "" diff --git a/code/game/machinery/vending.dm b/code/game/machinery/vending.dm index cc2f590426f..29eeb3d35a9 100644 --- a/code/game/machinery/vending.dm +++ b/code/game/machinery/vending.dm @@ -387,9 +387,9 @@ if(isnull(amount)) amount = 0 - var/atom/temp = typepath + var/obj/item = new typepath(src) var/datum/data/vending_product/R = new /datum/data/vending_product() - R.name = initial(temp.name) + R.name = capitalize(item.ru_names ? item.ru_names[1] : item.name) R.product_path = typepath if(!start_empty) R.amount = amount @@ -687,11 +687,11 @@ if(!item_slot || inserted_item) return if(!user.drop_transfer_item_to_loc(I, src)) - to_chat(user, span_warning("[I] будто бы приклеен к твоей руке! Вы не можете его скинуть!")) + to_chat(user, span_warning("[capitalize(I.declent_ru(NOMINATIVE))] будто бы приклеен[genderize_ru(I.gender, "", "а", "о", "ы")] к вашей руке! Вы не можете [genderize_ru(I.gender, "его", "её", "его", "их")] скинуть!")) return inserted_item = I balloon_alert(user, "предмет вставлен") - to_chat(user, span_notice("Вы вставили [I] в [declent_ru(GENITIVE)].")) + to_chat(user, span_notice("Вы вставили [I.declent_ru(ACCUSATIVE)] в [declent_ru(GENITIVE)].")) SStgui.update_uis(src) /obj/machinery/vending/proc/eject_item(mob/user) @@ -711,7 +711,7 @@ /obj/machinery/vending/emag_act(mob/user) emagged = TRUE if(user) - to_chat(user, "Вы закоротили микросхемы [declent_ru(GENITIVE)]") + to_chat(user, "Вы закоротили микросхемы [declent_ru(GENITIVE)].") /obj/machinery/vending/attack_ai(mob/user) return attack_hand(user) @@ -759,7 +759,7 @@ data["user"] = list() data["user"]["name"] = A.owner_name data["userMoney"] = A.money - data["user"]["job"] = "Silicon" + data["user"]["job"] = "Силикон" if(ishuman(user)) A = get_card_account(user) var/mob/living/carbon/human/H = user @@ -773,7 +773,7 @@ data["user"] = list() data["user"]["name"] = A.owner_name data["userMoney"] = A.money - data["user"]["job"] = (istype(C) && C.rank) ? C.rank : "No Job" + data["user"]["job"] = (istype(C) && C.rank) ? C.rank : "Должность отсутствует" else data["guestNotice"] = "Обнаруженная ID-карта не привязана к счёту."; data["stock"] = list() @@ -781,11 +781,11 @@ data["stock"][R.name] = R.amount data["extended_inventory"] = extended_inventory data["vend_ready"] = vend_ready - data["coin_name"] = coin ? coin.declent_ru(NOMINATIVE) : FALSE + data["coin_name"] = coin ? capitalize(coin.declent_ru(NOMINATIVE)) : FALSE data["panel_open"] = panel_open ? TRUE : FALSE data["speaker"] = shut_up ? FALSE : TRUE data["item_slot"] = item_slot // boolean - data["inserted_item_name"] = inserted_item ? inserted_item.declent_ru(NOMINATIVE) : FALSE + data["inserted_item_name"] = inserted_item ? capitalize(inserted_item.declent_ru(NOMINATIVE)) : FALSE return data @@ -795,11 +795,11 @@ data["product_records"] = list() var/i = 1 for (var/datum/data/vending_product/R in product_records) - var/obj/item = R.product_path + var/obj/item/item = new R.product_path(src) var/list/data_pr = list( path = replacetext(replacetext("[R.product_path]", "/obj/item/", ""), "/", "-"), - name = R.name, - price = (item in prices) ? prices[item] : 0, + name = capitalize(item.ru_names ? item.ru_names[1] : item.name), + price = (R.product_path in prices) ? prices[R.product_path] : 0, icon = item.icon, icon_state = item.icon_state, max_amount = R.max_amount, @@ -811,11 +811,11 @@ i++ data["coin_records"] = list() for (var/datum/data/vending_product/R in coin_records) - var/obj/item = R.product_path + var/obj/item/item = new R.product_path(src) var/list/data_cr = list( path = replacetext(replacetext("[R.product_path]", "/obj/item/", ""), "/", "-"), - name = R.name, - price = (item in prices) ? prices[item] : 0, + name = capitalize(item.ru_names ? item.ru_names[1] : item.name), + price = (R.product_path in prices) ? prices[R.product_path] : 0, icon = item.icon, icon_state = item.icon_state, max_amount = R.max_amount, @@ -828,11 +828,11 @@ i++ data["hidden_records"] = list() for (var/datum/data/vending_product/R in hidden_records) - var/obj/item = R.product_path + var/obj/item/item = new R.product_path(src) var/list/data_hr = list( path = replacetext(replacetext("[R.product_path]", "/obj/item/", ""), "/", "-"), - name = R.name, // (NOMINATIVE in R.ru_names) ? R.ru_names[NOMINATIVE] : R.name, - price = (item in prices) ? prices[item] : 0, + name = capitalize(item.ru_names ? item.ru_names[1] : item.name), + price = (R.product_path in prices) ? prices[R.product_path] : 0, icon = item.icon, icon_state = item.icon_state, max_amount = R.max_amount, diff --git a/code/game/objects/items/devices/scanners.dm b/code/game/objects/items/devices/scanners.dm index 59e76c99e7f..8bb24af639c 100644 --- a/code/game/objects/items/devices/scanners.dm +++ b/code/game/objects/items/devices/scanners.dm @@ -413,11 +413,11 @@ REAGENT SCANNER span_notice("Вы по глупости проанализировали жизненные показатели пола!") ) . += "Состояние: 100% Здоров" - . += "Тип повреждений: Удушение/Токсины/Ожоги/Физ." + . += "Тип повреждений: Удушье/Отравление/Терм./Мех." . += "Уровень повреждений: 0 - 0 - 0 - 0" . += "Температура тела: --- °C (--- °F)" if(mode == 1) - . += "Локализация повреждений, Физ./Ожоги:" + . += "Локализация повреждений, Мех./Терм.:" . += "Уровень крови: --- %, --- u, тип: ---" . += "Пульс: --- уд/мин" . += "Гены не обнаружены." @@ -470,11 +470,11 @@ REAGENT SCANNER if(!ishuman(M) || ismachineperson(M)) //these sensors are designed for organic life . += "Состояние: ОШИБКА" - . += "Тип повреждений: Удушение/Токсины/Ожоги/Физ." + . += "Тип повреждений: Удушье/Отравление/Терм./Мех." . += "Уровень повреждений: ? - ? - ? - ?" . += "Температура тела: [M.bodytemperature-T0C] °C ([M.bodytemperature*1.8-459.67] °F)" if(mode == 1) - . += "Локализация повреждений, Физ./Ожоги:" + . += "Локализация повреждений, Мех./Терм.:" . += "Уровень крови: --- %, --- u, тип: ---" . += "Пульс: --- bpm." . += "Гены не обнаружены." @@ -498,7 +498,7 @@ REAGENT SCANNER . += "Состояние: Смерть" else . += "Состояние: [H.stat > 1 ? "Смерть" : H.health > 0 ? "[H.health]%" : "[H.health]%"]" - . += "Тип повреждений: Удушение/Токсины/Ожоги/Физ." + . += "Тип повреждений: Удушье/Отравление/Терм./Мех." . += "Уровень повреждений: [OX] - [TX] - [BU] - [BR]" . += "Температура тела: [H.bodytemperature-T0C] °C ([H.bodytemperature*1.8-459.67] °F)" if(H.timeofdeath && (H.stat == DEAD || HAS_TRAIT(H, TRAIT_FAKEDEATH))) @@ -512,7 +512,7 @@ REAGENT SCANNER if(mode == 1) var/list/damaged = H.get_damaged_organs(1,1) - . += "Локализация повреждений, Ожоги/Физ.:" + . += "Локализация повреждений, Терм./Мех.:" if(length(damaged) > 0) for(var/obj/item/organ/external/org as anything in damaged) . += " [capitalize(org.name)]: [(org.burn_dam > 0) ? "[org.burn_dam]" : "0"] - [(org.brute_dam > 0) ? "[org.brute_dam]" : "0"]" diff --git a/code/game/objects/items/weapons/storage/firstaid.dm b/code/game/objects/items/weapons/storage/firstaid.dm index 0811d35a9a4..a7c311f7404 100644 --- a/code/game/objects/items/weapons/storage/firstaid.dm +++ b/code/game/objects/items/weapons/storage/firstaid.dm @@ -10,7 +10,16 @@ */ /obj/item/storage/firstaid name = "first-aid kit" - desc = "It's an emergency medical kit for those serious boo-boos." + desc = "Это аптечка для экстренной первой помощи." + ru_names = list( + NOMINATIVE = "аптечка первой помощи", + GENITIVE = "аптечки первой помощи", + DATIVE = "аптечке первой помощи", + ACCUSATIVE = "аптечку первой помощи", + INSTRUMENTAL = "аптечкой первой помощи", + PREPOSITIONAL = "аптечке первой помощи" + ) + gender = FEMALE icon_state = "firstaid" throw_speed = 2 throw_range = 8 @@ -26,7 +35,15 @@ /obj/item/storage/firstaid/fire name = "fire first-aid kit" - desc = "A medical kit that contains several medical patches and pills for treating burns. Contains one epinephrine syringe for emergency use and a health analyzer." + desc = "Это аптечка для экстренной первой помощи при серьёзных термических повреждениях." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Терм.)", + GENITIVE = "аптечки первой помощи (Терм.)", + DATIVE = "аптечке первой помощи (Терм.)", + ACCUSATIVE = "аптечку первой помощи (Терм.)", + INSTRUMENTAL = "аптечкой первой помощи (Терм.)", + PREPOSITIONAL = "аптечке первой помощи (Терм.)" + ) icon_state = "ointment" item_state = "firstaid-ointment" med_bot_skin = "ointment" @@ -46,7 +63,15 @@ return /obj/item/storage/firstaid/regular - desc = "A general medical kit that contains medical patches for both brute damage and burn damage. Also contains an epinephrine syringe for emergency use and a health analyzer" + desc = "Это аптечка общего назначения для экстренной первой помощи." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Общая)", + GENITIVE = "аптечки первой помощи (Общая)", + DATIVE = "аптечке первой помощи (Общая)", + ACCUSATIVE = "аптечку первой помощи (Общая)", + INSTRUMENTAL = "аптечкой первой помощи (Общая)", + PREPOSITIONAL = "аптечке первой помощи (Общая)" + ) icon_state = "firstaid" /obj/item/storage/firstaid/regular/populate_contents() @@ -62,7 +87,15 @@ return /obj/item/storage/firstaid/doctor - desc = "A general medical kit that contains medical patches for both brute damage and burn damage. Also contains an epinephrine syringe for emergency use and a health analyzer" + desc = "Это аптечка для экстренной первой помощи при повреждениях, улучшенная версия." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Общая+)", + GENITIVE = "аптечки первой помощи (Общая+)", + DATIVE = "аптечке первой помощи (Общая+)", + ACCUSATIVE = "аптечку первой помощи (Общая+)", + INSTRUMENTAL = "аптечкой первой помощи (Общая+)", + PREPOSITIONAL = "аптечке первой помощи (Общая+)" + ) icon_state = "firstaid" /obj/item/storage/firstaid/doctor/populate_contents() @@ -79,7 +112,15 @@ /obj/item/storage/firstaid/toxin name = "toxin first aid kit" - desc = "A medical kit designed to counter poisoning by common toxins. Contains three pills and syringes, and a health analyzer to determine the health of the patient." + desc = "Это аптечка для экстренной первой помощи при отравлениях." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Отравления)", + GENITIVE = "аптечки первой помощи (Отравления)", + DATIVE = "аптечке первой помощи (Отравления)", + ACCUSATIVE = "аптечку первой помощи (Отравления)", + INSTRUMENTAL = "аптечкой первой помощи (Отравления)", + PREPOSITIONAL = "аптечке первой помощи (Отравления)" + ) icon_state = "antitoxin" item_state = "firstaid-toxin" med_bot_skin = "tox" @@ -102,7 +143,15 @@ /obj/item/storage/firstaid/o2 name = "oxygen deprivation first aid kit" - desc = "A first aid kit that contains four pills of salbutamol, which is able to counter injuries caused by suffocation. Also contains a health analyzer to determine the health of the patient." + desc = "Это аптечка для экстренной первой помощи при удушьях." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Удушье)", + GENITIVE = "аптечки первой помощи (Удушье)", + DATIVE = "аптечке первой помощи (Удушье)", + ACCUSATIVE = "аптечку первой помощи (Удушье)", + INSTRUMENTAL = "аптечкой первой помощи (Удушье)", + PREPOSITIONAL = "аптечке первой помощи (Удушье)" + ) icon_state = "o2" item_state = "firstaid-o2" med_bot_skin = "o2" @@ -119,7 +168,15 @@ /obj/item/storage/firstaid/brute name = "brute trauma treatment kit" - desc = "A medical kit that contains several medical patches and pills for treating brute injuries. Contains one epinephrine syringe for emergency use and a health analyzer." + desc = "Это аптечка для экстренной первой помощи при серьёзных механических повреждениях." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Мех.)", + GENITIVE = "аптечки первой помощи (Мех.)", + DATIVE = "аптечке первой помощи (Мех.)", + ACCUSATIVE = "аптечку первой помощи (Мех.)", + INSTRUMENTAL = "аптечкой первой помощи (Мех.)", + PREPOSITIONAL = "аптечке первой помощи (Мех.)" + ) icon_state = "brute" item_state = "firstaid-brute" med_bot_skin = "brute" @@ -140,7 +197,15 @@ /obj/item/storage/firstaid/adv name = "advanced first-aid kit" - desc = "Contains advanced medical treatments." + desc = "Это аптечка для экстренной первой помощи, продвинутая версия." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Продвинутая)", + GENITIVE = "аптечки первой помощи (Продвинутая)", + DATIVE = "аптечке первой помощи (Продвинутая)", + ACCUSATIVE = "аптечку первой помощи (Продвинутая)", + INSTRUMENTAL = "аптечкой первой помощи (Продвинутая)", + PREPOSITIONAL = "аптечке первой помощи (Продвинутая)" + ) icon_state = "advfirstaid" item_state = "firstaid-advanced" med_bot_skin = "adv" @@ -159,7 +224,15 @@ /obj/item/storage/firstaid/paramed name = "paramed first-aid kit" - desc = "A medical kit that contains several medical patches and injectors for the treatment of various diseases." + desc = "Это аптечка для экстренной первой помощи при, специализированная версия для Парамедика." + ru_names = list( + NOMINATIVE = "аптечка первой помощи (Парамедик)", + GENITIVE = "аптечки первой помощи (Парамедик)", + DATIVE = "аптечке первой помощи (Парамедик)", + ACCUSATIVE = "аптечку первой помощи (Парамедик)", + INSTRUMENTAL = "аптечкой первой помощи (Парамедик)", + PREPOSITIONAL = "аптечке первой помощи (Парамедик)" + ) icon_state = "firstaid_paramed" item_state = "firstaid_paramed" med_bot_skin = "paramed" @@ -178,7 +251,16 @@ /obj/item/storage/firstaid/machine name = "machine repair kit" - desc = "A kit that contains supplies to repair IPCs on the go." + desc = "Это набор для полевого ремонта синтетических форм жизни при повреждениях." + ru_names = list( + NOMINATIVE = "ремонтный набор (Синт.)", + GENITIVE = "ремонтного набора (Синт.)", + DATIVE = "ремонтному набору (Синт.)", + ACCUSATIVE = "ремонтный набор (Синт.)", + INSTRUMENTAL = "ремонтным набором (Синт.)", + PREPOSITIONAL = "ремонтном наборе (Синт.)" + ) + gender = MALE icon_state = "machinefirstaid" item_state = "firstaid-machine" med_bot_skin = "machine" @@ -195,8 +277,16 @@ /obj/item/storage/firstaid/tactical name = "NT first-aid kit" + desc = "Тактическая аптечка, содержащая в себе всё самое необходимое для лечения в пылу боя." + ru_names = list( + NOMINATIVE = "тактическая аптечка НТ", + GENITIVE = "тактической аптечки НТ", + DATIVE = "тактической аптечке НТ", + ACCUSATIVE = "тактическую аптечку НТ", + INSTRUMENTAL = "тактической аптечкой НТ", + PREPOSITIONAL = "тактической аптечке НТ" + ) icon_state = "NTfirstaid" - desc = "I hope you've got insurance." max_w_class = WEIGHT_CLASS_NORMAL treatment_oxy = "perfluorodecalin" treatment_brute = "bicaridine" @@ -207,7 +297,15 @@ syndicate_aligned = FALSE /obj/item/storage/firstaid/tactical/sst - name = "suspicious first-aid kit" + desc = "Тактическая аптечка, содержащая в себе всё самое необходимое для лечения в пылу боя. Узкоспециализированная версия для бойцов элитных сил." + ru_names = list( + NOMINATIVE = "продвинутая тактическая аптечка", + GENITIVE = "продвинутой тактической аптечки", + DATIVE = "продвинутой тактической аптечке", + ACCUSATIVE = "продвинутую тактическую аптечку", + INSTRUMENTAL = "продвинутой тактической аптечкой", + PREPOSITIONAL = "продвинутой тактической аптечке" + ) syndicate_aligned = TRUE /obj/item/storage/firstaid/tactical/populate_contents() @@ -221,8 +319,16 @@ /obj/item/storage/firstaid/ertm name = "NT ert-aid kit" + desc = "Тактическая аптечка, содержащая в себе всё самое необходимое для лечения в пылу боя. Продвинутая версия." + ru_names = list( + NOMINATIVE = "продвинутая тактическая аптечка НТ", + GENITIVE = "продвинутой тактической аптечки НТ", + DATIVE = "продвинутой тактической аптечке НТ", + ACCUSATIVE = "продвинутую тактическую аптечку НТ", + INSTRUMENTAL = "продвинутой тактической аптечкой НТ", + PREPOSITIONAL = "продвинутой тактической аптечке НТ" + ) icon_state = "NTertaid" - desc = "I hope you've got insurance." max_w_class = WEIGHT_CLASS_NORMAL treatment_oxy = "perfluorodecalin" treatment_brute = "bicaridine" @@ -241,8 +347,16 @@ /obj/item/storage/firstaid/syndie name = "first-aid tacticool kit" + desc = "Тактическая аптечка, содержащая в себе всё самое необходимое для лечения в пылу боя. Узкоспециализированная версия." + ru_names = list( + NOMINATIVE = "тактическая аптечка", + GENITIVE = "тактической аптечки", + DATIVE = "тактической аптечке", + ACCUSATIVE = "тактическую аптечку", + INSTRUMENTAL = "тактической аптечкой", + PREPOSITIONAL = "тактической аптечке" + ) icon_state = "bezerk" - desc = "I hope you've got insurance." max_w_class = WEIGHT_CLASS_NORMAL treatment_oxy = "perfluorodecalin" treatment_brute = "bicaridine" @@ -263,8 +377,17 @@ /obj/item/storage/firstaid/surgery name = "field surgery kit" + desc = "Тактическая версия спортивной сумки с медицинскими опознавательными знаками. Содержит в себе набор инструментов для полевой хирургии." + ru_names = list( + NOMINATIVE = "набор полевой хирургии", + GENITIVE = "набора полевой хирургии", + DATIVE = "набору полевой хирургии", + ACCUSATIVE = "набор полевой хирургии", + INSTRUMENTAL = "набором полевой хирургии", + PREPOSITIONAL = "наборе полевой хирургии" + ) + gender = MALE icon_state = "duffel-med" - desc = "A kit for surgery in the field." max_w_class = WEIGHT_CLASS_BULKY max_combined_w_class = 21 storage_slots = 10 @@ -285,9 +408,17 @@ /obj/item/storage/firstaid/crew name = "crewmember first aid kit" + desc = "Небольшого размера подсумок, содержащий в себе минимальный набор медикаментов для экстренных ситуаций. Выдаётся сотрудникам Нанотрейзен в обязательным порядке." + ru_names = list( + NOMINATIVE = "экстренная аптечка", + GENITIVE = "экстренной аптечки", + DATIVE = "экстренной аптечке", + ACCUSATIVE = "экстренную аптечку", + INSTRUMENTAL = "экстренной аптечкой", + PREPOSITIONAL = "экстренной аптечке" + ) icon_state = "crew_medpouch" w_class = WEIGHT_CLASS_SMALL - desc = "A standart issued first aid kit for crewmembers. NanoTrasen appreciates you!" can_hold = list(/obj/item/reagent_containers/hypospray/autoinjector, /obj/item/reagent_containers/food/pill, /obj/item/stack/medical/bruise_pack, /obj/item/stack/medical/ointment) /obj/item/storage/firstaid/crew/populate_contents() @@ -301,7 +432,15 @@ /obj/item/storage/firstaid/crew/nucleation name = "nucleation first aid kit" - desc = "A standart issued first aid kit for 'SMDS' affected crewmembers. NanoTrasen appreciates you!" + desc = "Небольшого размера подсумок, содержащий в себе минимальный набор медикаментов для экстренных ситуаций. Специализированная версия для сотрудников НТ, подвергшихся «синдрому суперматериальной дисплазии»." + ru_names = list( + NOMINATIVE = "экстренная аптечка (Нуклеация)", + GENITIVE = "экстренной аптечки (Нуклеация)", + DATIVE = "экстренной аптечке (Нуклеация)", + ACCUSATIVE = "экстренную аптечку (Нуклеация)", + INSTRUMENTAL = "экстренной аптечкой (Нуклеация)", + PREPOSITIONAL = "экстренной аптечке (Нуклеация)" + ) /obj/item/storage/firstaid/crew/nucleation/populate_contents() new /obj/item/reagent_containers/hypospray/autoinjector/radium(src) @@ -318,7 +457,15 @@ /obj/item/storage/pill_bottle name = "pill bottle" - desc = "It's an airtight container for storing medication." + desc = "Герметичный стеклянный флакон, предназначенный для хранения таблеток." + ru_names = list( + NOMINATIVE = "пузырёк для таблеток", + GENITIVE = "пузырька для таблеток", + DATIVE = "пузырьку для таблеток", + ACCUSATIVE = "пузырёк для таблеток", + INSTRUMENTAL = "пузырьком для таблеток", + PREPOSITIONAL = "пузырьке для таблеток" + ) icon_state = "pill_canister" icon = 'icons/obj/chemical.dmi' item_state = "contsolid" @@ -336,8 +483,6 @@ var/base_name = "" var/label_text = "" var/applying_meds = FALSE //To Prevent spam clicking and generating runtimes from apply a deleting pill multiple times. - var/rapid_intake_message = "unscrews the cap on the pill bottle and begins dumping the entire contents down their throat!" - var/rapid_post_instake_message = "downs the entire bottle of pills in one go!" /// Whether to render a coloured wrapper overlay on the icon. var/allow_wrap = TRUE /// The color of the wrapper overlay. @@ -389,16 +534,16 @@ /obj/item/storage/pill_bottle/MouseDrop(mob/living/carbon/user, src_location, over_location, src_control, over_control, params) // Best utilized if you're a cantankerous doctor with a Vicodin habit. if(iscarbon(user) && src == user.get_active_hand() && !HAS_TRAIT(user, TRAIT_HANDS_BLOCKED)) if(!length(contents)) - to_chat(user, span_notice("There is nothing in [src]!")) + balloon_alert(user, "пусто!") return FALSE - user.visible_message(span_danger("[user] [rapid_intake_message]")) + user.visible_message(span_danger("[user] открыва[pluralize_ru(user.gender, "ет", "ют")] крышку [declent_ru(GENITIVE)] и начина[pluralize_ru(user.gender, "ет", "ют")] глотать содержимое!")) if(!do_after(user, 10 SECONDS, user, NONE) || src != user.get_active_hand()) return FALSE for(var/obj/item/reagent_containers/food/pill/pill in src) pill.attack(user, user) - user.visible_message(span_danger("[user] [rapid_post_instake_message]")) + user.visible_message(span_danger("[user] проглатыва[pluralize_ru(user.gender, "ет", "ют")] всё содержимое [declent_ru(GENITIVE)] за раз!")) return FALSE return ..() @@ -413,13 +558,19 @@ /obj/item/storage/pill_bottle/patch_pack name = "patch pack" - desc = "It's a container for storing medical patches." + desc = "Небольшой коробок, предназначенный для хранения медицинских пластырей." + ru_names = list( + NOMINATIVE = "коробок для таблеток", + GENITIVE = "коробка для пластырей", + DATIVE = "коробку для пластырей", + ACCUSATIVE = "коробок для пластырей", + INSTRUMENTAL = "коробком для пластырей", + PREPOSITIONAL = "коробке для пластырей" + ) icon_state = "patch_pack" belt_icon = "patch_pack" can_hold = list(/obj/item/reagent_containers/food/pill/patch) cant_hold = list() - rapid_intake_message = "flips the lid of the patch pack open and begins rapidly stamping patches on themselves!" - rapid_post_instake_message = "stamps the entire contents of the patch pack all over their entire body!" wrapper_state = "patch_pack_wrap" /obj/item/storage/pill_bottle/patch_pack/filled/populate_contents() @@ -429,9 +580,36 @@ for(var/I in 1 to 10) new /obj/item/reagent_containers/food/pill/patch/styptic(src) + +/obj/item/storage/pill_bottle/patch_pack/MouseDrop(mob/living/carbon/user, src_location, over_location, src_control, over_control, params) // Best utilized if you're a cantankerous doctor with a Vicodin habit. + if(iscarbon(user) && src == user.get_active_hand() && !HAS_TRAIT(user, TRAIT_HANDS_BLOCKED)) + if(!length(contents)) + balloon_alert(user, "пусто!") + return FALSE + + user.visible_message(span_danger("[user] откиды[pluralize_ru(user.gender, "ет", "ют")] крышку [declent_ru(GENITIVE)] и начина[pluralize_ru(user.gender, "ет", "ют")] стремительно клеить пластыри оттуда на свою кожу!")) + if(!do_after(user, 10 SECONDS, user, NONE) || src != user.get_active_hand()) + return FALSE + + for(var/obj/item/reagent_containers/food/pill/pill in src) + pill.attack(user, user) + user.visible_message(span_danger("[user] обклеива[pluralize_ru(user.gender, "ет", "ют")] себя всеми пластырями, которые были в [declent_ru(PREPOSITIONAL)]!")) + return FALSE + + return ..() + /obj/item/storage/pill_bottle/bluespace name = "advanced drug storage" - desc = "Технологичное устройство для хранения препаратов небольшого размера, имеет два контейнера разной формы, что объединяет центральное хранилище устройства." + desc = "Технологичное устройство на основе блюспейс-технологий, предназначенное для хранения пластырей и таблеток." + ru_names = list( + NOMINATIVE = "блюспейс-хранилище для лекарств", + GENITIVE = "блюспейс-хранилищя для лекарств", + DATIVE = "блюспейс-хранилищу для лекарств", + ACCUSATIVE = "блюспейс-хранилище для лекарств", + INSTRUMENTAL = "блюспейс-хранилищем для лекарств", + PREPOSITIONAL = "блюспейс-хранилище для лекарств" + ) + gender = NEUTER storage_slots = 100 max_combined_w_class = 100 can_hold = list(/obj/item/reagent_containers/food/pill) @@ -444,7 +622,15 @@ /obj/item/storage/pill_bottle/charcoal name = "Pill bottle (Charcoal)" - desc = "Contains pills used to counter toxins." + desc = "Герметичный стеклянный флакон, предназначенный для хранения таблеток. Заполнен таблетками с активированным углём." + ru_names = list( + NOMINATIVE = "пузырёк для таблеток (Активированный уголь)", + GENITIVE = "пузырька для таблеток (Активированный уголь)", + DATIVE = "пузырьку для таблеток (Активированный уголь)", + ACCUSATIVE = "пузырёк для таблеток (Активированный уголь)", + INSTRUMENTAL = "пузырьком для таблеток (Активированный уголь)", + PREPOSITIONAL = "пузырьке для таблеток (Активированный уголь)" + ) wrapper_color = COLOR_GREEN /obj/item/storage/pill_bottle/charcoal/populate_contents() @@ -453,7 +639,15 @@ /obj/item/storage/pill_bottle/painkillers name = "Pill Bottle (Salicylic Acid)" - desc = "Contains various pills for minor pain relief." + desc = "Герметичный стеклянный флакон, предназначенный для хранения таблеток. Заполнен таблетками с салициловой кислотой." + ru_names = list( + NOMINATIVE = "пузырёк для таблеток (Салициловая кислота)", + GENITIVE = "пузырька для таблеток (Салициловая кислота)", + DATIVE = "пузырьку для таблеток (Салициловая кислота)", + ACCUSATIVE = "пузырёк для таблеток (Салициловая кислота)", + INSTRUMENTAL = "пузырьком для таблеток (Салициловая кислота)", + PREPOSITIONAL = "пузырьке для таблеток (Салициловая кислота)" + ) wrapper_color = COLOR_RED /obj/item/storage/pill_bottle/painkillers/populate_contents() diff --git a/code/modules/antagonists/blob/blobstrains/_reagent.dm b/code/modules/antagonists/blob/blobstrains/_reagent.dm index 666b0f38f94..43124d1274c 100644 --- a/code/modules/antagonists/blob/blobstrains/_reagent.dm +++ b/code/modules/antagonists/blob/blobstrains/_reagent.dm @@ -33,10 +33,10 @@ // These can only be applied by blobs. They are what (reagent) blobs are made out of. /datum/reagent/blob - name = "Unknown" - description = "не должно существовать, и вам следует немедленно обратиться за помощью в adminhelp и напишите баг-репорт." + name = "Неизвестно" + description = "Это не должно существовать, вам следует немедленно обратиться за помощью в adminhelp и написать баг-репорт в Discord'е." color = COLOR_WHITE - taste_description = "Это баг" + taste_description = "ошибок в коде" penetrates_skin = TRUE clothing_penetration = 1 metabolization_rate = BLOB_REAGENTS_METABOLISM diff --git a/code/modules/antagonists/blob/blobstrains/blob_sorium.dm b/code/modules/antagonists/blob/blobstrains/blob_sorium.dm index 1a0ebfef1b9..4f9e9bd41d3 100644 --- a/code/modules/antagonists/blob/blobstrains/blob_sorium.dm +++ b/code/modules/antagonists/blob/blobstrains/blob_sorium.dm @@ -21,7 +21,7 @@ /datum/reagent/blob/b_sorium name = "Сорий" id = "blob_sorium" - taste_description = "толчок" + taste_description = "толчков" color = "#B68D00" /datum/reagent/blob/b_sorium/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/cryogenic_poison.dm b/code/modules/antagonists/blob/blobstrains/cryogenic_poison.dm index ac61fb804db..a1f801b830e 100644 --- a/code/modules/antagonists/blob/blobstrains/cryogenic_poison.dm +++ b/code/modules/antagonists/blob/blobstrains/cryogenic_poison.dm @@ -7,7 +7,7 @@ complementary_color = "#7D6EB4" blobbernaut_message = "injects" message = "Блоб ранит вас" - message_living = ", и вы чувствуете, что ваши внутренности твердеют" + message_living = ", и вы чувствуете, как ваши внутренности затвердевают" reagent = /datum/reagent/blob/cryogenic_poison /datum/reagent/blob/cryogenic_poison @@ -15,7 +15,7 @@ id = "blob_cryogenic_poison" description = "впрыскивает в цель замораживающий яд, который со временем наносит большой урон." color = "#8BA6E9" - taste_description = "заморозка мозга" + taste_description = "леденящего холода" /datum/reagent/blob/cryogenic_poison/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) . = ..() diff --git a/code/modules/antagonists/blob/blobstrains/distributed_neurons.dm b/code/modules/antagonists/blob/blobstrains/distributed_neurons.dm index 7c593fd42d5..52b103c16e6 100644 --- a/code/modules/antagonists/blob/blobstrains/distributed_neurons.dm +++ b/code/modules/antagonists/blob/blobstrains/distributed_neurons.dm @@ -8,7 +8,7 @@ analyzerdesceffect = "При разрушении производит хрупкие споры. Споры, производимые фабриками, разумны." color = "#E88D5D" complementary_color = "#823ABB" - message_living = "и ты чувствуешь усталость" + message_living = "и вы чувствуешь усталость" reagent = /datum/reagent/blob/distributed_neurons /datum/blobstrain/reagent/distributed_neurons/damage_reaction(obj/structure/blob/blob_tile, damage, damage_type, damage_flag) @@ -21,7 +21,7 @@ name = "Распределенные нейроны" id = "blob_distributed_neurons" color = "#E88D5D" - taste_description = "шипящий" + taste_description = "шипучей жидкости" /datum/reagent/blob/distributed_neurons/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) . = ..() diff --git a/code/modules/antagonists/blob/blobstrains/electromagnetic_web.dm b/code/modules/antagonists/blob/blobstrains/electromagnetic_web.dm index 3ad849bb0c5..798b295d2b5 100644 --- a/code/modules/antagonists/blob/blobstrains/electromagnetic_web.dm +++ b/code/modules/antagonists/blob/blobstrains/electromagnetic_web.dm @@ -25,7 +25,7 @@ /datum/reagent/blob/electromagnetic_web name = "Электромагнитная паутина" id = "blob_electromagnetic_web" - taste_description = "поп-рок" + taste_description = "поп-рока" color = "#83ECEC" /datum/reagent/blob/electromagnetic_web/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/energized_jelly.dm b/code/modules/antagonists/blob/blobstrains/energized_jelly.dm index 82d48db407c..ba2d7545518 100644 --- a/code/modules/antagonists/blob/blobstrains/energized_jelly.dm +++ b/code/modules/antagonists/blob/blobstrains/energized_jelly.dm @@ -24,7 +24,7 @@ /datum/reagent/blob/energized_jelly name = "Энергетическое желе" id = "blob_energized_jelly" - taste_description = "желатин" + taste_description = "желатина" color = "#EFD65A" @@ -40,4 +40,4 @@ exposed_mob.reagents.del_reagent("teslium") return //don't add more teslium after you shock it out of someone. exposed_mob.reagents.add_reagent("teslium", 0.125 * reac_volume) // a little goes a long way - + diff --git a/code/modules/antagonists/blob/blobstrains/networked_fibers.dm b/code/modules/antagonists/blob/blobstrains/networked_fibers.dm index b1e0ec67c32..38acfb53946 100644 --- a/code/modules/antagonists/blob/blobstrains/networked_fibers.dm +++ b/code/modules/antagonists/blob/blobstrains/networked_fibers.dm @@ -35,7 +35,7 @@ /datum/reagent/blob/networked_fibers name = "Сетевые волокна" id = "blob_networked_fibers" - taste_description = "эффективность" + taste_description = "эффективности" color = "#4F4441" /datum/reagent/blob/networked_fibers/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/pressurized_slime.dm b/code/modules/antagonists/blob/blobstrains/pressurized_slime.dm index 5baba8b6deb..64c4c7ca0da 100644 --- a/code/modules/antagonists/blob/blobstrains/pressurized_slime.dm +++ b/code/modules/antagonists/blob/blobstrains/pressurized_slime.dm @@ -39,7 +39,7 @@ /datum/reagent/blob/pressurized_slime name = "Сжатая слизь" id = "blob_pressurized_slime" - taste_description = "губка" + taste_description = "грязной губки для посуды" color = "#AAAABB" /datum/reagent/blob/pressurized_slime/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/radioactive_gel.dm b/code/modules/antagonists/blob/blobstrains/radioactive_gel.dm index 88d3da953ac..41d44b22a9b 100644 --- a/code/modules/antagonists/blob/blobstrains/radioactive_gel.dm +++ b/code/modules/antagonists/blob/blobstrains/radioactive_gel.dm @@ -22,7 +22,7 @@ /datum/reagent/blob/radioactive_gel name = "Рadioactive_gel" id = "blob_radioactive_gel" - taste_description = "радиация" + taste_description = "радиации" color = "#2476f0" /datum/reagent/blob/radioactive_gel/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/reactive_spines.dm b/code/modules/antagonists/blob/blobstrains/reactive_spines.dm index 66edcea4c51..582b5f684d7 100644 --- a/code/modules/antagonists/blob/blobstrains/reactive_spines.dm +++ b/code/modules/antagonists/blob/blobstrains/reactive_spines.dm @@ -32,7 +32,7 @@ /datum/reagent/blob/reactive_spines name = "Реактивные шипы" id = "blob_reactive_spines" - taste_description = "камень" + taste_description = "камней" color = "#9ACD32" /datum/reagent/blob/reactive_spines/return_mob_expose_reac_volume(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/regenerative_materia.dm b/code/modules/antagonists/blob/blobstrains/regenerative_materia.dm index 291ba371e0a..fcc8e995ee2 100644 --- a/code/modules/antagonists/blob/blobstrains/regenerative_materia.dm +++ b/code/modules/antagonists/blob/blobstrains/regenerative_materia.dm @@ -5,7 +5,7 @@ analyzerdescdamage = "Наносит средний начальный урон токсинами, вводя яд, который наносит больший урон токсинами и заставляет цели верить, что они полностью здоровы. Ядро восстанавливается гораздо быстрее." color = "#A88FB7" complementary_color = "#AF7B8D" - message_living = ", и ты чувствуешь себя живым" + message_living = ", и вы чувствуешь себя живым" reagent = /datum/reagent/blob/regenerative_materia core_regen_bonus = 18 point_rate_bonus = 2 @@ -13,7 +13,7 @@ /datum/reagent/blob/regenerative_materia name = "Регенеративная Материя" id = "blob_regenerative_materia" - taste_description = "небеса" + taste_description = "небес" color = "#A88FB7" /datum/reagent/blob/regenerative_materia/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/replicating_foam.dm b/code/modules/antagonists/blob/blobstrains/replicating_foam.dm index 8d6f983d0cb..51957d32e6e 100644 --- a/code/modules/antagonists/blob/blobstrains/replicating_foam.dm +++ b/code/modules/antagonists/blob/blobstrains/replicating_foam.dm @@ -31,7 +31,7 @@ /datum/reagent/blob/replicating_foam name = "Репликационная пена" id = "blob_replicating_foam" - taste_description = "дублирование" + taste_description = "дублирования" color = "#7B5A57" /datum/reagent/blob/replicating_foam/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/blob/blobstrains/synchronous_mesh.dm b/code/modules/antagonists/blob/blobstrains/synchronous_mesh.dm index 167d39f1e5e..27d1db8bca6 100644 --- a/code/modules/antagonists/blob/blobstrains/synchronous_mesh.dm +++ b/code/modules/antagonists/blob/blobstrains/synchronous_mesh.dm @@ -8,7 +8,7 @@ color = "#65ADA2" complementary_color = "#AD6570" blobbernaut_message = "synchronously strikes" - message = "Блоб поражают тебя" + message = "Блоб поражает вас" reagent = /datum/reagent/blob/synchronous_mesh /datum/blobstrain/reagent/synchronous_mesh/damage_reaction(obj/structure/blob/B, damage, damage_type, damage_flag) @@ -28,7 +28,7 @@ /datum/reagent/blob/synchronous_mesh name = "Синхронная сетка" id = "blob_synchronous_mesh" - taste_description = "токсичная плесень" + taste_description = "токсичной плесени" color = "#65ADA2" /datum/reagent/blob/synchronous_mesh/reaction_mob(mob/living/exposed_mob, methods=REAGENT_TOUCH, reac_volume, show_message, touch_protection, mob/camera/blob/overmind) diff --git a/code/modules/antagonists/borer/borer_reagent.dm b/code/modules/antagonists/borer/borer_reagent.dm index cff185cccf1..90e3deff524 100644 --- a/code/modules/antagonists/borer/borer_reagent.dm +++ b/code/modules/antagonists/borer/borer_reagent.dm @@ -5,36 +5,36 @@ var/quantity = 10 /datum/reagent/capulettium_plus - chemdesc = "Silences and masks pulse." - + chemdesc = "Заставляет гуманоида замолчать и маскирует его пульс." + /datum/reagent/medicine/charcoal - chemdesc = "Slowly heals toxin damage, also slowly removes other chemicals." - + chemdesc = "Медленно лечит от отравления, а также медленно выводит другие химические вещества." + /datum/reagent/medicine/epinephrine - chemdesc = "Stabilizes critical condition and slowly heals suffocation damage." - + chemdesc = "Стабилизирует критическое состояние и медленно исцеляет повреждения от удушья." + /datum/reagent/fliptonium - chemdesc = "Causes uncontrollable flipping." + chemdesc = "Вызывает неконтролируемое вращение." chemuse = 50 - + /datum/reagent/medicine/hydrocodone - chemdesc = "An extremely strong painkiller." - + chemdesc = "Очень сильное болеутоляющее средство." + /datum/reagent/medicine/mannitol - chemdesc = "Heals brain damage." - + chemdesc = "Исцеляет повреждения мозга." + /datum/reagent/methamphetamine - chemdesc = "Reduces stun times and increases stamina. Deals small amounts of brain damage." + chemdesc = "Ускоряет передвижение, бодрит и помогает легче справляться с оглушениями разного рода. НПовреждает мозг." chemuse = 50 - + /datum/reagent/medicine/mitocholide - chemdesc = "Heals internal organ damage." - + chemdesc = "Исцеляет повреждения внутренних органов." + /datum/reagent/medicine/salbutamol - chemdesc = "Heals suffocation damage." - + chemdesc = "Лечит повреждения от удушья." + /datum/reagent/medicine/salglu_solution - chemdesc = "Slowly heals brute and burn damage, also slowly restores blood." + chemdesc = "Медленно исцеляет физичекие и термические повреждения, а также медленно восстанавливает кровь." /datum/reagent/medicine/spaceacillin - chemdesc = "Slows progression of diseases and fights infections." + chemdesc = "Замедляет развитие заболеваний и помогает бороться с инфекциями." diff --git a/code/modules/antagonists/space_ninja/suit/ninja_equipment_actions/ninja_status_read.dm b/code/modules/antagonists/space_ninja/suit/ninja_equipment_actions/ninja_status_read.dm index 76bdb7a9901..a12b23962fc 100644 --- a/code/modules/antagonists/space_ninja/suit/ninja_equipment_actions/ninja_status_read.dm +++ b/code/modules/antagonists/space_ninja/suit/ninja_equipment_actions/ninja_status_read.dm @@ -26,7 +26,7 @@ info_list += "[span_info("ДНК: [ninja.dna.unique_enzymes]")]\n" info_list += "[span_info("Общее состояние здоровья: [ninja.stat > 1 ? "Мёртв" : "[ninja.health]%"]")]\n" info_list += "[span_info("Уровень питательных веществ: [ninja.nutrition]")]\n" - info_list += "[span_info("Удушение: [ninja.getOxyLoss()]")]\n" + info_list += "[span_info("Удушье: [ninja.getOxyLoss()]")]\n" info_list += "[span_info("Токсины: [ninja.getToxLoss()]")]\n" info_list += "[span_info("Ожоги: [ninja.getFireLoss()]")]\n" info_list += "[span_info("Физ.: [ninja.getBruteLoss()]")]\n" diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index 3d3a7fa1f72..3679dc607eb 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -1639,7 +1639,7 @@ NOMINATIVE = "чёрный балахон", GENITIVE = "чёрного балахона", DATIVE = "чёрному балахону", - ACCUSATIVE = "чёрного балахона", + ACCUSATIVE = "чёрный балахон", INSTRUMENTAL = "чёрным балахоном", PREPOSITIONAL = "чёрном балахоне" ) @@ -1664,7 +1664,7 @@ NOMINATIVE = "чёрный капюшон", GENITIVE = "чёрного капюшона", DATIVE = "чёрному капюшону", - ACCUSATIVE = "чёрного капюшона", + ACCUSATIVE = "чёрный капюшон", INSTRUMENTAL = "чёрным капюшоном", PREPOSITIONAL = "чёрном капюшоне" ) @@ -1687,7 +1687,7 @@ NOMINATIVE = "кроваво-чёрный балахон", GENITIVE = "кроваво-чёрного балахона", DATIVE = "кроваво-чёрному балахону", - ACCUSATIVE = "кроваво-чёрного балахона", + ACCUSATIVE = "кроваво-чёрный балахон", INSTRUMENTAL = "кроваво-чёрным балахоном", PREPOSITIONAL = "кроваво-чёрном балахоне" ) diff --git a/code/modules/flufftext/Hallucination.dm b/code/modules/flufftext/Hallucination.dm index 64c00810f33..e59d6f89c19 100644 --- a/code/modules/flufftext/Hallucination.dm +++ b/code/modules/flufftext/Hallucination.dm @@ -764,7 +764,7 @@ GLOBAL_LIST_INIT(non_fakeattack_weapons, list(/obj/item/gun/projectile, /obj/ite /obj/effect/hallucination/whispers/New(loc,var/mob/living/carbon/T) . = ..() target = T - var/speak_messages = list("Я слежу за тобой…","[target.name]!","Уйди!","Ты слышал это?","Что ты натворил?","Почему?","Отдай!","Хонк!","ПОМОГИТЕ!!","БЕГИТЕ!!","УБЕЙТЕ МЕНЯ!","O bidai nabora se'sma!","EI NATH!!","Kchck-Chkck? Kchchck!") + var/speak_messages = list("Я слежу за тобой…","[target.name]!","Уйди!","Ты слышал это?","Что ты натворил?","Почему?","Отдай!","Хонк!","ПОМОГИТЕ!!","БЕГИТЕ!!","УБЕЙТЕ МЕНЯ!","О бидай набора се'сма!","EI NATH!!","Kchck-Chkck? Kchchck!") var/radio_messages = list("Ксеноморфы!","Синга вышла!","Телекомы упали!","Они взвели нюку!","Они убили Иана!","П-помогите!","[pick("Культисты", "Маг", "Генка", "Нюкеры", "Ревенант", "Труп", "Драка", "Я слышал флешку", "Нужна помощь")] в [pick(GLOB.teleportlocs)][prob(50)?"!":"!!"]","Где [target.name]?","[target.name] мёртв!","Вызывайте шаттл!","ИИ взломан!") var/list/mob/living/carbon/people = list() diff --git a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm index 1be1887301a..45f8c4bbc80 100644 --- a/code/modules/food_and_drinks/drinks/drinks.dm +++ b/code/modules/food_and_drinks/drinks/drinks.dm @@ -3,7 +3,7 @@ //////////////////////////////////////////////////////////////////////////////// /obj/item/reagent_containers/food/drinks name = "drink" - desc = "yummy" + desc = "Вкусняшка." icon = 'icons/obj/drinks.dmi' icon_state = null container_type = OPENCONTAINER @@ -35,18 +35,18 @@ . = ATTACK_CHAIN_PROCEED if(!reagents || !reagents.total_volume) - to_chat(user, span_warning("None of [src] left, oh no!")) + balloon_alert(user, "пусто!") return . if(!is_drainable()) - to_chat(user, span_warning("You need to open [src] first!")) + balloon_alert(user, "сначала откройте!") return . if(!get_location_accessible(target, BODY_ZONE_PRECISE_MOUTH)) if(target == user) - to_chat(user, span_warning("Your face is obscured.")) + balloon_alert(user, "ваш рот закрыт!") else - to_chat(user, span_warning("[target]'s face is obscured.")) + balloon_alert(user, "рот цели закрыт!") return . if(!target.eat(src, user)) @@ -77,9 +77,9 @@ var/mob/living/silicon/robot/bro = user var/chargeAmount = max(30,4*trans) bro.cell.use(chargeAmount) - to_chat(user, "Now synthesizing [trans] units of cocktail...") + to_chat(user, span_notice("Синтез [trans] единиц[pluralize_ru(trans, "ы", "", "")] вещества...")) addtimer(CALLBACK(reagents, TYPE_PROC_REF(/datum/reagents, add_reagent_list), ids_data), 30 SECONDS) - addtimer(CALLBACK(GLOBAL_PROC, /proc/to_chat, user, "Cyborg [src] refilled."), 30 SECONDS) + addtimer(CALLBACK(GLOBAL_PROC, /proc/to_chat, user, span_notice("Ваш[genderize_ru(gender, "", "а", "е", "и")] [declent_ru(NOMINATIVE)] снова пол[genderize_ru(gender, "он", "на", "но", "ны")].")), 30 SECONDS) else reagents.add_reagent_list(ids_data) else @@ -90,23 +90,23 @@ return ..() var/mob/living/carbon/chugger = over_object if(!(container_type & DRAINABLE)) - to_chat(chugger, "You need to open [src] first!") + balloon_alert(chugger, "сначала откройте!") return if(!get_location_accessible(chugger, BODY_ZONE_PRECISE_MOUTH)) - to_chat(chugger, "Your face is obscured, so you cant [pick("chugging","gulping")].") + balloon_alert(chugger, "ваш рот чем-то закрыт!") return if(reagents.total_volume && loc == chugger && src == chugger.get_active_hand()) - chugger.visible_message("[chugger] raises [src] to [chugger.p_their()] mouth and starts [pick("chugging","gulping")] it down like [pick("a savage","a mad beast","it's going out of style","there's no tomorrow")]!", - "You start chugging [src].", - "You hear what sounds like gulping.") + chugger.visible_message(span_notice("[chugger] поднос[pluralize_ru(chugger.gender, "ит", "ят")] [declent_ru(ACCUSATIVE)] к своему рту и начина[pluralize_ru(chugger.gender, "ет", "ют")] [pick("цедить", "прихлёбывать", "медленно пить", "пить", "попивать", "хлебать", "потягивать")] содержимое."), + span_notice("Вы подносите [declent_ru(ACCUSATIVE)] к своему рту и начинаете [pick("цедить", "прихлёбывать", "медленно пить", "пить", "попивать", "хлебать", "потягивать")] содержимое."), + span_notice("Вы слышите звуки, походящие на питьё чего-то.")) chugging = TRUE while(do_after(chugger, 4 SECONDS, chugger, progress = FALSE, max_interact_count = 1, cancel_on_max = TRUE, cancel_message = span_warning("You stop chugging [src]."))) chugger.eat(src, chugger, 25) //Half of a glass, quarter of a bottle. if(!reagents.total_volume) //Finish in style. chugger.emote("gasp") - chugger.visible_message("[chugger] [pick("finishes","downs","polishes off","slams")] the entire [src], what a [pick("savage","monster","champ","beast")]!", - "You finish off [src]![prob(50) ? " Maybe that wasn't such a good idea..." : ""]", - "You hear a gasp and a clink.") + chugger.visible_message(span_notice("[chugger] [pick("залпом", "за раз", "в один присест", "не отрываясь от горла", "полностью", "досуха")] выпива[pluralize_ru(chugger.gender, "ет", "ют")] содержимое [declent_ru(GENITIVE)]."), + span_notice("Вы [pick("залпом", "за раз", "в один присест", "не отрываясь от горла", "полностью", "досуха")] выпиваете содержимое [declent_ru(GENITIVE)]."), + span_notice("Вы слышите громкие глотки и последующий громкий выдох.")) break chugging = FALSE @@ -119,11 +119,11 @@ if(target.is_refillable() && is_drainable()) //Something like a glass. Player probably wants to transfer TO it. if(!reagents.total_volume) - to_chat(user, " [src] is empty.") + balloon_alert(user, "пусто!") return FALSE if(target.reagents.holder_full()) - to_chat(user, " [target] is full.") + balloon_alert(user, "нет места!") return FALSE var/list/transfer_data = reagents.get_transferred_reagents(target, amount_per_transfer_from_this) @@ -132,22 +132,22 @@ if(isrobot(user)) SynthesizeDrinkFromTransfer(user, transfer_data) - to_chat(user, " You transfer [trans] units of the solution to [target].") + to_chat(user, span_notice("Вы переливаете [trans] единиц[declension_ru(trans, "у", "ы", "")] вещества в [target.declent_ru(ACCUSATIVE)].")) else if(target.is_drainable()) //A dispenser. Transfer FROM it TO us. if(!is_refillable()) - to_chat(user, "[src]'s tab isn't open!") + balloon_alert(user, "закрыто!") return FALSE if(!target.reagents.total_volume) - to_chat(user, "[target] is empty.") + balloon_alert(user, "пусто!") return FALSE if(reagents.holder_full()) - to_chat(user, "[src] is full.") + balloon_alert(user, "нет места!") return FALSE var/trans = target.reagents.trans_to(src, amount_per_transfer_from_this) - to_chat(user, "You fill [src] with [trans] units of the contents of [target].") + to_chat(user, span_notice("Вы наполняете [declent_ru(ACCUSATIVE)] [trans] единиц[declension_ru(trans, "ей", "ами", "ами")] вещества из содержимого [target.declent_ru(ACCUSATIVE)].")) return FALSE @@ -155,16 +155,16 @@ . = ..() if(in_range(user, src)) if(!reagents || reagents.total_volume == 0) - . += " \The [src] is empty!" + . += span_notice("Пусто.") else if(reagents.total_volume <= volume/4) - . += " \The [src] is almost empty!" + . += span_notice("Почти пусто.") else if(reagents.total_volume <= volume*0.66) - . += " \The [src] is half full!"// We're all optimistic, right?! + . += span_notice("Наполовину заполнено.")// We're all optimistic, right?! else if(reagents.total_volume <= volume*0.90) - . += " \The [src] is almost full!" + . += span_notice("Почти заполнено.") else - . += " \The [src] is full!" + . += span_notice("Заполнено.") //////////////////////////////////////////////////////////////////////////////// /// Drinks. END @@ -234,7 +234,15 @@ /obj/item/reagent_containers/food/drinks/ice name = "ice cup" - desc = "Careful, cold ice, do not chew." + desc = "Стаканчик льда. Не жуйте, а то горло болеть будет." + ru_names = list( + NOMINATIVE = "стаканчик льда", + GENITIVE = "стаканчика льда", + DATIVE = "стаканчику льда", + ACCUSATIVE = "стаканчик льда", + INSTRUMENTAL = "стаканчиком льда", + PREPOSITIONAL = "стаканчике льда" + ) icon_state = "icecup" list_reagents = list("ice" = 30) diff --git a/code/modules/food_and_drinks/drinks/drinks/bottle.dm b/code/modules/food_and_drinks/drinks/drinks/bottle.dm index 51de1af85f5..339816f370e 100644 --- a/code/modules/food_and_drinks/drinks/drinks/bottle.dm +++ b/code/modules/food_and_drinks/drinks/drinks/bottle.dm @@ -139,8 +139,16 @@ //Keeping this here for now, I'll ask if I should keep it here. /obj/item/broken_bottle - name = "Broken Bottle" - desc = "A bottle with a sharp broken bottom." + name = "broken bottle" + desc = "Бутылка с острым побитым дном." + ru_names = list( + NOMINATIVE = "разбитая бутылка", + GENITIVE = "разбитой бутылки", + DATIVE = "разбитой бутылке", + ACCUSATIVE = "разбитую бутылку", + INSTRUMENTAL = "разбитой бутылкой", + PREPOSITIONAL = "разбитой бутылке" + ) icon = 'icons/obj/drinks.dmi' icon_state = "broken_bottle" force = 9 @@ -163,173 +171,397 @@ /obj/item/reagent_containers/food/drinks/bottle/gin name = "Griffeater Gin" - desc = "A bottle of high quality gin, produced in the New London Space Station." + desc = "Бутылка высококачественного джина, произведённого в Новом Лондоне." + ru_names = list( + NOMINATIVE = "бутылка джина \"Гриффитер\"", + GENITIVE = "бутылки джина \"Гриффитер\"", + DATIVE = "бутылке джина \"Гриффитер\"", + ACCUSATIVE = "бутылку джина \"Гриффитер\"", + INSTRUMENTAL = "бутылкой джина \"Гриффитер\"", + PREPOSITIONAL = "бутылке джина \"Гриффитер\"" + ) icon_state = "ginbottle" list_reagents = list("gin" = 100) /obj/item/reagent_containers/food/drinks/bottle/whiskey name = "Uncle Git's Special Reserve" - desc = "A premium single-malt whiskey, gently matured inside the tunnels of a nuclear shelter. TUNNEL WHISKEY RULES." + desc = "Односолодовый виски премиум-класса, бережно выдержанный в туннелях ядерного бомбоубежища. ТУННЕЛЬНЫЙ ВИСКИ РУЛИТ." + ru_names = list( + NOMINATIVE = "бутылка виски \"Особые Запасы Дяди Гита\"", + GENITIVE = "бутылки виски \"Особые Запасы Дяди Гита\"", + DATIVE = "бутылке виски \"Особые Запасы Дяди Гита\"", + ACCUSATIVE = "бутылку виски \"Особые Запасы Дяди Гита\"", + INSTRUMENTAL = "бутылкой виски \"Особые Запасы Дяди Гита\"", + PREPOSITIONAL = "бутылке виски \"Особые Запасы Дяди Гита\"" + ) icon_state = "whiskeybottle" list_reagents = list("whiskey" = 100) /obj/item/reagent_containers/food/drinks/bottle/vodka name = "Tunguska Triple Distilled" - desc = "Aah, vodka. Prime choice of drink AND fuel by Russians worldwide." + desc = "Высококачественная водка тройной перегонки, импортированная прямо из СССП." + ru_names = list( + NOMINATIVE = "бутылка водки \"Тунгуска Тройной Перегонки\"", + GENITIVE = "бутылки водки \"Тунгуска Тройной Перегонки\"", + DATIVE = "бутылке водки \"Тунгуска Тройной Перегонки\"", + ACCUSATIVE = "бутылку водки \"Тунгуска Тройной Перегонки\"", + INSTRUMENTAL = "бутылкой водки \"Тунгуска Тройной Перегонки\"", + PREPOSITIONAL = "бутылке водки \"Тунгуска Тройной Перегонки\"" + ) icon_state = "vodkabottle" list_reagents = list("vodka" = 100) /obj/item/reagent_containers/food/drinks/bottle/vodka/badminka name = "Badminka Vodka" - desc = "The label's written in Cyrillic. All you can make out is the name and a word that looks vaguely like 'Vodka'." + desc = "Может и не самая дорогая, но всё ещё пригодная для употребления водка, производимая на окраинах СССП. Чёрт возьми, водка есть водка!" + ru_names = list( + NOMINATIVE = "бутылка водки \"Бадминка\"", + GENITIVE = "бутылки водки \"Бадминка\"", + DATIVE = "бутылке водки \"Бадминка\"", + ACCUSATIVE = "бутылку водки \"Бадминка\"", + INSTRUMENTAL = "бутылкой водки \"Бадминка\"", + PREPOSITIONAL = "бутылке водки \"Бадминка\"" + ) icon_state = "badminka" list_reagents = list("vodka" = 100) /obj/item/reagent_containers/food/drinks/bottle/tequila name = "Caccavo Guaranteed Quality Tequila" - desc = "Made from premium petroleum distillates, pure thalidomide and other fine quality ingredients!" + desc = "Изготовлена из высококачественных нефтяных дистиллятов, чистого талидомида и других высококачественных ингредиентов!" + ru_names = list( + NOMINATIVE = "бутылка текилы \"Гарантированно Качественная Текила Каккаво\"", + GENITIVE = "бутылки текилы \"Гарантированно Качественная Текила Каккаво\"", + DATIVE = "бутылке текилы \"Гарантированно Качественная Текила Каккаво\"", + ACCUSATIVE = "бутылку текилы \"Гарантированно Качественная Текила Каккаво\"", + INSTRUMENTAL = "бутылкой текилы \"Гарантированно Качественная Текила Каккаво\"", + PREPOSITIONAL = "бутылке текилы \"Гарантированно Качественная Текила Каккаво\"" + ) icon_state = "tequilabottle" list_reagents = list("tequila" = 100) /obj/item/reagent_containers/food/drinks/bottle/bottleofnothing name = "Bottle of Nothing" - desc = "A bottle filled with nothing." + desc = "Бутылка, наполненная ничем." + ru_names = list( + NOMINATIVE = "бутылка \"Ничего\"", + GENITIVE = "бутылки \"Ничего\"", + DATIVE = "бутылке \"Ничего\"", + ACCUSATIVE = "бутылку \"Ничего\"", + INSTRUMENTAL = "бутылкой \"Ничего\"", + PREPOSITIONAL = "бутылке \"Ничего\"" + ) icon_state = "bottleofnothing" list_reagents = list("nothing" = 100) /obj/item/reagent_containers/food/drinks/bottle/bottleofbanana name = "Jolly Jug" - desc = "A jug filled with banana juice." + desc = "Кувшин, наполненный банановым соком. Хонк!" + ru_names = list( + NOMINATIVE = "кувшин бананового сока", + GENITIVE = "кувшина бананового сока", + DATIVE = "кувшину бананового сока", + ACCUSATIVE = "кувшин бананового сока", + INSTRUMENTAL = "кувшином бананового сока", + PREPOSITIONAL = "кувшине бананового сока" + ) icon_state = "bottleofjolly" list_reagents = list("banana" = 100) /obj/item/reagent_containers/food/drinks/bottle/patron - name = "Wrapp Artiste Patron" - desc = "Silver laced tequila, served in space night clubs across the galaxy." + name = "Roca Patron Silver" + desc = "Премиальная текила с серебряным отливом, которую подают в ночных клубах по всей галактике." + ru_names = list( + NOMINATIVE = "бутылка текилы \"Рока Патрон Сильвер\"", + GENITIVE = "бутылки текилы \"Рока Патрон Сильвер\"", + DATIVE = "бутылке текилы \"Рока Патрон Сильвер\"", + ACCUSATIVE = "бутылку текилы \"Рока Патрон Сильвер\"", + INSTRUMENTAL = "бутылкой текилы \"Рока Патрон Сильвер\"", + PREPOSITIONAL = "бутылке текилы \"Рока Патрон Сильвер\"" + ) icon_state = "patronbottle" list_reagents = list("patron" = 100) /obj/item/reagent_containers/food/drinks/bottle/rum name = "Captain Pete's Cuban Spiced Rum" - desc = "As once skipper said, 'Should pale death with treble dread make the space frontier our bed, God who hears the darkness roll, deign to save our suppliant soul'." + desc = "Как сказал однажды мой шкипер: \"Если бледная смерть с трепетным ужасом сделает космическую пустоту нашим последним пристанищем, Бог, слышащий, как клубится тьма космоса, соизволит спасти нашу молящуюся душу\"." + ru_names = list( + NOMINATIVE = "бутылка рома \"Кубинский Пряный Ром Капитана Пита\"", + GENITIVE = "бутылки рома \"Кубинский Пряный Ром Капитана Пита\"", + DATIVE = "бутылке рома \"Кубинский Пряный Ром Капитана Пита\"", + ACCUSATIVE = "бутылку рома \"Кубинский Пряный Ром Капитана Пита\"", + INSTRUMENTAL = "бутылкой рома \"Кубинский Пряный Ром Капитана Пита\"", + PREPOSITIONAL = "бутылке рома\"Кубинский Пряный Ром Капитана Пита\"" + ) icon_state = "rumbottle" list_reagents = list("rum" = 100) /obj/item/reagent_containers/food/drinks/bottle/holywater name = "flask of holy water" - desc = "A flask of the chaplain's holy water." + desc = "Кувшин со святой водой, такие обычно стоят в церквях." + ru_names = list( + NOMINATIVE = "кувшин святой воды", + GENITIVE = "кувшина святой воды", + DATIVE = "кувшину святой воды", + ACCUSATIVE = "кувшин святой воды", + INSTRUMENTAL = "кувшином святой воды", + PREPOSITIONAL = "кувшине святой воды" + ) icon_state = "holyflask" list_reagents = list("holywater" = 100) /obj/item/reagent_containers/food/drinks/bottle/holywater/hell - desc = "A flask of holy water...it's been sitting in the Necropolis a while though." + desc = "Кувшин со святой водой... который пробыл в чреве Некрополя слишком долго." list_reagents = list("hell_water" = 100) /obj/item/reagent_containers/food/drinks/bottle/vermouth name = "Goldeneye Vermouth" - desc = "Sweet, sweet dryness~" + desc = "Сладкая, сладкая сухость..." + ru_names = list( + NOMINATIVE = "бутылка вермута \"Золотой Глаз\"", + GENITIVE = "бутылки вермута \"Золотой Глаз\"", + DATIVE = "бутылке вермута \"Золотой Глаз\"", + ACCUSATIVE = "бутылку вермута \"Золотой Глаз\"", + INSTRUMENTAL = "бутылкой вермута \"Золотой Глаз\"", + PREPOSITIONAL = "бутылке вермута \"Золотой Глаз\"" + ) icon_state = "vermouthbottle" list_reagents = list("vermouth" = 100) /obj/item/reagent_containers/food/drinks/bottle/kahlua name = "Robert Robust's Coffee Liqueur" - desc = "A widely known, Mexican coffee-flavoured liqueur. In production since 1936, HONK." + desc = "Широко известный мексиканский ликёр со вкусом кофе. Производится с 1936 года." + ru_names = list( + NOMINATIVE = "бутылка ликёра Калуа \"Кофейный ликёр Роберта Робаста\"", + GENITIVE = "бутылки ликёра Калуа \"Кофейный ликёр Роберта Робаста\"", + DATIVE = "бутылке ликёра Калуа \"Кофейный ликёр Роберта Робаста\"", + ACCUSATIVE = "бутылку ликёра Калуа \"Кофейный ликёр Роберта Робаста\"", + INSTRUMENTAL = "бутылкой ликёра Калуа \"Кофейный ликёр Роберта Робаста\"", + PREPOSITIONAL = "бутылке ликёра Калуа \"Кофейный ликёр Роберта Робаста\"" + ) icon_state = "kahluabottle" list_reagents = list("kahlua" = 100) /obj/item/reagent_containers/food/drinks/bottle/goldschlager name = "College Girl Goldschlager" - desc = "Because they are the only ones who will drink 100 proof cinnamon schnapps." + desc = "Потому что они единственные, кто будет пить шнапс с корицей 100%-ой пробы." + ru_names = list( + NOMINATIVE = "бутылка шнапса \"Голдшлягер Студенческий\"", + GENITIVE = "бутылки шнапса \"Голдшлягер Студенческий\"", + DATIVE = "бутылке шнапса \"Голдшлягер Студенческий\"", + ACCUSATIVE = "бутылку шнапса \"Голдшлягер Студенческий\"", + INSTRUMENTAL = "бутылкой шнапса \"Голдшлягер Студенческий\"", + PREPOSITIONAL = "бутылке шнапса \"Голдшлягер Студенческий\"" + ) icon_state = "goldschlagerbottle" list_reagents = list("goldschlager" = 100) /obj/item/reagent_containers/food/drinks/bottle/cognac name = "Chateau De Baton Premium Cognac" - desc = "A sweet and strongly alcoholic drink, made after numerous distillations and years of maturing. You might as well not scream 'SHITCURITY' this time." + desc = "Коньяк премиального качества, изготовленный путём многочисленных дистилляций и многолетней выдержки." + ru_names = list( + NOMINATIVE = "бутылка коньяка \"Шато Дэ Батон\"", + GENITIVE = "бутылки коньяка \"Шато Дэ Батон\"", + DATIVE = "бутылке коньяка \"Шато Дэ Батон\"", + ACCUSATIVE = "бутылку коньяка \"Шато Дэ Батон\"", + INSTRUMENTAL = "бутылкой коньяка \"Шато Дэ Батон\"", + PREPOSITIONAL = "бутылке коньяка \"Шато Дэ Батон\"" + ) icon_state = "cognacbottle" list_reagents = list("cognac" = 100) /obj/item/reagent_containers/food/drinks/bottle/wine name = "Doublebeard Bearded Special Wine" - desc = "A faint aura of unease and asspainery surrounds the bottle." + desc = "Слабая аура беспокойства и боли в заднице окружает эту бутылку." + ru_names = list( + NOMINATIVE = "бутылка вина \"Особое Двухбородое\"", + GENITIVE = "бутылки вина \"Особое Двухбородое\"", + DATIVE = "бутылке вина \"Особое Двухбородое\"", + ACCUSATIVE = "бутылку вина \"Особое Двухбородое\"", + INSTRUMENTAL = "бутылкой вина \"Особое Двухбородое\"", + PREPOSITIONAL = "бутылке вина \"Особое Двухбородое\"" + ) icon_state = "winebottle" list_reagents = list("wine" = 100) /obj/item/reagent_containers/food/drinks/bottle/absinthe name = "Yellow Marquee Absinthe" - desc = "A strong alcoholic drink brewed and distributed by Yellow Marquee." + desc = "Крепкий алкогольный напиток, сваренный и распространяемый компанией \"Жёлтый Шатёр\"." + ru_names = list( + NOMINATIVE = "бутылка абсента \"Жёлтый Шатёр\"", + GENITIVE = "бутылки абсента \"Жёлтый Шатёр\"", + DATIVE = "бутылке абсента \"Жёлтый Шатёр\"", + ACCUSATIVE = "бутылку абсента \"Жёлтый Шатёр\"", + INSTRUMENTAL = "бутылкой абсента \"Жёлтый Шатёр\"", + PREPOSITIONAL = "бутылке абсента \"Жёлтый Шатёр\"" + ) icon_state = "absinthebottle" list_reagents = list("absinthe" = 100) /obj/item/reagent_containers/food/drinks/bottle/absinthe/premium name = "Gwyn's Premium Absinthe" - desc = "A potent alcoholic beverage, almost makes you forget the ash in your lungs." + desc = "Крепкий алкогольный напиток, почти заставляющий забыть о пепле в лёгких." + ru_names = list( + NOMINATIVE = "бутылка абсента \"Премиальный Абсент Гвена\"", + GENITIVE = "бутылки абсента \"Премиальный Абсент Гвена\"", + DATIVE = "бутылке абсента \"Премиальный Абсент Гвена\"", + ACCUSATIVE = "бутылку абсента \"Премиальный Абсент Гвена\"", + INSTRUMENTAL = "бутылкой абсента \"Премиальный Абсент Гвена\"", + PREPOSITIONAL = "бутылке абсента \"Премиальный Абсент Гвена\"" + ) icon_state = "absinthepremium" /obj/item/reagent_containers/food/drinks/bottle/hcider name = "Jian Hard Cider" - desc = "Apple juice for adults." + desc = "Яблочный сок для взрослых." + ru_names = list( + NOMINATIVE = "бутылка сидра \"Цзянь Крепкий\"", + GENITIVE = "бутылки сидра \"Цзянь Крепкий\"", + DATIVE = "бутылке сидра \"Цзянь Крепкий\"", + ACCUSATIVE = "бутылку сидра \"Цзянь Крепкий\"", + INSTRUMENTAL = "бутылкой сидра \"Цзянь Крепкий\"", + PREPOSITIONAL = "бутылке сидра \"Цзянь Крепкий\"" + ) icon_state = "hcider" volume = 50 list_reagents = list("suicider" = 50) /obj/item/reagent_containers/food/drinks/bottle/fernet name = "Fernet Bronca" - desc = "A bottle of pure Fernet Bronca, produced in Cordoba Space Station" + desc = "Бутылка фернета, произведенного на космической станции \"Кордоба\"." + ru_names = list( + NOMINATIVE = "бутылка фернета \"Фернет Бронка\"", + GENITIVE = "бутылки фернета \"Фернет Бронка\"", + DATIVE = "бутылке фернета \"Фернет Бронка\"", + ACCUSATIVE = "бутылку фернета \"Фернет Бронка\"", + INSTRUMENTAL = "бутылкой фернета \"Фернет Бронка\"", + PREPOSITIONAL = "бутылке фернета \"Фернет Бронка\"" + ) icon_state = "fernetbottle" list_reagents = list("fernet" = 100) /obj/item/reagent_containers/food/drinks/bottle/champagne name = "Sparkling Sunny Champagne" - desc = "A bottle of pure sizzling sun, ready to hit your brain." + desc = "Бутылка чистого обжигающего солнца, готовая поразить ваш мозг." + ru_names = list( + NOMINATIVE = "бутылка шампанского \"Сверкающее Солнце\"", + GENITIVE = "бутылки шампанского \"Сверкающее Солнце\"", + DATIVE = "бутылке шампанского \"Сверкающее Солнце\"", + ACCUSATIVE = "бутылку шампанского \"Сверкающее Солнце\"", + INSTRUMENTAL = "бутылкой шампанского \"Сверкающее Солнце\"", + PREPOSITIONAL = "бутылке шампанского \"Сверкающее Солнце\"" + ) icon_state = "champagnebottle" list_reagents = list("champagne" = 100) /obj/item/reagent_containers/food/drinks/bottle/aperol name = "Jungle Aperol Aperitivo" - desc = "A true aperitif experienced in the most remote jungle." + desc = "Настоящая засажа для вашей печени." + ru_names = list( + NOMINATIVE = "бутылка апероля \"Джунгли Аперитив\"", + GENITIVE = "бутылки апероля \"Джунгли Аперитив\"", + DATIVE = "бутылке апероля \"Джунгли Аперитив\"", + ACCUSATIVE = "бутылку апероля \"Джунгли Аперитив\"", + INSTRUMENTAL = "бутылкой апероля \"Джунгли Аперитив\"", + PREPOSITIONAL = "бутылке апероля \"Джунгли Аперитив\"" + ) icon_state = "aperolbottle" list_reagents = list("aperol" = 100) /obj/item/reagent_containers/food/drinks/bottle/jagermeister name = "Infused Space Jaegermeister" desc = "Das ist des Jägers Ehrenschild, daß er beschützt und hegt sein Wild, weidmännisch jagt, wie sich gehört, den Schöpfer im Geschöpfe ehrt." + ru_names = list( + NOMINATIVE = "бутылка ягермейстера \"Космически Настоенный\"", + GENITIVE = "бутылки ягермейстера \"Космически Настоенный\"", + DATIVE = "бутылке ягермейстера \"Космически Настоенный\"", + ACCUSATIVE = "бутылку ягермейстера \"Космически Настоенный\"", + INSTRUMENTAL = "бутылкой ягермейстера \"Космически Настоенный\"", + PREPOSITIONAL = "бутылке ягермейстера \"Космически Настоенный\"" + ) icon_state = "jagermeisterbottle" list_reagents = list("jagermeister" = 100) /obj/item/reagent_containers/food/drinks/bottle/schnaps name = "Grainy Mint Schnapps" - desc = "A real horror for a true connoisseur, high-quality mint schnapps." + desc = "Настоящий ужас для истинного ценителя, высококачественный мятный шнапс." + ru_names = list( + NOMINATIVE = "бутылка шнапса \"Мятный Зерновой\"", + GENITIVE = "бутылки шнапса \"Мятный Зерновой\"", + DATIVE = "бутылке шнапса \"Мятный Зерновой\"", + ACCUSATIVE = "бутылку шнапса \"Мятный Зерновой\"", + INSTRUMENTAL = "бутылкой шнапса \"Мятный Зерновой\"", + PREPOSITIONAL = "бутылке шнапса \"Мятный Зерновой\"" + ) icon_state = "schnapsbottle" list_reagents = list("schnaps" = 100) /obj/item/reagent_containers/food/drinks/bottle/sheridan - name = "Sheridan’s Coffee Layered" - desc = "A double miracle with a new innovative neck, much better than yours." + name = "Sheridan's Coffee Layered" + desc = "Двойное чудо с новой инновационной шеей, намного лучше, чем у вас." + ru_names = list( + NOMINATIVE = "бутылка ликёра \"Шериданс Кофейный\"", + GENITIVE = "бутылки ликёра \"Шериданс Кофейный\"", + DATIVE = "бутылке ликёра \"Шериданс Кофейный\"", + ACCUSATIVE = "бутылку ликёра \"Шериданс Кофейный\"", + INSTRUMENTAL = "бутылкой ликёра \"Шериданс Кофейный\"", + PREPOSITIONAL = "бутылке ликёра \"Шериданс Кофейный\"" + ) icon_state = "sheridanbottle" list_reagents = list("sheridan" = 100) /obj/item/reagent_containers/food/drinks/bottle/bitter name = "Vacuum Cherry Bitter" - desc = "Try not to suffocate after drinking such wonderful bitterness." + desc = "Постарайтесь не задохнуться, выпив такую чудесную горечь." + ru_names = list( + NOMINATIVE = "бутылка битера \"Вауумный Вишнёвый\"", + GENITIVE = "бутылки битера \"Вауумный Вишнёвый\"", + DATIVE = "бутылке битера \"Вауумный Вишнёвый\"", + ACCUSATIVE = "бутылку битера \"Вауумный Вишнёвый\"", + INSTRUMENTAL = "бутылкой битера \"Вауумный Вишнёвый\"", + PREPOSITIONAL = "бутылке битера \"Вауумный Вишнёвый\"" + ) icon_state = "bitterbottle" list_reagents = list("bitter" = 50) /obj/item/reagent_containers/food/drinks/bottle/bluecuracao name = "Grenadier Blue Curacao" - desc = "The explosion is an art, but the blue explosion is much better." + desc = "Взрыв - это искусство, но синий взрыв намного лучше." + ru_names = list( + NOMINATIVE = "бутылка кюрасао \"Гренадёрский Синий\"", + GENITIVE = "бутылки кюрасао \"Гренадёрский Синий\"", + DATIVE = "бутылке кюрасао \"Гренадёрский Синий\"", + ACCUSATIVE = "бутылку кюрасао \"Гренадёрский Синий\"", + INSTRUMENTAL = "бутылкой кюрасао \"Гренадёрский Синий\"", + PREPOSITIONAL = "бутылке кюрасао \"Гренадёрский Синий\"" + ) icon_state = "bluecuracao" list_reagents = list("bluecuracao" = 100) /obj/item/reagent_containers/food/drinks/bottle/sambuka - name = "The Headless Horseman 's Sambuka" - desc = "I haven't drunk sambuca since I was twenty." + name = "The Headless Horseman's Sambuka" + desc = "Я не пил самбуку с тех пор, как мне было двадцать." + ru_names = list( + NOMINATIVE = "бутылка самбуки \"Безголовый Всадник\"", + GENITIVE = "бутылки самбуки \"Безголовый Всадник\"", + DATIVE = "бутылке самбуки \"Безголовый Всадник\"", + ACCUSATIVE = "бутылку самбуки \"Безголовый Всадник\"", + INSTRUMENTAL = "бутылкой самбуки \"Безголовый Всадник\"", + PREPOSITIONAL = "бутылке самбуки \"Безголовый Всадник\"" + ) icon_state = "sambukabottle" list_reagents = list("sambuka" = 100) /obj/item/reagent_containers/food/drinks/bottle/arrogant_green_rat name = "Arrogant Green Rat" - desc = "Finest wine from the Paradise City, where the grass is green and the girls are pretty." + desc = "Лучшее вино из райского города, где трава зелёная, а девушки красивые." + ru_names = list( + NOMINATIVE = "бутылка вина \"Высокомерная Зелёная Крыса\"", + GENITIVE = "бутылки вина \"Высокомерная Зелёная Крыса\"", + DATIVE = "бутылке вина \"Высокомерная Зелёная Крыса\"", + ACCUSATIVE = "бутылку вина \"Высокомерная Зелёная Крыса\"", + INSTRUMENTAL = "бутылкой вина \"Высокомерная Зелёная Крыса\"", + PREPOSITIONAL = "бутылке вина \"Высокомерная Зелёная Крыса\"" + ) icon_state = "arrogant_green_rat" list_reagents = list("wine" = 100) @@ -337,7 +569,15 @@ /obj/item/reagent_containers/food/drinks/bottle/orangejuice name = "orange juice" - desc = "Full of vitamins and deliciousness!" + desc = "Полон витаминов и вкусностей!" + ru_names = list( + NOMINATIVE = "пачка апельсинового сока", + GENITIVE = "пачки апельсинового сока", + DATIVE = "пачке апельсинового сока", + ACCUSATIVE = "пачку апельсинового сока", + INSTRUMENTAL = "пачкой апельсинового сока", + PREPOSITIONAL = "пачке апельсинового сока" + ) icon_state = "orangejuice" item_state = "carton" throwforce = 0 @@ -346,7 +586,15 @@ /obj/item/reagent_containers/food/drinks/bottle/cream name = "milk cream" - desc = "It's cream. Made from milk. What else did you think you'd find in there?" + desc = "Это сливки. Сделаны из молока. А что ещё вы думали там найти?" + ru_names = list( + NOMINATIVE = "пачка сливок", + GENITIVE = "пачки сливок", + DATIVE = "пачке сливок", + ACCUSATIVE = "пачку сливок", + INSTRUMENTAL = "пачкой сливок", + PREPOSITIONAL = "пачке сливок" + ) icon_state = "cream" item_state = "carton" throwforce = 0 @@ -355,7 +603,15 @@ /obj/item/reagent_containers/food/drinks/bottle/tomatojuice name = "tomato juice" - desc = "Well, at least it LOOKS like tomato juice. You can't tell with all that redness." + desc = "Ну, по крайней мере, это выглядит как томатный сок. Слишком красное, чтобы сказать точно." + ru_names = list( + NOMINATIVE = "пачка томатного сока", + GENITIVE = "пачки томатного сока", + DATIVE = "пачке томатного сока", + ACCUSATIVE = "пачку томатного сока", + INSTRUMENTAL = "пачкой томатного сока", + PREPOSITIONAL = "пачке томатного сока" + ) icon_state = "tomatojuice" item_state = "carton" throwforce = 0 @@ -364,7 +620,15 @@ /obj/item/reagent_containers/food/drinks/bottle/limejuice name = "lime juice" - desc = "Sweet-sour goodness." + desc = "Кисло-сладкая вкуснятина." + ru_names = list( + NOMINATIVE = "пачка лаймового сока", + GENITIVE = "пачки лаймового сока", + DATIVE = "пачке лаймового сока", + ACCUSATIVE = "пачку лаймового сока", + INSTRUMENTAL = "пачкой лаймового сока", + PREPOSITIONAL = "пачке лаймового сока" + ) icon_state = "limejuice" item_state = "carton" throwforce = 0 @@ -373,7 +637,15 @@ /obj/item/reagent_containers/food/drinks/bottle/milk name = "milk" - desc = "Soothing milk." + desc = "Мягкое, вкусно и полезное молоко." + ru_names = list( + NOMINATIVE = "пачка молока", + GENITIVE = "пачки молока", + DATIVE = "пачке молока", + ACCUSATIVE = "пачку молока", + INSTRUMENTAL = "пачкой молока", + PREPOSITIONAL = "пачке молока" + ) icon_state = "milk" item_state = "carton" throwforce = 0 diff --git a/code/modules/food_and_drinks/drinks/drinks/cans.dm b/code/modules/food_and_drinks/drinks/drinks/cans.dm index 6829909cb24..926db291bb7 100644 --- a/code/modules/food_and_drinks/drinks/drinks/cans.dm +++ b/code/modules/food_and_drinks/drinks/drinks/cans.dm @@ -8,19 +8,19 @@ var/can_burst = FALSE var/burst_chance = 0 foodtype = SUGAR + gender = FEMALE /obj/item/reagent_containers/food/drinks/cans/empty() if(!canopened) - to_chat(usr, "Open [src] first.") + balloon_alert(usr, "сначала откройте!") return ..() /obj/item/reagent_containers/food/drinks/cans/examine(mob/user) . = ..() - if(canopened) - . += "It has been opened." - else - . += "Ctrl-Click to shake it up!" + . += span_notice("[canopened ? "Открыто" : "Закрыто"]") + if(!canopened) + . += span_info("Используйте Ctrl+ЛКМ, чтобы встряхнуть!") /obj/item/reagent_containers/food/drinks/cans/attack_self(mob/user) if(canopened) @@ -31,7 +31,7 @@ playsound(loc, 'sound/effects/canopen.ogg', rand(10, 50), 1) canopened = TRUE container_type |= OPENCONTAINER - to_chat(user, "You open the drink with an audible pop!") + to_chat(user, span_notice("Вы открываете [declent_ru(ACCUSATIVE)] с громким хлопком!")) return ..() /obj/item/reagent_containers/food/drinks/cans/proc/crush(mob/user) @@ -52,18 +52,18 @@ if(!can_shake || !ishuman(user)) return ..() if(user.incapacitated() || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED)) - to_chat(user, "You can't do that right now!") + balloon_alert(user, "невозможно в данный момент!") return ..() var/mob/living/carbon/human/H = user if(canopened) - to_chat(H, "You can't shake up an already opened drink!") + balloon_alert(H, "нельзя встряхнуть после открытия!") return if(src == H.l_hand || src == H.r_hand) can_shake = FALSE addtimer(CALLBACK(src, PROC_REF(reset_shakable)), 1 SECONDS, TIMER_UNIQUE | TIMER_OVERRIDE) - to_chat(H, "You start shaking up [src].") + to_chat(H, span_notice("Вы начинаете встряхивать [declent_ru(ACCUSATIVE)].")) if(do_after(H, 1 SECONDS, H)) - visible_message("[user] shakes up the [name]!") + visible_message(span_warning("[user] встряхнул[genderize_ru(user.gender, "", "а", "о", "и")] [declent_ru(ACCUSATIVE)]!")) if(times_shaken == 0) times_shaken++ addtimer(CALLBACK(src, PROC_REF(reset_shaken)), 1 MINUTES, TIMER_UNIQUE | TIMER_OVERRIDE | TIMER_NO_HASH_WAIT) @@ -74,17 +74,17 @@ addtimer(CALLBACK(src, PROC_REF(reset_shaken)), 20 SECONDS, TIMER_UNIQUE | TIMER_OVERRIDE | TIMER_NO_HASH_WAIT) handle_bursting(user) else - to_chat(H, "You need to hold [src] in order to shake it.") + balloon_alert(H, "нужно держать в руке!") /obj/item/reagent_containers/food/drinks/cans/attack(mob/living/target, mob/living/user, params, def_zone, skip_attack_anim = FALSE) if(!canopened) - to_chat(user, span_warning("You need to open the drink!")) + balloon_alert(user, "сначала откройте!") return ATTACK_CHAIN_PROCEED if(target == user && !reagents.total_volume && user.a_intent == INTENT_HARM && user.zone_selected == BODY_ZONE_HEAD) user.visible_message( - span_warning("[user] crushes [src] on [user.p_their()] forehead!"), - span_warning("You crush [src] on your forehead."), + span_warning("[user] смина[pluralize_ru(user.gender, "ет", "ют")] [declent_ru(ACCUSATIVE)] своим лбом!"), + span_warning("Вы сминаете [declent_ru(ACCUSATIVE)] своим лбом!"), ) crush(user) return ATTACK_CHAIN_BLOCKED_ALL @@ -94,8 +94,8 @@ /obj/item/reagent_containers/food/drinks/cans/attackby(obj/item/I, mob/user, params) if(istype(I, /obj/item/storage/bag/trash/cyborg)) user.visible_message( - span_notice("[user] crushes [src] in [user.p_their()] trash compactor."), - span_notice("You crush [src] in your trash compactor."), + span_notice("[user] засовыва[pluralize_ru(user.gender, "ет", "ют")] [declent_ru(ACCUSATIVE)] в свой уплотнитель мусора."), + span_notice("Вы засовываете [declent_ru(ACCUSATIVE)] в свой уплотнитель мусора."), ) var/obj/can = crush(user) can.attackby(I, user, params) @@ -107,10 +107,10 @@ if(!proximity) return if(istype(target, /obj/structure/reagent_dispensers) && !canopened) - to_chat(user, "You need to open the drink!") + balloon_alert(user, "сначала откройте!") return else if(target.is_open_container() && !canopened) - to_chat(user, "You need to open the drink!") + balloon_alert(user, "сначала откройте!") return else return ..(target, user, proximity) @@ -128,21 +128,21 @@ container_type |= OPENCONTAINER if(!burstopen && user) - to_chat(user, "You open the drink with an audible pop!") + to_chat(user, span_notice("Вы открываете [declent_ru(ACCUSATIVE)] с громким хлопком!")) else - visible_message("[src] bursts open!") + visible_message(span_warning("[capitalize(declent_ru(NOMINATIVE))] оглушительно открывается!")) if(times_shaken < 5) - visible_message("[src] fizzes violently!") + visible_message(span_warning("[capitalize(declent_ru(NOMINATIVE))] громко шипит!")) else - visible_message("[src] erupts into foam!") + visible_message(span_boldwarning("[capitalize(declent_ru(NOMINATIVE))] оглушительно лопается, разливая своё содержимое!")) if(reagents.total_volume) var/datum/effect_system/foam_spread/sodafizz = new sodafizz.set_up(1, get_turf(src), reagents) sodafizz.start() for(var/mob/living/carbon/C in range(1, get_turf(src))) - to_chat(C, "You are splattered with [name]!") + to_chat(C, span_warning("Вас облило содержимым [declent_ru(ACCUSATIVE)]!")) reagents.reaction(C, REAGENT_TOUCH) C.wetlevel = max(C.wetlevel + 1, times_shaken) @@ -179,76 +179,164 @@ /obj/item/reagent_containers/food/drinks/cans/cola name = "space cola" - desc = "Cola. in space." + desc = "Это кола. Нестареющая классика." + ru_names = list( + NOMINATIVE = "банка колы", + GENITIVE = "банки колы", + DATIVE = "банке колы", + ACCUSATIVE = "банку колы", + INSTRUMENTAL = "банкой колы", + PREPOSITIONAL = "банке колы" + ) icon_state = "cola" list_reagents = list("cola" = 30) /obj/item/reagent_containers/food/drinks/cans/energy name = "heart attack" - desc = "The heart will say: - My stop." + desc = "Пока сердце вам не скажет - \"Моя остановка\"." + ru_names = list( + NOMINATIVE = "банка энергетика \"Сердечный Приступ\"", + GENITIVE = "банки энергетика \"Сердечный Приступ\"", + DATIVE = "банке энергетика \"Сердечный Приступ\"", + ACCUSATIVE = "банку энергетика \"Сердечный Приступ\"", + INSTRUMENTAL = "банкой энергетика \"Сердечный Приступ\"", + PREPOSITIONAL = "банке энергетика \"Сердечный Приступ\"" + ) icon_state = "heart_attack" item_state = "heart_attack" list_reagents = list("energetik" = 30) /obj/item/reagent_containers/food/drinks/cans/energy/trop name = "tropical spasm" - desc = "Get a taste of hunting down USSP soldiers." + desc = "Почувствуйте бодрящий вкус тропических фруктов!" + ru_names = list( + NOMINATIVE = "банка энергетика \"Тропический Спазм\"", + GENITIVE = "банки энергетика \"Тропический Спазм\"", + DATIVE = "банке энергетика \"Тропический Спазм\"", + ACCUSATIVE = "банку энергетика \"Тропический Спазм\"", + INSTRUMENTAL = "банкой энергетика \"Тропический Спазм\"", + PREPOSITIONAL = "банке энергетика \"Тропический Спазм\"" + ) icon_state = "tropical_spasm" item_state = "tropical_spasm" list_reagents = list("trop_eng" = 30) /obj/item/reagent_containers/food/drinks/cans/energy/milk name = "milk flow" - desc = "For pro gamers." + desc = "Для самых профессиональных геймеров." + ru_names = list( + NOMINATIVE = "банка энергетика \"Молочный Удар\"", + GENITIVE = "банки энергетика \"Молочный Удар\"", + DATIVE = "банке энергетика \"Молочный Удар\"", + ACCUSATIVE = "банку энергетика \"Молочный Удар\"", + INSTRUMENTAL = "банкой энергетика \"Молочный Удар\"", + PREPOSITIONAL = "банке энергетика \"Молочный Удар\"" + ) icon_state = "milk_flow" item_state = "milk_flow" list_reagents = list("milk_eng" = 30) /obj/item/reagent_containers/food/drinks/cans/energy/grey name = "GreyPower" - desc = "Your hands will burn from GreyPower." + desc = "Ваши руки будут гореть от \"Грей Энерджи\"." + ru_names = list( + NOMINATIVE = "банка энергетика \"Грей Энерджи\"", + GENITIVE = "банки энергетика \"Грей Энерджи\"", + DATIVE = "банке энергетика \"Грей Энерджи\"", + ACCUSATIVE = "банку энергетика \"Грей Энерджи\"", + INSTRUMENTAL = "банкой энергетика \"Грей Энерджи\"", + PREPOSITIONAL = "банке энергетика \"Грей Энерджи\"" + ) icon_state = "GreyPower" item_state = "GreyPower" list_reagents = list("grey_eng" = 30) /obj/item/reagent_containers/food/drinks/cans/beer name = "space beer" - desc = "Contains only water, malt and hops." + desc = "Вода, солод и хмель - а больше и не требуется." + ru_names = list( + NOMINATIVE = "бутылка пива", + GENITIVE = "бутылки пива", + DATIVE = "бутылке пива", + ACCUSATIVE = "бутылку пива", + INSTRUMENTAL = "бутылкой пива", + PREPOSITIONAL = "бутылке пива" + ) icon_state = "beer" is_glass = 1 list_reagents = list("beer" = 30) /obj/item/reagent_containers/food/drinks/cans/non_alcoholic_beer name = "non-alcoholic beer" - desc = "A favorite thing of all students and those who drive." + desc = "Любимое пойло студентов и тех, кто за рулём." + ru_names = list( + NOMINATIVE = "бутылка безалкогольного пива", + GENITIVE = "бутылки безалкогольного пива", + DATIVE = "бутылке безалкогольного пива", + ACCUSATIVE = "бутылку безалкогольного пива", + INSTRUMENTAL = "бутылкой безалкогольного пива", + PREPOSITIONAL = "бутылке безалкогольного пива" + ) icon_state = "alcoholfreebeercan" list_reagents = list("noalco_beer" = 30) /obj/item/reagent_containers/food/drinks/cans/adminbooze name = "admin booze" - desc = "Bottled Griffon tears. Drink with caution." + desc = "Бутылированные слёзы Гриффона. Пить со всей осторожностью." + ru_names = list( + NOMINATIVE = "бутылка настойки \"Админово Пойло\"", + GENITIVE = "бутылки настойки \"Админово Пойло\"", + DATIVE = "бутылке настойки \"Админово Пойло\"", + ACCUSATIVE = "бутылку настойки \"Админово Пойло\"", + INSTRUMENTAL = "бутылкой настойки \"Админово Пойло\"", + PREPOSITIONAL = "бутылке настойки \"Админово Пойло\"" + ) icon_state = "adminbooze" is_glass = 1 list_reagents = list("adminordrazine" = 5, "capsaicin" = 5, "methamphetamine"= 20, "thirteenloko" = 20) /obj/item/reagent_containers/food/drinks/cans/madminmalt name = "madmin malt" - desc = "Bottled essence of angry admins. Drink with EXTREME caution." + desc = "Бутылированная эссенция ярости администрации. Пить с ПРЕДЕЛЬНОЙ осторожностью." + ru_names = list( + NOMINATIVE = "бутылка настойки \"Ярость Админа\"", + GENITIVE = "бутылки настойки \"Ярость Админа\"", + DATIVE = "бутылке настойки \"Ярость Админа\"", + ACCUSATIVE = "бутылку настойки \"Ярость Админа\"", + INSTRUMENTAL = "бутылкой настойки \"Ярость Админа\"", + PREPOSITIONAL = "бутылке настойки \"Ярость Админа\"" + ) icon_state = "madminmalt" is_glass = 1 list_reagents = list("hell_water" = 20, "neurotoxin" = 15, "thirteenloko" = 15) /obj/item/reagent_containers/food/drinks/cans/badminbrew name = "badmin brew" - desc = "Bottled trickery and terrible admin work. Probably shouldn't drink this one at all." + desc = "Бутылированная эссенция со вкусом щитспавна и ужасных ивентов. Наверное, это вам пить не стоит." + ru_names = list( + NOMINATIVE = "бутылка настойки \"Плохой Админ\"", + GENITIVE = "бутылки настойки \"Плохой Админ\"", + DATIVE = "бутылке настойки \"Плохой Админ\"", + ACCUSATIVE = "бутылку настойки \"Плохой Админ\"", + INSTRUMENTAL = "бутылкой настойки \"Плохой Админ\"", + PREPOSITIONAL = "бутылке настойки \"Плохой Админ\"" + ) icon_state = "badminbrew" is_glass = 1 list_reagents = list("mutagen" = 25, "charcoal" = 10, "thirteenloko" = 15) /obj/item/reagent_containers/food/drinks/cans/ale name = "Tail Tells Tales Ale" - desc = "The label has a tail drawn on it that extends the entire length of the bottle. If you rip it off, you can read some short tale or legend on the back of the label." + desc = "К этикетке прикреплён хвостик, который тянется по всей длине банки. Если вы его оторвете, то сможете прочитать короткую легенду на его обратной стороне." + ru_names = list( + NOMINATIVE = "бутылка эля \"Хвостатые Истории\"", + GENITIVE = "бутылки эля \"Хвостатые Истории\"", + DATIVE = "бутылке эля \"Хвостатые Истории\"", + ACCUSATIVE = "бутылку эля \"Хвостатые Истории\"", + INSTRUMENTAL = "бутылкой эля \"Хвостатые Истории\"", + PREPOSITIONAL = "бутылке эля \"Хвостатые Истории\"" + ) icon_state = "alebottle" item_state = "beer" is_glass = 1 @@ -256,74 +344,170 @@ /obj/item/reagent_containers/food/drinks/cans/space_mountain_wind name = "Space Mountain Wind" - desc = "Blows right through you like a space wind." + desc = "Проходит насквозь, словно космический ветер." + ru_names = list( + NOMINATIVE = "банка газировки \"Космический Маунтин Винд\"", + GENITIVE = "банки газировки \"Космический Маунтин Винд\"", + DATIVE = "банке газировки \"Космический Маунтин Винд\"", + ACCUSATIVE = "банку газировки \"Космический Маунтин Винд\"", + INSTRUMENTAL = "банкой газировки \"Космический Маунтин Винд\"", + PREPOSITIONAL = "банке газировки \"Космический Маунтин Винд\"" + ) icon_state = "space_mountain_wind" list_reagents = list("spacemountainwind" = 30) /obj/item/reagent_containers/food/drinks/cans/thirteenloko name = "Thirteen Loko" - desc = "The CMO has advised crew members that consumption of Thirteen Loko may result in seizures, blindness, drunkeness, or even death. Please Drink Responsibly." + desc = "Главный Врач предупредил, что употребление этого напитка может привести к судорогам, слепоте, опьянению или даже смерти. Пожалуйста, пейте осторожно." + ru_names = list( + NOMINATIVE = "банка алкогольной газировки \"Тринадцатый Локо\"", + GENITIVE = "банки алкогольной газировки \"Тринадцатый Локо\"", + DATIVE = "банке алкогольной газировки \"Тринадцатый Локо\"", + ACCUSATIVE = "банку алкогольной газировки \"Тринадцатый Локо\"", + INSTRUMENTAL = "банкой алкогольной газировки \"Тринадцатый Локо\"", + PREPOSITIONAL = "банке алкогольной газировки \"Тринадцатый Локо\"" + ) icon_state = "thirteen_loko" list_reagents = list("thirteenloko" = 25, "psilocybin" = 5) /obj/item/reagent_containers/food/drinks/cans/dr_gibb name = "Dr. Gibb" - desc = "A delicious mixture of 42 different flavors." + desc = "Освежающая смесь из 42 различных вкусов!" + ru_names = list( + NOMINATIVE = "банка газировки \"Доктор Гибб\"", + GENITIVE = "банки газировки \"Доктор Гибб\"", + DATIVE = "банке газировки \"Доктор Гибб\"", + ACCUSATIVE = "банку газировки \"Доктор Гибб\"", + INSTRUMENTAL = "банкой газировки \"Доктор Гибб\"", + PREPOSITIONAL = "банке газировки \"Доктор Гибб\"" + ) icon_state = "dr_gibb" list_reagents = list("dr_gibb" = 30) /obj/item/reagent_containers/food/drinks/cans/starkist name = "Star-kist" - desc = "The taste of a star in liquid form. And, a bit of tuna...?" + desc = "Вкус звёзд в жидком виде. И тунца..?" + ru_names = list( + NOMINATIVE = "банка газировки \"Стар-Кист\"", + GENITIVE = "банки газировки \"Стар-Кист\"", + DATIVE = "банке газировки \"Стар-Кист\"", + ACCUSATIVE = "банку газировки \"Стар-Кист\"", + INSTRUMENTAL = "банкой газировки \"Стар-Кист\"", + PREPOSITIONAL = "банке газировки \"Стар-Кист\"" + ) icon_state = "starkist" list_reagents = list("brownstar" = 30) /obj/item/reagent_containers/food/drinks/cans/space_up name = "Space-Up" - desc = "Tastes like a hull breach in your mouth." + desc = "На вкус как дыра в обшивке у вас во рту. Да, звучит странно." + ru_names = list( + NOMINATIVE = "банка газировки \"Спейс-Ап\"", + GENITIVE = "банки газировки \"Спейс-Ап\"", + DATIVE = "банке газировки \"Спейс-Ап\"", + ACCUSATIVE = "банку газировки \"Спейс-Ап\"", + INSTRUMENTAL = "банкой газировки \"Спейс-Ап\"", + PREPOSITIONAL = "банке газировки \"Спейс-Ап\"" + ) icon_state = "space-up" list_reagents = list("space_up" = 30) /obj/item/reagent_containers/food/drinks/cans/lemon_lime name = "Lemon-Lime" - desc = "You wanted ORANGE. It gave you Lemon Lime." + desc = "Терпкая газировка, состоящяя на 0,5% из натуральных цитрусовых!" + ru_names = list( + NOMINATIVE = "банка газировки \"Лимон-Лайм\"", + GENITIVE = "банки газировки \"Лимон-Лайм\"", + DATIVE = "банке газировки \"Лимон-Лайм\"", + ACCUSATIVE = "банку газировки \"Лимон-Лайм\"", + INSTRUMENTAL = "банкой газировки \"Лимон-Лайм\"", + PREPOSITIONAL = "банке газировки \"Лимон-Лайм\"" + ) icon_state = "lemon-lime" list_reagents = list("lemon_lime" = 30) /obj/item/reagent_containers/food/drinks/cans/iced_tea name = "Vrisk Serket Iced Tea" - desc = "That sweet, refreshing southern earthy flavor. That's where it's from, right? South Earth?" + desc = "Этот сладкий, освежающий вкус южной земли. Так вот откуда он, да? Южная Земля, верно?" + ru_names = list( + NOMINATIVE = "банка чая со льдом \"Вриск Секретный\"", + GENITIVE = "банки чая со льдом \"Вриск Секретный\"", + DATIVE = "банке чая со льдом \"Вриск Секретный\"", + ACCUSATIVE = "банку чая со льдом \"Вриск Секретный\"", + INSTRUMENTAL = "банкой чая со льдом \"Вриск Секретный\"", + PREPOSITIONAL = "банке чая со льдом \"Вриск Секретный\"" + ) icon_state = "ice_tea_can" list_reagents = list("icetea" = 30) /obj/item/reagent_containers/food/drinks/cans/grape_juice - name = "Grapel Juice" - desc = "500 pages of rules of how to appropriately enter into a combat with this juice!" + name = "Refreshing Purple Grapel Juice" + desc = "500 страниц правил о том, как начать драку с этим соком!" + ru_names = list( + NOMINATIVE = "банка виноградного сока \"Освежающе-Фиолетовый\"", + GENITIVE = "банки виноградного сока \"Освежающе-Фиолетовый\"", + DATIVE = "банке виноградного сока \"Освежающе-Фиолетовый\"", + ACCUSATIVE = "банку виноградного сока \"Освежающе-Фиолетовый\"", + INSTRUMENTAL = "банкой виноградного сока \"Освежающе-Фиолетовый\"", + PREPOSITIONAL = "банке виноградного сока \"Освежающе-Фиолетовый\"" + ) icon_state = "purple_can" list_reagents = list("grapejuice" = 30) /obj/item/reagent_containers/food/drinks/cans/tonic name = "T-Borg's Tonic Water" - desc = "Quinine tastes funny, but at least it'll keep that Space Malaria away." + desc = "Вкус странный, но, по крайней мере, хинин держит Космическую Малярию на расстоянии." + ru_names = list( + NOMINATIVE = "банка тоника \"Т-Борг\"", + GENITIVE = "банки тоника \"Т-Борг\"", + DATIVE = "банке тоника \"Т-Борг\"", + ACCUSATIVE = "банку тоника \"Т-Борг\"", + INSTRUMENTAL = "банкой тоника \"Т-Борг\"", + PREPOSITIONAL = "банке тоника \"Т-Борг\"" + ) icon_state = "tonic" list_reagents = list("tonic" = 50) /obj/item/reagent_containers/food/drinks/cans/sodawater name = "soda water" - desc = "A can of soda water. Still water's more refreshing cousin." + desc = "Вода с газами. Освежает и приятно щекочет во рту." + ru_names = list( + NOMINATIVE = "банка содовой", + GENITIVE = "банки содовой", + DATIVE = "банке содовой", + ACCUSATIVE = "банку содовой", + INSTRUMENTAL = "банкой содовой", + PREPOSITIONAL = "банке содовой" + ) icon_state = "sodawater" list_reagents = list("sodawater" = 50) /obj/item/reagent_containers/food/drinks/cans/synthanol name = "Beep's Classic Synthanol" - desc = "A can of IPC booze, however that works." + desc = "Бухло для КПБ. Что бы там не находилось внутри, им нравится." + ru_names = list( + NOMINATIVE = "банка синтанола \"Биб Классический\"", + GENITIVE = "банки синтанола \"Биб Классический\"", + DATIVE = "банке синтанола \"Биб Классический\"", + ACCUSATIVE = "банку синтанола \"Биб Классический\"", + INSTRUMENTAL = "банкой синтанола \"Биб Классический\"", + PREPOSITIONAL = "банке синтанола \"Биб Классический\"" + ) icon_state = "synthanolcan" list_reagents = list("synthanol" = 50) /obj/item/reagent_containers/food/drinks/cans/bottler name = "generic beverage container" - desc = "this shouldn't ever be spawned. shame on you" + desc = "Это даже не должно быть заспавненным. Позор тебе, педаль." + ru_names = list( + NOMINATIVE = "ёмкость для стандартного напитка", + GENITIVE = "ёмкости для стандартного напитка", + DATIVE = "ёмкости для стандартного напитка", + ACCUSATIVE = "ёмкость для стандартного напитка", + INSTRUMENTAL = "ёмкостью для стандартного напитка", + PREPOSITIONAL = "ёмкости для стандартного напитка" + ) icon_state = "glass_bottle" @@ -356,17 +540,41 @@ /obj/item/reagent_containers/food/drinks/cans/bottler/glass_bottle name = "glass bottle" - desc = "A glass bottle suitable for beverages." + desc = "Стеклянная бутылка, подходящая для напитков." + ru_names = list( + NOMINATIVE = "стеклянная бутылка", + GENITIVE = "стеклянной бутылки", + DATIVE = "стеклянной бутылке", + ACCUSATIVE = "стеклянную бутылку", + INSTRUMENTAL = "стеклянной бутылкой", + PREPOSITIONAL = "стеклянной бутылке" + ) icon_state = "glass_bottle" is_glass = 1 /obj/item/reagent_containers/food/drinks/cans/bottler/plastic_bottle name = "plastic bottle" - desc = "A plastic bottle suitable for beverages." + desc = "Пластиковая бутылка, подходящая для напитков." + ru_names = list( + NOMINATIVE = "пластиковая бутылка", + GENITIVE = "пластиковой бутылки", + DATIVE = "пластиковой бутылке", + ACCUSATIVE = "пластиковую бутылку", + INSTRUMENTAL = "пластиковой бутылкой", + PREPOSITIONAL = "пластиковой бутылке" + ) icon_state = "plastic_bottle" is_plastic = 1 /obj/item/reagent_containers/food/drinks/cans/bottler/metal_can name = "metal can" desc = "A metal can suitable for beverages." + ru_names = list( + NOMINATIVE = "металлическая банка", + GENITIVE = "металлической банки", + DATIVE = "металлической банке", + ACCUSATIVE = "металлическую банку", + INSTRUMENTAL = "металлической банкой", + PREPOSITIONAL = "металлической банке" + ) icon_state = "metal_can" diff --git a/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm b/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm index 185e2dbb905..e2b197ad513 100644 --- a/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm +++ b/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm @@ -2,7 +2,15 @@ /obj/item/reagent_containers/food/drinks/drinkingglass name = "glass" - desc = "Your standard drinking glass." + desc = "Стеклянный стакан, из таких обычно пьют. Постарайтесь не разбить его." + ru_names = list( + NOMINATIVE = "стакан", + GENITIVE = "стакана", + DATIVE = "стакану", + ACCUSATIVE = "стакан", + INSTRUMENTAL = "стаканом", + PREPOSITIONAL = "стакане" + ) icon_state = "glass_empty" item_state = "drinking_glass" amount_per_transfer_from_this = 10 @@ -28,12 +36,12 @@ if(istype(I, /obj/item/reagent_containers/food/snacks/egg)) //breaking eggs add_fingerprint(user) if(!reagents) - to_chat(user, span_warning("The [I.name] is empty.")) + balloon_alert(user, "яйцо пустое!") return ATTACK_CHAIN_PROCEED if(reagents.total_volume >= reagents.maximum_volume) - to_chat(user, span_warning("The [name] is full.")) + balloon_alert(user, "нет места!") return ATTACK_CHAIN_PROCEED - to_chat(user, span_notice("You break [I] into [src].")) + to_chat(user, span_notice("Вы разбиваете [I.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)].")) I.reagents.trans_to(src, I.reagents.total_volume) qdel(I) return ATTACK_CHAIN_BLOCKED_ALL diff --git a/code/modules/food_and_drinks/drinks/drinks/shotglass.dm b/code/modules/food_and_drinks/drinks/drinks/shotglass.dm index 29111b89d66..13695da564c 100644 --- a/code/modules/food_and_drinks/drinks/drinks/shotglass.dm +++ b/code/modules/food_and_drinks/drinks/drinks/shotglass.dm @@ -1,6 +1,15 @@ /obj/item/reagent_containers/food/drinks/drinkingglass/shotglass name = "shot glass" - desc = "No glasses were shot in the making of this glass." + desc = "Небольшая рюмка, из которой обычно пьют алкоголь малыми объёмами." + ru_names = list( + NOMINATIVE = "рюмка", + GENITIVE = "рюмки", + DATIVE = "рюмке", + ACCUSATIVE = "рюмку", + INSTRUMENTAL = "рюмкой", + PREPOSITIONAL = "рюмке" + ) + gender = FEMALE icon_state = "shotglass" custom_fire_overlay = "shotglass_fire" amount_per_transfer_from_this = 15 @@ -20,10 +29,33 @@ . = ..() if(reagents.total_volume) name = "shot glass of " + reagents.get_master_reagent_name() //No matter what, the glass will tell you the reagent's name. Might be too abusable in the future. + ru_names = list( + NOMINATIVE = "рюмка - " + reagents.get_master_reagent_name(), + GENITIVE = "рюмки - " + reagents.get_master_reagent_name(), + DATIVE = "рюмке - " + reagents.get_master_reagent_name(), + ACCUSATIVE = "рюмку - " + reagents.get_master_reagent_name(), + INSTRUMENTAL = "рюмкой - " + reagents.get_master_reagent_name(), + PREPOSITIONAL = "рюмке - " +reagents.get_master_reagent_name() + ) if(resistance_flags & ON_FIRE) name = "flaming [name]" + if(ru_names) + ru_names[1] = "горящая " + ru_names[1] + ru_names[2] = "горящей " + ru_names[2] + ru_names[3] = "горящей " + ru_names[3] + ru_names[4] = "горящую " + ru_names[4] + ru_names[5] = "горящей " + ru_names[5] + ru_names[6] = "горящей " + ru_names[6] else name = "shot glass" + ru_names = list( + NOMINATIVE = "рюмка", + GENITIVE = "рюмки", + DATIVE = "рюмке", + ACCUSATIVE = "рюмку", + INSTRUMENTAL = "рюмкой", + PREPOSITIONAL = "рюмке" + ) /obj/item/reagent_containers/food/drinks/drinkingglass/shotglass/update_overlays() @@ -47,9 +79,9 @@ if(!(resistance_flags & ON_FIRE)) return ATTACK_CHAIN_PROCEED user.visible_message( - span_warning("[user] pours [src] all over [user.p_them()]self!"), - span_danger("You pour [src] all over yourself!"), - span_italics("You hear a 'whoompf' and a sizzle."), + span_warning("[user] пролива[pluralize_ru(user.gender, "ет", "ют")] содержимое [declent_ru(GENITIVE)] на себя!"), + span_danger("Вы проливаете содержимое [declent_ru(GENITIVE)] на себя!"), + span_italics("Вы слышите \"Ух!\" и последующее шипение."), ) extinguish(TRUE) reagents.reaction(user, REAGENT_TOUCH) @@ -71,14 +103,14 @@ ..() set_light_range_power_color(light_intensity, 1, light_color) set_light_on(TRUE) - visible_message("[src] begins to burn with a blue hue!") + visible_message(span_notice("[capitalize(declent_ru(NOMINATIVE))] начинает гореть синим пламенем!")) update_appearance(UPDATE_NAME|UPDATE_OVERLAYS) /obj/item/reagent_containers/food/drinks/drinkingglass/shotglass/extinguish(silent = FALSE) ..() set_light_on(FALSE) if(!silent) - visible_message("The dancing flame on [src] dies out.") + visible_message(span_notice("[capitalize(declent_ru(NOMINATIVE))] перестаёт гореть!")) update_appearance(UPDATE_NAME|UPDATE_OVERLAYS) /obj/item/reagent_containers/food/drinks/drinkingglass/shotglass/burn() //Let's override fire deleting the reagents inside the shot @@ -108,7 +140,8 @@ if(HAS_TRAIT(user, TRAIT_CLUMSY) && prob(50)) clumsilyDrink(user) else - user.visible_message("[user] places [user.p_their()] hand over [src] to put it out!", "You use your hand to extinguish [src]!") + user.visible_message(span_notice("[user] накрыва[pluralize_ru(user.gender, "ет", "ют")] [declent_ru(ACCUSATIVE)] рукой, чтобы потушить огонь!"), + span_notice("Вы накрываете [declent_ru(ACCUSATIVE)] рукой, чтобы потушить огонь!")) extinguish() diff --git a/code/modules/food_and_drinks/food.dm b/code/modules/food_and_drinks/food.dm index cb443793600..3e19d478f68 100644 --- a/code/modules/food_and_drinks/food.dm +++ b/code/modules/food_and_drinks/food.dm @@ -17,7 +17,7 @@ var/bitesize = 2 var/consume_sound = 'sound/items/eatfood.ogg' var/apply_type = REAGENT_INGEST - var/apply_method = "swallow" + var/apply_method = "проглоти" var/transfer_efficiency = 1.0 var/instant_application = 0 //if we want to bypass the forcedfeed delay var/can_taste = TRUE//whether you can taste eating from this diff --git a/code/modules/food_and_drinks/food/snacks.dm b/code/modules/food_and_drinks/food/snacks.dm index 97ab395ae32..576dc37fe22 100644 --- a/code/modules/food_and_drinks/food/snacks.dm +++ b/code/modules/food_and_drinks/food/snacks.dm @@ -43,8 +43,8 @@ return if(!reagents.total_volume) if(M == user) - to_chat(user, "You finish eating \the [src].") - user.visible_message("[M] finishes eating \the [src].") + to_chat(user, span_notice("Вы доели [declent_ru(ACCUSATIVE)].")) + user.visible_message(span_notice("[M] доел[genderize_ru(M.gender, "", "а", "о", "и")] [declent_ru(ACCUSATIVE)].")) user.drop_item_ground(src) //so icons update :[ Post_Consume(M) var/obj/item/trash_item = generate_trash(usr) diff --git a/code/modules/mining/lavaland/loot/tendril_loot.dm b/code/modules/mining/lavaland/loot/tendril_loot.dm index 1a312d331fb..96c6be3a8ba 100644 --- a/code/modules/mining/lavaland/loot/tendril_loot.dm +++ b/code/modules/mining/lavaland/loot/tendril_loot.dm @@ -144,10 +144,10 @@ /obj/item/book_of_babel/attack_self(mob/living/carbon/user) if(HAS_TRAIT(user, TRAIT_NO_BABEL)) user.visible_message( - span_notice("[user] внезапно останавлива[pluralize_ru(user, "ет", "ют")]ся, недоумённо глядя на [declent_ru(GENITIVE)]."), + span_notice("[user] внезапно останавлива[pluralize_ru(user, "ет", "ют")]ся, недоумённо глядя на [declent_ru(GENITIVE)]."), span_warning("Вы понятия не имеете, что это такое и что с этим делать.") ) - + return to_chat(user, "Вы упоённо пролистываете страницы книги, вбирая в себя знания всех существующих языков во Вселенной. К сожалению, [declent_ru(NOMINATIVE)] не выдерживает такого напора и рассыпается в прах. Ой...") @@ -183,7 +183,7 @@ icon_state = "potionflask_empty" /datum/reagent/flightpotion - name = "Flight Potion" + name = "Зелье полёта" id = "flightpotion" description = "Странный мутагенный состав неизвестного происхождения." reagent_state = LIQUID diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index bbf221d5e01..a5ecfe6cb8b 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -654,8 +654,8 @@ if(restraints) breakouttime = restraints.breakouttime visible_message( - span_warning("[name] пыта[pluralize_ru(gender,"ет","ют")]ся себя отстегнуть!"), - span_notice("Вы пытаетесь себя отстегнуть... (Это займет [breakouttime / 10] секунд и Вам нельзя двигаться."), + span_warning("[name] пыта[pluralize_ru(gender, "ет", "ют")]ся себя отстегнуть!"), + span_notice("Вы пытаетесь себя отстегнуть. Это займет примерно [breakouttime / 10] секунд, любое движение собъёт прогресс."), ) if(do_after(src, breakouttime, src, DEFAULT_DOAFTER_IGNORE|DA_IGNORE_HELD_ITEM)) if(!buckled) @@ -724,21 +724,21 @@ /mob/living/carbon/proc/selfFeed(obj/item/reagent_containers/food/toEat, fullness) if(ispill(toEat)) - to_chat(src, "You [toEat.apply_method] [toEat].") + to_chat(src, span_notify("Вы [toEat.apply_method]ли [toEat.declent_ru(ACCUSATIVE)].")) else if(toEat.junkiness && satiety < -150 && nutrition > NUTRITION_LEVEL_STARVING + 50 ) - to_chat(src, "You don't feel like eating any more junk food at the moment.") + to_chat(src, span_notify("Вы не хотите есть вредную пищу прямо сейчас.")) return FALSE if(fullness <= 50) - to_chat(src, "You hungrily chew out a piece of [toEat] and gobble it!") + to_chat(src, span_warning("Вы жадко откусываете кусок от [toEat.declent_ru(GENITIVE)] и проглатываете, не жуя!")) else if(fullness > 50 && fullness < 150) - to_chat(src, "You hungrily begin to eat [toEat].") + to_chat(src, span_notice("Вы жадко кусаете [toEat.declent_ru(ACCUSATIVE)].")) else if(fullness > 150 && fullness < 500) - to_chat(src, "You take a bite of [toEat].") + to_chat(src, span_notice("Вы откусываете от [toEat.declent_ru(GENITIVE)].")) else if(fullness > 500 && fullness < 600) - to_chat(src, "You unwillingly chew a bit of [toEat].") + to_chat(src, span_notice("Вы без особого желания откусываете от [toEat.declent_ru(GENITIVE)].")) else if(fullness > (600 * (1 + overeatduration / 2000))) // The more you eat - the more you can eat - to_chat(src, "You cannot force any more of [toEat] to go down your throat.") + to_chat(src, span_warning("Вы не можете заставить себя съесть хотя бы кусочек от [toEat.declent_ru(GENITIVE)]!")) return FALSE return TRUE @@ -750,14 +750,14 @@ /mob/living/carbon/proc/forceFed(obj/item/reagent_containers/food/toEat, mob/user, fullness) if(ispill(toEat) || fullness <= (600 * (1 + overeatduration / 1000))) if(!toEat.instant_application) - visible_message("[user] attempts to force [src] to [toEat.apply_method] [toEat].") + visible_message(span_warning("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся заставить [src] [toEat.apply_method]ть [toEat.declent_ru(ACCUSATIVE)]!")) else - visible_message("[user] cannot force anymore of [toEat] down [src]'s throat.") + visible_message(span_warning("[user] не мо[pluralize_ru(user.gender, "жет", "гутт")]ся заставить [src] [toEat.apply_method]ть [toEat.declent_ru(ACCUSATIVE)]!")) return FALSE if(!toEat.instant_application) if(!do_after(user, 3 SECONDS, src, NONE)) return FALSE - visible_message("[user] forces [src] to [toEat.apply_method] [toEat].") + visible_message(span_warning("[user] заставля[pluralize_ru(user.gender, "ет", "ют")] [src] [toEat.apply_method]ть [toEat.declent_ru(ACCUSATIVE)]!")) return TRUE diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index a9d6f326bd4..880f7005765 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1556,26 +1556,26 @@ Eyes need to have significantly high darksight to shine unless the mob has the X /mob/living/carbon/human/selfFeed(obj/item/reagent_containers/food/toEat, fullness) if(!istype(toEat, /obj/item/reagent_containers/food/pill/patch) && !check_has_mouth()) - to_chat(src, "Where do you intend to put [toEat]? You don't have a mouth!") + balloon_alert(src, "у вас нет рта!") //but I must scream return FALSE return ..() /mob/living/carbon/human/forceFed(obj/item/reagent_containers/food/toEat, mob/user, fullness) if(!istype(toEat, /obj/item/reagent_containers/food/pill/patch) && !check_has_mouth()) if(!((istype(toEat, /obj/item/reagent_containers/food/drinks) && (ismachineperson(src))))) - to_chat(user, "Where do you intend to put [toEat]? [src] doesn't have a mouth!") + balloon_alert(user, "у цели нет рта!") return FALSE return ..() /mob/living/carbon/human/selfDrink(obj/item/reagent_containers/food/drinks/toDrink) if(!check_has_mouth()) if(!ismachineperson(src)) - to_chat(src, "Where do you intend to put \the [src]? You don't have a mouth!") + balloon_alert(src, "у вас нет рта!") return FALSE else - to_chat(src, "You pour a bit of liquid from [toDrink] into your connection port.") + to_chat(src, span_notice("Вы заливете часть содержимого [toDrink.declent_ru(GENITIVE)] в свой отсек для жидкостей.")) else - to_chat(src, "You swallow a gulp of [toDrink].") + to_chat(src, span_notice("Вы делаете глоток из [toDrink.declent_ru(GENITIVE)].")) return TRUE /mob/living/carbon/human/can_track(mob/living/user) @@ -1613,7 +1613,7 @@ Eyes need to have significantly high darksight to shine unless the mob has the X . = ..() if(check_gun.trigger_guard == TRIGGER_GUARD_NORMAL && HAS_TRAIT(src, TRAIT_NO_GUNS)) - balloon_alert(src, span_warning("слишком толстые пальцы")) + balloon_alert(src, span_warning("слишком толстые пальцы!")) return FALSE if(mind && mind.martial_art && mind.martial_art.no_guns) //great dishonor to famiry diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index 791cde5c3ec..99374373b7b 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -74,13 +74,13 @@ apply_damage(shock_damage, BURN, spread_damage = TRUE) if(shock_damage > 200) playsound(loc, 'sound/effects/eleczap.ogg', 50, 1, -1) - explosion(loc, -1, 0, 2, 2, cause = "[source] over electrocuted [name]") + explosion(loc, -1, 0, 2, 2, cause = "[name] over electrocuted by [source]") else apply_damage(shock_damage, STAMINA) if(!(flags & SHOCK_SUPPRESS_MESSAGE)) visible_message( span_danger("[name] получа[pluralize_ru(gender,"ет","ют")] удар током от [source]!"), - span_userdanger("Вы чувствуете как через Ваше тело проходит электрический разряд!"), + span_userdanger("Вы чувствуете как через ваше тело проходит электрический разряд!"), span_hear("Вы слышите громкий электрический треск."), ) return shock_damage diff --git a/code/modules/mob/living/simple_animal/bot/construction.dm b/code/modules/mob/living/simple_animal/bot/construction.dm index c195fa48f6a..993eeb53947 100644 --- a/code/modules/mob/living/simple_animal/bot/construction.dm +++ b/code/modules/mob/living/simple_animal/bot/construction.dm @@ -11,7 +11,7 @@ throw_speed = 2 throw_range = 5 w_class = WEIGHT_CLASS_NORMAL - var/created_name = "Cleanbot" + var/created_name = "Чистобот" var/robot_arm = /obj/item/robot_parts/l_arm diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/chem.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/chem.dm index 929407d63c4..23186141a06 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/chem.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/chem.dm @@ -2,9 +2,9 @@ // Terror Spider, Black, Deadly Venom /datum/reagent/terror_black_toxin - name = "Black Terror venom" + name = "Яд Вдовы Ужаса" id = "terror_black_toxin" - description = "An incredibly toxic venom injected by the Black Widow spider." + description = "Невероятно токсичный яд, который впрыскивает Вдова Ужаса." can_synth = FALSE color = "#cc00ff" metabolization_rate = 0.25 * REAGENTS_METABOLISM @@ -38,9 +38,9 @@ //egg toxin for defiler /datum/reagent/terror_eggs - name = "terror spider eggs" + name = "Яйца Паука Ужаса" id = "terror_eggs" - description = "An incredibly toxic venom that spreads infestation." + description = "Стремительно растущие паучьи яйца." can_synth = FALSE color = "#ffffff" metabolization_rate = 1 * REAGENTS_METABOLISM diff --git a/code/modules/mob/living/taste.dm b/code/modules/mob/living/taste.dm index fd6deb1358e..4b3f1c272b2 100644 --- a/code/modules/mob/living/taste.dm +++ b/code/modules/mob/living/taste.dm @@ -19,11 +19,12 @@ // We dont want to spam the same message over and over again at the // person. Give it a bit of a buffer. if(AmountHallucinate() > 50 SECONDS && prob(25)) - text_output = pick("spiders","dreams","nightmares","the future","the past","victory",\ - "defeat","pain","bliss","revenge","poison","time","space","death","life","truth","lies","justice","memory",\ - "regrets","your soul","suffering","music","noise","blood","hunger","the american way") + text_output = "вкус " + text_output += pick("пауков","мечты","кошмаров","будущего","прошлого","победы",\ + "поражения","боли","блаженства","мести","яда","времени","космоса","смерти","жизни","правды","лжи","справедливости","воспоминаний",\ + "сожалений","души","страданий","музыки","шума","крови","голода") if(text_output != last_taste_text || last_taste_time + 100 < world.time) - to_chat(src, "You can taste [text_output].") + to_chat(src, span_notice("Вы чувствуете [text_output].")) // "something indescribable" -> too many tastes, not enough flavor. last_taste_time = world.time diff --git a/code/modules/reagents/chemistry/holder.dm b/code/modules/reagents/chemistry/holder.dm index a1f4b1299a8..34c3a99caf1 100644 --- a/code/modules/reagents/chemistry/holder.dm +++ b/code/modules/reagents/chemistry/holder.dm @@ -866,7 +866,7 @@ var/list/out = list() var/list/reagent_tastes = list() //in the form reagent_tastes["descriptor"] = strength //mobs should get this message when either they cannot taste, the tastes are all too weak for them to detect, or the tastes somehow don't have any strength - var/no_taste_text = "something indescribable" + var/no_taste_text = "вкус чего-то неописуемого" if(minimum_percent > 100) return no_taste_text for(var/datum/reagent/R in reagent_list) @@ -884,18 +884,18 @@ var/percent = (reagent_tastes[taste_desc] / total_taste) * 100 if(percent < minimum_percent) //the lower the minimum percent, the more sensitive the message is continue - var/intensity_desc = "a hint of" + var/intensity_desc = "едва заметный привкус" if(percent > minimum_percent * 3 && percent != 100) - intensity_desc = "a strong flavor of" + intensity_desc = "привкус" else if(percent > minimum_percent * 2 || percent == 100) intensity_desc = "" if(intensity_desc != "") out += "[intensity_desc] [taste_desc]" else - out += "[taste_desc]" + out += "вкус [taste_desc]" - return english_list(out, no_taste_text) + return russian_list(out, no_taste_text) /////////////////////////////////////////////////////////////////////////////////// diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm index af1f204b49e..d3ba5f1b69f 100644 --- a/code/modules/reagents/chemistry/machinery/chem_master.dm +++ b/code/modules/reagents/chemistry/machinery/chem_master.dm @@ -619,6 +619,9 @@ var/obj/item/reagent_containers/P = new item_type(location) if(!isnull(medicine_name)) P.name = "[name_suffix][medicine_name]" + if(P.ru_names) + for(var/j = 1; j <= 6; j++) + P.ru_names[j] = "[P.ru_names[j]] - [medicine_name]" P.pixel_x = rand(-7, 7) // Random position P.pixel_y = rand(-7, 7) configure_item(data, reagents, P) @@ -635,7 +638,7 @@ item_type = /obj/item/reagent_containers/food/pill max_items_amount = MAX_MULTI_AMOUNT max_units_per_item = MAX_UNITS_PER_PILL - name_suffix = "Таблетка - " + name_suffix = "pill - " sprite_mask = "pill" sprites_amount = MAX_PILL_SPRITE @@ -646,7 +649,7 @@ item_type = /obj/item/reagent_containers/food/pill/patch max_items_amount = MAX_MULTI_AMOUNT max_units_per_item = MAX_UNITS_PER_PATCH - name_suffix = "Пластырь - " + name_suffix = "patch - " sprite_mask = "bandaid" sprites_amount = MAX_PATCH_SPRITE @@ -676,7 +679,7 @@ max_items_amount = 5 max_units_per_item = 50 - name_suffix = "Бутылка - " + name_suffix = "bottle - " /datum/chemical_production_mode/bottles/get_base_placeholder_name(datum/reagents/reagents, amount_per_item) return reagents.get_master_reagent_name() @@ -698,7 +701,7 @@ item_type = /obj/item/reagent_containers/food/condiment/pack max_items_amount = 10 max_units_per_item = 10 - name_suffix = "Пакет для специй - " + name_suffix = "pack - " /datum/chemical_production_mode/condiment_packs/get_base_placeholder_name(datum/reagents/reagents, amount_per_item) return reagents.get_master_reagent_name() diff --git a/code/modules/reagents/chemistry/machinery/pandemic.dm b/code/modules/reagents/chemistry/machinery/pandemic.dm index b356204af4e..c90083cd6b5 100644 --- a/code/modules/reagents/chemistry/machinery/pandemic.dm +++ b/code/modules/reagents/chemistry/machinery/pandemic.dm @@ -192,11 +192,11 @@ if(!(printing) && D) var/reason = tgui_input_text(user,"Укажите причину выпуска", "Указать", multiline = TRUE) reason += "" - var/english_symptoms = list() + var/symptoms_list = list() for(var/I in D.symptoms) var/datum/symptom/S = I - english_symptoms += S.name - var/symtoms = english_list(english_symptoms) + symptoms_list += S.name + var/symtoms = russian_list(symptoms_list) var/signature @@ -292,10 +292,10 @@ if(istype(D, /datum/disease/virus/advance)) var/datum/disease/virus/advance/A = D dat += "
Симптомы: " - var/english_symptoms = list() + var/symptoms_list = list() for(var/datum/symptom/S in A.symptoms) - english_symptoms += S.name - dat += english_list(english_symptoms) + symptoms_list += S.name + dat += russian_list(symptoms_list) dat += "
" if(i == 0) dat += "В образце не обнаружен вирус." diff --git a/code/modules/reagents/chemistry/reagents.dm b/code/modules/reagents/chemistry/reagents.dm index 88a9482c900..089731a78ef 100644 --- a/code/modules/reagents/chemistry/reagents.dm +++ b/code/modules/reagents/chemistry/reagents.dm @@ -1,5 +1,5 @@ /datum/reagent - var/name = "Reagent" + var/name = "Реагент" var/id = "reagent" var/description = "" var/datum/reagents/holder = null @@ -30,10 +30,10 @@ var/overdosed = FALSE // You fucked up and this is now triggering it's overdose effects, purge that shit quick. var/current_cycle = 1 var/drink_icon = null - var/drink_name = "Glass of ..what?" - var/drink_desc = "You can't really tell what this is." + var/drink_name = "стакан... чего?" + var/drink_desc = "Вы понятия не имеете, чем это может быть." var/taste_mult = 1 //how easy it is to taste - the more the easier - var/taste_description = "metaphorical salt" + var/taste_description = "метафорической соли" var/addict_supertype = /datum/reagent /datum/reagent/New() @@ -58,7 +58,7 @@ var/can_become_addicted = M.reagents.reaction_check(M, src) if(can_become_addicted) if(count_by_type(M.reagents.addiction_list, addict_supertype) > 0) - to_chat(M, span_notice("You feel slightly better, but for how long?")) // sate_addiction handles this now, but kept this for the feed back. + to_chat(M, span_notice("Вы чувствуете себя немногим лучше, но надолго ли?")) // sate_addiction handles this now, but kept this for the feed back. return TRUE @@ -86,7 +86,7 @@ return /datum/reagent/proc/on_mob_end_metabolize(mob/living/metabolizer) - return + return /datum/reagent/proc/handle_addiction(mob/living/M, consumption_rate) if(addiction_chance && count_by_type(M.reagents.addiction_list, addict_supertype) < 1) @@ -95,7 +95,7 @@ var/current_threshold_accumulated = M.reagents.addiction_threshold_accumulated[new_reagent.id] if(addiction_threshold < current_threshold_accumulated && prob(addiction_chance) && prob(addiction_chance_additional)) - to_chat(M, "You suddenly feel invigorated and guilty...") + to_chat(M, span_danger("Вы чувствуете сильную эйфорию с лёгким оттенком вины...")) new_reagent.last_addiction_dose = world.timeofday M.reagents.addiction_list.Add(new_reagent) diff --git a/code/modules/reagents/chemistry/reagents/admin.dm b/code/modules/reagents/chemistry/reagents/admin.dm index e6287fc47dd..e095828f417 100644 --- a/code/modules/reagents/chemistry/reagents/admin.dm +++ b/code/modules/reagents/chemistry/reagents/admin.dm @@ -1,12 +1,12 @@ /datum/reagent/medicine/adminordrazine //An OP chemical for admins - name = "Adminordrazine" + name = "Админордразин" id = "adminordrazine" - description = "It's magic. We don't have to explain it." + description = "Это магия. Тут нечего объяснять." reagent_state = LIQUID color = "#C8A5DC" // rgb: 200, 165, 220 process_flags = ORGANIC | SYNTHETIC //Adminbuse knows no bounds! can_synth = FALSE - taste_description = "admin abuse" + taste_description = "админ абуза" /datum/reagent/medicine/adminordrazine/on_mob_life(mob/living/carbon/M) M.setCloneLoss(0, FALSE) @@ -60,7 +60,7 @@ return STATUS_UPDATE_ALL /datum/reagent/medicine/adminordrazine/nanites - name = "Nanites" + name = "Наниты" id = "nanites" - description = "Nanomachines that aid in rapid cellular regeneration." - taste_description = "nanomachines, son" + description = "Наномашины, способствующие быстрой регенерации клеточной структуры." + taste_description = "наномашин, сынок" diff --git a/code/modules/reagents/chemistry/reagents/alcohol.dm b/code/modules/reagents/chemistry/reagents/alcohol.dm index 96183281f51..d0da172dcfa 100644 --- a/code/modules/reagents/chemistry/reagents/alcohol.dm +++ b/code/modules/reagents/chemistry/reagents/alcohol.dm @@ -1,8 +1,8 @@ //ALCOHOL WOO /datum/reagent/consumable/ethanol - name = "Ethanol" //Parent class for all alcoholic reagents. + name = "Этанол" //Parent class for all alcoholic reagents. id = "ethanol" - description = "A well-known alcohol with a variety of applications." + description = "Хорошо известный алкоголь, имеющий множество воплощений." reagent_state = LIQUID nutriment_factor = 0 //So alcohol can fill you up! If they want to. color = "#404030" // rgb: 64, 64, 48 @@ -12,7 +12,7 @@ addict_supertype = /datum/reagent/consumable/ethanol var/dizzy_adj = 6 SECONDS var/alcohol_perc = 1 //percentage of ethanol in a beverage 0.0 - 1.0 - taste_description = "liquid fire" + taste_description = "жидкого огня" /datum/reagent/consumable/ethanol/New() addict_supertype = /datum/reagent/consumable/ethanol @@ -25,18 +25,18 @@ /datum/reagent/consumable/ethanol/reaction_obj(obj/O, volume) if(istype(O,/obj/item/paper)) if(istype(O,/obj/item/paper/contract/infernal)) - O.visible_message("The solution ignites on contact with [O].") + O.visible_message(span_warning("Смесь воспламеняется при контакте с [O.declent_ru(INSTRUMENTAL)].")) else var/obj/item/paper/paperaffected = O paperaffected.clearpaper() - paperaffected.visible_message("The solution melts away the ink on the paper.") + paperaffected.visible_message(span_notice("Раствор плавит чернила на бумаге.")) if(istype(O,/obj/item/book)) if(volume >= 5) var/obj/item/book/affectedbook = O affectedbook.dat = null - affectedbook.visible_message("The solution melts away the ink on the book.") + affectedbook.visible_message(span_notice("Раствор плавит чернила в книге.")) else - O.visible_message("It wasn't enough...") + O.visible_message(span_warning("Объём вещества был слишком мал, чтобы нанести какой-либо эффект книге.")) /datum/reagent/consumable/ethanol/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume)//Splashing people with ethanol isn't quite as good as fuel. if(method == REAGENT_TOUCH) @@ -44,73 +44,73 @@ /datum/reagent/consumable/ethanol/beer - name = "Beer" + name = "Пиво" id = "beer" - description = "An alcoholic beverage made from malted grains, hops, yeast, and water." + description = "Алкогольный напиток, приготовленный из солода, хмеля, дрожжей и воды." nutriment_factor = 1 * REAGENTS_METABOLISM color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon ="beerglass" - drink_name = "Beer glass" - drink_desc = "A freezing pint of beer" - taste_description = "beer" + drink_name = "стакан пива" + drink_desc = "Освежающая пинта пива." + taste_description = "пива" /datum/reagent/consumable/ethanol/cider - name = "Cider" + name = "Сидр" id = "cider" - description = "An alcoholic beverage derived from apples." + description = "Алкогольный напиток, получаемый из яблок." color = "#174116" nutriment_factor = 1 * REAGENTS_METABOLISM alcohol_perc = 0.2 drink_icon = "rewriter" - drink_name = "Cider" - drink_desc = "a refreshing glass of traditional cider" - taste_description = "cider" + drink_name = "стакан сидра" + drink_desc = "Освежающий стакан традиционного сидра." + taste_description = "сидра" /datum/reagent/consumable/ethanol/whiskey - name = "Whiskey" + name = "Виски" id = "whiskey" - description = "A superb and well-aged single-malt whiskey. Damn." + description = "Превосходный и отлично выдержанный односолодовый виски. Чёрт возьми." color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 8 SECONDS alcohol_perc = 0.4 drink_icon = "whiskeyglass" - drink_name = "Glass of whiskey" - drink_desc = "The silky, smokey whiskey goodness inside the glass makes the drink look very classy." - taste_description = "whiskey" + drink_name = "стакан виски" + drink_desc = "Шелковистая, дымчатая структура виски в стакане придаёт напитку очень стильный вид." + taste_description = "виски" /datum/reagent/consumable/ethanol/specialwhiskey - name = "Special Blend Whiskey" + name = "Виски Особого Смешения" id = "specialwhiskey" - description = "Just when you thought regular station whiskey was good... This silky, amber goodness has to come along and ruin everything." + description = "Как раз в тот момент, когда вы уже думаете, что обычный станционный виски - это хорошо... Это шелковистое, янтарное великолепие приходит и всё портит." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 - taste_description = "class" + taste_description = "отличного виски" /datum/reagent/consumable/ethanol/gin - name = "Gin" + name = "Джин" id = "gin" - description = "It's gin. In space. I say, good sir." + description = "Это джин. Крепкий алкогольный напиток, приготовленный с использованием самых разных пряностей." color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 6 SECONDS alcohol_perc = 0.5 drink_icon = "ginvodkaglass" - drink_name = "Glass of gin" - drink_desc = "A crystal clear glass of Griffeater gin." - taste_description = "gin" + drink_name = "стакан джина" + drink_desc = "Кристально чистый бокал джина \"Гриффитер\"." + taste_description = "джина" /datum/reagent/consumable/ethanol/absinthe - name = "Absinthe" + name = "Абсент" id = "absinthe" - description = "Watch out that the Green Fairy doesn't come for you!" + description = "Абсент, очень крепкий напиток для очень крепких парней. Смотрите, чтобы Зелёная Фея не пришла за вами!" color = "#33EE00" // rgb: lots, ??, ?? overdose_threshold = 30 dizzy_adj = 10 SECONDS alcohol_perc = 0.7 drink_icon = "absintheglass" - drink_name = "Glass of Absinthe" - drink_desc = "The green fairy is going to get you now!" - taste_description = "fucking pain" + drink_name = "стакан абсента" + drink_desc = "Теперь Зелёная Фея до вас точно доберётся!" + taste_description = "чёртовой боли" //copy paste from LSD... shoot me /datum/reagent/consumable/ethanol/absinthe/on_mob_life(mob/living/M) @@ -124,16 +124,16 @@ return list(0, update_flags) /datum/reagent/consumable/ethanol/hooch - name = "Hooch" + name = "Самогон" id = "hooch" - description = "Either someone's failure at cocktail making or attempt in alcohol production. In any case, do you really want to drink that?" + description = "Либо чья-то неудачная попытка приготовить коктейль, либо попытка приготовить алкоголь. В любом случае, вы действительно хотите это выпить?" color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 14 SECONDS alcohol_perc = 1 drink_icon = "glass_brown2" - drink_name = "Hooch" - drink_desc = "You've really hit rock bottom now... your liver packed its bags and left last night." - taste_description = "pure resignation" + drink_name = "стакан самогона" + drink_desc = "Теперь вы действительно на дне... Вага печень собрала свои вещи и уехала прошлой ночью." + taste_description = "чистого смирения" /datum/reagent/consumable/ethanol/hooch/on_mob_life(mob/living/carbon/M) if(M.mind && M.mind.assigned_role == JOB_TITLE_CIVILIAN) @@ -143,17 +143,17 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/rum - name = "Rum" + name = "Ром" id = "rum" - description = "Popular with the sailors. Not very popular with everyone else." + description = "Крик подобен грому – дайте людям рому!" color = "#664300" // rgb: 102, 67, 0 overdose_threshold = 30 alcohol_perc = 0.4 dizzy_adj = 10 SECONDS drink_icon = "rumglass" - drink_name = "Glass of Rum" - drink_desc = "Now you want to Pray for a pirate suit, don't you?" - taste_description = "rum" + drink_name = "стакан рома" + drink_desc = "Вам захотельно примерить костюм пирата, разве не так?" + taste_description = "рома" /datum/reagent/consumable/ethanol/rum/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE @@ -161,26 +161,26 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/mojito - name = "Mojito" + name = "Мохито" id = "mojito" - description = "If it's good enough for Spesscuba, it's good enough for you." + description = "Если он хорош для Космокубы, то он хорош и для вас." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "mojito" - drink_name = "Glass of Mojito" - drink_desc = "Fresh from Spesscuba." - taste_description = "mojito" + drink_name = "стакан мохито" + drink_desc = "Прямо с Космокубы." + taste_description = "мохито" /datum/reagent/consumable/ethanol/vodka - name = "Vodka" + name = "Водка" id = "vodka" - description = "Number one drink AND fueling choice for Russians worldwide." + description = "Алкогольный напиток номер один для славян со всей галактики." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "ginvodkaglass" - drink_name = "Glass of vodka" - drink_desc = "The glass contain wodka. Xynta." - taste_description = "vodka" + drink_name = "стакан водки" + drink_desc = "Стакан с водкой. Только не забывайте закусывать." + taste_description = "водки" /datum/reagent/consumable/ethanol/vodka/on_mob_life(mob/living/M) ..() @@ -188,98 +188,98 @@ M.radiation = max(0, M.radiation-1) /datum/reagent/consumable/ethanol/sake - name = "Sake" + name = "Сакэ" id = "sake" - description = "Anime's favorite drink." + description = "Это сакэ. Как водка, только из риса." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "sake" - drink_name = "Glass of Sake" - drink_desc = "A glass of Sake." - taste_description = "sake" + drink_name = "стакан сакэ" + drink_desc = "Стакан сакэ. Да, именно так." + taste_description = "сакэ" /datum/reagent/consumable/ethanol/tequila - name = "Tequila" + name = "Текила" id = "tequila" - description = "A strong and mildly flavoured, mexican produced spirit. Feeling thirsty hombre?" + description = "Крепкий алкогольный напиток с мягким вкусом, производимый по традиционным мексиканским технологиям. Не хочешь промочить горло, омбре?" color = "#A8B0B7" // rgb: 168, 176, 183 alcohol_perc = 0.4 drink_icon = "tequilaglass" - drink_name = "Glass of Tequila" - drink_desc = "Now all that's missing is the weird colored shades!" - taste_description = "tequila" + drink_name = "стакан текилы" + drink_desc = "Не хватает только странных цветных оттенков!" + taste_description = "текилы" /datum/reagent/consumable/ethanol/vermouth - name = "Vermouth" + name = "Вермут" id = "vermouth" - description = "You suddenly feel a craving for a martini..." + description = "Вам вдруг ужасно захотелось мартини..." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "vermouthglass" - drink_name = "Glass of Vermouth" - drink_desc = "You wonder why you're even drinking this straight." - taste_description = "vermouth" + drink_name = "стакан вермута" + drink_desc = "Чёрт, зачем вообще пить это неразбавленным?" + taste_description = "вермута" /datum/reagent/consumable/ethanol/wine - name = "Wine" + name = "Вино" id = "wine" - description = "An premium alchoholic beverage made from distilled grape juice." + description = "Алкогольный напиток премиум-класса, приготовленный из дистиллированного виноградного сока." color = "#7E4043" // rgb: 126, 64, 67 dizzy_adj = 4 SECONDS alcohol_perc = 0.2 drink_icon = "wineglass" - drink_name = "Glass of wine" - drink_desc = "A very classy looking drink." - taste_description = "wine" + drink_name = "Бокал вина" + drink_desc = "Очень стильный на вид напиток." + taste_description = "вина" /datum/reagent/consumable/ethanol/cognac - name = "Cognac" + name = "Коньяк" id = "cognac" - description = "A sweet and strongly alchoholic drink, made after numerous distillations and years of maturing. Classy as fornication." + description = "Сладкий крепкий напиток, приготовленный с помощью многочисленных перегонок и многолетней выдержки. Сама элегантность." color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 8 SECONDS alcohol_perc = 0.4 drink_icon = "cognacglass" - drink_name = "Glass of cognac" - drink_desc = "Damn, you feel like some kind of French aristocrat just by holding this." - taste_description = "cognac" + drink_name = "стакан коньяка" + drink_desc = "Вы чувствуете себя аристократом просто держа его в руках." + taste_description = "коньяка" /datum/reagent/consumable/ethanol/suicider //otherwise known as "I want to get so smashed my liver gives out and I die from alcohol poisoning". - name = "Suicider" + name = "Суисидр" id = "suicider" - description = "An unbelievably strong and potent variety of Cider." + description = "Невероятно крепкий и мощный сорт сидра." color = "#CF3811" dizzy_adj = 40 SECONDS alcohol_perc = 1 //because that's a thing it's supposed to do, I guess drink_icon = "suicider" - drink_name = "Suicider" - drink_desc = "You've really hit rock bottom now... your liver packed its bags and left last night." - taste_description = "approaching death" + drink_name = "стакан суисидра" + drink_desc = "Вы действительно достигли дна... Ваша печень собрала вещи и ушла вчера вечером." + taste_description = "неминуемой смерти" /datum/reagent/consumable/ethanol/ale - name = "Ale" + name = "Эль" id = "ale" - description = "A dark alchoholic beverage made by malted barley and yeast." + description = "Тёмный алкогольный напиток, приготовленный из ячменного солода и дрожжей." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.1 drink_icon = "aleglass" - drink_name = "Ale glass" - drink_desc = "A freezing pint of delicious Ale" - taste_description = "ale" + drink_name = "стакан эля" + drink_desc = "Освежающая пинта отличного эля." + taste_description = "эля" /datum/reagent/consumable/ethanol/thirteenloko - name = "Thirteen Loko" + name = "Тринадцатый Локо" id = "thirteenloko" - description = "A potent mixture of caffeine and alcohol." + description = "Крепкая смесь кофеина и алкоголя." reagent_state = LIQUID color = "#102000" // rgb: 16, 32, 0 nutriment_factor = 1 * REAGENTS_METABOLISM alcohol_perc = 0.3 heart_rate_increase = 1 drink_icon = "thirteen_loko_glass" - drink_name = "Glass of Thirteen Loko" - drink_desc = "This is a glass of Thirteen Loko, it appears to be of the highest quality. The drink, not the glass" - taste_description = "party" + drink_name = "стакан Тринадцатого Локо" + drink_desc = "Этот стакан Тринадцатого Локо, судя по всему, самого высокого качества. Напиток, а не стакан." + taste_description = "смешанного с алкоголем энергетика" /datum/reagent/consumable/ethanol/thirteenloko/on_mob_life(mob/living/M) M.AdjustDrowsy(-14 SECONDS) @@ -293,173 +293,173 @@ /////////////////////////////////////////////////////////////////cocktail entities////////////////////////////////////////////// /datum/reagent/consumable/ethanol/bilk - name = "Bilk" + name = "Миво" id = "bilk" - description = "This appears to be beer mixed with milk. Disgusting." + description = "Это пиво, смешанное с молоком. Ух..." reagent_state = LIQUID color = "#895C4C" // rgb: 137, 92, 76 nutriment_factor = 2 * REAGENTS_METABOLISM alcohol_perc = 0.2 drink_icon = "glass_brown" - drink_name = "Glass of bilk" - drink_desc = "A brew of milk and beer. For those alcoholics who fear osteoporosis." - taste_description = "bilk" + drink_name = "стакан мива" + drink_desc = "Молоко с пивом - миво. Или пиво с молоком - пивоко. Как вам будет угодно." + taste_description = "мива" /datum/reagent/consumable/ethanol/atomicbomb - name = "Atomic Bomb" + name = "Атомная Бомба" id = "atomicbomb" - description = "Nuclear proliferation never tasted so good." + description = "Ядерное оружие никогда не было таким вкусным." reagent_state = LIQUID color = "#666300" // rgb: 102, 99, 0 alcohol_perc = 0.2 drink_icon = "atomicbombglass" - drink_name = "Atomic Bomb" - drink_desc = "Nanotrasen cannot take legal responsibility for your actions after imbibing." - taste_description = "a long, fiery burn" + drink_name = "Атомная Бомба" + drink_desc = "Nanotrasen не несёт юридической ответственности за ваши действия после употребления напитка." + taste_description = "длинного, терпкого ожога" /datum/reagent/consumable/ethanol/threemileisland - name = "THree Mile Island Iced Tea" + name = "Чай со льдом Три-Майл-Айленд" id = "threemileisland" - description = "Made for a woman, strong enough for a man." + description = "Создан для женщин, достаточно крепок для мужчин." reagent_state = LIQUID color = "#666340" // rgb: 102, 99, 64 alcohol_perc = 0.2 drink_icon = "threemileislandglass" - drink_name = "Three Mile Island Ice Tea" - drink_desc = "A glass of this is sure to prevent a meltdown." - taste_description = "a creeping heat" + drink_name = "Чай со льдом Три-Майл-Айленд" + drink_desc = "Бокал этого напитка точно предотвратит нервный срыв." + taste_description = "текучей волны жара" /datum/reagent/consumable/ethanol/goldschlager - name = "Goldschlager" + name = "Гольдшлягер" id = "goldschlager" - description = "100 proof cinnamon schnapps, made for alcoholic teen girls on spring break." + description = "Шнапс с корицей 100%-ой пробы пробы, созданный для алкоголиков-подростков на весенних каникулах." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "ginvodkaglass" - drink_name = "Glass of goldschlager" - drink_desc = "100 proof that teen girls will drink anything with gold in it." - taste_description = "a deep, spicy warmth" + drink_name = "стакан шольдшлягера" + drink_desc = "Стопроцентное доказательства того, что девочки-подростки будут пить всё, что содержит золото в названии." + taste_description = "глубокого, пряного тепла" /datum/reagent/consumable/ethanol/patron - name = "Patron" + name = "Патрон" id = "patron" - description = "Tequila with silver in it, a favorite of alcoholic women in the club scene." + description = "Текила с серебром в составе, которую пьют женщины-алкоголики в клубах." reagent_state = LIQUID color = "#585840" // rgb: 88, 88, 64 alcohol_perc = 0.4 drink_icon = "patronglass" - drink_name = "Glass of Patron" - drink_desc = "Drinking patron in the bar, with all the subpar ladies." - taste_description = "a gift" + drink_name = "стакан Патрона" + drink_desc = "Пить патрон в клубе в окружении женщин-алкоголиков." + taste_description = "подарка" /datum/reagent/consumable/ethanol/gintonic - name = "Gin and Tonic" + name = "Джин и тоник" id = "gintonic" - description = "An all time classic, mild cocktail." + description = "Классический мягкий коктейль, нестареющая классика." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "gintonicglass" - drink_name = "Gin and Tonic" - drink_desc = "A mild but still great cocktail. Drink up, like a true Englishman." - taste_description = "bitter medicine" + drink_name = "стакан джина и тоника" + drink_desc = "Мягкий, но всё равно отличный коктейль. Пейте, как истинный англичанин." + taste_description = "горького лекарства" /datum/reagent/consumable/ethanol/cuba_libre - name = "Cuba Libre" + name = "Куба Либре" id = "cubalibre" - description = "Rum, mixed with cola. Viva la revolution." + description = "Ром, смешанный с колой. Viva la Revolution!" reagent_state = LIQUID color = "#3E1B00" // rgb: 62, 27, 0 alcohol_perc = 0.2 drink_icon = "cubalibreglass" - drink_name = "Cuba Libre" - drink_desc = "A classic mix of rum and cola." - taste_description = "liberation" + drink_name = "стакан Куба Либре" + drink_desc = "Классический микс рома и колы." + taste_description = "пьянящей свободы" /datum/reagent/consumable/ethanol/whiskey_cola - name = "Whiskey Cola" + name = "Виски-кола" id = "whiskeycola" - description = "Whiskey, mixed with cola. Surprisingly refreshing." + description = "Виски, смешанный с колой. Удивительно освежающий." reagent_state = LIQUID color = "#3E1B00" // rgb: 62, 27, 0 alcohol_perc = 0.3 drink_icon = "whiskeycolaglass" - drink_name = "Whiskey Cola" - drink_desc = "An innocent-looking mixture of cola and Whiskey. Delicious." - taste_description = "whiskey and coke" + drink_name = "стакан виски-колы" + drink_desc = "Невинно выглядящая смесь колы и виски. Вкусно." + taste_description = "виски с колой" /datum/reagent/consumable/ethanol/martini - name = "Classic Martini" + name = "Классический мартини" id = "martini" - description = "Vermouth with Gin. Not quite how 007 enjoyed it, but still delicious." + description = "Вермут с джином. Не совсем то, что пил 007, но всё равно вкусно." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 drink_icon = "martiniglass" - drink_name = "Classic Martini" - drink_desc = "Damn, the bartender even stirred it, not shook it." - taste_description = "class" + drink_name = "Классическое мартини" + drink_desc = "Взболтать, но не смешивать." + taste_description = "аристократии" /datum/reagent/consumable/ethanol/vodkamartini - name = "Vodka Martini" + name = "Водка мартини" id = "vodkamartini" - description = "Vodka with Gin. Not quite how 007 enjoyed it, but still delicious." + description = "Водка с джином. Не совсем то, что пил 007, но всё равно вкусно." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "martiniglass" - drink_name = "Vodka martini" - drink_desc ="A bastardisation of the classic martini. Still great." - taste_description = "class and potatoes" + drink_name = "Водка мартини" + drink_desc ="Славянская версия классического мартини. На удивление вкусно." + taste_description = "аристократии и картошки" /datum/reagent/consumable/ethanol/white_russian - name = "White Russian" + name = "Белый Русский" id = "whiterussian" - description = "That's just, like, your opinion, man..." + description = "Но это только твоё мнение, чувак..." reagent_state = LIQUID color = "#A68340" // rgb: 166, 131, 64 alcohol_perc = 0.3 drink_icon = "whiterussianglass" - drink_name = "White Russian" - drink_desc = "A very nice looking drink. But that's just, like, your opinion, man." - taste_description = "very creamy alcohol" + drink_name = "стакан Белого Русского" + drink_desc = "Странно выглядящий напиток. Но это только твое мнение, чувак." + taste_description = "очень кремового алкоголя" /datum/reagent/consumable/ethanol/screwdrivercocktail - name = "Screwdriver" + name = "Отвёртка" id = "screwdrivercocktail" - description = "Vodka, mixed with plain ol' orange juice. The result is surprisingly delicious." + description = "Водка, смешанная с апельсиновым соком. Достаточно вкусно." reagent_state = LIQUID color = "#A68310" // rgb: 166, 131, 16 alcohol_perc = 0.3 drink_icon = "screwdriverglass" - drink_name = "Screwdriver" - drink_desc = "A simple, yet superb mixture of Vodka and orange juice. Just the thing for the tired engineer." - taste_description = "a naughty secret" + drink_name = "стакан Отвёртки" + drink_desc = "Простая, но изящная смесь водки и апельсинового сока. То, что нужно уставшему инженеру." + taste_description = "водки с апельсином" /datum/reagent/consumable/ethanol/booger - name = "Booger" + name = "Козявка" id = "booger" - description = "Eww..." + description = "Ууу..." reagent_state = LIQUID color = "#A68310" // rgb: 166, 131, 16 alcohol_perc = 0.2 drink_icon = "booger" - drink_name = "Booger" - drink_desc = "Eww..." - taste_description = "a fruity mess" + drink_name = "стакан Козявки" + drink_desc = "Ууу..." + taste_description = "фруктовой массы" /datum/reagent/consumable/ethanol/bloody_mary - name = "Bloody Mary" + name = "Кровавая Мэри" id = "bloodymary" - description = "A strange yet pleasurable mixture made of vodka, tomato and lime juice. Or at least you THINK the red stuff is tomato juice." + description = "Странная, но приятная смесь из водки, томатов и сока лайма. А томатов ли?" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "bloodymaryglass" - drink_name = "Bloody Mary" - drink_desc = "Tomato juice, mixed with Vodka and a lil' bit of lime. Tastes like liquid murder." - taste_description = "tomatoes with booze" + drink_name = "стакан Кровавой Мэри" + drink_desc = "Томатный сок, смешанный с водкой и небольшим количеством лайма. На вкус как жидкое убийство." + taste_description = "томатов со спиртом" /datum/reagent/consumable/ethanol/bloody_mary/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -468,64 +468,64 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/gargle_blaster - name = "Pan-Galactic Gargle Blaster" + name = "Пан-Галактический Грызлодёр" id = "gargleblaster" - description = "Whoah, this stuff looks volatile!" + description = "Вау, эта штука выглядит нестабильно!" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.7 //ouch drink_icon = "gargleblasterglass" - drink_name = "Pan-Galactic Gargle Blaster" - drink_desc = "Does... does this mean that Arthur and Ford are on the station? Oh joy." - taste_description = "the number fourty two" + drink_name = "Пан-Галактический Грызлодёр" + drink_desc = "Значит ли... значит ли это, что Артур и Форд на станции? О, отлично." + taste_description = "числа 42" /datum/reagent/consumable/ethanol/flaming_homer - name = "Flaming Moe" + name = "Горящий Мо" id = "flamingmoe" - description = "This appears to be a mixture of various alcohols blended with prescription medicine. It is lightly toasted..." + description = "Это, по-видимому, смесь различных алкогольных напитков, смешанных с рецептурным лекарством." reagent_state = LIQUID color = "#58447f" //rgb: 88, 66, 127 alcohol_perc = 0.5 drink_icon = "flamingmoeglass" - drink_name = "Flaming Moe" - drink_desc = "Happiness is just a Flaming Moe away!" - taste_description = "caramelised booze and sweet, salty medicine" + drink_name = "Горящий Мо" + drink_desc = "Смотри не обожгись!" + taste_description = "карамелизированной выпивки и лекарства" /datum/reagent/consumable/ethanol/brave_bull - name = "Brave Bull" + name = "Храбрый Бык" id = "bravebull" - description = "A strange yet pleasurable mixture made of vodka, tomato and lime juice. Or at least you THINK the red stuff is tomato juice." + description = "Текила с кофейным ликёром. Хех." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "bravebullglass" - drink_name = "Brave Bull" - drink_desc = "Tequila and Coffee liquor, brought together in a mouthwatering mixture. Drink up." - taste_description = "sweet alcohol" + drink_name = "стакан Бравого Быка" + drink_desc = "Текила и кофейный ликер, соединённые в аппетитную смесь. Так пейте же." + taste_description = "сладкого алкоголя" /datum/reagent/consumable/ethanol/tequila_sunrise - name = "Tequila Sunrise" + name = "Текила Санрайз" id = "tequilasunrise" - description = "Tequila and orange juice. Much like a Screwdriver, only Mexican~" + description = "Текила и апельсиновый сок. Как \"Отвёртка\", только по-мексикански." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "tequilasunriseglass" - drink_name = "Tequila Sunrise" - drink_desc = "Oh great, now you feel nostalgic about sunrises back on Terra..." - taste_description = "fruity alcohol" + drink_name = "стакан Текилы Санрайз" + drink_desc = "Отлично, теперь вы ностальгируете по восходам на Терре..." + taste_description = "фруктового алкоголя" /datum/reagent/consumable/ethanol/toxins_special - name = "Toxins Special" + name = "Особый из Токсикологии" id = "toxinsspecial" - description = "This thing is FLAMING!. CALL THE DAMN SHUTTLE!" + description = "Эта штука горит! ВЫЗОВИТЕ ЧЁРТОВ ШАТТЛ!" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 drink_icon = "toxinsspecialglass" - drink_name = "Toxins Special" - drink_desc = "Whoah, this thing is on FIRE" - taste_description = "FIRE" + drink_name = "Особый из Токсикологии" + drink_desc = "Уох, эта штука ГОРИТ!" + taste_description = "огня" /datum/reagent/consumable/ethanol/toxins_special/on_mob_life(mob/living/M) if(M.bodytemperature < (BODYTEMP_NORMAL + 20)) @@ -533,164 +533,164 @@ return ..() /datum/reagent/consumable/ethanol/beepsky_smash - name = "Beepsky Smash" + name = "Удар Бипски" id = "beepskysmash" - description = "Deny drinking this and prepare for THE LAW." + description = "Перестаньте пить это и приготовьтесь к ПРАВОСУДИЮ." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 drink_icon = "beepskysmashglass" - description = "Whiskey-imbued cream, what else would you expect from the Irish." - drink_name = "Beepsky Smash" - drink_desc = "Heavy, hot and strong. Just like the Iron fist of the LAW." - taste_description = "THE LAW" + drink_name = "Удар Бипски" + drink_desc = "Тяжелый, горячий и крепкий. Как железный кулак ПРАВОСУДИЯ." + taste_description = "правосудия" /datum/reagent/consumable/ethanol/beepsky_smash/on_mob_life(mob/living/M) M.drop_from_hands() return ..() /datum/reagent/consumable/ethanol/irish_cream - name = "Irish Cream" + name = "Ирландские Сливки" + description = "Крем с добавлением виски - чего ещё ожидать от ирландцев?" id = "irishcream" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "irishcreamglass" - drink_name = "Irish Cream" - drink_desc = "It's cream, mixed with whiskey. What else would you expect from the Irish?" - taste_description = "creamy alcohol" + drink_name = "стакан Ирландских Сливок" + drink_desc = "Крем с добавлением виски - чего ещё ожидать от ирландцев?" + taste_description = "сливочного алкоголя" /datum/reagent/consumable/ethanol/manly_dorf - name = "The Manly Dorf" + name = "Мужественный Дворф" id = "manlydorf" - description = "Beer and Ale, brought together in a delicious mix. Intended for true men only." + description = "Крепкая смесь из эля и пива для настоящих трудяг. За Карла!" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "manlydorfglass" - drink_name = "The Manly Dorf" - drink_desc = "A manly concotion made from Ale and Beer. Intended for true men only." - taste_description = "manliness" + drink_name = "Кружка Мужественного Дворфа" + drink_desc = "Крепкая смесь из эля и пива для настоящих трудяг. За Карла!" + taste_description = "мужественности" /datum/reagent/consumable/ethanol/longislandicedtea - name = "Long Island Iced Tea" + name = "Чай со льдом Лонг Айленд" id = "longislandicedtea" - description = "The liquor cabinet, brought together in a delicious mix. Intended for middle-aged alcoholic women only." + description = "Содержимое ликёрного шкафа, смешанное в восхитительный микс. Предназначен только для женщин-алкоголичек среднего возраста." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 drink_icon = "longislandicedteaglass" - drink_name = "Long Island Iced Tea" - drink_desc = "The liquor cabinet, brought together in a delicious mix. Intended for middle-aged alcoholic women only." - taste_description = "fruity alcohol" + drink_name = "стакан чая со льдом Лонг Айленд" + drink_desc = "Содержимое ликёрного шкафа, смешанное в восхитительный микс. Предназначен только для женщин-алкоголичек среднего возраста." + taste_description = "фруктового алкоголя" /datum/reagent/consumable/ethanol/moonshine - name = "Moonshine" + name = "Самогон" id = "moonshine" - description = "You've really hit rock bottom now... your liver packed its bags and left last night." + description = "Вы действительно достигли дна... ваша печень собрала вещи и ушла вчера вечером." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.8 //yeeehaw drink_icon = "glass_clear" - drink_name = "Moonshine" - drink_desc = "You've really hit rock bottom now... your liver packed its bags and left last night." - taste_description = "prohibition" + drink_name = "стакан самогона" + drink_desc = "Вы действительно достигли дна... ваша печень собрала вещи и ушла вчера вечером." + taste_description = "чего-то запрещённого" /datum/reagent/consumable/ethanol/b52 name = "B-52" id = "b52" - description = "Coffee, Irish Cream, and congac. You will get bombed." + description = "Кофе, ирландские сливки и коньяк. Взрывная смесь." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "b52glass" - drink_name = "B-52" - drink_desc = "Kahlua, Irish Cream, and congac. You will get bombed." - taste_description = "destruction" + drink_name = "стакан B-52" + drink_desc = "Кофе, ирландские сливки и коньяк. Взрывная смесь." + taste_description = "уничтожения" /datum/reagent/consumable/ethanol/irishcoffee - name = "Irish Coffee" + name = "Кофе по Ирландски" id = "irishcoffee" - description = "Coffee, and alcohol. More fun than a Mimosa to drink in the morning." + description = "Кофе и алкоголь. Веселее, чем пить \"Мимозу\" по утрам." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "irishcoffeeglass" - drink_name = "Irish Coffee" - drink_desc = "Coffee and alcohol. More fun than a Mimosa to drink in the morning." - taste_description = "coffee and booze" + drink_name = "Кофе по Ирландски" + drink_desc = "Кофе и алкоголь. Веселее, чем пить \"Мимозу\" по утрам." + taste_description = "кофе с алкоголем" /datum/reagent/consumable/ethanol/margarita - name = "Margarita" + name = "Маргарита" id = "margarita" - description = "On the rocks with salt on the rim. Arriba~!" + description = "Текила с ликёром и лаймом. Так по-мексикански." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "margaritaglass" - drink_name = "Margarita" - drink_desc = "On the rocks with salt on the rim. Arriba~!" - taste_description = "daisies" + drink_name = "Маргарита" + drink_desc = "Текила с ликёром и лаймом. Так по-мексикански." + taste_description = "маргариток" /datum/reagent/consumable/ethanol/black_russian - name = "Black Russian" + name = "Чёрный Русский" id = "blackrussian" - description = "For the lactose-intolerant. Still as classy as a White Russian." + description = "Для тех, кто не переносит лактозу. По-прежнему стильный, как и Белый Русский." reagent_state = LIQUID color = "#360000" // rgb: 54, 0, 0 alcohol_perc = 0.4 drink_icon = "blackrussianglass" - drink_name = "Black Russian" - drink_desc = "For the lactose-intolerant. Still as classy as a White Russian." - taste_description = "sweet alcohol" + drink_name = "стакан Чёрного Русского" + drink_desc = "Для тех, кто не переносит лактозу. По-прежнему стильный, как и Белый Русский." + taste_description = "сладкого алкоголя" /datum/reagent/consumable/ethanol/manhattan - name = "Manhattan" + name = "Манхэттен" id = "manhattan" - description = "The Detective's undercover drink of choice. He never could stomach gin..." + description = "Любимый напиток детектива под прикрытием. Он никогда не переносил джин..." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "manhattanglass" - drink_name = "Manhattan" - drink_desc = "The Detective's undercover drink of choice. He never could stomach gin..." - taste_description = "a bustling city" + drink_name = "Манхэттен" + drink_desc = "Любимый напиток детектива под прикрытием. Он никогда не переносил джин..." + taste_description = "городской суеты" /datum/reagent/consumable/ethanol/manhattan_proj - name = "Manhattan Project" + name = "Манхэттенский проект" id = "manhattan_proj" - description = "A scientist's drink of choice, for pondering ways to blow up the station." + description = "Напиток для учёных, размышляющих о том, как взорвать станцию." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "proj_manhattanglass" - drink_name = "Manhattan Project" - drink_desc = "A scientist's drink of choice, for thinking how to blow up the station." - taste_description = "the apocalypse" + drink_name = "Манхэттенский проект" + drink_desc = "Напиток для учёных, размышляющих о том, как взорвать станцию." + taste_description = "апокалипсиса" /datum/reagent/consumable/ethanol/whiskeysoda - name = "Whiskey Soda" + name = "Виски-сода" id = "whiskeysoda" - description = "Ultimate refreshment." + description = "Ультимативный способ освежиться." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "whiskeysodaglass2" - drink_name = "Whiskey Soda" - drink_desc = "Ultimate refreshment." - taste_description = "mediocrity" + drink_name = "стакан виски-соды" + drink_desc = "Ультимативный способ освежиться." + taste_description = "посредственности" /datum/reagent/consumable/ethanol/antifreeze - name = "Anti-freeze" + name = "Анти-фриз" id = "antifreeze" - description = "Ultimate refreshment." + description = "Ультимативный способ освежиться." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "antifreeze" - drink_name = "Anti-freeze" - drink_desc = "The ultimate refreshment." - taste_description = "poor life choices" + drink_name = "Анти-фриз" + drink_desc = "Ультимативный способ освежиться." + taste_description = "неправильности жизненного пути" /datum/reagent/consumable/ethanol/antifreeze/on_mob_life(mob/living/M) if(M.bodytemperature < (BODYTEMP_NORMAL + 20)) @@ -698,104 +698,104 @@ return ..() /datum/reagent/consumable/ethanol/barefoot - name = "Barefoot" + name = "Босяк" id = "barefoot" - description = "Barefoot and pregnant" + description = "Босоногость и беременность." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "b&p" - drink_name = "Barefoot" - drink_desc = "Barefoot and pregnant" - taste_description = "pregnancy" + drink_name = "Босяк" + drink_desc = "Босоногость и беременность." + taste_description = "беременности" /datum/reagent/consumable/ethanol/snowwhite - name = "Snow White" + name = "Белоснежка" id = "snowwhite" - description = "A cold refreshment" + description = "Холодный напиток. Реально холодный." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "snowwhite" - drink_name = "Snow White" - drink_desc = "A cold refreshment." - taste_description = "a poisoned apple" + drink_name = "стакан Белоснежки" + drink_desc = "Холодный напиток. Реально холодный." + taste_description = "отравленного яблока" /datum/reagent/consumable/ethanol/demonsblood - name = "Demons Blood" + name = "Кровь Демона" id = "demonsblood" - description = "AHHHH!!!!" + description = "ААААА!!!" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 20 SECONDS alcohol_perc = 0.4 drink_icon = "demonsblood" - drink_name = "Demons Blood" - drink_desc = "Just looking at this thing makes the hair at the back of your neck stand up." - taste_description = "evil" + drink_name = "Кровь Демона" + drink_desc = "От одного взгляда на эту штуку волосы на затылке встают дыбом." + taste_description = "зла" /datum/reagent/consumable/ethanol/vodkatonic - name = "Vodka and Tonic" + name = "Водка и тоник" id = "vodkatonic" - description = "For when a gin and tonic isn't russian enough." + description = "Когда \"Джин и тоник\" не достаточно славянский." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 8 SECONDS alcohol_perc = 0.3 drink_icon = "vodkatonicglass" - drink_name = "Vodka and Tonic" - drink_desc = "For when a gin and tonic isn't russian enough." - taste_description = "bitter medicine" + drink_name = "стакан водки и тоника" + drink_desc = "Когда \"Джин и тоник\" не достаточно славянский." + taste_description = "горького лекарства" /datum/reagent/consumable/ethanol/ginfizz - name = "Gin Fizz" + name = "Джин-физ" id = "ginfizz" - description = "Refreshingly lemony, deliciously dry." + description = "Освежающе лимонный, восхитительно сухой." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 dizzy_adj = 8 SECONDS alcohol_perc = 0.4 drink_icon = "ginfizzglass" - drink_name = "Gin Fizz" - drink_desc = "Refreshingly lemony, deliciously dry." - taste_description = "fizzy alcohol" + drink_name = "стакан Джин-физа" + drink_desc = "Освежающе лимонный, восхитительно сухой." + taste_description = "шипучего алкоголя" /datum/reagent/consumable/ethanol/bahama_mama - name = "Bahama mama" + name = "Бахама Мама" id = "bahama_mama" - description = "Tropic cocktail." + description = "Тропический коктейль." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "bahama_mama" - drink_name = "Bahama Mama" - drink_desc = "Tropic cocktail" - taste_description = "HONK" + drink_name = "Бахама Мама" + drink_desc = "Тропический коктейль." + taste_description = "фруктов и алкоголя" /datum/reagent/consumable/ethanol/singulo - name = "Singulo" + name = "Сингуло" id = "singulo" - description = "A blue-space beverage!" + description = "Блю-спейс коктейль, вау!" reagent_state = LIQUID color = "#2E6671" // rgb: 46, 102, 113 dizzy_adj = 30 SECONDS alcohol_perc = 0.7 drink_icon = "singulo" - drink_name = "Singulo" - drink_desc = "A blue-space beverage." - taste_description = "infinity" + drink_name = "Сингуло" + drink_desc = "Блю-спейс коктейль, вау!" + taste_description = "бесконечности" /datum/reagent/consumable/ethanol/sbiten - name = "Sbiten" + name = "Сбитень" id = "sbiten" - description = "A spicy Vodka! Might be a little hot for the little guys!" + description = "Пряная водка! Горячо!" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "sbitenglass" - drink_name = "Sbiten" - drink_desc = "A spicy mix of Vodka and Spice. Very hot." - taste_description = "comforting warmth" + drink_name = "кружка Сбитня" + drink_desc = "Пряная водка! Горячо!" + taste_description = "приятно согревающего алкоголя" /datum/reagent/consumable/ethanol/sbiten/on_mob_life(mob/living/M) if(M.bodytemperature < (BODYTEMP_NORMAL + 50)) @@ -803,53 +803,53 @@ return ..() /datum/reagent/consumable/ethanol/devilskiss - name = "Devils Kiss" + name = "Поцелуй Дьявола" id = "devilskiss" - description = "Creepy time!" + description = "Время страшилок!" reagent_state = LIQUID color = "#A68310" // rgb: 166, 131, 16 alcohol_perc = 0.3 drink_icon = "devilskiss" - drink_name = "Devils Kiss" - drink_desc = "Creepy time!" - taste_description = "naughtiness" + drink_name = "Поцелуй Дьявола" + drink_desc = "Время страшилок!" + taste_description = "озорства" /datum/reagent/consumable/ethanol/red_mead - name = "Red Mead" + name = "Красная медовуха" id = "red_mead" - description = "The true Viking drink! Even though it has a strange red color." + description = "Напиток Настоящих Викингов! Даже несмотря на странный красный цвет." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "red_meadglass" - drink_name = "Red Mead" - drink_desc = "A True Vikings Beverage, though its color is strange." - taste_description = "blood" + drink_name = "красная медовуха" + drink_desc = "Напиток Настоящих Викингов! Даже несмотря на странный красный цвет." + taste_description = "крови и мёда" /datum/reagent/consumable/ethanol/mead - name = "Mead" + name = "Медовуха" id = "mead" - description = "A Vikings drink, though a cheap one." + description = "Напиток Настоящих Викингов!" reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 nutriment_factor = 1 * REAGENTS_METABOLISM alcohol_perc = 0.2 drink_icon = "meadglass" - drink_name = "Mead" - drink_desc = "A Vikings Beverage, though a cheap one." - taste_description = "honey" + drink_name = "медовуха" + drink_desc = "Напиток Настоящих Викингов!" + taste_description = "мёда" /datum/reagent/consumable/ethanol/iced_beer - name = "Iced Beer" + name = "Пиво со льдом" id = "iced_beer" - description = "A beer which is so cold the air around it freezes." + description = "Пиво, настолько ледяное, что воздух вокруг него замерзает." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "iced_beerglass" - drink_name = "Iced Beer" - drink_desc = "A beer so frosty, the air around it freezes." - taste_description = "cold beer" + drink_name = "стакан пива со льдом" + drink_desc = "Пиво, настолько ледяное, что воздух вокруг него замерзает." + taste_description = "холодного пива" /datum/reagent/consumable/ethanol/iced_beer/on_mob_life(mob/living/M) if(M.bodytemperature > (BODYTEMP_NORMAL - 40)) @@ -857,64 +857,64 @@ return ..() /datum/reagent/consumable/ethanol/grog - name = "Grog" + name = "Грог" id = "grog" - description = "Watered down rum, Nanotrasen approves!" + description = "Разведённый водом ром. Просто, но со вкусом." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "grogglass" - drink_name = "Grog" - drink_desc = "A fine and cepa drink for Space." - taste_description = "strongly diluted rum" + drink_name = "кружка грога" + drink_desc = "Разведённый водом ром. Просто, но со вкусом." + taste_description = "сильно разбавленного рома" /datum/reagent/consumable/ethanol/aloe - name = "Aloe" + name = "Алоэ" id = "aloe" - description = "So very, very, very good." + description = "Хорошо, очень хорошо." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "aloe" - drink_name = "Aloe" - drink_desc = "Very, very, very good." - taste_description = "healthy skin" + drink_name = "Алоэ" + drink_desc = "Хорошо, очень хорошо." + taste_description = "здоровой кожи" /datum/reagent/consumable/ethanol/andalusia - name = "Andalusia" + name = "Андалузия" id = "andalusia" - description = "A nice, strange named drink." + description = "Хороший напиток со странным названием." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.4 drink_icon = "andalusia" - drink_name = "Andalusia" - drink_desc = "A nice, strange named drink." - taste_description = "sweet alcohol" + drink_name = "Андалузия" + drink_desc = "Хороший напиток со странным названием." + taste_description = "сладкого алкоголя" /datum/reagent/consumable/ethanol/alliescocktail - name = "Allies Cocktail" + name = "Коктейль союзников" id = "alliescocktail" - description = "A drink made from your allies." + description = "Напиток, приготовленный из ваших союзников." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 drink_icon = "alliescocktail" - drink_name = "Allies cocktail" - drink_desc = "A drink made from your allies." - taste_description = "victory" + drink_name = "Коктейль союзников" + drink_desc = "Напиток, приготовленный из ваших союзников." + taste_description = "победы" /datum/reagent/consumable/ethanol/acid_spit - name = "Acid Spit" + name = "Кислотный Плевок" id = "acidspit" - description = "A drink by Nanotrasen. Made from live aliens." + description = "Сделан из живых пришельцев." reagent_state = LIQUID color = "#365000" // rgb: 54, 80, 0 alcohol_perc = 0.3 drink_icon = "acidspitglass" - drink_name = "Acid Spit" - drink_desc = "A drink from Nanotrasen. Made from live aliens." - taste_description = "PAIN" + drink_name = "стакан Кислотного Плевка" + drink_desc = "Сделан из живых пришельцев." + taste_description = "ЖГУЧЕЙ БОЛИ" /datum/reagent/consumable/ethanol/acid_spit/reaction_mob(mob/living/M, method, volume) . = ..() @@ -922,30 +922,30 @@ M.emote("scream") /datum/reagent/consumable/ethanol/amasec - name = "Amasec" + name = "Амасек" id = "amasec" - description = "Official drink of the Imperium." + description = "Император одобряет." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.3 drink_icon = "amasecglass" - drink_name = "Amasec" - drink_desc = "Always handy before COMBAT!!!" - taste_description = "a stunbaton" + drink_name = "кружка Амасека" + drink_desc = "Пригодится перед БОЕМ!!!" + taste_description = "странного алкоголя" /datum/reagent/consumable/ethanol/neurotoxin - name = "Neuro-toxin" + name = "Нейротоксин" id = "neurotoxin" - description = "A strong neurotoxin that puts the subject into a death-like state." + description = "Сильный нейротоксин, который вводит выпившего в состояние, подобное смерти." reagent_state = LIQUID color = "#2E2E61" // rgb: 46, 46, 97 dizzy_adj = 12 SECONDS alcohol_perc = 0.7 heart_rate_decrease = 1 drink_icon = "neurotoxinglass" - drink_name = "Neurotoxin" - drink_desc = "A drink that is guaranteed to knock you silly." - taste_description = "brain damageeeEEeee" + drink_name = "Нейротоксин" + drink_desc = "Напиток, который гарантированно собьёт вас с толку." + taste_description = "удара по мозгам" /datum/reagent/consumable/ethanol/neurotoxin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -958,16 +958,16 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/hippies_delight - name = "Hippie's Delight" + name = "Радость Хиппи" id = "hippiesdelight" - description = "You just don't get it maaaan." + description = "Ты просто не понимаешь, чуваааак." reagent_state = LIQUID color = "#664300" // rgb: 102, 67, 0 metabolization_rate = 0.2 * REAGENTS_METABOLISM drink_icon = "hippiesdelightglass" - drink_name = "Hippie's Delight" - drink_desc = "A drink enjoyed by people during the 1960's." - taste_description = "colors" + drink_name = "стакан Радости Хиппи" + drink_desc = "Ты просто не понимаешь, чуваааак." + taste_description = "цветов" /datum/reagent/consumable/ethanol/hippies_delight/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -995,67 +995,67 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/changelingsting - name = "Changeling Sting" + name = "Жало Генокрада" id = "changelingsting" - description = "A stingy drink." + description = "Генокрадов не существует, это ведь даже дети знают." reagent_state = LIQUID color = "#2E6671" // rgb: 46, 102, 113 alcohol_perc = 0.7 dizzy_adj = 10 SECONDS drink_icon = "changelingsting" - drink_name = "Changeling Sting" - drink_desc = "A stingy drink." - taste_description = "a tiny prick" + drink_name = "Жало Генокрада" + drink_desc = "Генокрадов не существует, это ведь даже дети знают." + taste_description = "лёгкого укола" /datum/reagent/consumable/ethanol/irishcarbomb - name = "Irish Car Bomb" + name = "Ирландская Автомобильная Бомба" id = "irishcarbomb" - description = "Mmm, tastes like chocolate cake..." + description = "Ммм, на вкус как шоколадный торт..." reagent_state = LIQUID color = "#2E6671" // rgb: 46, 102, 113 alcohol_perc = 0.3 dizzy_adj = 10 SECONDS drink_icon = "irishcarbomb" - drink_name = "Irish Car Bomb" - drink_desc = "An irish car bomb." - taste_description = "troubles" + drink_name = "стакан Ирландской Автомобильной Бомбы" + drink_desc = "Ирландская Автомобильная Бомба." + taste_description = "проблем" /datum/reagent/consumable/ethanol/syndicatebomb - name = "Syndicate Bomb" + name = "Бомба Синдиката" id = "syndicatebomb" - description = "A Syndicate bomb" + description = "Пить аккуратно." reagent_state = LIQUID color = "#2E6671" // rgb: 46, 102, 113 alcohol_perc = 0.2 drink_icon = "syndicatebomb" - drink_name = "Syndicate Bomb" - drink_desc = "A syndicate bomb." - taste_description = "a job offer" + drink_name = "Бомба Синдиката" + drink_desc = "Бум. Пить осторожно." + taste_description = "предложения о работе" /datum/reagent/consumable/ethanol/erikasurprise - name = "Erika Surprise" + name = "Сюрприз Эрики" id = "erikasurprise" - description = "The surprise is, it's green!" + description = "Сюрприз в том, что он зелёный!" reagent_state = LIQUID color = "#2E6671" // rgb: 46, 102, 113 alcohol_perc = 0.2 drink_icon = "erikasurprise" - name = "Erika Surprise" - drink_desc = "The surprise is, it's green!" - taste_description = "disappointment" + name = "Сюрприз Эрики" + drink_desc = "Сюрприз в том, что он зелёный!" + taste_description = "разочарования" /datum/reagent/consumable/ethanol/driestmartini - name = "Driest Martini" + name = "Самый сухой мартини" id = "driestmartini" - description = "Only for the experienced. You think you see sand floating in the glass." + description = "Только для опытных. Стоп, это песок там в стакане?" nutriment_factor = 1 * REAGENTS_METABOLISM color = "#2E6671" // rgb: 46, 102, 113 alcohol_perc = 0.5 dizzy_adj = 20 SECONDS drink_icon = "driestmartiniglass" - drink_name = "Driest Martini" - drink_desc = "Only for the experienced. You think you see sand floating in the glass." - taste_description = "dust and ashes" + drink_name = "Самый сухой мартини" + drink_desc = "Только для опытных. Стоп, это песок там в стакане?" + taste_description = "пыли и пепла" /datum/reagent/consumable/ethanol/driestmartini/on_mob_life(mob/living/M) if(current_cycle >= 55 && current_cycle < 115) @@ -1063,15 +1063,15 @@ return ..() /datum/reagent/consumable/ethanol/kahlua - name = "Kahlua" + name = "Калуа" id = "kahlua" - description = "A widely known, Mexican coffee-flavoured liqueur. In production since 1936!" + description = "Широко известный мексиканский ликёр со вкусом кофе. Производится с 1936 года!" color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.2 drink_icon = "kahluaglass" - drink_name = "Glass of RR coffee Liquor" - drink_desc = "DAMN, THIS THING LOOKS ROBUST" - taste_description = "coffee and alcohol" + drink_name = "ликёра \"Калуа\"" + drink_desc = "Выглядит робастно." + taste_description = "кофе и алкоголя" /datum/reagent/consumable/ethanol/kahlua/on_mob_life(mob/living/M) M.AdjustDizzy(-10 SECONDS) @@ -1081,15 +1081,15 @@ return ..() /datum/reagent/ginsonic - name = "Gin and sonic" + name = "Джин и Соник" id = "ginsonic" description = "GOTTA GET CRUNK FAST BUT LIQUOR TOO SLOW" reagent_state = LIQUID color = "#1111CF" drink_icon = "ginsonic" - drink_name = "Gin and Sonic" - drink_desc = "An extremely high amperage drink. Absolutely not for the true Englishman." - taste_description = "SPEED" + drink_name = "Джин и Соник" + drink_desc = "Напиток с чрезвычайно высокой силой тока. Абсолютно не для истинного англичанина." + taste_description = "СКОРОСТИ" /datum/reagent/ginsonic/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1100,67 +1100,67 @@ M.AdjustWeakened(-2 SECONDS) if(prob(8)) M.reagents.add_reagent("methamphetamine",1.2) - var/sonic_message = pick("Gotta go fast!", "Time to speed, keed!", "I feel a need for speed!", "Let's juice.", "Juice time.", "Way Past Cool!") + var/sonic_message = pick("НАДО! ЕЩЁ! БЫСТРЕЕ!!!", "БЫСТРЕЕ, БЫСТРЕЕ, ЕЩЁ БЫСТРЕЕ!!!", "ДА, ДЕТКА!!!", "БОДРИТ!!!", "ПОШЁЛ, ПОШЁЛ!!!", "На старт... МАРШ!!!", "ПОНЕСЛАСЬ!!!") if(prob(50)) M.say("[sonic_message]") else - to_chat(M, "[sonic_message ]") + to_chat(M, span_notice("[sonic_message]")) return ..() | update_flags /datum/reagent/consumable/ethanol/applejack - name = "Applejack" + name = "Эпплджек" id = "applejack" - description = "A highly concentrated alcoholic beverage made by repeatedly freezing cider and removing the ice." + description = "Высококонцентрированный алкогольный напиток, изготовленный путём многократного замораживания сидра и удаления льда." color = "#997A00" alcohol_perc = 0.4 drink_icon = "cognacglass" - drink_name = "Glass of applejack" - drink_desc = "When cider isn't strong enough, you gotta jack it." - taste_description = "strong cider" + drink_name = "Эпплджек" + drink_desc = "Когда сидр недостаточно крепок." + taste_description = "крепкого сидра" /datum/reagent/consumable/ethanol/jackrose - name = "Jack Rose" + name = "Джек Роуз" id = "jackrose" - description = "A classic cocktail that had fallen out of fashion, but never out of taste," + description = "Классический коктейль, который вышел из моды, но не из вкуса." color = "#664300" alcohol_perc = 0.4 drink_icon = "patronglass" - drink_name = "Jack Rose" - drink_desc = "Drinking this makes you feel like you belong in a luxury hotel bar during the 1920s." - taste_description = "style" + drink_name = "Джек Роуз" + drink_desc = "При его употреблении вы чувствуете себя в баре роскошного отеля 1920-х годов." + taste_description = "стиля" /datum/reagent/consumable/ethanol/drunkenblumpkin - name = "Drunken Blumpkin" + name = "Пьяный Идиот" id = "drunkenblumpkin" - description = "A weird mix of whiskey and blumpkin juice." + description = "Странная смесь виски и тыквенного сока." color = "#1EA0FF" // rgb: 102, 67, 0 alcohol_perc = 0.5 drink_icon = "drunkenblumpkin" - drink_name = "Drunken Blumpkin" - drink_desc = "A drink for the drunks" - taste_description = "weirdness" + drink_name = "Пьяный Идиот" + drink_desc = "Напиток для напивающихся." + taste_description = "странности" /datum/reagent/consumable/ethanol/eggnog - name = "Eggnog" + name = "Эгг-Ног" id = "eggnog" - description = "For enjoying the most wonderful time of the year." + description = "Для наслаждения самым чудесным временем года." color = "#fcfdc6" // rgb: 252, 253, 198 nutriment_factor = 2 * REAGENTS_METABOLISM alcohol_perc = 0.1 drink_icon = "glass_yellow" - drink_name = "Eggnog" - drink_desc = "For enjoying the most wonderful time of the year." - taste_description = "christmas spirit" + drink_name = "стакан Эгг-Нога" + drink_desc = "Для наслаждения самым чудесным временем года." + taste_description = "рождества" /datum/reagent/consumable/ethanol/dragons_breath //inaccessible to players, but here for admin shennanigans - name = "Dragon's Breath" + name = "Дыхание Дракона" id = "dragonsbreath" - description = "Possessing this stuff probably breaks the Geneva convention." + description = "Производство этого напитка вероятно, нарушает Женевскую конвенцию." reagent_state = LIQUID color = "#DC0000" alcohol_perc = 1 can_synth = FALSE - taste_description = "LIQUID FUCKING DEATH OH GOD WHAT THE FUCK" + taste_description = span_userdanger("ЖИДКОЙ БЛЯДЬ СМЕРТИ СУКА ПИЗДЕЦ НАХУЙ КАКОГО ХУЯ") /datum/reagent/consumable/ethanol/dragons_breath/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_INGEST && prob(20)) @@ -1170,27 +1170,27 @@ /datum/reagent/consumable/ethanol/dragons_breath/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(M.reagents.has_reagent("milk")) - to_chat(M, "The milk stops the burning. Ahhh.") + to_chat(M, span_notice("Молоко останавливает горение. Фух.")) M.reagents.del_reagent("milk") M.reagents.del_reagent("dragonsbreath") return if(prob(8)) - to_chat(M, "Oh god! Oh GODD!!") + to_chat(M, span_userdanger("Господи! ГОСПОДИ БЛЯДЬ!!!")) if(prob(50)) - to_chat(M, "Your throat burns terribly!") + to_chat(M, span_danger("Ваша глотка пылает! Буквально!")) M.emote(pick("scream","cry","choke","gasp")) M.Stun(2 SECONDS) if(prob(8)) - to_chat(M, "Why!? WHY!?") + to_chat(M, span_danger("За что?! ЗА ЧТО?!")) if(prob(8)) - to_chat(M, "ARGHHHH!") + to_chat(M, span_danger("ААААААААА!!!")) if(prob(2 * volume)) - to_chat(M, "OH GOD OH GOD PLEASE NO!!") + to_chat(M, span_userdanger("ГОСПОДИ БОЖЕ БЛЯДЬ НЕТ НЕТ НЕТ!!!")) if(M.on_fire) M.adjust_fire_stacks(20) if(prob(50)) - to_chat(M, "IT BURNS!!!!") - M.visible_message("[M] is consumed in flames!") + to_chat(M, span_userdanger("КАК ЖЖЁТСЯ, КАК ЖЕ ОНО ЖЖЁТСЯ!!!")) + M.visible_message( span_danger("[M] сгорел[genderize_ru(M.gender, "", "а", "о", "и")] заживо!")) M.dust() return return ..() | update_flags @@ -1199,17 +1199,17 @@ // WOOO! /datum/reagent/consumable/ethanol/synthanol - name = "Synthanol" + name = "Синтанол" id = "synthanol" - description = "A runny liquid with conductive capacities. Its effects on synthetics are similar to those of alcohol on organics." + description = "Текучая жидкость с токопроводящими свойствами. Её воздействие на синтетику аналогично воздействию спирта на органику." reagent_state = LIQUID color = "#1BB1FF" process_flags = ORGANIC | SYNTHETIC alcohol_perc = 0.5 drink_icon = "synthanolglass" - drink_name = "Glass of Synthanol" - drink_desc = "The equivalent of alcohol for synthetic crewmembers. They'd find it awful if they had tastebuds too." - taste_description = "motor oil" + drink_name = "стакан синтанола" + drink_desc = "Эквивалент алкоголя для синтетических членов экипажа. Если бы у них были вкусовые рецепторы, они бы сочли его ужасным." + taste_description = "машинного масла" /datum/reagent/consumable/ethanol/synthanol/on_mob_life(mob/living/M) metabolization_rate = REAGENTS_METABOLISM @@ -1224,90 +1224,90 @@ if(M.dna.species.reagent_tag & PROCESS_SYN) return if(method == REAGENT_INGEST) - to_chat(M, pick("That was awful!", "Yuck!")) + to_chat(M, pick(span_danger("Это отвратительно!"), span_danger("Фу!"))) /datum/reagent/consumable/ethanol/synthanol/robottears - name = "Robot Tears" + name = "Слёзы Робота" id = "robottears" - description = "An oily substance that an IPC could technically consider a 'drink'." + description = "Маслянистая субстанция, которую КПБ технически могут считать \"напитком\"." reagent_state = LIQUID color = "#363636" alcohol_perc = 0.25 drink_icon = "robottearsglass" - drink_name = "Glass of Robot Tears" - drink_desc = "No robots were hurt in the making of this drink." - taste_description = "existential angst" + drink_name = "стакан Слёз Робота" + drink_desc = "При изготовлении этого напитка ни один робот не пострадал." + taste_description = "экзистенциальных вопросов" /datum/reagent/consumable/ethanol/synthanol/trinary - name = "Trinary" + name = "Тринарный" id = "trinary" - description = "A fruit drink meant only for synthetics, however that works." + description = "Фруктовый напиток, предназначенный только для синтетиков, как бы это ни звучало." reagent_state = LIQUID color = "#adb21f" alcohol_perc = 0.2 drink_icon = "trinaryglass" - drink_name = "Glass of Trinary" - drink_desc = "Colorful drink made for synthetic crewmembers. It doesn't seem like it would taste well." - taste_description = "modem static" + drink_name = "стакан Тринарного" + drink_desc = "Красочный напиток, созданный для синтетических членов экипажа. Не похоже, чтобы он был вкусным." + taste_description = "машинной логики" /datum/reagent/consumable/ethanol/synthanol/servo - name = "Servo" + name = "Серво" id = "servo" - description = "A drink containing some organic ingredients, but meant only for synthetics." + description = "Напиток, содержащий некоторые органические ингредиенты, но предназначенный только для синтетиков." reagent_state = LIQUID color = "#5b3210" alcohol_perc = 0.25 drink_icon = "servoglass" - drink_name = "Glass of Servo" - drink_desc = "Chocolate - based drink made for IPCs. Not sure if anyone's actually tried out the recipe." - taste_description = "motor oil and cocoa" + drink_name = "стакан Серво" + drink_desc = "Напиток на основе шоколада для КПБ. Врядли кто-то пробовал этот рецепт на вкус." + taste_description = "машинного масла и шоколада" /datum/reagent/consumable/ethanol/synthanol/uplink - name = "Uplink" + name = "Аплинк" id = "uplink" - description = "A potent mix of alcohol and synthanol. Will only work on synthetics." + description = "Сильнодействующая смесь алкоголя и синтанола. Действует только на синтетиков." reagent_state = LIQUID color = "#e7ae04" alcohol_perc = 0.15 drink_icon = "uplinkglass" - drink_name = "Glass of Uplink" - drink_desc = "An exquisite mix of the finest liquoirs and synthanol. Meant only for synthetics." - taste_description = "a GUI in visual basic" + drink_name = "Аплинк" + drink_desc = "Сильнодействующая смесь хорошего ликёра и синтанола. Действует только на синтетиков." + taste_description = "графического интерфейса на Visual Basic" /datum/reagent/consumable/ethanol/synthanol/synthnsoda - name = "Synth 'n Soda" + name = "Синт и Сода" id = "synthnsoda" - description = "The classic drink adjusted for a robot's tastes." + description = "Классический напиток, адаптированный под вкусы синтетиков." reagent_state = LIQUID color = "#7204e7" alcohol_perc = 0.25 drink_icon = "synthnsodaglass" - drink_name = "Glass of Synth 'n Soda" - drink_desc = "Classic drink altered to fit the tastes of a robot. Bad idea to drink if you're made of carbon." - taste_description = "fizzy motor oil" + drink_name = "стакан Синта и Соды" + drink_desc = "Классический напиток, адаптированный под вкусы синтетиков. Органикам лучше не пить." + taste_description = "шипучего моторного масла" /datum/reagent/consumable/ethanol/synthanol/synthignon - name = "Synthignon" + name = "Синтигон" id = "synthignon" - description = "Someone mixed wine and alcohol for robots. Hope you're proud of yourself." + description = "Кто-то смешал вино и алкоголь для роботов. Надеюсь, он горд собой." reagent_state = LIQUID color = "#d004e7" alcohol_perc = 0.25 drink_icon = "synthignonglass" - drink_name = "Glass of Synthignon" - drink_desc = "Someone mixed good wine and robot booze. Romantic, but atrocious." - taste_description = "fancy motor oil" + drink_name = "Синтигон" + drink_desc = "Кто-то смешал хорошее вино и выпивку для роботов. Романтично, но отвратительно." + taste_description = "модного моторного масла" /datum/reagent/consumable/ethanol/fruit_wine - name = "Fruit Wine" + name = "Фруктовое вино" id = "fruit_wine" - description = "A wine made from grown plants." + description = "Вино, изготовленное из растений." color = "#FFFFFF" alcohol_perc = 0.35 - taste_description = "bad coding" + taste_description = "плохого кода" can_synth = FALSE - var/list/names = list("null fruit" = 1) //Names of the fruits used. Associative list where name is key, value is the percentage of that fruit. - var/list/tastes = list("bad coding" = 1) //List of tastes. See above. + var/list/names = list("нулевого фрукта" = 1) //Names of the fruits used. Associative list where name is key, value is the percentage of that fruit. + var/list/tastes = list("плохого кода" = 1) //List of tastes. See above. /datum/reagent/consumable/ethanol/fruit_wine/on_new(list/data) names = data["names"] @@ -1341,7 +1341,7 @@ /datum/reagent/consumable/ethanol/fruit_wine/proc/generate_data_info(list/data) var/list/primary_tastes = list() var/list/secondary_tastes = list() - drink_name = "glass of [name]" + drink_name = "[name]" drink_desc = description for(var/taste in tastes) switch(tastes[taste]) @@ -1359,26 +1359,26 @@ name += "[fruit_name] " named = TRUE if(named) - name += "wine" + name += "вино" else - name = "mixed [names_in_order[1]] wine" + name = "Смешанное [names_in_order[1]] вино" var/alcohol_description switch(alcohol_perc) if(1.2 to INFINITY) - alcohol_description = "suicidally strong" + alcohol_description = "самоубийственно сильного" if(0.9 to 1.2) - alcohol_description = "rather strong" + alcohol_description = "очень крепкого" if(0.7 to 0.9) - alcohol_description = "strong" + alcohol_description = "крепкого" if(0.4 to 0.7) - alcohol_description = "rich" + alcohol_description = "насыщенного" if(0.2 to 0.4) - alcohol_description = "mild" + alcohol_description = "мягкого" if(0 to 0.2) - alcohol_description = "sweet" + alcohol_description = "сладкого" else - alcohol_description = "watery" //How the hell did you get negative boozepwr? + alcohol_description = "водянистого" //How the hell did you get negative boozepwr? var/list/fruits = list() if(names_in_order.len <= 3) @@ -1386,43 +1386,43 @@ else for(var/i in 1 to 3) fruits += names_in_order[i] - fruits += "other plants" - var/fruit_list = english_list(fruits) - description = "A [alcohol_description] wine brewed from [fruit_list]." + fruits += "других растений" + var/fruit_list = russian_list(fruits) + description = "Образец [alcohol_description] вина, приготовленного из [fruit_list]." var/flavor = "" if(!primary_tastes.len) - primary_tastes = list("[alcohol_description] alcohol") - flavor += english_list(primary_tastes) + primary_tastes = list("[alcohol_description] алкоголя") + flavor += russian_list(primary_tastes) if(secondary_tastes.len) - flavor += ", with a hint of " - flavor += english_list(secondary_tastes) + flavor += ", с лёгким привкусом " + flavor += russian_list(secondary_tastes) taste_description = flavor if(holder.my_atom) holder.my_atom.on_reagent_change() /datum/reagent/consumable/ethanol/bacchus_blessing //An EXTREMELY powerful drink. Smashed in seconds, dead in minutes. - name = "Bacchus' Blessing" + name = "Благословение Бахуса" id = "bacchus_blessing" - description = "Unidentifiable mixture. Unmeasurably high alcohol content." + description = "Неидентифицируемая смесь. Неизмеримо высокое содержание алкоголя." color = rgb(51, 19, 3) //Sickly brown dizzy_adj = 42 SECONDS alcohol_perc = 3 //I warned you drink_icon = "bacchusblessing" - drink_name = "Bacchus' Blessing" - drink_desc = "You didn't think it was possible for a liquid to be so utterly revolting. Are you sure about this...?" - taste_description = "a wall of bricks" + drink_name = "Благословение Бахуса" + drink_desc = "Даже подумать было невозможно, что напиток может быть настолько отвратительным. Кто-то точно захочет это выпить?" + taste_description = "стены кирпичей" /datum/reagent/consumable/ethanol/fernet - name = "Fernet" + name = "Фернет" id = "fernet" - description = "An incredibly bitter herbal liqueur used as a digestif." + description = "Невероятно горький травяной ликёр, используемый в качестве дижестива." color = "#1B2E24" // rgb: 27, 46, 36 alcohol_perc = 0.5 drink_icon = "fernetpuro" - drink_name = "glass of pure fernet" - drink_desc = "Why are you drinking this pure?" - taste_description = "utter bitterness" + drink_name = "стакан чистого фернета" + drink_desc = "Зачем вообще пить это в чистом виде?" + taste_description = "сильной горечи" var/remove_nutrition = 2 /datum/reagent/consumable/ethanol/fernet/on_mob_life(mob/living/M) @@ -1430,10 +1430,10 @@ if(!M.nutrition) switch(rand(1, 3)) if(1) - to_chat(M, "You feel hungry...") + to_chat(M, span_warning("Вы чувствуете себя голодным...")) if(2) update_flags |= M.adjustToxLoss(1, FALSE) - to_chat(M, "Your stomach grumbles painfully!") + to_chat(M, span_warning("Ваш желудок болезненно урчит!")) else pass() else @@ -1443,28 +1443,28 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/fernet/fernet_cola - name = "Fernet Cola" + name = "Фернет-кола" id = "fernet_cola" - description = "A very popular and bittersweet digestif, ideal after a heavy meal. Best served on a sawed-off cola bottle as per tradition." + description = "Очень популярный и горьковато-сладкий дижестив, идеальный после плотного обеда. По традиции, его лучше всего подавать в откупоренной бутылке из-под колы." color = "#390600" // rgb: 57, 6, 0 alcohol_perc = 0.2 drink_icon = "fernetcola" - drink_name = "glass of fernet cola" - drink_desc = "A sawed-off cola bottle filled with Fernet Cola. You can hear cuarteto music coming from the inside." - taste_description = "low class heaven" + drink_name = "стакан фернет-колы" + drink_desc = "Откупоренная бутылка из-под колы, наполненная фернет-колой. Изнутри слышна музыка куартето." + taste_description = "рая низкого класса" remove_nutrition = 1 /datum/reagent/consumable/ethanol/rainbow_sky - name = "Rainbow Sky" + name = "Радужное Небо" id = "rainbow_sky" - description = "A drink that shimmers with all the colors of the rainbow with notes of the galaxy." + description = "Напиток, переливающийся всеми цветами радуги с примесями космоса." color = "#ffffff" dizzy_adj = 20 SECONDS alcohol_perc = 1.5 drink_icon = "rainbow_sky" - drink_name = "Rainbow Sky" - drink_desc = "A drink that shimmers with all the colors of the rainbow with notes of the galaxy." - taste_description = "rainbow" + drink_name = "Радужное Небо" + drink_desc = "Напиток, переливающийся всеми цветами радуги с примесями космоса." + taste_description = "радуги" /datum/reagent/consumable/ethanol/rainbow_sky/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1477,237 +1477,237 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/champagne - name = "Champagne" + name = "Шампанское" id = "champagne" - description = "Excellent sparkling champagne. For those who want to stand out among vinokurs." + description = "Превосходное игристое шампанское. Для тех, кто хочет выделиться среди винокуров." color = "#d0d312" alcohol_perc = 0.2 drink_icon = "champagneglass" - drink_name = "Glass of Champagne" - drink_desc = "Excellent sparkling champagne. For those who want to stand out among vinokurs." - taste_description = "sparkling sunshine" + drink_name = "бокал шампанского" + drink_desc = "Превосходное игристое шампанское. Для тех, кто хочет выделиться среди винокуров." + taste_description = "искрящегося солнечного света" /datum/reagent/consumable/ethanol/aperol - name = "Aperol" + name = "Апероль" id = "aperol" - description = "Oh-oh-oh... It looks like it's an ambush for the liver" + description = "О-о-о-о... Похоже, это засада для печени." color = "#b9000a" alcohol_perc = 0.2 drink_icon = "aperolglass" - drink_name = "Glass of Aperol" - drink_desc = "Oh-oh-oh... It looks like it's an ambush for the liver" - taste_description = "herbaceous sweetness" + drink_name = "бокал апероля" + drink_desc = "О-о-о-о... Похоже, это засада для печени." + taste_description = "травянистой сладости" /datum/reagent/consumable/ethanol/jagermeister - name = "Jagermeister" + name = "Ягермейстер" id = "jagermeister" - description = "The drunkard hunter came from deep space, and it looks like he found a victim." + description = "Пьяница-охотник прибыл из далёкого космоса, и, похоже, он нашёл свою жертву." color = "#200b0b" alcohol_perc = 0.4 dizzy_adj = 6 SECONDS drink_icon = "jagermeisterglass" - drink_name = "Glass of Jagermeister" - drink_desc = "The drunkard hunter came from deep space, and it looks like he found a victim." - taste_description = "btterness of hunting" + drink_name = "стакан ягермейстера" + drink_desc = "Пьяница-охотник прибыл из далёкого космоса, и, похоже, он нашёл свою жертву." + taste_description = "охотничьего азарта" /datum/reagent/consumable/ethanol/schnaps - name = "Schnaps" + name = "Шнапс" id = "schnaps" - description = "From such a schnapps it's not a sin to start yodeling." + description = "От такого шнапса не грех начать петь йодлем." color = "#e0e0e0" alcohol_perc = 0.4 dizzy_adj = 2 SECONDS drink_icon = "schnapsglass" - drink_name = "Glass of Schnaps" - drink_desc = "From such a schnapps it's not a sin to start yodeling." - taste_description = "wheat mint" + drink_name = "стакан шнапса" + drink_desc = "От такого шнапса не грех начать петь йодлем." + taste_description = "пшеничной мяты" /datum/reagent/consumable/ethanol/sambuka - name = "Sambuka" + name = "Самбука" id = "sambuka" - description = "Flying into space, many thought that they had grasped fate." + description = "Улетая в космос, многие думали, что схватили судьбу" color = "#e0e0e0" alcohol_perc = 0.45 dizzy_adj = 2 SECONDS drink_icon = "sambukaglass" - drink_name = "Glass of Sambuka" - drink_desc = "Flying into space, many thought that they had grasped fate." - taste_description = "twirly fire" + drink_name = "бокал самбуки" + drink_desc = "Улетая в космос, многие думали, что схватили судьбу" + taste_description = "вертлявого огня" /datum/reagent/consumable/ethanol/bluecuracao - name = "Blue Curacao" + name = "Голубой Кюрасао" id = "bluecuracao" - description = "The fuse is ready, the blue has already lit up." + description = "Запал готов, синий уже загорелся." color = "#16c9ff" alcohol_perc = 0.35 drink_icon = "bluecuracaoglass" - drink_name = "Glass of Blue Curacao" - drink_desc = "The fuse is ready, the blue has already lit up." - taste_description = "explosive blue" + drink_name = "бокал Голубого Кюрасао" + drink_desc = "Запал готов, синий уже загорелся." + taste_description = "взрывной голубизны" /datum/reagent/consumable/ethanol/bitter - name = "Bitter" + name = "Биттер" id = "bitter" - description = "Don't mix up the label sizes, because I won't change anything." + description = "Не перепутай размеры этикеток, ведь я ничего менять не буду." color = "#d44071" alcohol_perc = 0.45 dizzy_adj = 4 SECONDS drink_icon = "bitterglass" - drink_name = "Glass of bitter" - drink_desc = "Don't mix up the label sizes, because I won't change anything." - taste_description = "vacuum bitterness" + drink_name = "стакан биттера" + drink_desc = "Не перепутай размеры этикеток, ведь я ничего менять не буду." + taste_description = "вакуумной горечи" /datum/reagent/consumable/ethanol/sheridan - name = "Sheridan's" + name = "Шериданс" id = "sheridan" - description = "Refrigerate, pour at an angle of 45, do not mix, enjoy." + description = "Охладите, разлейте под углом 45°, не перемешивайте, наслаждайтесь." color = "#3a3d2e" alcohol_perc = 0.35 drink_icon = "sheridanglass" - drink_name = "Glass of Sheridan's" - drink_desc = "Refrigerate, pour at an angle of 45, do not mix, enjoy." - taste_description = "creamy coffee" + drink_name = "стакан Шериданса" + drink_desc = "Охладите, разлейте под углом 45°, не перемешивайте, наслаждайтесь." + taste_description = "шоколадно-кремового алкоголя" ////////////////////////////Cocktails/////////////////////////////// /datum/reagent/consumable/ethanol/black_blood - name = "Black Blood" + name = "Чёрная Кровь" id = "black_blood" - description = "Need to drink faster before it starts to curdle." + description = "Пить нужно быстрее, пока оно не начало сворачиваться." color = "#252521" alcohol_perc = 0.45 drink_icon = "black_blood" - drink_name = "Black Blood" - drink_desc = "Need to drink faster before it starts to curdle." - taste_description = "bloody darkness" + drink_name = "Чёрная Кровь" + drink_desc = "Пить нужно быстрее, пока оно не начало сворачиваться." + taste_description = "кровавой тьмы" /datum/reagent/consumable/ethanol/black_blood/reaction_mob(mob/living/M, method, volume) . = ..() if(prob(50)) - M.say(pick("Fuu ma'jin!", "Sas'so c'arta forbici!", \ - "Ta'gh fara'qha fel d'amar det!", "Kla'atu barada nikt'o!", \ - "Fel'th Dol Ab'orod!", "In'totum Lig'abis!", "Ethra p'ni dedol!", \ - "Ditans Gut'ura Inpulsa!", "O bidai nabora se'sma!")) + M.say(pick("Фуу ма'джин!", "Сас'со к'арта форбичи!", \ + "Та'гх фара'кха фель де'амар дет!", "Кла'ату барада никт'o!", \ + "Фел'т Дол Аб'ород!", "Ин'тотум Лиг'абис!", "Этра п'ни дедоль!", \ + "Дитанс Гут'ура Инпульса!", "О бидай набора се'сма!")) /datum/reagent/consumable/ethanol/light_storm - name = "Light Storm" + name = "Лёгкий Шторм" id = "light_storm" - description = "Even away from the ocean, you can feel this shaking." + description = "Даже вдали от океана вы можете почувствовать эту дрожь." color = "#4b4b44" alcohol_perc = 0.6 drink_icon = "light_storm" - drink_name = "Light Storm" - drink_desc = "Even away from the ocean, you can feel this shaking." - taste_description = "sea excitement" + drink_name = "стакан Лёгкого Шторма" + drink_desc = "Даже вдали от океана вы можете почувствовать эту дрожь." + taste_description = "морских волнений" /datum/reagent/consumable/ethanol/cream_heaven - name = "Cream Heaven" + name = "Кремовый Рай" id = "cream_heaven" - description = "This is a touch of cream and coffee, a real creation of heaven." + description = "Это сочетание сливок и кофе, настоящее небесное творение." color = "#4b4b44" alcohol_perc = 0.25 drink_icon = "cream_heaven" - drink_name = "Cream Heaven" - drink_desc = "This is a touch of cream and coffee, a real creation of heaven." - taste_description = "coffee cloud" + drink_name = "Кремовый Рай" + drink_desc = "Это сочетание сливок и кофе, настоящее небесное творение." + taste_description = "кофейных облачков" /datum/reagent/consumable/ethanol/negroni - name = "Negroni" + name = "Негрони" id = "negroni" - description = "Bitters are very good for the liver, and gin has a bad effect on you. Here they balance each other." + description = "Горькие напитки очень полезны для печени, а джин плохо влияет на организм. Здесь они уравновешивают друг друга." color = "#ad3948" alcohol_perc = 0.4 drink_icon = "negroni" - drink_name = "Negroni" - drink_desc = "Bitters are very good for the liver, and gin has a bad effect on you. Here they balance each other." - taste_description = "sweet parade" + drink_name = "Негрони" + drink_desc = "Горькие напитки очень полезны для печени, а джин плохо влияет на организм. Здесь они уравновешивают друг друга." + taste_description = "сладкого шествия" /datum/reagent/consumable/ethanol/hirosima - name = "Hirosima" + name = "Хиросима" id = "hirosima" - description = "My hands are up to the elbows in blood... Oh, wait, it's alcohol." + description = "Мои руки по локоть в крови... О, подождите, это алкоголь." color = "#598317" alcohol_perc = 0.3 drink_icon = "hirosima" - drink_name = "Hirosima" - drink_desc = "My hands are up to the elbows in blood... Oh, wait, it's alcohol." - taste_description = "alcoholic ashes" + drink_name = "Хиросима" + drink_desc = "Мои руки по локоть в крови... О, подождите, это алкоголь." + taste_description = "алкогольного пепла" /datum/reagent/consumable/ethanol/nagasaki - name = "nagasaki" + name = "Нагасаки" id = "nagasaki" - description = "At first, no one knew what would happen next. The intoxication was terrible. There is no doubt that this is the strongest intoxication that a person has ever seen." + description = "Сначала никто не знал, что произойдет дальше. Опьянение было ужасным. Нет сомнений, что это самое сильное опьянение, которое когда-либо испытывал человек." color = "#18c212" alcohol_perc = 0.7 drink_icon = "nagasaki" - drink_name = "Nagasaki" - drink_desc = "At first, no one knew what would happen next. The intoxication was terrible. There is no doubt that this is the strongest intoxication that a person has ever seen." - taste_description = "radioactive ash" + drink_name = "Нагасаки" + drink_desc = "Сначала никто не знал, что произойдет дальше. Опьянение было ужасным. Нет сомнений, что это самое сильное опьянение, которое когда-либо испытывал человек." + taste_description = "радиоактивного пепла" /datum/reagent/consumable/ethanol/chocolate_sheridan - name = "Chocolate Sheridan's" + name = "Шоколадный Шериданс" id = "chocolate_sheridan" - description = "In situations when you really want to cheer up and drink." + description = "В ситуациях, когда действительно хочется взбодриться и выпить." color = "#332a1a" alcohol_perc = 0.3 drink_icon = "chocolate_sheridan" - drink_name = "Chocolate Sheridan's" - drink_desc = "In situations when you really want to cheer up and drink." - taste_description = "alcoholic mocha" + drink_name = "стакан Шоколадного Шериданса" + drink_desc = "В ситуациях, когда действительно хочется взбодриться и выпить." + taste_description = "алкогольного мокко" /datum/reagent/consumable/ethanol/panamian - name = "Panama" + name = "Панама" id = "panamian" - description = "It will connect your blood and alcohol like a Katun gateway." + description = "Это соединит вашу кровь и алкоголь, прямо как Катунские врата." color = "#3164a7" alcohol_perc = 0.6 drink_icon = "panamian" - drink_name = "Panama" - drink_desc = "It will connect your blood and alcohol like a Katun gateway." - taste_description = "shipping channel" + drink_name = "стакан Панамы" + drink_desc = "Это соединит вашу кровь и алкоголь, прямо как Катунские врата." + taste_description = "судоходного канала" /datum/reagent/consumable/ethanol/pegu_club - name = "Pegu Club" + name = "Клуб Пегу" id = "pegu_club" - description = "It's like a group of gentlemen colonizing your tongue." + description = "Это похоже на группу джентльменов, колонизирующих ваш язык." color = "#a5702b" alcohol_perc = 0.5 drink_icon = "pegu_club" - drink_name = "Pegu Club" - drink_desc = "It's like a group of gentlemen colonizing your tongue." - taste_description = "shipping channel" + drink_name = "Клуб Пегу" + drink_desc = "Это похоже на группу джентльменов, колонизирующих ваш язык." + taste_description = "судоходного канала" /datum/reagent/consumable/ethanol/jagermachine - name = "Jagermachine" + name = "Ягермашина" id = "jagermachine" - description = "A true detail hunter." + description = "Настоящий охотник за деталями." color = "#6b0b74" alcohol_perc = 0.55 drink_icon = "jagermachine" - drink_name = "Jagermachine" - drink_desc = "A true detail hunter." - taste_description = "stealing parts" + drink_name = "Ягермашина" + drink_desc = "Настоящий охотник за деталями." + taste_description = "воровства деталей" /datum/reagent/consumable/ethanol/blue_cybesauo - name = "Blue Cybesauo" + name = "Голубой Киберсауо" id = "blue_cybesauo" - description = "The blue is similar to the blue screen of death." + description = "Синева, похожая на синий экран смерти." color = "#0b7463" alcohol_perc = 0.4 drink_icon = "blue_cybesauo" - drink_name = "Blue Cybesauo" - drink_desc = "The blue is similar to the blue screen of death." - taste_description = "error 0xc000001b" + drink_name = "Голубой Киберсауо" + drink_desc = "Синева, похожая на синий экран смерти." + taste_description = "ошибки 0xc000001b" /datum/reagent/consumable/ethanol/alcomender - name = "Alcomender" + name = "Алко-мендер" id = "alcomender" - description = "A glass in the form of a mender, a favorite among doctors." + description = "Кружка в форме авто-мендера, популярен среди докторов." color = "#6b0059" alcohol_perc = 1.4 ////Heal burn drink_icon = "alcomender" - drink_name = "Alcomender" - drink_desc = "A glass in the form of a mender, a favorite among doctors." - taste_description = "funny medicine" + drink_name = "Алко-мендер" + drink_desc = "Кружка в форме авто-мендера, популярен среди докторов." + taste_description = "весёлой медицины" /datum/reagent/consumable/ethanol/alcomender/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1718,97 +1718,97 @@ if(iscarbon(M)) if(method == REAGENT_TOUCH) M.adjustFireLoss(-volume * 0.7, affect_robotic = FALSE) - to_chat(M, "The diluted silver sulfadiazine soothes your burns.") + to_chat(M, span_notice("Разбавленный сульфадиазин серебра исцеляет ваши ожоги.")) return STATUS_UPDATE_NONE /datum/reagent/consumable/ethanol/amnesia - name = "Star Amnesia" + name = "Звёздная Амнезия" id = "amnesia" - description = "Is it just a bottle of medical alcohol?" + description = "Стоп, это бутылка медицинского спирта?" color = "#6b0059" alcohol_perc = 1.2 ////Ethanol and Hooch drink_icon = "amnesia" - drink_name = "Star Amnesia" - drink_desc = "Is it just a bottle of medical alcohol?" - taste_description = "disco amnesia" + drink_name = "Звёздная Амнезия" + drink_desc = "Стоп, это бутылка медицинского спирта?" + taste_description = "диско" /datum/reagent/consumable/ethanol/johnny - name = "Silverhand" + name = "Сильверхэнд" id = "johnny" - description = "Wake the heck up, samurai. We have a station to burn." + description = "Просыпайся, самурай. Нам нужно сжечь одну станцию." color = "#c41414" alcohol_perc = 0.6 drink_icon = "johnny" - drink_name = "Silverhand" - drink_desc = "Wake the heck up, samurai. We have a station to burn." - taste_description = "superstar fading" + drink_name = "Сильверхэнд" + drink_desc = "Просыпайся, самурай. Нам нужно сжечь одну станцию." + taste_description = "угасающей суперзвезды" /datum/reagent/consumable/ethanol/cosmospoliten - name = "Cosmospoliten" + name = "Космополитен" id = "cosmospoliten" - description = "Then try to prove that you are straight and not a woman if you got caught with him." + description = "А теперь попробуй доказать, что ты натурал и не женщина, если тебя застукают с ним." color = "#b1483a" alcohol_perc = 0.5 drink_icon = "cosmospoliten" - drink_name = "Cosmospoliten" - drink_desc = "Then try to prove that you are straight and not a woman if you got caught with him." - taste_description = "orientation reversal" + drink_name = "Космополитен" + drink_desc = "А теперь попробуй доказать, что ты натурал и не женщина, если тебя застукают с ним." + taste_description = "изменения ориентации" /datum/reagent/consumable/ethanol/oldfashion - name = "Old Fashion" + name = "Старая мода" id = "oldfashion" - description = "Rumor has it that this cocktail is the oldest, but however, this is a completely different story." + description = "Ходят слухи, что этот коктейль является самым старым из всех, но, впрочем, это совсем другая история." color = "#6b4017" alcohol_perc = 0.6 drink_icon = "oldfashion" - drink_name = "Old Fashion" - drink_desc = "Rumor has it that this cocktail is the oldest, but however, this is a completely different story." - taste_description = "old times" + drink_name = "Старая мода" + drink_desc = "Ходят слухи, что этот коктейль является самым старым из всех, но, впрочем, это совсем другая история." + taste_description = "старых добрых времён" /datum/reagent/consumable/ethanol/french_75 - name = "French 75" + name = "Французский 75" id = "french_75" - description = "Charge the liver, aim, fire!" + description = "Заряжай печень, целься, стреляй!" color = "#b1953a" alcohol_perc = 0.4 drink_icon = "french_75" - drink_name = "French 75" - drink_desc = "Charge the liver, aim, fire!" - taste_description = "artillery bombing" + drink_name = "Французский 75" + drink_desc = "Заряжай печень, целься, стреляй!" + taste_description = "артиллерийского обстрела" /datum/reagent/consumable/ethanol/gydroseridan - name = "Gydroridan" + name = "Гидрориданс" id = "gydroseridan" - description = "Hydraulic separation of layers will help us in efficiency." + description = "Гидравлическое разделение слоёв поможет нам повысить эффективность." color = "#3a99b1" alcohol_perc = 0.5 drink_icon = "gydroseridan" - drink_name = "Gydroridan" - drink_desc = "Hydraulic separation of layers will help us in efficiency." - taste_description = "hydraulic power" + drink_name = "Гидрориданс" + drink_desc = "Гидравлическое разделение слоёв поможет нам повысить эффективность." + taste_description = "мощи гидравлики" /datum/reagent/consumable/ethanol/milk_plus - name = "Milk +" + name = "Молоко +" id = "milk_plus" - description = "When a man cannot choose he ceases to be a man." + description = "Когда человек не может выбирать, он перестаёт быть человеком." color = "#DFDFDF" alcohol_perc = 0.8 drink_icon = "milk_plus" - drink_name = "Milk +" - drink_desc = "When a man cannot choose he ceases to be a man." - taste_description = "loss of human" + drink_name = "Молоко +" + drink_desc = "Когда человек не может выбирать, он перестаёт быть человеком." + taste_description = "человеческой потери" /datum/reagent/consumable/ethanol/teslasingylo - name = "God Of Power" + name = "Бог Энергии" id = "teslasingylo" - description = "A real horror for the SMES and the APC. Don't overload them." + description = "Настоящий ужас для СКАН'ов и ЛКП. Не перегружайте их." color = "#0300ce" alcohol_perc = 0.7 process_flags = SYNTHETIC drink_icon = "teslasingylo" - drink_name = "God Of Power" - drink_desc = "A real horror for the SMES and the APC. Don't overload them." - taste_description = "electricity bless" + drink_name = "Бог Энергии" + drink_desc = "Настоящий ужас для СКАН'ов и ЛКП. Не перегружайте их." + taste_description = "электрического благословления" /datum/reagent/consumable/ethanol/teslasingylo/on_mob_life(mob/living/M) . = ..() @@ -1819,15 +1819,15 @@ machine.adjust_nutrition(15) //much less than charging from APC (50) /datum/reagent/consumable/ethanol/light - name = "Light" + name = "Свет" id = "light" - description = "A favorite among Nian and Dionea, someone say that this is a mini thermonuclear reaction, but only shhh..." + description = "Любимый напиток ниан и дион. Кто-то скажет, что это мини-термоядерная реакция, но только тссс..." color = "#fffb00" alcohol_perc = 0.2 drink_icon = "light" - drink_name = "Light" - drink_desc = "A favorite among Nian and Dionea, someone say that this is a mini thermonuclear reaction, but only shhh..." - taste_description = "star warmth" + drink_name = "Свет" + drink_desc = "Любимый напиток ниан и дион. Кто-то скажет, что это мини-термоядерная реакция, но только тссс..." + taste_description = "звёздного света" /datum/reagent/consumable/ethanol/light/on_mob_life(mob/living/M) . = ..() @@ -1838,114 +1838,114 @@ M.lighting_alpha = initial(M.lighting_alpha) /datum/reagent/consumable/ethanol/bees_knees - name = "Bee's Knees" + name = "Пчелиные Колени" id = "bees_knees" - description = "As if the fact is that the bee carries pollen in the area of the knees and ... Nevermind." + description = "Как будто бы дело в том, что пчела переносит пыльцу в области коленей и... Не берите в голову." color = "#e8f71f" alcohol_perc = 0.5 drink_icon = "bees_knees" - drink_name = "Bee's Knees" - drink_desc = "As if the fact is that the bee carries pollen in the area of the knees and ... Nevermind." - taste_description = "honey love" + drink_name = "Пчелиные Колени" + drink_desc = "Как будто бы дело в том, что пчела переносит пыльцу в области коленей и... Не берите в голову." + taste_description = "любви к мёду" /datum/reagent/consumable/ethanol/aviation - name = "Aviation" + name = "Авиация" id = "aviation" - description = "It's hard to make cocktails when a zeppelin flies over your house." + description = "Трудно готовить коктейли, когда над твоим домом пролетает дирижабль." color = "#c48f8f" alcohol_perc = 0.5 drink_icon = "aviation" - drink_name = "Aviation" - drink_desc = "It's hard to make cocktails when a zeppelin flies over your house." - taste_description = "blowing the wind" + drink_name = "Авиация" + drink_desc = "Трудно готовить коктейли, когда над твоим домом пролетает дирижабль." + taste_description = "сильного ветра" /datum/reagent/consumable/ethanol/fizz - name = "Fizz" + name = "Физз" id = "fizz" - description = "It's like living with a feral cat." + description = "Это всё равно, что жить с дикой кошкой." color = "#b6b6b6" alcohol_perc = 0.3 drink_icon = "fizz" - drink_name = "Fizz" - drink_desc = "It's like living with a feral cat." - taste_description = "fizzing" + drink_name = "Физз" + drink_desc = "Это всё равно, что жить с дикой кошкой." + taste_description = "шипучего алкоголя" /datum/reagent/consumable/ethanol/brandy_crusta - name = "Brandy Crusta" + name = "Коньячная Корочка" id = "brandy_crusta" - description = "The sugar crust may not be sweet at all." + description = "Сахарная корочка может быть совсем не сладкой." color = "#754609" alcohol_perc = 0.4 drink_icon = "brandy_crusta" - drink_name = "Brandy Crusta" - drink_desc = "The sugar crust may not be sweet at all." - taste_description = "salty-sweet" + drink_name = "Коньячная Корочка" + drink_desc = "Сахарная корочка может быть совсем не сладкой." + taste_description = "солёно-сладкого алкоголя" /datum/reagent/consumable/ethanol/aperolspritz - name = "Aperol Spritz" + name = "Апероль Спритц" id = "aperolspritz" - description = "Many consider it a separate alcohol, but it's more like a knight in chess." + description = "Многие считают его отдельным видом алкоголя, но он больше похож на коня в шахматах." color = "#c43d3d" alcohol_perc = 0.5 drink_icon = "aperolspritz" - drink_name = "Aperol Spritz" - drink_desc = "Many consider it a separate alcohol, but it's more like a knight in chess." - taste_description = "separateness of taste" + drink_name = "Апероль Спритц" + drink_desc = "Многие считают его отдельным видом алкоголя, но он больше похож на коня в шахматах." + taste_description = "раздельности вкусов" /datum/reagent/consumable/ethanol/sidecar - name = "Sidecar" + name = "Коляска" id = "sidecar" - description = "This cocktail is very popular. It was first introduced by the popular bartender This McGarry from Buck's Club." + description = "Этот коктейль очень популярен. Впервые его представил популярный бармен Этот МакГарри из Клуба Бака." color = "#b15416" alcohol_perc = 0.4 drink_icon = "sidecar" - drink_name = "Sidecar" - drink_desc = "This cocktail is very popular. It was first introduced by the popular bartender This McGarry from Buck's Club." - taste_description = "orange alcoh" + drink_name = "Коляска" + drink_desc = "Этот коктейль очень популярен. Впервые его представил популярный бармен Этот МакГарри из Клуба Бака." + taste_description = "апельсинового алкоголя" /datum/reagent/consumable/ethanol/daiquiri - name = "Daiquiri" + name = "Дайкири" id = "daiquiri" - description = "Just try, try again for me! With the headshot power of a Daiquiri!" + description = "Просто попробуй, попробуй ещё раз!" color = "#b6b6b6" alcohol_perc = 0.4 drink_icon = "daiquiri" - drink_name = "Daiquiri" - drink_desc = "Just try, try again for me! With the headshot power of a Daiquiri!" - taste_description = "headshot" + drink_name = "Дайкири" + drink_desc = "Просто попробуй, попробуй ещё раз!" + taste_description = "выстрела в голову" /datum/reagent/consumable/ethanol/tuxedo - name = "Tuxedo" + name = "Смокинг" id = "tuxedo" - description = "I can promise you a Colombian tie." + description = "Я могу пообещать вам Колумбийский Галстук." color = "#888686" alcohol_perc = 0.5 drink_icon = "tuxedo" - drink_name = "Tuxedo" - drink_desc = "I can promise you a Colombian tie." - taste_description = "strictness of style" + drink_name = "Смокинг" + drink_desc = "Я могу пообещать вам Колумбийский Галстук." + taste_description = "строгости стиля" /datum/reagent/consumable/ethanol/telegol - name = "Telegol" + name = "Телеголь" id = "telegol" - description = "Many are still puzzling over the question of this cocktail. Anyway, it still exists... Or not." + description = "Многие до сих пор ломают голову над вопросом существования этого коктейля. Как бы то ни было, он всё ещё существует... Или нет." color = "#4218a3" alcohol_perc = 0.5 drink_icon = "telegol" - drink_name = "Telegol" - drink_desc = "Many are still puzzling over the question of this cocktail. Anyway, it still exists... Or not." - taste_description = "fourteen dimension" + drink_name = "Телеголь" + drink_desc = "Многие до сих пор ломают голову над вопросом существования этого коктейля. Как бы то ни было, он всё ещё существует... Или нет." + taste_description = "четырнадцатого измерения" /datum/reagent/consumable/ethanol/horse_neck - name = "Horse Neck" + name = "Лошадиная Шея" id = "horse_neck" - description = "Be careful with your horse's shoes." + description = "Будьте осторожны с подковами вашей лошади." color = "#c45d09" alcohol_perc = 0.5 drink_icon = "horse_neck" - drink_name = "Horse Neck" - drink_desc = "Be careful with your horse's shoes." - taste_description = "horsepower" + drink_name = "Лошадиная Шея" + drink_desc = "Будьте осторожны с подковами вашей лошади." + taste_description = "лошадиной силы" /datum/reagent/consumable/ethanol/horse_neck/reaction_mob(mob/living/M, method, volume) . = ..() @@ -1953,154 +1953,154 @@ M.say(pick("NEEIIGGGHHHH!", "NEEEIIIIGHH!", "NEIIIGGHH!", "HAAWWWWW!", "HAAAWWW!")) /datum/reagent/consumable/ethanol/cuban_sunset - name = "Cuban Sunset" + name = "Кубинский Закат" id = "cuban_sunset" - description = "A new day, with a new coup." + description = "Новый день, новая революция." color = "#d88948" alcohol_perc = 0.6 drink_icon = "cuban_sunset" - drink_name = "Cuban Sunset" - drink_desc = "A new day, with a new coup." - taste_description = "totalitarianism" + drink_name = "Кубинский Закат" + drink_desc = "Новый день, новая революция." + taste_description = "тоталитаризма" /datum/reagent/consumable/ethanol/sake_bomb - name = "Sake Bomb" + name = "Бомба Сакэ" id = "sake_bomb" - description = "Carpet bombing your bamboo liver." + description = "Ковровая бомбардировка вашей бамбуковой печени." color = "#e2df2e" alcohol_perc = 0.3 drink_icon = "sake_bomb" - drink_name = "Sake Bomb" - drink_desc = "Carpet bombing your bamboo liver." - taste_description = "beer and sake" + drink_name = "Бомба Сакэ" + drink_desc = "Ковровая бомбардировка вашей бамбуковой печени." + taste_description = "пива и саке" /datum/reagent/consumable/ethanol/blue_havai - name = "Blue Havai" + name = "Голубые Гавайи" id = "blue_havai" - description = "The same blue as brown eyes." + description = "Такой же голубой, как и карие глаза." color = "#296129" alcohol_perc = 0.2 drink_icon = "blue_havai" - drink_name = "Blue Havai" - drink_desc = "The same blue as brown eyes." - taste_description = "neon dawn" + drink_name = "Голубые Гавайи" + drink_desc = "Такой же голубой, как и карие глаза." + taste_description = "неонового рассвета" /datum/reagent/consumable/ethanol/woo_woo - name = "Woo Woo" + name = "Ву-Ву" id = "woo_woo" - description = "And which child came up with this name? Yeah, I see, the question is settled." + description = "Какой ребёнок придумал это имя? Да, я вижу, вопрос решён." color = "#e22e2e" alcohol_perc = 0.5 drink_icon = "woo_woo" - drink_name = "Woo Woo" - drink_desc = "And which child came up with this name? Yeah, I see, the question is settled." - taste_description = "woo woo" + drink_name = "Ву-Ву" + drink_desc = "Какой ребёнок придумал это имя? Да, я вижу, вопрос решён." + taste_description = "ву-ву" /datum/reagent/consumable/ethanol/mulled_wine - name = "Mulled Wine" + name = "Глинтвейн" id = "mulled_wine" - description = "Just a hot wine with spices, but so pleasant." + description = "Просто горячее вино со специями, но такое приятное." color = "#fd4b4b" alcohol_perc = 0.2 drink_icon = "mulled_wine" - drink_name = "Mulled Wine" - drink_desc = "Just a hot wine with spices, but so pleasant." - taste_description = "hot wine" + drink_name = "Глинтвейн" + drink_desc = "Просто горячее вино со специями, но такое приятное." + taste_description = "горячего пряного вина" /datum/reagent/consumable/ethanol/white_bear - name = "White Bear" + name = "Белый Медведь" id = "white_bear" - description = "Two historical enemies, in one circle." + description = "Два исторических врага в одном кругу." color = "#d8b465" alcohol_perc = 0.5 drink_icon = "white_bear" - drink_name = "White Bear" - drink_desc = "Two historical enemies, in one circle." - taste_description = "ideological war" + drink_name = "Белый Медведь" + drink_desc = "Два исторических врага в одном кругу." + taste_description = "войны идеологий" /datum/reagent/consumable/ethanol/vampiro - name = "Vampiro" + name = "Вампиро" id = "vampiro" - description = "Has nothing to do with vampires, except that color." + description = "Не имеет ничего общего с вампирами кроме цвета." color = "#8d0000" alcohol_perc = 0.45 drink_icon = "vampiro" - drink_name = "Vampiro" - drink_desc = "Has nothing to do with vampires, except that color." - taste_description = "exhaustion" + drink_name = "Вампиро" + drink_desc = "Не имеет ничего общего с вампирами кроме цвета." + taste_description = "истощения" /datum/reagent/consumable/ethanol/vampiro/on_mob_life(mob/living/M) . = ..() if(volume > 20) if(prob(50)) //no spam here :p - M.visible_message("Глаза [M] ослепительно вспыхивают!") + M.visible_message(span_warning("Глаза [M] ослепительно вспыхивают!")) /datum/reagent/consumable/ethanol/queen_mary - name = "Queen Mary" + name = "Королева Мария" id = "queen_mary" - description = "Mary was cleaned of blood, and it turned out that she was also red." + description = "Мария очистилась от крови, и оказалось, что она тоже красная." color = "#bd2f2f" alcohol_perc = 0.35 drink_icon = "queen_mary" - drink_name = "Queen Mary" - drink_desc = "Mary was cleaned of blood, and it turned out that she was also red." - taste_description = "cherry beer" + drink_name = "Королева Мария" + drink_desc = "Мария очистилась от крови, и оказалось, что она тоже красная." + taste_description = "вишнёвого пива" /datum/reagent/consumable/ethanol/inabox - name = "Box" + name = "Коробка" id = "inabox" - description = "This... Just a box?" + description = "Это... Просто коробка?" color = "#5a3e0b" alcohol_perc = 0.4 drink_icon = "inabox" - drink_name = "Box" - drink_desc = "This... Just a box?" - taste_description = "stealth" + drink_name = "Коробка" + drink_desc = "Это... Просто коробка?" + taste_description = "стелса" /datum/reagent/consumable/ethanol/beer_berry_royal - name = "Beer Berry Royal" + name = "Пиво Королевской Вишни" id = "beer_berry_royal" - description = "For some reason, they continue to float up and down." + description = "По какой-то причине они продолжают подниматься и опускаться, вверх и вниз." color = "#684b16" alcohol_perc = 0.25 drink_icon = "beer_berry_royal" - drink_name = "Beer Berry Royal" - drink_desc = "For some reason, they continue to float up and down." - taste_description = "beer berry" + drink_name = "Пиво Королевской Вишни" + drink_desc = "По какой-то причине они продолжают подниматься и опускаться, вверх и вниз." + taste_description = "ягодного пива" /datum/reagent/consumable/ethanol/sazerac - name = "Sazerac" + name = "Сазерак" id = "sazerac" - description = "The best pharmacists are bartenders." + description = "Лучшие фармацевты - бармены." color = "#7c6232" alcohol_perc = 0.4 drink_icon = "sazerac" - drink_name = "Sazerac" - drink_desc = "The best pharmacists are bartenders." - taste_description = "bitter whiskey" + drink_name = "Сазерак" + drink_desc = "Лучшие фармацевты - бармены." + taste_description = "горького виски" /datum/reagent/consumable/ethanol/monako - name = "Monako" + name = "Монако" id = "monako" - description = "You might think there are more fruits on the market." + description = "Вы можете подумать, что на рынке больше фруктов." color = "#7c6232" alcohol_perc = 0.5 drink_icon = "monako" - drink_name = "Monako" - drink_desc = "You might think there are more fruits on the market." - taste_description = "fruit gin" + drink_name = "Монако" + drink_desc = "Вы можете подумать, что на рынке больше фруктов." + taste_description = "фруктового джина" /datum/reagent/consumable/ethanol/irishempbomb - name = "Irish EMP Bomb" + name = "Ирландская ЭМИ-бомба" id = "irishempbomb" - description = "Mmm, tastes like shut down..." + description = "Ммм, на вкус как отключение..." color = "#123eb8" process_flags = SYNTHETIC alcohol_perc = 0.6 drink_icon = "irishempbomb" - drink_name = "Irish EMP Bomb" - drink_desc = "Mmm, tastes like shut down..." - taste_description = "electromagnetic impulse" + drink_name = "Ирландская ЭМИ-бомба" + drink_desc = "Ммм, на вкус как отключение..." + taste_description = "электромагнитного импульса" /datum/reagent/consumable/ethanol/irishempbomb/on_mob_life(mob/living/M) M.Stun(1, FALSE) @@ -2108,124 +2108,124 @@ return ..() /datum/reagent/consumable/ethanol/codelibre - name = "Code Libre" + name = "Коде Либре" id = "codelibre" - description = "Por Code libre!" + description = "За Коде Либре!" color = "#a126b1" alcohol_perc = 0.55 process_flags = SYNTHETIC drink_icon = "codelibre" - drink_name = "Code Libre" - drink_desc = "Por Code libre!" - taste_description = "code liberation" + drink_name = "Коде Либре" + drink_desc = "За Code libre!" + taste_description = "свободы кода" /datum/reagent/consumable/ethanol/codelibre/on_mob_life(mob/living/M) . = ..() if(prob(10)) - M.say("[get_language_prefix(LANGUAGE_TRINARY)] Viva la Synthetica!") + M.say("[get_language_prefix(LANGUAGE_TRINARY)] Вива ла Синтетика!") /datum/reagent/consumable/ethanol/blackicp - name = "Black ICP" + name = "Чёрный КПБ" id = "blackicp" - description = "I'm sorry I wasn't responding, can you repeat that?" + description = "Извините за игнорирование вопроса, можете повторить запрос?" color = "#a126b1" alcohol_perc = 0.5 drink_icon = "blackicp" - drink_name = "Black ICP" - drink_desc = "I'm sorry I wasn't responding, can you repeat that?" - taste_description = "monitor replacing" + drink_name = "Чёрный КПБ" + drink_desc = "Извините за игнорирование вопроса, можете повторить запрос?" + taste_description = "замены монитора" /datum/reagent/consumable/ethanol/slime_drink - name = "Slime Drink" + name = "Пьяный Слайм" id = "slime_drink" - description = "Don't worry, it's just jelly." + description = "Не волнуйтесь, это просто желе." color = "#dd3e32" alcohol_perc = 0.2 drink_icon = "slime_drink" - drink_name = "Slime Drink" - drink_desc = "Don't worry, it's just jelly. And slime been dead for a long time." - taste_description = "jelly alcohol" + drink_name = "Пьяный Слайм" + drink_desc = "Не волнуйтесь, это просто желе. А слайм уже давно мёртв." + taste_description = "желейного алкоголя" /datum/reagent/consumable/ethanol/innocent_erp - name = "Innocent ERP" + name = "Невинное ЕРП" id = "innocent_erp" - description = "Remember that big brother sees everything." + description = "Большой Брат следит за тобой." color = "#746463" alcohol_perc = 0.5 drink_icon = "innocent_erp" - drink_name = "Innocent ERP" - drink_desc = "Remember that big brother sees everything." - taste_description = "loss of flirtatiousness" + drink_name = "Невинное ЕРП" + drink_desc = "Большой Брат следит за тобой." + taste_description = "запретных желаний" /datum/reagent/consumable/ethanol/nasty_slush - name = "Nasty Slush" + name = "Мерзкая Слякоть" id = "nasty_slush" - description = "The name has nothing to do with the drink itself." + description = "Название не имеет никакого отношения к самому напитку." color = "#462c0a" alcohol_perc = 0.55 drink_icon = "nasty_slush" - drink_name = "Nasty Slush" - drink_desc = "The name has nothing to do with the drink itself." - taste_description = "nasty slush" + drink_name = "Мерзкая Слякоть" + drink_desc = "Название не имеет никакого отношения к самому напитку." + taste_description = "мерзкой слякоти" /datum/reagent/consumable/ethanol/blue_lagoon - name = "Blue Lagoon" + name = "Голубая Лагуна" id = "blue_lagoon" - description = "What could be better than relaxing on the beach with a good drink?" + description = "Что может быть лучше, чем отдых на пляже с хорошим напитком?" color = "#1edddd" alcohol_perc = 0.5 drink_icon = "blue_lagoon" - drink_name = "Blue Lagoon" - drink_desc = "What could be better than relaxing on the beach with a good drink?" - taste_description = "beach relaxation" + drink_name = "Голубая Лагуна" + drink_desc = "Что может быть лучше, чем отдых на пляже с хорошим напитком?" + taste_description = "пляжного отдыха" /datum/reagent/consumable/ethanol/green_fairy - name = "Green Fairy" + name = "Зелёная Фея" id = "green_fairy" - description = "Some kind of abnormal green." + description = "Какой-то ненормальный зелёный." color = "#54dd1e" alcohol_perc = 0.6 drink_icon = "green_fairy" - drink_name = "Green Fairy" - drink_desc = "Some kind of abnormal green." - taste_description = "faith in fairies" + drink_name = "Зелёная Фея" + drink_desc = "Какой-то ненормальный зелёный." + taste_description = "веры в фей" /datum/reagent/consumable/ethanol/green_fairy/on_mob_life(mob/living/M) M.SetDruggy(min(max(0, M.AmountDruggy() + 10 SECONDS), 15 SECONDS)) return ..() /datum/reagent/consumable/ethanol/home_lebovsky - name = "Home Lebowski" + name = "Домашний Лебовски" id = "home_lebovsky" - description = "Let me explain something to you. Um, I am not Home Lebowski. You're Home Lebowski. I'm The Dude." + description = "Позволь мне кое-что тебе объяснить. Я не Домашний Лебовски. Иы Домашний Лебовски. Я Чувак." color = "#422b00" alcohol_perc = 0.35 drink_icon = "home_lebovsky" - drink_name = "Home Lebowski" - drink_desc = "Let me explain something to you. Um, I am not Home Lebowski. You're Home Lebowski. I'm The Dude." + drink_name = "Домашний Лебовски" + drink_desc = "Позволь мне кое-что тебе объяснить. Я не Домашний Лебовски. Ты Домашний Лебовски. Я Чувак." taste_description = "dressing gown" /datum/reagent/consumable/ethanol/top_billing - name = "Top Billing" + name = "Топ Биллинг" id = "top_billing" - description = "In a prominent place, our top billing!" + description = "На видном месте, наша главная заслуга!" color = "#0b573d" alcohol_perc = 0.4 drink_icon = "top_billing" - drink_name = "Top Billing" - drink_desc = "In a prominent place, our top billing!" - taste_description = "advertising space" + drink_name = "Топ Биллинг" + drink_desc = "На видном месте, наша главная заслуга!" + taste_description = "рекламного пространства" /datum/reagent/consumable/ethanol/trans_siberian_express - name = "Trans-Siberian Express" + name = "Транссибирский экспресс" id = "trans_siberian_express" - description = "From Vladivostok to delirium tremens in a day." + description = "От Владивостока до белой горячки за один день." color = "#e2a600" alcohol_perc = 0.5 drink_icon = "trans_siberian_express" - drink_name = "Trans-Siberian express" - drink_desc = "From Vladivostok to delirium tremens in a day." - taste_description = "terrible infrastructure" + drink_name = "Транссибирский экспресс" + drink_desc = "От Владивостока до белой горячки за один день." + taste_description = "ужасной инфрастуктуры" /datum/reagent/consumable/ethanol/trans_siberian_express/on_mob_life(mob/living/M) . = ..() @@ -2247,60 +2247,60 @@ M.default_language = null /datum/reagent/consumable/ethanol/sun - name = "Sun" + name = "Солнце" id = "sun" description = "Red sun over paradise!" color = "#bd1c1c" alcohol_perc = 0.4 drink_icon = "sun" - drink_name = "Sun" + drink_name = "Солнце" drink_desc = "Red sun over paradise!" - taste_description = "sun heat" + taste_description = "солнечной жары" /datum/reagent/consumable/ethanol/tick_tack - name = "Tick-Tock" + name = "Тик-Ток" id = "tick_tack" - description = "Tick-Tock, Tick-Tock Bzzzzz..." + description = "Тик-Ток, Тик-Ток, бззз..." color = "#118020" alcohol_perc = 0.3 drink_icon = "tick_tack" - drink_name = "Tick-Tock" - drink_desc = "Tick-Tock, Tick-Tock Bzzzzz..." - taste_description = "clock tick" + drink_name = "Тик-Ток" + drink_desc = "Тик-Ток, Тик-Ток, бззз..." + taste_description = "тиканья часов" /datum/reagent/consumable/ethanol/uragan_shot - name = "Uragan Shot" + name = "Ураганный Выстрел" id = "uragan_shot" - description = "Is it a uragan? But no, it's urahol." + description = "Это ураган? Нет, это урагон." color = "#da6631" alcohol_perc = 0.35 drink_icon = "uragan_shot" - drink_name = "Uragan Shot" - drink_desc = "Is it a uragan? But no, it's urahol." - taste_description = "gusts of wind" + drink_name = "Ураганный Выстрел" + drink_desc = "Это ураган? Нет, это урагон." + taste_description = "порывов ветра" /datum/reagent/consumable/ethanol/new_yorker - name = "New Yorker" + name = "Нью-Йоркер" id = "new_yorker" - description = "Be careful with the stock exchange, otherwise it will be 'Black Tuesday.'" + description = "Будьте осторожны с биржей, иначе наступит \"чёрный вторник\"." color = "#da3131" alcohol_perc = 0.4 drink_icon = "new_yorker" - drink_name = "New Yorker" - drink_desc = "Be careful with the stock exchange, otherwise it will be 'Black Tuesday.'" - taste_description = "the collapse" + drink_name = "Нью-Йоркер" + drink_desc = "Будьте осторожны с биржей, иначе наступит \"чёрный вторник\"." + taste_description = "катастрофы" /datum/reagent/consumable/ethanol/blue_moondrin - name = "Iluk Blue Moon'drin" + name = "Илукский Синий Мун`дрин" id = "blue_moondrin" - description = "Rarest tajaran drink in the galaxy! Be careful with your Captain!" + description = "Редчайший таяранский напиток в галактике! Будьте осторожны с вашим капитаном!" color = "#0026fc" alcohol_perc = 0.7 addiction_chance = 4 drink_icon = "blue_moondrin" - drink_name = "Iluk Blue Moon'drin" - drink_desc = "Rarest tajaran drink in the galaxy! Be careful with your Captain!" - taste_description = "the blue set-up" + drink_name = "Илукский Синий Мун`дрин" + drink_desc = "Редчайший таяранский напиток в галактике! Будьте осторожны с вашим капитаном!" + taste_description = "синего выключения" /datum/reagent/consumable/ethanol/blue_moondrin/on_mob_life(mob/living/M) M.Druggy(30 SECONDS, FALSE) @@ -2327,16 +2327,16 @@ return ..() /datum/reagent/consumable/ethanol/red_moondrin - name = "Redwater Moon'drin" + name = "Красноводный Мун`дрин" id = "red_moondrin" - description = "Illegal tajaran drink in Adomai, but maybe not here! Dangerous moon'drin based drink with secret ingridient. Be careful with this stuff!" + description = "Запрещённый на Адомае таяранский напиток, но не здесь! Опасное пойло на основе лун'дрина с тайным ингридиентом. Будьте осторожны!" color = "#960202" alcohol_perc = 0.9 addiction_chance = 7 drink_icon = "red_moondrin" - drink_name = "Redwater Moon'drin" - drink_desc = "Dangerous moon'drin based tajaran drink with secret ingridient. It seems legal but also wrong..." - taste_description = "blood red pain in your stomach! But it feels so go-o-o-o-od.." + drink_name = "Красноводный Мун`дрин" + drink_desc = "Запрещённый на Адомае таяранский напиток, но не здесь! Опасное пойло на основе лун'дрина с тайным ингридиентом. Будьте осторожны!" + taste_description = "приятного, но болезненного ощущения в желудке" /datum/reagent/consumable/ethanol/red_moondrin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -2356,7 +2356,7 @@ M.Stuttering(10 SECONDS) M.playsound_local(src, 'sound/effects/heartbeat.ogg', 1) if(prob(20)) - to_chat(M, "You feel strange...") + to_chat(M, span_warning("Вы чувствуете себя странно...")) M.emote("scream") M.playsound_local(src, 'sound/spookoween/ghost_whisper.ogg', 5) M.AdjustHallucinate(40 SECONDS) @@ -2364,7 +2364,7 @@ if(prob(5)) M.playsound_local(src,'sound/hallucinations/look_up1.ogg', 1) M.emote("gasp") - to_chat(M, "You can't breathe! But it feels GOOD!") + to_chat(M, span_warning("Вы не можете дышать! Но это так приятно!")) update_flags |= M.adjustOxyLoss(15, FALSE) update_flags |= M.adjustToxLoss(2, FALSE) M.Stun(2 SECONDS) @@ -2379,7 +2379,7 @@ M.AdjustHallucinate(30 SECONDS) M.playsound_local(src,'sound/hallucinations/i_see_you2.ogg', 1) if(prob(20)) - to_chat(M, "You feel pain!") + to_chat(M, span_warning("Вам больно!")) M.emote("scream") M.playsound_local(src, 'sound/spookoween/ghost_whisper.ogg', 5) M.AdjustHallucinate(40 SECONDS) @@ -2388,13 +2388,13 @@ M.playsound_local(src, 'sound/effects/heartbeat.ogg', 2) M.playsound_local(src,'sound/hallucinations/growl1.ogg', 1) M.emote("gasp") - to_chat(M, "You can't breathe! But it feels GOOD!") + to_chat(M, span_warning("Вы не можете дышать! Но это так приятно!")) update_flags |= M.adjustOxyLoss(15, FALSE) update_flags |= M.adjustToxLoss(2, FALSE) M.Stun(2 SECONDS) if(prob(3)) M.playsound_local(src, 'sound/effects/heartbeat.ogg', 2) - to_chat(M, "You feel like you're being watched!") + to_chat(M, span_warning("Вам кажется, что вас кто-то преследует!")) M.playsound_local(src,'sound/hallucinations/growl2.ogg', 1) M.emote(pick("drool","scream")) M.Jitter(20 SECONDS) @@ -2404,17 +2404,17 @@ return ..() | update_flags /datum/reagent/consumable/ethanol/synthanol/restart - name = "Restart" + name = "Перезагрузка" id = "restart" - description = "Sometimes you just need to start anew" + description = "Иногда нужно начать всё сначала." color = "#0026fc" reagent_state = LIQUID process_flags = SYNTHETIC alcohol_perc = 1.5 drink_icon = "restart" - drink_name = "Glass of Restart" - drink_desc = "Sometimes you just need to start anew" - taste_description = "system reset" + drink_name = "Перезагрузка" + drink_desc = "Иногда нужно начать всё сначала." + taste_description = "перезагрузки" /datum/reagent/consumable/ethanol/synthanol/restart/on_mob_life(mob/living/carbon/human/M) var/update_flags = STATUS_UPDATE_NONE @@ -2424,7 +2424,7 @@ if(prob(10)) M.emote(pick("twitch","giggle")) if(prob(5)) - to_chat(M, "Rebooting..") + to_chat(M, span_notice("Перезагрузка системы...")) if(14) playsound(get_turf(M),'sound/effects/restart-shutdown.ogg', 200, 1) if(15 to 23) diff --git a/code/modules/reagents/chemistry/reagents/disease.dm b/code/modules/reagents/chemistry/reagents/disease.dm index dd14a22b989..307ee10d96b 100644 --- a/code/modules/reagents/chemistry/reagents/disease.dm +++ b/code/modules/reagents/chemistry/reagents/disease.dm @@ -1,7 +1,7 @@ /datum/reagent/spider_eggs - name = "spider eggs" + name = "Паучьи яйца" id = "spidereggs" - description = "A fine dust containing spider eggs. Oh gosh." + description = "Мелкая пыль, содержащая паучьи яйца. О боже." reagent_state = SOLID color = "#FFFFFF" can_synth = FALSE @@ -16,9 +16,9 @@ /datum/reagent/nanomachines - name = "Nanomachines" + name = "Наномашины" id = "nanomachines" - description = "Microscopic construction robots." + description = "Микроскопические строительные роботы." color = "#535E66" // rgb: 83, 94, 102 can_synth = FALSE taste_mult = 0 @@ -31,9 +31,9 @@ /datum/reagent/xenomicrobes - name = "Xenomicrobes" + name = "Ксеномикробы" id = "xenomicrobes" - description = "Microbes with an entirely alien cellular structure." + description = "Микробы с совершенно чужеродной клеточной структурой." color = "#535E66" // rgb: 83, 94, 102 can_synth = FALSE taste_mult = 0 @@ -45,9 +45,9 @@ return ..() /datum/reagent/fungalspores - name = "Tubercle bacillus Cosmosis microbes" + name = "Микробы Космического Туберкулёза" id = "fungalspores" - description = "Active fungal spores." + description = "Активные споры грибов." color = "#92D17D" // rgb: 146, 209, 125 can_synth = FALSE taste_mult = 0 @@ -59,9 +59,9 @@ return ..() /datum/reagent/jagged_crystals - name = "Jagged Crystals" + name = "Зазубренные кристаллы" id = "jagged_crystals" - description = "Rapid chemical decomposition has warped these crystals into twisted spikes." + description = "В результате быстрого химического разложения эти кристаллы превратились в витые шипы." reagent_state = SOLID color = "#FA0000" // rgb: 250, 0, 0 can_synth = FALSE @@ -73,9 +73,9 @@ return ..() /datum/reagent/salmonella - name = "Salmonella" + name = "Сальмонелла" id = "salmonella" - description = "A nasty bacteria found in spoiled food." + description = "Отвратительная бактерия, встречающаяся в испорченных продуктах." reagent_state = LIQUID color = "#1E4600" can_synth = FALSE @@ -87,9 +87,9 @@ return ..() /datum/reagent/gibbis - name = "Gibbis" + name = "Гиббис" id = "gibbis" - description = "Liquid gibbis." + description = "Гиббис в жидкой форме." reagent_state = LIQUID color = "#FF0000" can_synth = FALSE @@ -102,9 +102,9 @@ return ..() /datum/reagent/prions - name = "Prions" + name = "Прионы" id = "prions" - description = "A disease-causing agent that is neither bacterial nor fungal nor viral and contains no genetic material." + description = "Возбудитель болезни, который не является ни бактериальным, ни грибковым, ни вирусным агентом и не содержит генетического материала." reagent_state = LIQUID color = "#FFFFFF" can_synth = FALSE @@ -117,9 +117,9 @@ return ..() /datum/reagent/grave_dust - name = "Grave Dust" + name = "Могильная пыль" id = "grave_dust" - description = "Moldy old dust taken from a grave site." + description = "Заплесневелая пыль, взятая кладбища." reagent_state = LIQUID color = "#465046" can_synth = FALSE @@ -132,13 +132,13 @@ return ..() /datum/reagent/bacon_grease - name = "pure bacon grease" + name = "Чистый сальный жир" id = "bacon_grease" - description = "Hook me up to an IV of that sweet, sweet stuff!" + description = "Принесите мне капельницу этого сладкого, сладкого жира!" reagent_state = LIQUID color = "#F7E6B1" can_synth = FALSE - taste_description = "bacon" + taste_description = "бекона" /datum/reagent/bacon_grease/on_mob_life(mob/living/carbon/M) if(volume > 4.5) @@ -147,9 +147,9 @@ return ..() /datum/reagent/heartworms - name = "Space heartworms" + name = "Сердечные черви" id = "heartworms" - description = "Aww, gross! These things can't be good for your heart. They're gunna eat it!" + description = "Какая гадость! Эти черви будут не против полакомиться твоим сердечком!" reagent_state = SOLID color = "#925D6C" can_synth = FALSE @@ -166,9 +166,9 @@ return ..() /datum/reagent/concentrated_initro - name = "Concentrated Initropidril" + name = "Сгущённый инитропидрил" id = "concentrated_initro" - description = "A guaranteed heart-stopper!" + description = "Остановка сердца в жидкой форме!" reagent_state = LIQUID color = "#AB1CCF" can_synth = FALSE @@ -185,39 +185,39 @@ //virus foods /datum/reagent/consumable/virus_food - name = "Virus Food" + name = "Питательная среда" id = "virusfood" - description = "A mixture of water, milk, and oxygen. Virus cells can use this mixture to reproduce." + description = "Смесь воды, молока и кислорода. Вирусные клетки могут использовать эту смесь для размножения." reagent_state = LIQUID nutriment_factor = 2 * REAGENTS_METABOLISM color = "#899613" // rgb: 137, 150, 19 - taste_description = "watery milk" + taste_description = "водянистого молока" /datum/reagent/mutagen/mutagenvirusfood - name = "mutagenic agar" + name = "Мутагенный агар" id = "mutagenvirusfood" - description = "mutates blood" + description = "Вещество, способствующее ускоренной мутации вирусных форм жизни." color = "#A3C00F" // rgb: 163,192,15 /datum/reagent/mutagen/mutagenvirusfood/sugar - name = "sucrose agar" + name = "Сахарный агар" id = "sugarvirusfood" color = "#41B0C0" // rgb: 65,176,192 taste_mult = 1.5 /datum/reagent/medicine/diphenhydramine/diphenhydraminevirusfood - name = "virus rations" + name = "Вирусный пайки" id = "diphenhydraminevirusfood" - description = "mutates blood" + description = "Вещество, способствующее ускоренной мутации вирусных форм жизни." color = "#D18AA5" // rgb: 209,138,165 /datum/reagent/plasma_dust/plasmavirusfood - name = "virus plasma" + name = "Вирусная плазма" id = "plasmavirusfood" - description = "mutates blood" + description = "Вещество, способствующее ускоренной мутации вирусных форм жизни." color = "#A69DA9" // rgb: 166,157,169 /datum/reagent/plasma_dust/plasmavirusfood/weak - name = "weakened virus plasma" + name = "Ослабленная вирусная плазма" id = "weakplasmavirusfood" color = "#CEC3C6" // rgb: 206,195,198 diff --git a/code/modules/reagents/chemistry/reagents/drink_base.dm b/code/modules/reagents/chemistry/reagents/drink_base.dm index 3da589f8a58..54d9890aa36 100644 --- a/code/modules/reagents/chemistry/reagents/drink_base.dm +++ b/code/modules/reagents/chemistry/reagents/drink_base.dm @@ -1,11 +1,11 @@ /datum/reagent/consumable/drink - name = "Drink" + name = "Напиток" id = "drink" - description = "Uh, some kind of drink." + description = "Напиток, вроде как." reagent_state = LIQUID color = "#E78108" // rgb: 231, 129, 8 harmless = TRUE - taste_description = "something which should not exist" + taste_description = "чего-то неописуемого" var/adj_dizzy = 0 var/adj_drowsy = 0 var/adj_sleepy = 0 diff --git a/code/modules/reagents/chemistry/reagents/drink_cold.dm b/code/modules/reagents/chemistry/reagents/drink_cold.dm index 8cd5537deee..bac5ce04933 100644 --- a/code/modules/reagents/chemistry/reagents/drink_cold.dm +++ b/code/modules/reagents/chemistry/reagents/drink_cold.dm @@ -1,64 +1,64 @@ /datum/reagent/consumable/drink/cold - name = "Cold drink" + name = "Прохладительный напиток" adj_temp_cool = 5 /datum/reagent/consumable/drink/cold/tonic - name = "Tonic Water" + name = "Тоник" id = "tonic" - description = "It tastes strange but at least the quinine keeps the Space Malaria at bay." + description = "Вкус странный, но, по крайней мере, хинин держит Космическую Малярию на расстоянии." color = "#664300" // rgb: 102, 67, 0 adj_dizzy = -10 SECONDS adj_drowsy = -6 SECONDS adj_sleepy = -4 SECONDS drink_icon = "glass_clear" - drink_name = "Glass of Tonic Water" - drink_desc = "Quinine tastes funny, but at least it'll keep that Space Malaria away." - taste_description = "bitterness" + drink_name = "стакан тоника" + drink_desc = "Хинин на вкус не очень приятный, но, по крайней мере, он убережёт от Космической Малярии." + taste_description = "горечи" /datum/reagent/consumable/drink/cold/sodawater - name = "Soda Water" + name = "Содовая вода" id = "sodawater" - description = "A can of club soda. Why not make a scotch and soda?" + description = "Содовая, потрясно." color = "#619494" // rgb: 97, 148, 148 adj_dizzy = -10 SECONDS adj_drowsy = -6 SECONDS drink_icon = "glass_clear" - drink_name = "Glass of Soda Water" - drink_desc = "Soda water. Why not make a scotch and soda?" - taste_description = "fizz" + drink_name = "стакан газированный воды" + drink_desc = "Газированная вода. Почему бы не сделать виски с содовой?" + taste_description = "шипучей газировки" /datum/reagent/consumable/drink/cold/ice - name = "Ice" + name = "Лёд" id = "ice" - description = "Frozen water, your dentist wouldn't like you chewing this." + description = "Замороженная вода. Не стоит жевать, если не хочешь повредить свои зубы." reagent_state = SOLID color = "#619494" // rgb: 97, 148, 148 adj_temp_cool = 0 drink_icon = "iceglass" - drink_name = "Glass of ice" - drink_desc = "Generally, you're supposed to put something else in there too..." - taste_description = "cold" + drink_name = "стакан льда" + drink_desc = "Вообще-то, вы должны положить туда ещё что-нибудь..." + taste_description = "холодного льда" /datum/reagent/consumable/drink/cold/ice/on_mob_life(mob/living/M) M.adjust_bodytemperature(-(5 * TEMPERATURE_DAMAGE_COEFFICIENT)) return ..() /datum/reagent/consumable/drink/cold/space_cola - name = "Cola" + name = "Кола" id = "cola" - description = "A refreshing beverage." + description = "Освежающий напиток." reagent_state = LIQUID color = "#100800" // rgb: 16, 8, 0 adj_drowsy = -10 SECONDS drink_icon = "glass_brown" - drink_name = "Glass of Space Cola" - drink_desc = "A glass of refreshing Space Cola" - taste_description = "cola" + drink_name = "стакан колы" + drink_desc = "Стакан освежающей КосмоКолы." + taste_description = "колы" /datum/reagent/consumable/drink/cold/energy - name = "Energy Drink" + name = "Энергетический напиток" id = "energetik" - description = "A refreshing beverage." + description = "Освежающий напиток." reagent_state = LIQUID color = "#a9c725" adj_drowsy = -6 SECONDS @@ -70,9 +70,9 @@ addiction_chance = 1 addiction_threshold = 200 drink_icon = "lemonglass" - drink_name = "Glass of Classic Energy Drink" - drink_desc = "A glass of of invigorating energy drink" - taste_description = "tutti frutti" + drink_name = "стакан энергетического напитка" + drink_desc = "Стакан бодрящего энергетика." + taste_description = "сладких фруктов" /datum/reagent/consumable/drink/cold/energy/New() addict_supertype = /datum/reagent/consumable/drink/cold/energy @@ -100,32 +100,32 @@ return list(0, STATUS_UPDATE_NONE) /datum/reagent/consumable/drink/cold/energy/trop - name = "Tropickal Energy" + name = "Тропикал Энерджи" id = "trop_eng" - taste_description = "mango and coconut" + taste_description = "манго и кокоса" /datum/reagent/consumable/drink/cold/energy/milk - name = "Milk Energy" + name = "Милк Энерджи" id = "milk_eng" - taste_description = "milk and taurin" + taste_description = "молока и таурина" /datum/reagent/consumable/drink/cold/energy/grey - name = "GreyPower Energy" + name = "ГрейПауэр Энерджи" id = "grey_eng" color = "#9dc2d1" - taste_description = "robust" + taste_description = "робаста" /datum/reagent/consumable/drink/cold/nuka_cola - name = "Nuka Cola" + name = "Нюка-кола" id = "nuka_cola" - description = "Cola, cola never changes." + description = "Кола, кола никогда не меняется." color = "#100800" // rgb: 16, 8, 0 adj_sleepy = -4 SECONDS drink_icon = "nuka_colaglass" - drink_name = "Nuka Cola" - drink_desc = "Don't cry, Don't raise your eye, It's only nuclear wasteland" + drink_name = "Нюка-кола" + drink_desc = "Don't cry, Don't raise your eye, It's only nuclear wasteland..." harmless = FALSE - taste_description = "radioactive cola" + taste_description = "радиоактивной колы" /datum/reagent/consumable/drink/cold/nuka_cola/on_mob_life(mob/living/user) @@ -150,98 +150,98 @@ /datum/reagent/consumable/drink/cold/spacemountainwind - name = "Space Mountain Wind" + name = "Космический Маунтин Винд" id = "spacemountainwind" - description = "Blows right through you like a space wind." + description = "Проходит насквозь, словно космический ветер." color = "#102000" // rgb: 16, 32, 0 adj_drowsy = -14 SECONDS adj_sleepy = -2 SECONDS drink_icon = "Space_mountain_wind_glass" - drink_name = "Glass of Space Mountain Wind" - drink_desc = "Space Mountain Wind. As you know, there are no mountains in space, only wind." - taste_description = "lime soda" + drink_name = "стакан Космического Маунтин Винда" + drink_desc = "Космический Маунтин Винд. Как вы знаете, в космосе нет гор, только ветер." + taste_description = "лаймовой газировки" /datum/reagent/consumable/drink/cold/dr_gibb - name = "Dr. Gibb" + name = "Доктор Гибб" id = "dr_gibb" - description = "A delicious blend of 42 different flavours" + description = "Освежающая смесь из 42 различных вкусов!" color = "#102000" // rgb: 16, 32, 0 adj_drowsy = -12 SECONDS drink_icon = "dr_gibb_glass" - drink_name = "Glass of Dr. Gibb" - drink_desc = "Dr. Gibb. Not as dangerous as the name might imply." - taste_description = "cherry soda" + drink_name = "стакан Доктора Гибба" + drink_desc = "Доктор Гибб. Не так опасен, как может показаться." + taste_description = "вишнёвой газировки" /datum/reagent/consumable/drink/cold/space_up - name = "Space-Up" + name = "Спейс-Ап" id = "space_up" - description = "Tastes like a hull breach in your mouth." + description = "На вкус как дыра в обшивке у вас во рту. Да, звучит странно." color = "#202800" // rgb: 32, 40, 0 adj_temp_cool = 8 drink_icon = "space-up_glass" - drink_name = "Glass of Space-up" - drink_desc = "Space-up. It helps keep your cool." - taste_description = "lemon soda" + drink_name = "стакан Спейс-Апа" + drink_desc = "Спейс-Ап. Держит вас в тонусе." + taste_description = "лимонной газировки" /datum/reagent/consumable/drink/cold/lemon_lime - name = "Lemon Lime" - description = "A tangy substance made of 0.5% natural citrus!" + name = "Лимон-Лайм" + description = "Терпкая газировка, состоящяя на 0,5% из натуральных цитрусовых!" id = "lemon_lime" color = "#878F00" // rgb: 135, 40, 0 adj_temp_cool = 8 - taste_description = "citrus soda" + taste_description = "цитрусовой газировки" /datum/reagent/consumable/drink/cold/lemonade - name = "Lemonade" - description = "Oh the nostalgia..." + name = "Лимонад" + description = "Если жизнь даёт вам лимоны..." id = "lemonade" color = "#FFFF00" // rgb: 255, 255, 0 drink_icon = "lemonade" - drink_name = "Lemonade" - drink_desc = "Oh the nostalgia..." - taste_description = "lemonade" + drink_name = "Лимонад" + drink_desc = "Как в старые добрые..." + taste_description = "лимонада" /datum/reagent/consumable/drink/cold/kiraspecial - name = "Kira Special" - description = "Long live the guy who everyone had mistaken for a girl. Baka!" + name = "Кира Спешл" + description = "Да здравствует парень, которого все принимали за девушку. Бака!" id = "kiraspecial" color = "#CCCC99" // rgb: 204, 204, 153 drink_icon = "kiraspecial" - drink_name = "Kira Special" - drink_desc = "Long live the guy who everyone had mistaken for a girl. Baka!" - taste_description = "citrus soda" + drink_name = "Кира Спешл" + drink_desc = "Да здравствует парень, которого все принимали за девушку. Бака!" + taste_description = "цитрусовой газировки" /datum/reagent/consumable/drink/cold/brownstar - name = "Brown Star" - description = "It's not what it sounds like..." + name = "Браун Стар" + description = "Это не то, чем кажется..." id = "brownstar" color = "#9F3400" // rgb: 159, 052, 000 adj_temp_cool = 2 drink_icon = "brownstar" - drink_name = "Brown Star" - drink_desc = "Its not what it sounds like..." - taste_description = "orange soda" + drink_name = "Браун Стар" + drink_desc = "Это не то, чем кажется..." + taste_description = "апельсиновой газировки" /datum/reagent/consumable/drink/cold/milkshake - name = "Milkshake" - description = "Glorious brainfreezing mixture." + name = "Молочный коктейль" + description = "Великолепная леденящая мозг смесь." id = "milkshake" color = "#AEE5E4" // rgb" 174, 229, 228 adj_temp_cool = 9 drink_icon = "milkshake" - drink_name = "Milkshake" - drink_desc = "Glorious brainfreezing mixture." - taste_description = "milkshake" + drink_name = "Молочный коктейль" + drink_desc = "Великолепная леденящая мозг смесь." + taste_description = "молочного коктейля" /datum/reagent/consumable/drink/cold/rewriter - name = "Rewriter" - description = "The secret of the sanctuary of the Librarian..." + name = "Переписчик" + description = "Тайна святилища Библиотекаря..." id = "rewriter" color = "#485000" // rgb:72, 080, 0 drink_icon = "rewriter" - drink_name = "Rewriter" - drink_desc = "The secret of the sanctuary of the Librarian..." - taste_description = "coffee...soda?" + drink_name = "Переписчик" + drink_desc = "Тайна святилища Библиотекаря..." + taste_description = "кофейной газировки" /datum/reagent/consumable/drink/cold/rewriter/on_mob_life(mob/living/M) M.Jitter(10 SECONDS) @@ -249,15 +249,15 @@ /datum/reagent/consumable/drink/cold/zaza - name = "Zaza" - description = "The sharp delicious smell of cherries emanates from the drink." + name = "Заза" + description = "От напитка исходит стойкий запах вишни. Изумительно." id = "zaza" color = "#b10023" // rgb:177, 0, 35 drink_icon = "zaza" - drink_name = "Zaza" - drink_desc = "A glass filled with cherry drink, for a great Zaza Friday." - taste_description = "delicious shugary water taste" - var/alternate_taste_description = "something messing flavor of this juice... just sugary water taste" + drink_name = "стакан Зазы" + drink_desc = "Стакан, наполненный вишнёвым напитком, для отличной Заза-пятницы." + taste_description = "восхитительной вишнёвой газировки" + var/alternate_taste_description = "неприятной приторно-сладкой воды" var/healamount = 0.5 @@ -277,13 +277,13 @@ /datum/reagent/consumable/drink/cold/zaza/fizzy - description = "The sharp delicious smell of cherries emanates from the sparkling drink." + description = "От пузырящегося напитка исходит стойкий запах вишни. Изумительно." color = "#f30028" // rgb:243, 0, 40 id = "zazafizzy" drink_icon = "zaza_fizzy" - drink_desc = "A glass filled with cherry drink, for a great Zaza Friday. Now with bubbles!" - taste_description = "delicious fizzy water taste" - alternate_taste_description = "something messing flavor of this drink... just fizzy water taste" + drink_desc = "Стакан, наполненный вишнёвым напитком, для отличной Заза-пятницы. Теперь с пузырьками!" + taste_description = "восхитительной шипучей вишнёвой газировки" + alternate_taste_description = "неприятной приторно-сладкой газированной воды" healamount = 0.25 diff --git a/code/modules/reagents/chemistry/reagents/drinks.dm b/code/modules/reagents/chemistry/reagents/drinks.dm index c52fd0bab7f..a3b914d8840 100644 --- a/code/modules/reagents/chemistry/reagents/drinks.dm +++ b/code/modules/reagents/chemistry/reagents/drinks.dm @@ -1,12 +1,12 @@ /datum/reagent/consumable/drink/orangejuice - name = "Orange juice" + name = "Апельсиновый сок" id = "orangejuice" - description = "Both delicious AND rich in Vitamin C, what more do you need?" + description = "И вкусно, и богато витамином С - что ещё нужно?" color = "#E78108" // rgb: 231, 129, 8 drink_icon = "glass_orange" - drink_name = "Glass of Orange juice" - drink_desc = "Vitamins! Yay!" - taste_description = "orange juice" + drink_name = "стакан апельсинового сока" + drink_desc = "Витамины! Круто!" + taste_description = "апельсиного сока" /datum/reagent/consumable/drink/orangejuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -15,24 +15,24 @@ return ..() | update_flags /datum/reagent/consumable/drink/tomatojuice - name = "Tomato Juice" + name = "Томатный сок" id = "tomatojuice" - description = "Tomatoes made into juice. What a waste of big, juicy tomatoes, huh?" + description = "Почему томатный, а не помидорный сок?" color = "#731008" // rgb: 115, 16, 8 drink_icon = "glass_red" - drink_name = "Glass of Tomato juice" - drink_desc = "Are you sure this is tomato juice?" - taste_description = "tomato juice" + drink_name = "стакан томатного сока" + drink_desc = "Это точно томатный сок?" + taste_description = "томатного сока" /datum/reagent/consumable/drink/pineapplejuice - name = "Pineapple Juice" + name = "Ананасовый сок" id = "pineapplejuice" - description = "Pineapples juiced into a liquid. Sweet and sugary." + description = "Ананасы, выжатые до жидкого состояния. Сладко и приторно." color = "#e5b437" drink_icon = "glass_orange" - drink_name = "Glass of pineapple juice" - drink_desc = "A bright drink, sweet and sugary." - taste_description = "pineapple juice" + drink_name = "стакан ананасового сока" + drink_desc = "Яркий напиток, сладкий и приторный." + taste_description = "ананасового сока" /datum/reagent/consumable/drink/tomatojuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -41,14 +41,14 @@ return ..() | update_flags /datum/reagent/consumable/drink/limejuice - name = "Lime Juice" + name = "Лаймовый сок" id = "limejuice" - description = "The sweet-sour juice of limes." + description = "Кисло-сладкий сок лайма." color = "#365E30" // rgb: 54, 94, 48 drink_icon = "glass_green" - drink_name = "Glass of Lime juice" - drink_desc = "A glass of sweet-sour lime juice." - taste_description = "lime juice" + drink_name = "стакан лаймового сока" + drink_desc = "Стакан кисло-сладкого сока лайма." + taste_description = "лаймового сока" /datum/reagent/consumable/drink/limejuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -57,14 +57,14 @@ return ..() | update_flags /datum/reagent/consumable/drink/carrotjuice - name = "Carrot juice" + name = "Морковный сок" id = "carrotjuice" - description = "It is just like a carrot but without crunching." + description = "Это как морковь, только без хруста. Полезно для глаз!" color = "#973800" // rgb: 151, 56, 0 drink_icon = "carrotjuice" - drink_name = "Glass of carrot juice" - drink_desc = "It is just like a carrot but without crunching." - taste_description = "carrot juice" + drink_name = "стакан морковного сока" + drink_desc = "Это как морковь, только без хруста. Полезно для глаз!" + taste_description = "морковного сока" /datum/reagent/consumable/drink/carrotjuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -79,15 +79,15 @@ return ..() | update_flags /datum/reagent/consumable/drink/doctor_delight - name = "The Doctor's Delight" + name = "Радость Доктора" id = "doctorsdelight" - description = "A gulp a day keeps the MediBot away. That's probably for the best." + description = "Полезная смесь соков, которая поможет вам восстановиться перед следующей зарубой на тулбоксах." reagent_state = LIQUID color = "#FF8CFF" // rgb: 255, 140, 255 drink_icon = "doctorsdelightglass" - drink_name = "Doctor's Delight" - drink_desc = "A healthy mixture of juices, guaranteed to keep you healthy until the next toolboxing takes place." - taste_description = "healthy dietary choices" + drink_name = "стакан Радости Доктора" + drink_desc = "Полезная смесь соков, которая поможет вам восстановиться перед следующей зарубой на тулбоксах." + taste_description = "здорового питания" /datum/reagent/consumable/drink/doctor_delight/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -96,85 +96,85 @@ return ..() | update_flags /datum/reagent/consumable/drink/triple_citrus - name = "Triple Citrus" + name = "Тройной Цитрус" id = "triple_citrus" - description = "A refreshing mixed drink of orange, lemon and lime juice." + description = "Освежающий микс из сока различных цитрусовых. Замечательно." reagent_state = LIQUID color = "#23A046" drink_icon = "triplecitrus" - drink_name = "Glass of Triplecitrus Juice" - drink_desc = "As colorful and healthy as it is delicious." - taste_description = "citrus juice" + drink_name = "стакан Тройного Цитруса" + drink_desc = "Освежающий микс из сока различных цитрусовых. Замечательно." + taste_description = "сока цитрусовых" /datum/reagent/consumable/drink/triple_citrus/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_INGEST) M.adjustToxLoss(-rand(1,2)) /datum/reagent/consumable/drink/berryjuice - name = "Berry Juice" + name = "Ягодный сок" id = "berryjuice" - description = "A delicious blend of several different kinds of berries." + description = "Вкусная смесь из нескольких видов ягод." color = "#863333" // rgb: 134, 51, 51 drink_icon = "berryjuice" - drink_name = "Glass of berry juice" - drink_desc = "Berry juice. Or maybe its jam. Who cares?" - taste_description = "berry juice" + drink_name = "стакан ягодного сока" + drink_desc = "Вкусная смесь из нескольких видов ягод." + taste_description = "ягодного сока" /datum/reagent/consumable/drink/poisonberryjuice - name = "Poison Berry Juice" + name = "Сок из ядовитых ягод" id = "poisonberryjuice" - description = "A tasty juice blended from various kinds of very deadly and toxic berries." + description = "Вкусная смесь из нескольких видов ядовитых и опасных ягод." color = "#863353" // rgb: 134, 51, 83 drink_icon = "poisonberryjuice" - drink_name = "Glass of poison berry juice" - drink_desc = "A glass of deadly juice." - taste_description = "berry juice" + drink_name = "стакан ягодного сока" + drink_desc = "Вкусная смесь из нескольких видов ягод." + taste_description = "ягодного сока" /datum/reagent/consumable/drink/poisonberryjuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE update_flags |= M.adjustToxLoss(1, FALSE) return ..() | update_flags -/datum/reagent/consumable/applejuice - name = "Apple Juice" +/datum/reagent/consumable/drink/applejuice + name = "Яблочный сок" id = "applejuice" - description = "The sweet juice of an apple, fit for all ages." + description = "Сладкой сок, полученный из выжатых яблок. Подходит для всех возрастов." color = "#ECFF56" // rgb: 236, 255, 86 - taste_description = "apple juice" + taste_description = "яблочного сока" /datum/reagent/consumable/drink/watermelonjuice - name = "Watermelon Juice" + name = "Арбузный сок" id = "watermelonjuice" - description = "Delicious juice made from watermelon." + description = "Вкусный сок из арбуза." color = "#863333" // rgb: 134, 51, 51 - taste_description = "watermelon juice" + taste_description = "арбузного сока" /datum/reagent/consumable/drink/lemonjuice - name = "Lemon Juice" + name = "Лимонный сок" id = "lemonjuice" - description = "This juice is VERY sour." + description = "Этот сок ОЧЕНЬ кислый." color = "#863333" // rgb: 175, 175, 0 drink_icon = "lemonglass" - drink_name = "Glass of lemonjuice" - drink_desc = "Sour..." - taste_description = "lemon juice" + drink_name = "стакан лимонного сока" + drink_desc = "От одного только взгляда на это сводит скулы." + taste_description = "лимонного сока" /datum/reagent/consumable/drink/grapejuice - name = "Grape Juice" + name = "Виноградный сок" id = "grapejuice" - description = "This juice is known to stain shirts." + description = "Не запачкайте рубашку." color = "#993399" // rgb: 153, 51, 153 - taste_description = "grape juice" + taste_description = "виноградного сока" /datum/reagent/consumable/drink/banana - name = "Banana Juice" + name = "Банановый сок" id = "banana" - description = "The raw essence of a banana." + description = "Сырая сущность банана." color = "#863333" // rgb: 175, 175, 0 drink_icon = "banana" - drink_name = "Glass of banana juice" - drink_desc = "The raw essence of a banana. HONK" - taste_description = "banana juice" + drink_name = "стакан бананового сока" + drink_desc = "Сырая сущность банана. Хонк!" + taste_description = "бананового сока" /datum/reagent/consumable/drink/banana/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -184,13 +184,13 @@ return ..() | update_flags /datum/reagent/consumable/drink/nothing - name = "Nothing" + name = "Ничего" id = "nothing" - description = "Absolutely nothing." + description = "Абсолютно ничего." drink_icon = "nothing" - drink_name = "Nothing" - drink_desc = "Absolutely nothing." - taste_description = "nothing... how?" + drink_name = "стакан ничего" + drink_desc = "Абсолютно ничего." + taste_description = "ничего" /datum/reagent/consumable/drink/nothing/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -200,25 +200,25 @@ return ..() | update_flags /datum/reagent/consumable/drink/potato_juice - name = "Potato Juice" + name = "Картофельный сок" id = "potato" - description = "Juice of the potato. Bleh." + description = "Сок картофеля. Ух." nutriment_factor = 2 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 drink_icon = "glass_brown" - drink_name = "Glass of potato juice" - drink_desc = "Who in the hell requests this? Gross!" - taste_description = "puke, you're pretty sure" + drink_name = "стакан картофельного сока" + drink_desc = "Кто вообще такое пьёт? Ух..." + taste_description = "рвоты или ещё чего похуже" /datum/reagent/consumable/drink/milk - name = "Milk" + name = "Молоко" id = "milk" - description = "An opaque white liquid produced by the mammary glands of mammals." + description = "Непрозрачная белая жидкость, вырабатываемая молочными железами млекопитающих." color = "#DFDFDF" // rgb: 223, 223, 223 drink_icon = "glass_white" - drink_name = "Glass of milk" - drink_desc = "White and nutritious goodness!" - taste_description = "milk" + drink_name = "стакан молока" + drink_desc = "Белая и питательная вкуснятина!" + taste_description = "молока" /datum/reagent/consumable/drink/milk/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -229,46 +229,46 @@ return ..() | update_flags /datum/reagent/consumable/drink/milk/soymilk - name = "Soy Milk" + name = "Соевое молоко" id = "soymilk" - description = "An opaque white liquid made from soybeans." + description = "Непрозрачная белая жидкость, изготовленная из соевых бобов." color = "#DFDFC7" // rgb: 223, 223, 199 - drink_name = "Glass of soy milk" - drink_desc = "White and nutritious soy goodness!" - taste_description = "fake milk" + drink_name = "стакан соевого молока" + drink_desc = "Белая и питательная соевая вкуснятина!" + taste_description = "фальшивого молока" /datum/reagent/consumable/drink/milk/cream - name = "Cream" + name = "Сливки" id = "cream" - description = "The fatty, still liquid part of milk. Why don't you mix this with sum scotch, eh?" + description = "Жирная, но всё ещё жидкая часть молока. Почему бы вам не смешать это с виски, а?" color = "#DFD7AF" // rgb: 223, 215, 175 - drink_name = "Glass of cream" - drink_desc = "Ewwww..." - taste_description = "cream" + drink_name = "стакан сливок" + drink_desc = "Ууу..." + taste_description = "сливок" /datum/reagent/consumable/drink/milk/chocolate_milk - name = "Chocolate milk" + name = "Шоколадное молоко" id ="chocolate_milk" - description = "Chocolate-flavored milk, tastes like being a kid again." + description = "Молоко с шоколадом. Прямо как в детстве." color = "#85432C" - drink_name = "Glass of chocolate milk" - taste_description = "chocolate milk" + drink_name = "стакан шоколадного молока" + taste_description = "шоколадного сока" /datum/reagent/consumable/drink/hot_coco - name = "Hot Chocolate" + name = "Горячий шоколад" id = "hot_coco" - description = "Made with love! And coco beans." + description = "Сделано с любовью! И какао-бобами." color = "#403010" // rgb: 64, 48, 16 adj_temp_hot = 5 drink_icon = "hot_coco" - drink_name = "Glass of hot coco" - drink_desc = "Delicious and cozy" - taste_description = "chocolate" + drink_name = "стакан горячего шоколада" + drink_desc = "Вкусный и тёплый." + taste_description = "горячего шоколада" /datum/reagent/consumable/drink/coffee - name = "Coffee" + name = "Кофе" id = "coffee" - description = "Coffee is a brewed drink prepared from roasted seeds, commonly called coffee beans, of the coffee plant." + description = "Кофе - это напиток, приготовленный из обжаренных семян кофейного растения, которые обычно называют какао-бобами." color = "#482000" // rgb: 72, 32, 0 nutriment_factor = 0 adj_dizzy = -10 SECONDS @@ -282,9 +282,9 @@ addict_supertype = /datum/reagent/consumable/drink/coffee heart_rate_increase = 1 drink_icon = "glass_brown" - drink_name = "Glass of coffee" - drink_desc = "Don't drop it, or you'll send scalding liquid and glass shards everywhere." - taste_description = "coffee" + drink_name = "стакан кофе" + drink_desc = "Отличный способ взбодриться с утра или посадить свою сердечно-сосудистую систему. Зависит от частоты употребления." + taste_description = "кофе" /datum/reagent/consumable/drink/coffee/New() addict_supertype = /datum/reagent/consumable/drink/coffee @@ -302,28 +302,28 @@ return list(0, STATUS_UPDATE_NONE) /datum/reagent/consumable/drink/coffee/icecoffee - name = "Iced Coffee" + name = "Кофе со льдом" id = "icecoffee" - description = "Coffee and ice, refreshing and cool." + description = "Кофе со льдом, освежающе-бодрящий." color = "#102838" // rgb: 16, 40, 56 adj_temp_hot = 0 adj_temp_cool = 5 drink_icon = "icedcoffeeglass" - drink_name = "Iced Coffee" - drink_desc = "A drink to perk you up and refresh you!" - taste_description = "refreshingly cold coffee" + drink_name = "стакан кофе со льдом" + drink_desc = "Кофе со льдом, освежающе-бодрящий." + taste_description = "освежающе-холодного кофе" /datum/reagent/consumable/drink/coffee/soy_latte - name = "Soy Latte" + name = "Соевый латте" id = "soy_latte" - description = "A nice and tasty beverage while you are reading your hippie books." + description = "Вкусный и бодрящий напиток. Самое то для чтения всех этих ваших левацких книжек." color = "#664300" // rgb: 102, 67, 0 adj_sleepy = 0 adj_temp_hot = 5 drink_icon = "soy_latte" - drink_name = "Soy Latte" - drink_desc = "A nice and refrshing beverage while you are reading." - taste_description = "fake milky coffee" + drink_name = "стакан соевого латте" + drink_desc = "Вкусный и бодрящий напиток. Самое то для чтения всех этих ваших левацких книжек." + taste_description = "фальшивого молочного кофе" /datum/reagent/consumable/drink/coffee/soy_latte/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -333,16 +333,16 @@ return ..() | update_flags /datum/reagent/consumable/drink/coffee/cafe_latte - name = "Cafe Latte" + name = "Латте" id = "cafe_latte" - description = "A nice, strong and tasty beverage while you are reading." + description = "Вкусный и бодрящий напиток. Самое то для чтения книг." color = "#664300" // rgb: 102, 67, 0 adj_sleepy = 0 adj_temp_hot = 5 drink_icon = "cafe_latte" - drink_name = "Cafe Latte" - drink_desc = "A nice, strong and refreshing beverage while you are reading." - taste_description = "milky coffee" + drink_name = "стакан латте" + drink_desc = "Вкусный и бодрящий напиток. Самое то для чтения книг." + taste_description = "молочного кофе" /datum/reagent/consumable/drink/coffee/cafe_latte/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -352,18 +352,18 @@ return ..() | update_flags /datum/reagent/consumable/drink/coffee/cafe_latte/cafe_mocha - name = "Cafe Mocha" + name = "Моккачино" id = "cafe_mocha" - description = "The perfect blend of coffe, milk, and chocolate." + description = "Идеальное сочетание кофе, молока и шоколада." color = "#673629" - drink_name = "Cafe Mocha" - drink_desc = "The perfect blend of coffe, milk, and chocolate." - taste_description = "chocolatey coffee" + drink_name = "стакан моккачино" + drink_desc = "Идеальное сочетание кофе, молока и шоколада." + taste_description = "шоколадного кофе" /datum/reagent/consumable/drink/tea - name = "Tea" + name = "Чай" id = "tea" - description = "Tasty black tea: It has antioxidants. It's good for you!" + description = "Вкусный чёрный чай. Содержит полезные антиоксиданты!" color = "#101000" // rgb: 16, 16, 0 nutriment_factor = 0 adj_dizzy = -4 SECONDS @@ -376,9 +376,9 @@ minor_addiction = TRUE addict_supertype = /datum/reagent/consumable/drink/tea drink_icon = "glass_brown" - drink_name = "Glass of Tea" - drink_desc = "A glass of hot tea. Perhaps a cup with a handle would have been smarter?" - taste_description = "tea" + drink_name = "стакан чая" + drink_desc = "Стакан горячего чая. Может стоило всё таки налить в кружку с ручкой?" + taste_description = "горячего чая" /datum/reagent/consumable/drink/tea/New() addict_supertype = /datum/reagent/consumable/drink/tea @@ -390,26 +390,26 @@ return ..() | update_flags /datum/reagent/consumable/drink/tea/icetea - name = "Iced Tea" + name = "Чай со льдом" id = "icetea" - description = "No relation to a certain rap artist/ actor." + description = "Освежает и бодрит. Самое то в жаркий денёк." color = "#104038" // rgb: 16, 64, 56 adj_temp_hot = 0 adj_temp_cool = 5 drink_icon = "icetea" - drink_name = "Iced Tea" - drink_desc = "No relation to a certain rap artist/ actor." - taste_description = "cold tea" + drink_name = "стакан чая со льдом" + drink_desc = "Освежает и бодрит. Самое то в жаркий денёк." + taste_description = "холодного чая" /datum/reagent/consumable/drink/bananahonk - name = "Banana Honk" + name = "Банана-Хонк" id = "bananahonk" - description = "A drink from Clown Heaven." + description = "Напиток из клоунского рая." color = "#664300" // rgb: 102, 67, 0 drink_icon = "bananahonkglass" - drink_name = "Banana Honk" - drink_desc = "A drink from Banana Heaven." - taste_description = "HONK" + drink_name = "Банана-Хонк" + drink_desc = "Напиток из клоунского рая." + taste_description = "бананов и веселья" /datum/reagent/consumable/drink/bananahonk/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -419,14 +419,14 @@ return ..() | update_flags /datum/reagent/consumable/drink/silencer - name = "Silencer" + name = "Глушитель" id = "silencer" - description = "A drink from Mime Heaven." + description = "Напиток из мимского рая." color = "#664300" // rgb: 102, 67, 0 drink_icon = "silencerglass" - drink_name = "Silencer" - drink_desc = "A drink from mime Heaven." - taste_description = "mphhhh" + drink_name = "стакан Глушителя" + drink_desc = "Напиток из мимского рая." + taste_description = "тишины" /datum/reagent/consumable/drink/silencer/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -436,121 +436,122 @@ return ..() | update_flags /datum/reagent/consumable/drink/chocolatepudding - name = "Chocolate Pudding" + name = "Шоколадный пудинг" id = "chocolatepudding" - description = "A great dessert for chocolate lovers." + description = "Отличный десерт для любителей шоколада." color = "#800000" nutriment_factor = 4 * REAGENTS_METABOLISM drink_icon = "chocolatepudding" - drink_name = "Chocolate Pudding" - drink_desc = "Tasty" - taste_description = "chocolate" + drink_name = "шоколадный пудинг" + drink_desc = "Отличный десерт для любителей шоколада." + taste_description = "шоколадной массы" /datum/reagent/consumable/drink/vanillapudding - name = "Vanilla Pudding" + name = "Ванильный пудинг" id = "vanillapudding" - description = "A great dessert for vanilla lovers." + description = "Отличный десерт для любителей ванили." color = "#FAFAD2" nutriment_factor = 4 * REAGENTS_METABOLISM drink_icon = "vanillapudding" - drink_name = "Vanilla Pudding" - drink_desc = "Tasty." - taste_description = "vanilla" + drink_name = "ванильный пудинг" + drink_desc = "Отличный десерт для любителей ванили." + taste_description = "ванильной массы" /datum/reagent/consumable/drink/cherryshake - name = "Cherry Shake" + name = "Ягодный шейк" id = "cherryshake" - description = "A cherry flavored milkshake." + description = "Молочный коктейль со вкусом вишни." color = "#FFB6C1" nutriment_factor = 4 * REAGENTS_METABOLISM drink_icon = "cherryshake" - drink_name = "Cherry Shake" - drink_desc = "A cherry flavored milkshake." - taste_description = "cherry milkshake" + drink_name = "ягодный шейк" + drink_desc = "Молочный коктейль со вкусом вишни." + taste_description = "ягодного милк-шейка" /datum/reagent/consumable/drink/bluecherryshake - name = "Blue Cherry Shake" + name = "Голубой ягодный шейк" id = "bluecherryshake" - description = "An exotic milkshake." + description = "Экзотичный ягодный молочный коктейль." color = "#00F1FF" nutriment_factor = 4 * REAGENTS_METABOLISM drink_icon = "bluecherryshake" - drink_name = "Blue Cherry Shake" - drink_desc = "An exotic blue milkshake." - taste_description = "blues" + drink_name = "голубой ягодный шейк" + drink_desc = "Экзотичный ягодный молочный коктейль." + taste_description = "голубики" /datum/reagent/consumable/drink/pumpkin_latte - name = "Pumpkin Latte" + name = "Тыквенный латте" id = "pumpkin_latte" - description = "A mix of pumpkin juice and coffee." + description = "Смесь тыквенного сока и кофе. Скорее всего, по неадекватно завышенной цене." color = "#F4A460" nutriment_factor = 3 * REAGENTS_METABOLISM drink_icon = "pumpkin_latte" - drink_name = "Pumpkin Latte" - drink_desc = "A mix of coffee and pumpkin juice." - taste_description = "overpriced hipster spices" + drink_name = "кружка тыквенного латте" + drink_desc = "Смесь тыквенного сока и кофе. Скорее всего, по неадекватно завышенной цене." + taste_description = "дорогущего кофе для леваков" /datum/reagent/consumable/drink/gibbfloats - name = "Gibb Floats" + name = "Всплывший Гибб" id = "gibbfloats" - description = "Ice cream on top of a Dr. Gibb glass." + description = "Мороженое, смешанное с Доктором Гиббом." color = "#B22222" nutriment_factor = 3 * REAGENTS_METABOLISM drink_icon= "gibbfloats" - drink_name = "Gibbfloat" - drink_desc = "Dr. Gibb with ice cream on top." - taste_description = "taste revolution" + drink_name = "кружка Всплывшего Гибба" + drink_desc = "Мороженое, смешанное с Доктором Гиббом." + taste_description = "революции" /datum/reagent/consumable/drink/pumpkinjuice name = "Pumpkin Juice" id = "pumpkinjuice" - description = "Juiced from real pumpkin." + description = "Выжат из настоящей тыквы." color = "#FFA500" - taste_description = "autumn" + taste_description = "осени" /datum/reagent/consumable/drink/blumpkinjuice - name = "Blumpkin Juice" + name = "Нетыквенный сок" id = "blumpkinjuice" - description = "Juiced from real blumpkin." + description = "Не выжат из настоящей тыквы." color = "#00BFFF" - taste_description = "caustic puke" + taste_description = "едкой рвоты" /datum/reagent/consumable/drink/grape_soda - name = "Grape soda" + name = "Виноградная газировка" id = "grapesoda" - description = "Beloved of children and teetotalers." + description = "Любим детьми и трезвенниками." color = "#E6CDFF" - taste_description = "grape soda" + taste_description = "виноградной газировки" /datum/reagent/consumable/drink/coco/icecoco - name = "Iced Cocoa" + name = "Холодный какао" id = "icecoco" - description = "Hot cocoa and ice, refreshing and cool." + description = "Горячее какао со льдом, освежающий и прохладный." color = "#102838" // rgb: 16, 40, 56 adj_temp_hot = 0 adj_temp_cool = 5 drink_icon = "icedcoffeeglass" - drink_name = "Iced Cocoa" - drink_desc = "A sweeter drink to perk you up and refresh you!" - taste_description = "refreshingly cold cocoa" + drink_name = "стакан холодного какао" + drink_desc = "Горячее какао со льдом, освежающий и прохладный." + taste_description = "освежающе-холодного какао" /datum/reagent/consumable/drink/non_alcoholic_beer - name = "Non-alcoholic beer" + name = "Безалкогольное пиво" id = "noalco_beer" - description = "The most meaningless thing." + description = "Что может быть ещё более бессмысленным?" drink_icon = "alcohol_free_beer" - drink_name = "Non-alcoholic beer" + drink_name = "Безалкогольное пиво" + drink_desc = "Что может быть ещё более бессмысленным?" color = "#572c13" - taste_description = "beer" + taste_description = "пива" /datum/reagent/consumable/drink/laughsyrup - name = "Laughin' Syrup" - description = "The product of juicing Laughin' Peas. Fizzy, and seems to change flavour based on what it's used with!" + name = "Смехо-сироп" + description = "Сок, выжатый из смеющихся бобов. Шипучий и меняет вкус в зависимости от того, с чем его употребляют!" id = "laughsyrup" color = "#803280" nutriment_factor = 5 * REAGENTS_METABOLISM taste_mult = 2 - taste_description = "fizzy sweetness" + taste_description = "шипучей сладости" /datum/reagent/consumable/drink/laughsyrup/on_mob_life(mob/living/M) if(prob(5)) diff --git a/code/modules/reagents/chemistry/reagents/drugs.dm b/code/modules/reagents/chemistry/reagents/drugs.dm index 80b88a14389..d87bd28fb1b 100644 --- a/code/modules/reagents/chemistry/reagents/drugs.dm +++ b/code/modules/reagents/chemistry/reagents/drugs.dm @@ -1,10 +1,10 @@ /datum/reagent/lithium - name = "Lithium" + name = "Литий" id = "lithium" - description = "A chemical element." + description = "Химический элемент." reagent_state = SOLID color = "#808080" // rgb: 128, 128, 128 - taste_description = "metal" + taste_description = "металла" /datum/reagent/lithium/on_mob_life(mob/living/M) if(isturf(M.loc) && !isspaceturf(M.loc)) @@ -15,12 +15,12 @@ return ..() /datum/reagent/lsd - name = "Lysergic acid diethylamide" + name = "Диэтиламид лизергиновой кислоты" id = "lsd" - description = "A highly potent hallucinogenic substance. Far out, maaaan." + description = "Сильнодействующее галлюциногенное вещество, также известное как \"ЛСД\". Чуваааак." reagent_state = LIQUID color = "#0000D8" - taste_description = "a magical journey" + taste_description = "магического путешествия" /datum/reagent/lsd/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -30,16 +30,16 @@ return ..() | update_flags /datum/reagent/space_drugs - name = "Space drugs" + name = "Космо-дурь" id = "space_drugs" - description = "An illegal chemical compound used as drug." + description = "Запрещенное химическое соединение, используемое в качестве наркотика." reagent_state = LIQUID color = "#9087A2" metabolization_rate = 0.5 * REAGENTS_METABOLISM addiction_chance = 15 addiction_threshold = 10 heart_rate_decrease = 1 - taste_description = "a synthetic high" + taste_description = "синтетического кайфа" /datum/reagent/space_drugs/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -52,11 +52,11 @@ return ..() | update_flags /datum/reagent/psilocybin - name = "Psilocybin" + name = "Псилоцибин" id = "psilocybin" - description = "A strong psycotropic derived from certain species of mushroom." + description = "Сильный психотропный препарат, получаемый из некоторых видов грибов." color = "#E700E7" // rgb: 231, 0, 231 - taste_description = "visions" + taste_description = "видений" /datum/reagent/psilocybin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -84,9 +84,9 @@ return ..() | update_flags /datum/reagent/nicotine - name = "Nicotine" + name = "Никотин" id = "nicotine" - description = "Slightly reduces stun times. If overdosed it will deal toxin and oxygen damage." + description = "Немного уменьшает время оглушения. При передозировке отравляет и сбивает дыхание." reagent_state = LIQUID color = "#60A584" // rgb: 96, 165, 132 overdose_threshold = 35 @@ -94,16 +94,16 @@ addiction_threshold = 160 minor_addiction = TRUE heart_rate_increase = 1 - taste_description = "calm" + taste_description = "спокойствия" /datum/reagent/nicotine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE - var/smoke_message = pick("You feel relaxed.", "You feel calmed.", "You feel less stressed.", "You feel more placid.", "You feel more undivided.") + var/smoke_message = pick("Вы чувствуете себя расслабленным.", "Вы чувствуете умиротворение.", "Вы чувствуете себя менее напряжённо.", "Вы чувствуете себя спокойнее.") M.AdjustParalysis(-2 SECONDS) M.AdjustStunned(-2 SECONDS) M.AdjustWeakened(-2 SECONDS) if(prob(5)) - to_chat(M, "[smoke_message]") + to_chat(M, span_notice("[smoke_message]")) return ..() | update_flags /datum/reagent/nicotine/overdose_process(mob/living/M, severity) @@ -112,13 +112,13 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.visible_message("[M] looks nervous!") + M.visible_message(span_warning("[M] выгляд[pluralize_ru(M.gender, "ит", "ят")] нервн[genderize_ru(M.gender, "ым", "ой", "ым", "ыми")]!")) M.AdjustConfused(30 SECONDS) update_flags |= M.adjustToxLoss(2, FALSE) M.Jitter(20 SECONDS) M.emote("twitch_s") else if(effect <= 4) - M.visible_message("[M] is all sweaty!") + M.visible_message(span_warning("[M] [genderize_ru(M.gender, "весь", "вся", "всё", "все")] в поту!")) M.adjust_bodytemperature(rand(15,30)) update_flags |= M.adjustToxLoss(3, FALSE) else if(effect <= 7) @@ -128,12 +128,12 @@ else if(severity == 2) if(effect <= 2) M.emote("gasp") - to_chat(M, "You can't breathe!") + to_chat(M, span_warning("Вам трудно дышать!")) update_flags |= M.adjustOxyLoss(15, FALSE) update_flags |= M.adjustToxLoss(3, FALSE) M.Stun(2 SECONDS) else if(effect <= 4) - to_chat(M, "You feel terrible!") + to_chat(M, span_warning("Вы чувствуете себя отвратно!")) M.emote("drool") M.Jitter(20 SECONDS) update_flags |= M.adjustToxLoss(5, FALSE) @@ -141,7 +141,7 @@ M.AdjustConfused(66 SECONDS) else if(effect <= 7) M.emote("collapse") - to_chat(M, "Your heart is pounding!") + to_chat(M, span_warning("Ваше сердце едва ли не выскакивает из груди!")) SEND_SOUND(M, sound('sound/effects/singlebeat.ogg')) M.Paralyse(10 SECONDS) M.Jitter(60 SECONDS) @@ -156,14 +156,14 @@ return ..() /datum/reagent/moonlin - name = "Moonlin" + name = "Мунлин" id = "moonlin" - description = "A granular powder consisting of small white crystals, which is extracted from moonlight plant growing on the coasts and in the deltas of the Adomai rivers." + description = "Гранулированный порошок, состоящий из мелких белых кристаллов, который добывают из растения \"Мунлайт\", растущего на побережьях и в дельтах рек Адомая." reagent_state = LIQUID color = "#5ec3cc" // rgb: 96, 165, 132 drink_icon = "moonlight_d" - drink_name = "Moonlin" - drink_desc = "Strange drink with white crystals! Be aware, if you are tajaran." + drink_name = "Мунлин" + drink_desc = "Странный напиток с белыми кристаллами! Будьте внимательны, если вы таяран!" overdose_threshold = 20 addiction_chance = 20 addiction_threshold = 15 @@ -171,13 +171,13 @@ harmless = FALSE minor_addiction = TRUE heart_rate_increase = 1 - taste_description = "a delightful numbing and mint" + taste_description = "мятного онемения во рту" /datum/reagent/moonlin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE - var/smoke_message = pick("You feel numbed.", "You feel calmed.") + var/smoke_message = pick("Вы чувствуете себя оцепеневшим.", "Вы чувствуете себя спокойным.") if(prob(5)) - to_chat(M, "[smoke_message]") + to_chat(M, span_notice("[smoke_message]")) M.AdjustJitter(-50 SECONDS) switch(current_cycle) if(1 to 35) @@ -196,13 +196,13 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.visible_message("[M] looks nervous!") + M.visible_message(span_warning("[M] выгляд[pluralize_ru(M.gender, "ит", "ят")] нервн[genderize_ru(M.gender, "ым", "ой", "ым", "ыми")]!")) M.AdjustConfused(35 SECONDS) update_flags |= M.adjustToxLoss(2, FALSE) M.Jitter(20 SECONDS) M.emote("twitch_s") else if(effect <= 4) - M.visible_message("[M] is all sweaty!") + M.visible_message(span_warning("[M] [genderize_ru(M.gender, "весь", "вся", "всё", "все")] в поту!")) M.adjust_bodytemperature(rand(15,30)) update_flags |= M.adjustToxLoss(3, FALSE) else if(effect <= 7) @@ -212,11 +212,11 @@ else if(severity == 2) if(effect <= 2) M.emote("gasp") - to_chat(M, "You feel awful!") + to_chat(M, span_warning("Вам трудно дышать!")) update_flags |= M.adjustToxLoss(3, FALSE) M.Stun(2 SECONDS) else if(effect <= 4) - to_chat(M, "You feel terrible!") + to_chat(M, span_warning("Вы чувствуете себя отвратно!")) M.emote("drool") M.Jitter(20 SECONDS) update_flags |= M.adjustToxLoss(4, FALSE) @@ -224,14 +224,14 @@ M.AdjustConfused(66 SECONDS) else if(effect <= 7) M.emote("collapse") - to_chat(M, "Your heart is pounding!") + to_chat(M, span_warning("Ваше сердце едва ли не выскакивает из груди!")) M << 'sound/effects/singlebeat.ogg' M.Paralyse(10 SECONDS) M.Jitter(60 SECONDS) update_flags |= M.adjustToxLoss(4, FALSE) return list(effect, update_flags) /datum/reagent/crank - name = "Crank" + name = "Крэнк" id = "crank" description = "Reduces stun times by about 200%. If overdosed or addicted it will deal significant Toxin, Brute and Brain damage." reagent_state = LIQUID @@ -249,14 +249,14 @@ if(prob(15)) M.emote(pick("twitch", "twitch_s", "grumble", "laugh")) if(prob(8)) - to_chat(M, "You feel great!") + to_chat(M, span_notice("Вы чувствуете себя отлично!")) M.reagents.add_reagent("methamphetamine", rand(1,2)) M.emote(pick("laugh", "giggle")) if(prob(6)) - to_chat(M, "You feel warm.") + to_chat(M, span_notice("Вы чувствуете тепло!")) M.adjust_bodytemperature(rand(1,10)) if(prob(4)) - to_chat(M, "You feel kinda awful!") + to_chat(M, span_notice("Вы чувствуете себя хреново!")) update_flags |= M.adjustToxLoss(1, FALSE) M.AdjustJitter(60 SECONDS) M.emote(pick("groan", "moan")) @@ -268,12 +268,12 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.visible_message("[M] looks confused!") + M.visible_message(span_warning("[M] выгляд[pluralize_ru(M.gender, "ет", "ют")] потерянно!")) M.AdjustConfused(40 SECONDS) M.Jitter(40 SECONDS) M.emote("scream") else if(effect <= 4) - M.visible_message("[M] is all sweaty!") + M.visible_message(span_warning("[M] [genderize_ru(M.gender, "весь", "вся", "всё", "все")] в поту!")) M.adjust_bodytemperature(rand(5,30)) update_flags |= M.adjustBrainLoss(1, FALSE) update_flags |= M.adjustToxLoss(1, FALSE) @@ -283,12 +283,12 @@ M.emote("grumble") else if(severity == 2) if(effect <= 2) - M.visible_message("[M] is sweating like a pig!") + M.visible_message(span_warning("[M] поте[pluralize_ru(M.gender, "ет", "ют")] как свинья!")) M.adjust_bodytemperature(rand(20,100)) update_flags |= M.adjustToxLoss(5, FALSE) M.Stun(6 SECONDS) else if(effect <= 4) - M.visible_message("[M] starts tweaking the hell out!") + M.visible_message(span_warning("[M] тряс[pluralize_ru(M.gender, "ёт", "ют")]ся как эпилептик!")) M.Jitter(200 SECONDS) update_flags |= M.adjustToxLoss(2, FALSE) update_flags |= M.adjustBrainLoss(8, FALSE) @@ -298,22 +298,22 @@ M.reagents.add_reagent("jagged_crystals", 5) else if(effect <= 7) M.emote("scream") - M.visible_message("[M] nervously scratches at [M.p_their()] skin!") + M.visible_message(span_warning("[M] нервно скреб[pluralize_ru(M.gender, "ёт", "ют")] свою кожу!")) M.Jitter(20 SECONDS) update_flags |= M.adjustBruteLoss(5, FALSE) M.emote("twitch_s") return list(effect, update_flags) /datum/reagent/krokodil - name = "Krokodil" + name = "Дезоморфин" id = "krokodil" - description = "A sketchy homemade opiate, often used by disgruntled Cosmonauts." + description = "Кустарно произведённый наркотик, популярный в бедных секторах СССП." reagent_state = LIQUID color = "#0264B4" overdose_threshold = 20 addiction_chance = 10 addiction_threshold = 10 - taste_description = "very poor life choices" + taste_description = "дешёвой советской дури" /datum/reagent/krokodil/on_mob_life(mob/living/M) @@ -324,18 +324,18 @@ if(prob(15)) M.emote(pick("smile", "grin", "yawn", "laugh", "drool")) if(prob(10)) - to_chat(M, "You feel pretty chill.") + to_chat(M, span_notice("Вы чувствуете себя спокойным!")) M.adjust_bodytemperature(-1) M.emote("smile") if(prob(5)) - to_chat(M, "You feel too chill!") + to_chat(M, span_notice("Вы чувствуете себя слишком спокойным!")) M.emote(pick("yawn", "drool")) M.Stun(2 SECONDS) update_flags |= M.adjustToxLoss(1, FALSE) update_flags |= M.adjustBrainLoss(1, FALSE) M.adjust_bodytemperature(-20) if(prob(2)) - to_chat(M, "Your skin feels all rough and dry.") + to_chat(M, span_warning("Ваша кожа сухая как пустыня! Она трескается!")) update_flags |= M.adjustBruteLoss(2, FALSE) return ..() | update_flags @@ -345,21 +345,21 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.visible_message("[M] looks dazed!") + M.visible_message(span_warning("[M] выгляд[pluralize_ru(M.gender, "ит", "ят")] потерянно!")) M.Stun(6 SECONDS) M.emote("drool") else if(effect <= 4) M.emote("shiver") M.adjust_bodytemperature(-40) else if(effect <= 7) - to_chat(M, "Your skin is cracking and bleeding!") + to_chat(M, span_warning("Ваша кожа сухая как пустыня! Она трескается!")) update_flags |= M.adjustBruteLoss(5, FALSE) update_flags |= M.adjustToxLoss(2, FALSE) update_flags |= M.adjustBrainLoss(1, FALSE) M.emote("cry") else if(severity == 2) if(effect <= 2) - M.visible_message("[M] sways and falls over!") + M.visible_message(span_warning("[M] кача[pluralize_ru(M.gender, "ет", "ют")]ся и вал[pluralize_ru(M.gender, "ит", "ят")]ся на землю!")) update_flags |= M.adjustToxLoss(3, FALSE) update_flags |= M.adjustBrainLoss(3, FALSE) M.Weaken(16 SECONDS) @@ -367,7 +367,7 @@ else if(effect <= 4) if(ishuman(M)) var/mob/living/carbon/human/H = M - H.visible_message("[M]'s skin is rotting away!") + H.visible_message(span_warning("С [M] падают куски сгнившей кожи!")) update_flags |= H.adjustBruteLoss(25, FALSE) H.emote("scream") H.ChangeToHusk() @@ -378,9 +378,9 @@ return list(effect, update_flags) /datum/reagent/methamphetamine - name = "Methamphetamine" + name = "Метамфетамин" id = "methamphetamine" - description = "Reduces stun times by about 300%, speeds the user up, and allows the user to quickly recover stamina while dealing a small amount of Brain damage. If overdosed the subject will move randomly, laugh randomly, drop items and suffer from Toxin and Brain damage. If addicted the subject will constantly jitter and drool, before becoming dizzy and losing motor control and eventually suffer heavy toxin damage." + description = "Метамфетамин — психоактивное вещество, стимулирующее работу головного мозга и всей нервной системы. Это синтетический препарат, представленный в виде белого кристаллического порошка." reagent_state = LIQUID color = "#60A584" // rgb: 96, 165, 132 overdose_threshold = 20 @@ -388,7 +388,7 @@ addiction_threshold = 5 metabolization_rate = 1.5 * REAGENTS_METABOLISM heart_rate_increase = 1 - taste_description = "speed" + taste_description = "бодрости" /datum/reagent/methamphetamine/on_mob_add(mob/living/user) @@ -427,22 +427,22 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.visible_message("[M] can't seem to control [M.p_their()] legs!") + M.visible_message(span_warning("Ноги [M] заплетаются!")) M.AdjustConfused(40 SECONDS) M.Weaken(8 SECONDS) else if(effect <= 4) - M.visible_message("[M]'s hands flip out and flail everywhere!") + M.visible_message(span_warning("[M] маш[pluralize_ru(M.gender, "ет", "ут")] руками во все стороны, роняя предметы в руках!")) M.drop_l_hand() M.drop_r_hand() else if(effect <= 7) M.emote("laugh") else if(severity == 2) if(effect <= 2) - M.visible_message("[M]'s hands flip out and flail everywhere!") + M.visible_message(span_warning("[M] маш[pluralize_ru(M.gender, "ет", "ут")] руками во все стороны, роняя предметы в руках!")) M.drop_l_hand() M.drop_r_hand() else if(effect <= 4) - M.visible_message("[M] falls to the floor and flails uncontrollably!") + M.visible_message(span_warning("[M] кача[pluralize_ru(M.gender, "ет", "ют")]ся и вал[pluralize_ru(M.gender, "ит", "ят")]ся на землю!")) M.Jitter(20 SECONDS) M.Weaken(20 SECONDS) else if(effect <= 7) @@ -450,9 +450,9 @@ return list(effect, update_flags) /datum/reagent/bath_salts - name = "Bath Salts" + name = "Соль для ванн" id = "bath_salts" - description = "Sometimes packaged as a refreshing bathwater additive, these crystals are definitely not for human consumption." + description = "На самом деле это не соли для купания в ванной, а синтетические наркотики, которые часто маскируют под соли для ванн и прочие бытовые вещества, чтобы упроситить распространение." reagent_state = SOLID color = "#FAFAFA" overdose_threshold = 20 @@ -460,7 +460,7 @@ addiction_threshold = 5 shock_reduction = 60 metabolization_rate = 1.5 * REAGENTS_METABOLISM - taste_description = "WAAAAGH" + taste_description = "нереальной бодрости" /datum/reagent/bath_salts/on_mob_add(mob/living/carbon/human/user) @@ -487,16 +487,16 @@ head_organ.f_style = "Very Long Beard" H.update_hair() H.update_fhair() - H.visible_message("[H] has a wild look in [H.p_their()] eyes!") + H.visible_message(span_warning("[H] выгляд[pluralize_ru(H.gender, "ит", "ят")] ДИКО!")) if(check < 30) M.emote(pick("twitch", "twitch_s", "scream", "drool", "grumble", "mumble")) M.Druggy(30 SECONDS) if(check < 5) M.emote(pick("howl", "growl")) else if(check < 24) - to_chat(M, "They're coming for you!") + to_chat(M, span_userdanger("Они идут за вами!!!")) else if(check < 28) - to_chat(M, "THEY'RE GONNA GET YOU!") + to_chat(M, span_userdanger("ОНИ УЖЕ БЛИЗКО!!!")) return ..() | update_flags @@ -509,14 +509,14 @@ /datum/reagent/bath_salts/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_INGEST) - to_chat(M, "You feel FUCKED UP!!!!!!") + to_chat(M, span_danger("КАК ЖЕ ЭТО ОХУЕННО!!!")) M << 'sound/effects/singlebeat.ogg' M.emote("faint") M.apply_effect(5, IRRADIATE, negate_armor = 1) M.adjustToxLoss(5) M.adjustBrainLoss(10) else - to_chat(M, "You feel a bit more salty than usual.") + to_chat(M, span_notice("Вы чувствуете себя соленоватым.")) /datum/reagent/bath_salts/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE @@ -528,14 +528,14 @@ return list(0, update_flags) /datum/reagent/jenkem - name = "Jenkem" + name = "Дженкем" id = "jenkem" - description = "Jenkem is a prison drug made from fermenting feces in a solution of urine. Extremely disgusting." + description = "Дженкем - это тюремный наркотик, изготовленный путем брожения фекалий в растворе мочи. Крайне отвратительно." reagent_state = LIQUID color = "#644600" addiction_chance = 5 addiction_threshold = 5 - taste_description = "the inside of a toilet... or worse" + taste_description = "тушёного говна с мочой" /datum/reagent/jenkem/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -546,12 +546,12 @@ return ..() | update_flags /datum/reagent/aranesp - name = "Aranesp" + name = "Аранесп" id = "aranesp" - description = "An illegal performance enhancing drug. Side effects might include chest pain, seizures, swelling, headache, fever... ... ..." + description = "Запрещенный препарат, повышающий работоспособность. Побочные эффекты могут включать боль в груди, судороги, отеки, головную боль, лихорадку и так далее..." reagent_state = LIQUID color = "#60A584" // rgb: 96, 165, 132 - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/aranesp/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -560,30 +560,30 @@ update_flags |= M.adjustToxLoss(1, FALSE) if(prob(5)) M.emote(pick("twitch", "shake", "tremble","quiver", "twitch_s")) - var/high_message = pick("really buff", "on top of the world","like you're made of steel", "energized", "invigorated", "full of energy") + var/high_message = pick("бодрость", "заряд бодрости", "силу", "непобедимость", "скорость", "энергию") if(prob(8)) - to_chat(M, "[high_message]!") + to_chat(M, span_notice("Вы чувствуете [high_message]!")) if(prob(5)) - to_chat(M, "You cannot breathe!") + to_chat(M, span_danger("У вас перехватило дыхание.")) update_flags |= M.adjustOxyLoss(15, FALSE) M.Stun(2 SECONDS) M.AdjustLoseBreath(2 SECONDS) return ..() | update_flags /datum/reagent/thc - name = "Tetrahydrocannabinol" + name = "Тетрагидроканнабинол" id = "thc" - description = "A mild psychoactive chemical extracted from the cannabis plant." + description = "Мягкое психоактивное вещество, добываемое из растения конопли." reagent_state = LIQUID color = "#0FBE0F" - taste_description = "man like, totally the best like, thing ever dude" + taste_description = "охренненого кайфа" /datum/reagent/thc/on_mob_life(mob/living/M) M.AdjustStuttering(rand(0, 6 SECONDS)) if(prob(5)) M.emote(pick("laugh","giggle","smile")) if(prob(5)) - to_chat(M, "[pick("You feel hungry.","Your stomach rumbles.","You feel cold.","You feel warm.")]") + to_chat(M, span_notice("[pick("Вам хочется есть.", "Вам холодно.", "Вам тепло.", "У вас крутит живот.")]")) if(prob(4)) M.Confused(20 SECONDS) if(volume >= 50 && prob(25)) @@ -592,19 +592,19 @@ return ..() /datum/reagent/cbd - name = "Cannabidiol" + name = "Каннабидиол" id = "cbd" - description = "A non-psychoactive phytocannabinoid extracted from the cannabis plant." + description = "Непсихоактивный фитоканнабиноид, добываемый из растения конопли." reagent_state = LIQUID color = "#00e100" - taste_description = "relaxation" + taste_description = "расслабления" /datum/reagent/cbd/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(prob(5)) M.emote(pick("hsigh", "yawn")) if(prob(5)) - to_chat(M, "[pick("You feel peaceful.", "You breathe softly.", "You feel chill.", "You vibe.")]") + to_chat(M, span_notice("[pick("Вы чувствуете умиротворение.", "Вам легко дышать.", "Вы очень спокойны.", "Вы чувствуете себя классно.")]")) if(prob(10)) M.AdjustConfused(-10 SECONDS) M.SetWeakened(0, FALSE) @@ -618,9 +618,9 @@ /datum/reagent/fliptonium - name = "Fliptonium" + name = "Крутений" id = "fliptonium" - description = "Do some flips!" + description = "Туда-сюда, влево-вправо, вперёд-назад!" reagent_state = LIQUID color = "#A42964" metabolization_rate = 0.5 * REAGENTS_METABOLISM @@ -629,7 +629,7 @@ addiction_chance = 1 addiction_chance_additional = 20 addiction_threshold = 10 - taste_description = "flips" + taste_description = "кувырков" /datum/reagent/fliptonium/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -673,22 +673,22 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.visible_message("[M] can't seem to control [M.p_their()] legs!") + M.visible_message(span_warning("Ноги [M] заплетаются!")) M.AdjustConfused(66 SECONDS) M.Weaken(4 SECONDS) else if(effect <= 4) - M.visible_message("[M]'s hands flip out and flail everywhere!") + M.visible_message(span_warning("[M] маш[pluralize_ru(M.gender, "ет", "ут")] руками во все стороны, роняя предметы в руках!")) M.drop_l_hand() M.drop_r_hand() else if(effect <= 7) M.emote("laugh") else if(severity == 2) if(effect <= 2) - M.visible_message("[M]'s hands flip out and flail everywhere!") + M.visible_message(span_warning("[M] маш[pluralize_ru(M.gender, "ет", "ут")] руками во все стороны, роняя предметы в руках!")) M.drop_l_hand() M.drop_r_hand() else if(effect <= 4) - M.visible_message("[M] falls to the floor and flails uncontrollably!") + M.visible_message(span_warning("[M] кача[pluralize_ru(M.gender, "ет", "ют")]ся и вал[pluralize_ru(M.gender, "ит", "ят")]ся на землю!")) M.Jitter(10 SECONDS) M.Weaken(10 SECONDS) else if(effect <= 7) @@ -697,9 +697,9 @@ /datum/reagent/rotatium //Rotatium. Fucks up your rotation and is hilarious - name = "Rotatium" + name = "Ротатий" id = "rotatium" - description = "A constantly swirling, oddly colourful fluid. Causes the consumer's sense of direction and hand-eye coordination to become wild." + description = "Крутящаяся туда-сюда странного цвета жидкость. Нарушает чувство координации употребившего." reagent_state = LIQUID color = "#AC88CA" //RGB: 172, 136, 202 metabolization_rate = 0.6 * REAGENTS_METABOLISM @@ -730,14 +730,14 @@ ////////////////////////////// /datum/reagent/consumable/laughter - name = "Laughter" - description = "Some say that this is the best medicine, but recent studies have proven that to be untrue." + name = "Смехотвор" + description = "Некоторые говорят, что это лучшее лекарство, но последние исследования доказали, что это не так." id = "laughter" metabolization_rate = 0.8 * REAGENTS_METABOLISM addiction_chance = 15 addiction_threshold = 20 color = "#FF4DD2" - taste_description = "laugh" + taste_description = "смеха" can_synth = TRUE reagent_state = LIQUID harmless = TRUE @@ -751,13 +751,13 @@ if(1 to 20) M.emote(pick("giggle", "smile")) if(30 to 35) - to_chat(M, "He he! You can't hold your smile!") + to_chat(M, span_notice("ХЕХЕХЕ! У вас не получается не улыбаться!")) if(10 to 19) switch(chance) if(1 to 20) M.emote(pick("laugh", "giggle", "smile")) if(30 to 35) - to_chat(M, "You feel great! HAHAHAHAH!") + to_chat(M, span_notice("Вы чувствуете себя классно! ХАХАХАХ!")) if(40 to 55) M.say(pick(list("Ааххаха!", "Ххаахах!"))) if(20 to 39) @@ -765,7 +765,7 @@ if(1 to 20) M.emote(pick("laugh", "giggle", "smile", "grin")) if(30 to 33) - to_chat(M, "So funny! AAAAAAAAAHAHAHHAHAAHAHAH! FUUUUUUN!") + to_chat(M, span_notice("Просто оборжаться! ХАХАХАХА!")) if(40 to 55) M.say(pick(list("Ааххааахахаха!", "Уааххаахаха!", "Иииххихихии!", "Оооххохохох!", "Кьяяхахаха!", "Ваахахахах!"))) if(40 to 69) @@ -773,7 +773,7 @@ if(1 to 20) M.emote(pick("laugh", "giggle", "smile", "grin")) if(30 to 35) - to_chat(M, "You feel sooo great! HAHAHAHAH!") + to_chat(M, span_notice("ХАХАХАХ! Вы не можете не смеяться!")) if(40 to 50) M.say(pick(list("АААААААХАХАХАХ!", "ИХИХИХИХИХИХХИХИ!", "УАААААХАХАХ!", "МЬЯХАХАХАХАХАХАХАА!", "НЬЯЯЯХАХАХАХАХА!"))) if(70 to INFINITY) @@ -781,9 +781,9 @@ if(1 to 25) M.emote(pick("laugh", "cry", "smile", "grin")) if(30 to 35) - M.say(pick(list("ААААААХХАААА!", "ЫАААААЫЫЫААААА!", "УАААААХАХАХАААААА!", "КХХХАААААААААААААА!"))) + M.say(pick(list("ААААААХХАААА!!!", "ЫАААААЫЫЫААААА!!!", "УАААААХАХАХАААААА!!!", "КХХХАААААААААААААА!!!"))) if(40 to 49) - M.say(pick(list("УАААААХАХАХ!", "КХХХААААААААА!", "АХАХАХАХ ААААА АХАХАХАХА!"))) + M.say(pick(list("УАААААХАХАХ!!!", "КХХХААААААААА!!!", "АХАХАХАХ ААААА АХАХАХАХА!!!"))) if(50 to 55) M.Weaken(4 SECONDS) M.Jitter(10 SECONDS) @@ -793,17 +793,17 @@ M.vomit() update_flags |= M.adjustBrainLoss(rand(1, 5)) if(70 to 74) - to_chat(M, "You are literally bursting with laughter") + to_chat(M, span_warning("Вы умираете от смеха. Буквально.")) return ..() | update_flags /datum/reagent/consumable/laughter/addiction_act_stage4(mob/living/carbon/M) var/chance = rand(1,1000) switch(chance) if(1 to 80) - to_chat(M, "You could really go for some [name] right now.") + to_chat(M, span_notice("[name], хотя бы неможко...")) M.emote(pick("twitch", "sigh", "cry", "groan")) if(81 to 160) - to_chat(M, "Your life has lost all colours") + to_chat(M, span_notice("Ваша жизнь теперь кажется такой унылой...")) M.AdjustEyeBlind(16 SECONDS) M.emote(pick("twitch", "sigh", "cry", "groan")) if(161 to 240) @@ -813,13 +813,13 @@ M.emote("cry") M.Jitter(6 SECONDS) if(321 to 370) - to_chat(M, "You have a really sad thoughts.") + to_chat(M, span_warning("Вы чувствуете себя депрессивным.")) M.emote(pick("twitch", "sigh", "cry", "sniff")) if(371 to 420) - to_chat(M, "You have the strong urge for some [name]!") + to_chat(M, span_warning("[name], как же он вам нужен...")) M.emote(pick("twitch", "sigh", "cry", "sniff")) if(421 to 470) - to_chat(M, "You REALLY crave some [name]!") + to_chat(M, span_warning("[name], он РЕАЛЬНО вам нужен прямо сейчас!")) M.emote(pick("twitch", "sigh", "cry", "sniff")) return STATUS_UPDATE_NONE @@ -828,30 +828,30 @@ var/chance = rand(1,1600) switch(chance) if(1 to 50) - to_chat(M, "You can't stop thinking about [name]...") + to_chat(M, span_notice("[name], хотя бы неможко...")) if(51 to 100) M.emote(pick("whimper", "glare", "cry", "sniff")) M.Jitter(10 SECONDS) if(101 to 150) - to_chat(M, "Your life has lost all colours") + to_chat(M, span_notice("Ваша жизнь потеряла все краски...")) M.EyeBlind(16 SECONDS) update_flags |= M.adjustBrainLoss(rand(1, 7)) if(151 to 200) - to_chat(M, "Your stomach lurches painfully!") - M.visible_message("[M] gags and retches!") + to_chat(M, span_warning("Ваш живот ужасно болит...")) + M.visible_message(span_warning("[M] складыва[pluralize_ru(M.gender, "ет", "ют")]ся пополам от боли!")) M.Weaken(6 SECONDS) if(201 to 280) M.emote(pick("twitch", "glare", "cry", "groan")) M.Jitter(10 SECONDS) if(281 to 330) - to_chat(M, "You are really sad! Find more fun!") + to_chat(M, span_warning("Вам по-настоящему грустно! Найдите чем развлечь себя!")) M.emote(pick("twitch", "sigh", "cry")) update_flags |= M.adjustBrainLoss(rand(1, 5)) if(331 to 380) - to_chat(M, "You feel like you can't live without [name]!") + to_chat(M, span_warning("[name], да вы жить без этого не сможете!")) M.emote(pick("twitch", "sigh", "cry", "groan")) if(381 to 420) - to_chat(M, "You would DIE for some [name] right now!") + to_chat(M, span_warning("[name], вы готовы убить хоть за небольшую дозу!")) M.emote(pick("twitch", "sigh", "cry", "groan")) update_flags |= M.adjustBrainLoss(rand(1, 5)) return update_flags @@ -862,9 +862,9 @@ //Ultra-Lube: Meth /datum/reagent/lube/ultra - name = "Ultra-Lube" + name = "Ультра-смазка" id = "ultralube" - description = "Ultra-Lube is an enhanced lubricant which induces effect similar to Methamphetamine in synthetic users by drastically reducing internal friction and increasing cooling capabilities." + description = "Ультра-смазка - это улучшенная смазка, которая вызывает у синтетиков эффект, подобный метамфетамину, за счет резкого снижения внутреннего трения и повышения охлаждающей способности." reagent_state = LIQUID color = "#1BB1FF" process_flags = SYNTHETIC @@ -872,7 +872,7 @@ addiction_chance = 10 addiction_threshold = 5 metabolization_rate = 1.5 * REAGENTS_METABOLISM - taste_description = "wiper fluid" + taste_description = "стекломоя" /datum/reagent/lube/ultra/on_mob_add(mob/living/user) @@ -883,11 +883,11 @@ /datum/reagent/lube/ultra/on_mob_life(mob/living/user) var/update_flags = STATUS_UPDATE_NONE - var/high_message = pick("You feel your servos whir!", "You feel like you need to go faster.", "You feel like you were just overclocked!") + var/high_message = pick("Вы чувствуете, как жужжат ваши сервоприводы!", "Вам нужно разогнаться!", "Вы чувствуете себя так, будто вас только что разогнали!") if(prob(1) && prob(1)) high_message = "0100011101001111010101000101010001000001010001110100111101000110010000010101001101010100!" if(prob(5)) - to_chat(user, "[high_message]") + to_chat(user, span_notice("[high_message]")) user.AdjustParalysis(-4 SECONDS) user.AdjustStunned(-4 SECONDS) user.AdjustWeakened(-4 SECONDS) @@ -913,7 +913,7 @@ if(prob(20)) M.emote("ping") if(prob(33)) - M.visible_message("[M]'s hands flip out and flail everywhere!") + M.visible_message(span_warning("[M] маш[pluralize_ru(M.gender, "ет", "ут")] руками во все стороны, роняя предметы в руках!")) var/obj/item/I = M.get_active_hand() if(I) M.drop_from_active_hand() @@ -924,28 +924,27 @@ //Surge: Krokodil /datum/reagent/surge - name = "Surge" + name = "Всплеск" id = "surge" - description = "A sketchy superconducting gel that overloads processors, causing an effect reportedly similar to opiates in synthetic units." + description = "Сверхпроводящий гель, который перегружает процессоры синтетиков, вызывая эффект, схожий с действием опиатов на органиков." reagent_state = LIQUID color = "#6DD16D" - process_flags = SYNTHETIC overdose_threshold = 20 addiction_chance = 10 addiction_threshold = 5 - taste_description = "silicon" + taste_description = "силикона" /datum/reagent/surge/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE M.Druggy(30 SECONDS) - var/high_message = pick("You feel calm.", "You feel collected.", "You feel like you need to relax.") + var/high_message = pick("Вы чувствуете себя спокойно.", "Вы чувствуете себя собранным.", "Вы чувствуете, что вам нужно расслабиться.") if(prob(1)) if(prob(1)) high_message = "01010100010100100100000101001110010100110100001101000101010011100100010001000101010011100100001101000101." if(prob(5)) - to_chat(M, "[high_message]") + to_chat(M, span_notice("[high_message]")) return ..() | update_flags /datum/reagent/surge/overdose_process(mob/living/M, severity) @@ -955,7 +954,7 @@ M.Jitter(40 SECONDS) M.Stuttering(10 SECONDS) if(prob(10)) - to_chat(M, "You experience a violent electrical discharge!") + to_chat(M, span_danger("Ваши процессоры перегружаются, вызывая короткое замыкание!")) playsound(get_turf(M), 'sound/effects/eleczap.ogg', 75, 1) //Lightning effect for electrical discharge visualization var/icon/I=new('icons/obj/zap.dmi',"lightningend") @@ -970,9 +969,9 @@ //surge+, used in supercharge implants /datum/reagent/surge_plus - name = "Surge Plus" + name = "Всплеск+" id = "surge_plus" - description = "A superconducting gel that overloads processors, causing an effect reportedly similar to benzodiazepines in synthetic units." + description = "Сверхпроводящий гель, который перегружает процессоры синтетиков, вызывая эффект, схожий с действием бензодиазепинамов на органиков." reagent_state = LIQUID color = "#28b581" @@ -981,7 +980,7 @@ addiction_chance = 1 addiction_chance_additional = 20 addiction_threshold = 5 - taste_description = "silicon" + taste_description = "взякого силикона" /datum/reagent/surge_plus/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -990,10 +989,10 @@ M.AdjustWeakened(-8 SECONDS) update_flags |= M.adjustStaminaLoss(-25, FALSE) if(prob(5)) - var/high_message = pick("You feel calm.", "You feel collected.", "You feel like you need to relax.") + var/high_message = pick("Вы чувствуете себя спокойно.", "Вы чувствуете себя собранным.", "Вы чувствуете, что вам нужно расслабиться.") if(prob(10)) high_message = "0100011101001111010101000101010001000001010001110100111101000110010000010101001101010100!" - to_chat(M, "[high_message]") + to_chat(M, span_notice("[high_message]")) return ..() | update_flags @@ -1003,11 +1002,11 @@ M.Jitter(40 SECONDS) M.Stuttering(10 SECONDS) if(prob(5)) - to_chat(M, "Your circuits overheat!") // synth fever + to_chat(M, span_notice("Ваши процессоры перегреваются!")) // synth fever M.adjust_bodytemperature(30 * recent_consumption) M.Confused(2 SECONDS * recent_consumption) if(prob(10)) - to_chat(M, "You experience a violent electrical discharge!") + to_chat(M, span_danger("Ваши процессоры перегружаются, вызывая короткое замыкание!")) playsound(get_turf(M), 'sound/effects/eleczap.ogg', 75, TRUE) var/icon/I = new('icons/obj/zap.dmi', "lightningend") I.Turn(-135) @@ -1021,9 +1020,9 @@ //Servo Lube, supercharge /datum/reagent/lube/combat - name = "Combat-Lube" + name = "Боевая смазка" id = "combatlube" - description = "Combat-Lube is a refined and enhanced lubricant which induces effect stronger than Methamphetamine in synthetic users by drastically reducing internal friction and increasing cooling capabilities." + description = "Боевая смазка - это улучшенная смазка, которая вызывает у синтетиков эффекты, многократно превосходящие аналогичные у \"Ультра-смазки\" за счёт резкого снижения внутреннего трения и повышения охлаждающей способности." process_flags = SYNTHETIC overdose_threshold = 30 addiction_chance = 1 @@ -1040,11 +1039,11 @@ user.SetSleeping(0) user.SetDrowsy(0) - var/high_message = pick("You feel your servos whir!", "You feel like you need to go faster.", "You feel like you were just overclocked!") + var/high_message = pick("Вы чувствуете, как жужжат ваши сервоприводы!", "Вам нужно разогнаться!", "Вы чувствуете себя так, будто вас только что разогнали!") if(prob(10)) high_message = "0100011101001111010101000101010001000001010001110100111101000110010000010101001101010100!" if(prob(5)) - to_chat(user, "[high_message]") + to_chat(user, span_notice("[high_message]")) if(!(user.dna && (user.dna.species.reagent_tag & PROCESS_SYN))) user.remove_movespeed_modifier(/datum/movespeed_modifier/reagent/combat_lube) return ..() @@ -1062,7 +1061,7 @@ if(prob(20)) M.emote("ping") if(prob(33)) - M.visible_message("[M]'s hands flip out and flail everywhere!") + M.visible_message(span_warning("[M] маш[pluralize_ru(M.gender, "ет", "ут")] руками во все стороны, роняя предметы в руках!")) var/obj/item/I = M.get_active_hand() if(I) M.drop_from_active_hand() @@ -1071,15 +1070,15 @@ return list(effect, update_flags) /datum/reagent/crack - name = "Crack" + name = "Крэк" id = "crack" - description = "A crystallized version of cocaine consumed by smoking." + description = "Кристаллизованная версия кокаина, потребляемая путем курения." reagent_state = LIQUID color = "#f0f0f0" overdose_threshold = 20 addiction_chance = 15 addiction_threshold = 5 - taste_description = "nasty bitterness with a bit of poverty" + taste_description = "неприятной горечи с примесью бедности" shock_reduction = 100 metabolization_rate = 0.6 * REAGENTS_METABOLISM @@ -1110,15 +1109,15 @@ holder.del_reagent(id) /datum/reagent/cocaine - name = "cocaine" + name = "Кокаин" id = "cocaine" - description = "World-famous drug with strong effect on organics." + description = "Всемирно известный препарат, оказывающий сильное воздействие на нервную систему употребившего." reagent_state = LIQUID color = "#f0f0f0" overdose_threshold = 20 addiction_chance = 10 addiction_threshold = 5 - taste_description = "light bitterness, going off with numbing feeling" + taste_description = "легкой горечи, переходящей в чувство онемения" shock_reduction = 140 metabolization_rate = 0.4 * REAGENTS_METABOLISM @@ -1156,20 +1155,20 @@ holder.del_reagent(id) /datum/reagent/matedecoca - name = "Mate de Coca" + name = "Мате де Кока" id = "matedecoca" - description = "A tea made of cocaine. Especially intresting drink." + description = "Чай из кокаина. Особенно интересный напиток." reagent_state = LIQUID color = "#8acca7" overdose_threshold = 40 addiction_chance = 2 addiction_threshold = 5 - taste_description = "pleasant bitterness" + taste_description = "приятной горечи" shock_reduction = 50 metabolization_rate = 0.4 * REAGENTS_METABOLISM drink_icon = "matedecoca" - drink_name = "Mate De Coca" - drink_desc = "A tea made of cocaine. Especially intresting drink." + drink_name = "кружка Мате де Кока" + drink_desc = "Чай из кокаина. Особенно интересный напиток." /datum/reagent/matedecoca/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE diff --git a/code/modules/reagents/chemistry/reagents/food.dm b/code/modules/reagents/chemistry/reagents/food.dm index 72611dbfe66..c5fae7e94c7 100644 --- a/code/modules/reagents/chemistry/reagents/food.dm +++ b/code/modules/reagents/chemistry/reagents/food.dm @@ -3,10 +3,10 @@ // condiments, additives, and such go. /datum/reagent/consumable - name = "Consumable" + name = "Съедомная масса" id = "consumable" harmless = TRUE - taste_description = "generic food" + taste_description = "чего-то съедобного" taste_mult = 4 var/nutriment_factor = 1 * REAGENTS_METABOLISM var/diet_flags = DIET_OMNI | DIET_HERB | DIET_CARN @@ -17,9 +17,9 @@ return ..() /datum/reagent/consumable/nutriment // Pure nutriment, universally digestable and thus slightly less effective - name = "Nutriment" + name = "Питательные вещества" id = "nutriment" - description = "A questionable mixture of various pure nutrients commonly found in processed foods." + description = "Сомнительная смесь чистых питательных веществ, обычно встречающихся в переработанных продуктах питания." reagent_state = SOLID nutriment_factor = 15 * REAGENTS_METABOLISM color = "#664330" // rgb: 102, 67, 48 @@ -66,21 +66,21 @@ /datum/reagent/consumable/nutriment/protein // Meat-based protein, digestable by carnivores and omnivores, worthless to herbivores - name = "Protein" + name = "Белки" id = "protein" - description = "Various essential proteins and fats commonly found in animal flesh and blood." + description = "Смесь белков и жиров, которые обычно содержатся в мясе и крови животных." diet_flags = DIET_CARN | DIET_OMNI /datum/reagent/consumable/nutriment/plantmatter // Plant-based biomatter, digestable by herbivores and omnivores, worthless to carnivores - name = "Plant-matter" + name = "Растительная масса" id = "plantmatter" - description = "Vitamin-rich fibers and natural sugars commonly found in fresh produce." + description = "Богатые витаминами волокна и натуральные сахара, которые обычно содержатся в свежих продуктах." diet_flags = DIET_HERB | DIET_OMNI /datum/reagent/consumable/nutriment/vitamin - name = "Vitamin" + name = "Витамины" id = "vitamin" - description = "All the best vitamins, minerals, and carbohydrates the body needs in pure form." + description = "Все лучшие витамины, минералы и углеводы, необходимые организму, в чистом виде." reagent_state = SOLID color = "#664330" // rgb: 102, 67, 48 brute_heal = 1 @@ -92,14 +92,14 @@ return ..() /datum/reagent/consumable/sugar - name = "Sugar" + name = "Сахар" id = "sugar" - description = "The organic compound commonly known as table sugar and sometimes called saccharose. This white, odorless, crystalline powder has a pleasing, sweet taste." + description = "Органическое соединение, широко известное как столовый сахар и иногда называемое сахарозой. Это белый кристаллический порошок без запаха, обладающий приятным сладким вкусом." reagent_state = SOLID color = "#FFFFFF" // rgb: 255, 255, 255 nutriment_factor = 2.5 * REAGENTS_METABOLISM overdose_threshold = 30 - taste_description = "sweetness" + taste_description = "сладости" taste_mult = 1.5 /datum/reagent/consumable/sugar/on_mob_life(mob/living/M) @@ -116,7 +116,7 @@ return ..() | update_flags /datum/reagent/consumable/sugar/overdose_start(mob/living/carbon/human/affected) - to_chat(affected, "Вы теряете сознание от гипергликемического шока!") + to_chat(affected, span_danger("Вы теряете сознание от гипергликемического шока!")) affected.overlay_fullscreen("hyperglycemia", /atom/movable/screen/fullscreen/impaired, 1) affected.emote("faint") if(ishuman(affected)) @@ -127,9 +127,9 @@ var/update_flags = STATUS_UPDATE_NONE M.AdjustJitter(5 SECONDS) if(prob(10)) - to_chat(M, "У вас болит голова.") + to_chat(M, span_danger("У вас болит голова.")) if(prob(5)) - to_chat(M, "Вы чувствуете, как силы покидают вас.") + to_chat(M, span_danger("Вы чувствуете, как силы покидают вас.")) if(volume >= 60) M.AdjustKnockdown(5 SECONDS) M.adjustToxLoss(1) @@ -150,83 +150,84 @@ /datum/reagent/consumable/soysauce - name = "Soysauce" + name = "Соевый соус" id = "soysauce" - description = "A salty sauce made from the soy plant." + description = "Солёный соус из соевого растения." reagent_state = LIQUID nutriment_factor = 2 * REAGENTS_METABOLISM color = "#792300" // rgb: 121, 35, 0 - taste_description = "soy" + taste_description = "сои" /datum/reagent/consumable/ketchup - name = "Ketchup" + name = "Кетчуп" id = "ketchup" - description = "Ketchup, catsup, whatever. It's tomato paste." + description = "Кетчуп, кекчуп, кечап, как будет угодно. Это томатная паста." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#731008" // rgb: 115, 16, 8 - taste_description = "ketchup" + taste_description = "кетчупа" /datum/reagent/consumable/tomatosauce - name = "tomato sauce" + name = "Томатный соус" id = "tsauce" - description = "The father of all sauces. Tomatoes, a little spice and nothing extra." + description = "Отец всех соусов. Помидоры, немного специй и ничего лишнего." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#ee1000" - taste_description = "tomato sauce" + taste_description = "томатного соуса" /datum/reagent/consumable/cheesesauce - name = "cheese sauce" + name = "Сырный соус" id = "csauce" - description = "Cheese, cream and milk... maximum protein concentration!" + description = "Сыр, сливки и молоко... максимальная концентрация белка!" reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#e6d600" + taste_description = "сырного соуса" /datum/reagent/consumable/mushroomsauce - name = "mushroom sauce" + name = "Грибной соус" id = "msauce" - description = "Creamy sauce with mushrooms, has a rather pungent smell." + description = "Сливочный соус с грибами, имеет довольно резкий запах." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#beb58a" - taste_description = "mushroom sauce" + taste_description = "грибного соуса" /datum/reagent/consumable/garlicsauce - name = "garlic sauce" + name = "Чесночный соус" id = "gsauce" - description = "A strong sauce with garlic, its smell punches the nose. Some crewmembers will probably hiss at you and walk away." + description = "Крепкий чесночный с резким запахом. Некоторые члены экипажа наверняка будут шипеть на вас из-за этого." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#fffee1" - taste_description = "garlic sauce" + taste_description = "чесночного соуса" /datum/reagent/consumable/diablosauce - name = "diablo sauce" + name = "Соус \"Диабло\"" id = "dsauce" - description = "An ancient burning sauce, its recipe has hardly changed since its creation." + description = "Древний жгучий соус, рецепт которого практически не изменился с момента его создания." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#440804" - taste_description = "hot tomato sauce" + taste_description = "острого томатного соуса" /datum/reagent/consumable/custard - name = "custard" + name = "Заварной крем" id = "custard" - description = "An ancient burning sauce, its recipe has hardly changed since its creation." + description = "Мягкий и сладкий крем, используемый в кондитерских изделиях." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#fffed1" - taste_description = "sweet soft cream" + taste_description = "сладкого мягкого крема" /datum/reagent/consumable/capsaicin - name = "Capsaicin Oil" + name = "Капсаициновое масло" id = "capsaicin" - description = "This is what makes chilis hot." + description = "Именно это делает чили острым." reagent_state = LIQUID color = "#B31008" // rgb: 179, 16, 8 - taste_description = "HOTNESS" + taste_description = span_warning("ОСТРОТЫ") taste_mult = 1.5 /datum/reagent/consumable/capsaicin/on_mob_life(mob/living/M) @@ -258,17 +259,12 @@ return ..() /datum/reagent/consumable/condensedcapsaicin - name = "Condensed Capsaicin" + name = "Сгущённое капсаициновое масло" id = "condensedcapsaicin" - description = "This shit goes in pepperspray." + description = "Ещё острее." reagent_state = LIQUID color = "#B31008" // rgb: 179, 16, 8 - taste_description = "PURE FIRE" - -/datum/reagent/consumable/condensedcapsaicin/on_mob_life(mob/living/M) - if(prob(5)) - M.visible_message(span_warning("[M] [pick("dry heaves!","coughs!","splutters!")]")) - return ..() + taste_description = span_userdanger("НЕРЕАЛЬНОЙ ОСТРОТЫ") /datum/reagent/consumable/condensedcapsaicin/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_TOUCH) @@ -308,10 +304,10 @@ if(!safe_thing) safe_thing = victim.glasses if( eyes_covered && mouth_covered ) - to_chat(victim, span_danger("Your [safe_thing] protects you from the pepperspray!")) + to_chat(victim, span_danger("[safe_thing] защища[pluralize_ru(safe_thing, "ет", "ют")] ваше лицо от перца!")) return else if( mouth_covered ) // Reduced effects if partially protected - to_chat(victim, span_danger("Your [safe_thing] protect you from most of the pepperspray!")) + to_chat(victim, span_danger("[safe_thing] почти полностью защища[pluralize_ru(safe_thing, "ет", "ют")] ваше лицо от перца!")) if(prob(20)) victim.emote("scream") victim.EyeBlurry(6 SECONDS) @@ -322,7 +318,7 @@ victim.drop_from_active_hand() return else if( eyes_covered ) // Eye cover is better than mouth cover but not best - to_chat(victim, span_danger("Your [safe_thing] partially protects your eyes from the pepperspray!")) + to_chat(victim, span_danger("[safe_thing] частично защища[pluralize_ru(safe_thing, "ет", "ют")] ваше лицо от перца!")) if(prob(20)) victim.emote("scream") victim.EyeBlurry(4 SECONDS) @@ -335,7 +331,7 @@ else // Oh dear :D if(prob(20)) victim.emote("scream") - to_chat(victim, span_danger("You're sprayed directly in the eyes with pepperspray!")) + to_chat(victim, span_danger("Струя перца летит прямо вам в глаза!")) victim.EyeBlurry(10 SECONDS) victim.EyeBlind(4 SECONDS) victim.Confused(12 SECONDS) @@ -344,13 +340,13 @@ victim.drop_from_active_hand() /datum/reagent/consumable/frostoil - name = "Frost Oil" + name = "Ледяное масло" id = "frostoil" - description = "A special oil that noticably chills the body. Extraced from Icepeppers." + description = "Масло, сильно охлаждающее тело. Добывается из ледяных перцев." reagent_state = LIQUID color = "#8BA6E9" // rgb: 139, 166, 233 process_flags = ORGANIC | SYNTHETIC - taste_description = "cold
" + taste_description = "холода" /datum/reagent/consumable/frostoil/on_mob_add(mob/living/user) @@ -405,15 +401,15 @@ M.adjustToxLoss(rand(15, 30)) /datum/reagent/consumable/sodiumchloride - name = "Salt" + name = "Соль" id = "sodiumchloride" - description = "Sodium chloride, common table salt." + description = "Хлорид натрия, обычная поваренная соль." reagent_state = SOLID color = "#B1B0B0" harmless = FALSE - overdose_threshold = 100 + overdose_threshold = 15 taste_mult = 2 - taste_description = "salt" + taste_description = "соли" /datum/reagent/consumable/sodiumchloride/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE @@ -422,46 +418,46 @@ return ..() | update_flags /datum/reagent/consumable/blackpepper - name = "Black Pepper" + name = "Чёрный перец" id = "blackpepper" - description = "A powder ground from peppercorns. *AAAACHOOO*" + description = "Порошок, измельченный из перца. Только не вдыхайте его полной грудью." reagent_state = SOLID - taste_description = "pepper" + taste_description = "перца" /datum/reagent/consumable/cocoa - name = "Cocoa Powder" + name = "Какао-порошок" id = "cocoa" - description = "A fatty, bitter paste made from cocoa beans." + description = "Жирная, горькая паста из какао-бобов." reagent_state = SOLID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_description = "bitter cocoa" + taste_description = "горького какао" /datum/reagent/consumable/vanilla - name = "Vanilla Powder" + name = "Ванильный порошок" id = "vanilla" - description = "A fatty, bitter paste made from vanilla pods." + description = "Жирная, горькая паста из стручков ванили." reagent_state = SOLID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#FFFACD" - taste_description = "bitter vanilla" + taste_description = "горькой ванили" /datum/reagent/consumable/herbs - name = "herbs mix" + name = "Микс трав" id = "herbsmix" - description = "A mix of variouse herbs." + description = "Смесь различных трав." reagent_state = SOLID color = "#2c5c04" - taste_description = "dry herbs" + taste_description = "сухих трав" /datum/reagent/consumable/hot_coco - name = "Hot Chocolate" + name = "Горячий шоколад" id = "hot_coco" - description = "Made with love! And cocoa beans." + description = "Сделано с любовью! И какао-бобами." reagent_state = LIQUID nutriment_factor = 2 * REAGENTS_METABOLISM color = "#403010" // rgb: 64, 48, 16 - taste_description = "chocolate" + taste_description = "горячего шоколада" /datum/reagent/consumable/hot_coco/on_mob_life(mob/living/M) if(M.bodytemperature < BODYTEMP_NORMAL) @@ -469,11 +465,11 @@ return ..() /datum/reagent/consumable/garlic - name = "Garlic Juice" + name = "Чесночный сок" id = "garlic" - description = "Crushed garlic. Chefs love it, but it can make you smell bad." + description = "Cспелый чеснок. Повара его любят, но от него может неприятно пахнуть." color = "#FEFEFE" - taste_description = "garlic" + taste_description = "чеснока" metabolization_rate = 0.15 * REAGENTS_METABOLISM /datum/reagent/consumable/garlic/on_mob_life(mob/living/carbon/M) @@ -483,7 +479,7 @@ var/datum/antagonist/vampire/vamp = H.mind?.has_antag_datum(/datum/antagonist/vampire) if(vamp && vamp.is_garlic_affected && !vamp.get_ability(/datum/vampire_passive/full)) //incapacitating but not lethal. if(prob(min(25, current_cycle))) - to_chat(H, "You can't get the scent of garlic out of your nose! You can barely think...") + to_chat(H, span_danger("Аромат чеснока не выветривается из вашего носа! Вы едва можете думать...")) H.Weaken(2 SECONDS) H.Jitter(20 SECONDS) H.fakevomit() @@ -495,11 +491,11 @@ return ..() | update_flags /datum/reagent/consumable/sprinkles - name = "Sprinkles" + name = "Посыпка" id = "sprinkles" - description = "Multi-colored little bits of sugar, commonly found on donuts. Loved by cops." + description = "Разноцветные кусочки сахара, обычно встречающиеся на пончиках. Копы любят такое." color = "#FF00FF" // rgb: 255, 0, 255 - taste_description = "crunchy sweetness" + taste_description = "хрустящей сладости" /datum/reagent/consumable/sprinkles/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -509,13 +505,13 @@ return ..() | update_flags /datum/reagent/consumable/cornoil - name = "Corn Oil" + name = "Кукурузное масло" id = "cornoil" - description = "An oil derived from various types of corn." + description = "Масло, получаемое из различных видов кукурузы." reagent_state = LIQUID nutriment_factor = 20 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_description = "oil" + taste_description = "кукурузного масла" /datum/reagent/consumable/cornoil/reaction_turf(turf/simulated/T, volume) if(!istype(T)) @@ -531,38 +527,38 @@ qdel(hotspot) /datum/reagent/consumable/cornoil/oliveoil - name = "Olive Oil" + name = "Оливковое масло" id = "oliveoil" - description = "An oil derived from young olives." + description = "Масло, получаемое из молодых оливок. Очень жирное." reagent_state = LIQUID nutriment_factor = 10 * REAGENTS_METABOLISM color = "#d3f558" - taste_description = "bittersweet olive oil" + taste_description = "горько-сладкого оливкового масла" /datum/reagent/consumable/enzyme - name = "Universal Enzyme" + name = "Универсальный фермент" id = "enzyme" - description = "A special catalyst that makes certain culinary chemical reactions happen instantly instead of taking hours or days." + description = "Специальный катализатор, благодаря которому некоторые кулинарные химические реакции происходят мгновенно, а не занимают несколько часов или дней." reagent_state = LIQUID color = "#282314" // rgb: 54, 94, 48 - taste_description = "sweetness" + taste_description = "сладости" /datum/reagent/consumable/dry_ramen - name = "Dry Ramen" + name = "Сухой рамен" id = "dry_ramen" - description = "Space age food, since August 25, 1958. Contains dried noodles, vegetables, and chemicals that boil in contact with water." + description = "Космическая еда начиная с 25 августа 1958 года. Содержит сушёную лапшу, овощи и химикаты, которые закипают при контакте с водой." reagent_state = SOLID color = "#302000" // rgb: 48, 32, 0 - taste_description = "dry ramen coated with what might just be your tears" + taste_description = "дешёвой лапши со специями" /datum/reagent/consumable/hot_ramen - name = "Hot Ramen" + name = "Горячий рамен" id = "hot_ramen" - description = "The noodles are boiled, the flavors are artificial, just like being back in school." + description = "Лапша варёная, ароматизаторы искусственные, а вы как будто бы снова в школе." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_description = "cheap ramen and memories" + taste_description = "дешёвой лапши и воспоминаний" /datum/reagent/consumable/hot_ramen/on_mob_life(mob/living/M) if(M.bodytemperature < BODYTEMP_NORMAL) @@ -570,71 +566,71 @@ return ..() /datum/reagent/consumable/hell_ramen - name = "Hell Ramen" + name = "Адский рамен" id = "hell_ramen" - description = "The noodles are boiled, the flavors are artificial, just like being back in school...IN HELL" + description = "Лапша варёная, ароматизаторы искусственные, а вы как будто бы снова в школе... В АДУ!" reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_description = "SPICY ramen" + taste_description = "острой лапши со специями" /datum/reagent/consumable/hell_ramen/on_mob_life(mob/living/M) M.adjust_bodytemperature(10 * TEMPERATURE_DAMAGE_COEFFICIENT) return ..() /datum/reagent/consumable/flour - name = "flour" + name = "Мука" id = "flour" - description = "This is what you rub all over yourself to pretend to be a ghost." + description = "Это то, чем вы натираете себя, чтобы притвориться призраком." reagent_state = SOLID color = "#FFFFFF" // rgb: 0, 0, 0 - taste_description = "flour" + taste_description = "муки" /datum/reagent/consumable/flour/reaction_turf(turf/T, volume) if(!isspaceturf(T)) new /obj/effect/decal/cleanable/flour(T) /datum/reagent/consumable/rice - name = "Rice" + name = "Рис" id = "rice" - description = "Enjoy the great taste of nothing." + description = "Наслаждайтесь великолепным вкусом ничего." reagent_state = SOLID nutriment_factor = 3 * REAGENTS_METABOLISM color = "#FFFFFF" // rgb: 0, 0, 0 - taste_description = "rice" + taste_description = "риса" /datum/reagent/consumable/buckwheat - name = "Buckwheat" + name = "Гречка" id = "buckwheat" - description = "Rumors tell soviet people are eating only vodka and... this?" + description = "По слухам, советские люди питаются только водкой и... этим?" reagent_state = SOLID nutriment_factor = 3 * REAGENTS_METABOLISM color = "#8E633C" // rgb: 142, 99, 60 - taste_description = "dry buckwheat" + taste_description = "сухой гречки" /datum/reagent/consumable/cherryjelly - name = "Cherry Jelly" + name = "Вишнёвое желе" id = "cherryjelly" - description = "Totally the best. Only to be spread on foods with excellent lateral symmetry." + description = "Абсолютно лучший. Наносится только на продукты с отличной боковой симметрией." reagent_state = LIQUID color = "#801E28" // rgb: 128, 30, 40 - taste_description = "cherry jelly" + taste_description = "вишнёвого желе" /datum/reagent/consumable/bluecherryjelly - name = "Blue Cherry Jelly" + name = "Голубичное желе" id = "bluecherryjelly" - description = "Blue and tastier kind of cherry jelly." + description = "Более вкусная версия желе из голубики." reagent_state = LIQUID color = "#00F0FF" - taste_description = "the blues" + taste_description = "голубичного желе" /datum/reagent/consumable/egg - name = "Egg" + name = "Яйцо" id = "egg" - description = "A runny and viscous mixture of clear and yellow fluids." + description = "Текучая и вязкая смесь белка и желтка." reagent_state = LIQUID color = "#F0C814" - taste_description = "eggs" + taste_description = "яиц" /datum/reagent/consumable/egg/on_mob_life(mob/living/M) if(prob(3)) @@ -642,45 +638,45 @@ return ..() /datum/reagent/consumable/corn_starch - name = "Corn Starch" + name = "Кукурузный крахмал" id = "corn_starch" - description = "The powdered starch of maize, derived from the kernel's endosperm. Used as a thickener for gravies and puddings." + description = "Порошкообразный крахмал кукурузы, получаемый из эндосперма зерен. Используется в качестве загустителя для соусов и пудингов." reagent_state = LIQUID color = "#C8A5DC" - taste_description = "flour" + taste_description = "муки" /datum/reagent/consumable/corn_syrup - name = "Corn Syrup" + name = "Кукурузный сироп" id = "corn_syrup" - description = "A sweet syrup derived from corn starch that has had its starches converted into maltose and other sugars." + description = "Сладкий сироп, получаемый из кукурузного крахмала преобразованного в мальтозу и другие сахара." reagent_state = LIQUID color = "#C8A5DC" - taste_description = "cheap sugar substitute" + taste_description = "дешевого сахарозаменителя" /datum/reagent/consumable/corn_syrup/on_mob_life(mob/living/M) M.reagents.add_reagent("sugar", 1.2) return ..() /datum/reagent/consumable/vhfcs - name = "Very-high-fructose corn syrup" + name = "Высокофруктозный кукурузный сироп" id = "vhfcs" - description = "An incredibly sweet syrup, created from corn syrup treated with enzymes to convert its sugars into fructose." + description = "Невероятно сладкая жидкость, созданная из кукурузного сиропа, обработанного ферментами для превращения сахаров во фруктозу." reagent_state = LIQUID color = "#C8A5DC" - taste_description = "diabetes" + taste_description = "диабета" /datum/reagent/consumable/vhfcs/on_mob_life(mob/living/M) M.reagents.add_reagent("sugar", 2.4) return ..() /datum/reagent/consumable/honey - name = "Honey" + name = "Мёд" id = "honey" - description = "A sweet substance produced by bees through partial digestion. Bee barf." + description = "Густое сладкое вещество, вырабатываемое пчелами в результате частичного переваривания. Пчелиная блевотина." reagent_state = LIQUID color = "#d3a308" nutriment_factor = 15 * REAGENTS_METABOLISM - taste_description = "sweetness" + taste_description = "тягучей сладости" /datum/reagent/consumable/honey/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -691,35 +687,35 @@ return ..() | update_flags /datum/reagent/consumable/onion - name = "Concentrated Onion Juice" + name = "Концентрированный луковый сок" id = "onionjuice" - description = "A strong tasting substance that can induce partial blindness." + description = "Сильное на вкус вещество, способное вызывать частичную слепоту." color = "#c0c9a0" - taste_description = "pungency" + taste_description = "едкости" /datum/reagent/consumable/onion/reaction_mob(mob/living/M, method = REAGENT_TOUCH, volume) if(method == REAGENT_TOUCH) if(!M.is_mouth_covered() && !M.is_eyes_covered()) if(!M.get_organ_slot(INTERNAL_ORGAN_EYES)) //can't blind somebody with no eyes - to_chat(M, "Your eye sockets feel wet.") + to_chat(M, span_notice("Ваши глазные впадины кажутся влажными.")) else if(!M.AmountEyeBlurry()) - to_chat(M, "Tears well up in your eyes!") + to_chat(M, span_warning("Из ваших глаз брызжут слёзы!")) M.EyeBlind(4 SECONDS) M.EyeBlurry(10 SECONDS) ..() /datum/reagent/consumable/chocolate - name = "Chocolate" + name = "Шоколад" id = "chocolate" - description = "Chocolate is a delightful product derived from the seeds of the theobroma cacao tree." + description = "Шоколад - это восхитительный продукт, получаемый из семян дерева \"Theobroma cacao\"." reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM //same as pure cocoa powder, because it makes no sense that chocolate won't fill you up and make you fat color = "#2E2418" drink_icon = "chocolateglass" - drink_name = "Glass of chocolate" - drink_desc = "Tasty" - taste_description = "chocolate" + drink_name = "стакан шоколада" + drink_desc = "Вкуснятина!" + taste_description = "шоколада" /datum/reagent/consumable/chocolate/on_mob_life(mob/living/M) M.reagents.add_reagent("sugar", 0.2) @@ -730,12 +726,12 @@ new /obj/item/reagent_containers/food/snacks/choc_pile(T) /datum/reagent/consumable/mugwort - name = "Mugwort" + name = "Полынь" id = "mugwort" - description = "A rather bitter herb once thought to hold magical protective properties." + description = "Довольно горькая трава, которая, как считается, обладает магическими защитными свойствами." reagent_state = LIQUID color = "#21170E" - taste_description = "tea" + taste_description = "странного чая" /datum/reagent/consumable/mugwort/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -748,15 +744,15 @@ return ..() | update_flags /datum/reagent/consumable/porktonium - name = "Porktonium" + name = "Порктониум" id = "porktonium" - description = "A highly-radioactive pork byproduct first discovered in hotdogs." + description = "Высокорадиоактивный побочный продукт свинины, впервые обнаруженный в хот-догах." reagent_state = LIQUID color = "#AB5D5D" metabolization_rate = 0.5 * REAGENTS_METABOLISM overdose_threshold = 133 harmless = FALSE - taste_description = "bacon" + taste_description = "бекона" /datum/reagent/consumable/porktonium/overdose_process(mob/living/M, severity) if(prob(15)) @@ -767,22 +763,22 @@ return list(0, STATUS_UPDATE_NONE) /datum/reagent/consumable/chicken_soup - name = "Chicken soup" + name = "Куриный бульон" id = "chicken_soup" - description = "An old household remedy for mild illnesses." + description = "Старинное домашнее средство для лечения лёгких простудных заболеваний." reagent_state = LIQUID color = "#B4B400" metabolization_rate = 0.5 * REAGENTS_METABOLISM nutriment_factor = 2.5 * REAGENTS_METABOLISM - taste_description = "broth" + taste_description = "куриного бульона" /datum/reagent/consumable/cheese - name = "Cheese" + name = "Сыр" id = "cheese" - description = "Some cheese. Pour it out to make it solid." + description = "Немного сыра. Вылейте его, чтобы он стал твердым." reagent_state = SOLID color = "#FFFF00" - taste_description = "cheese" + taste_description = "сыра" /datum/reagent/consumable/cheese/on_mob_life(mob/living/M) if(prob(3)) @@ -794,29 +790,29 @@ new /obj/item/reagent_containers/food/snacks/cheesewedge(T) /datum/reagent/consumable/fake_cheese - name = "Cheese substitute" + name = "Заменитель сыра" id = "fake_cheese" - description = "A cheese-like substance derived loosely from actual cheese." + description = "Сыроподобное вещество, полученное из настоящего сыра." reagent_state = LIQUID color = "#B2B139" overdose_threshold = 50 harmless = FALSE - taste_description = "cheese?" + taste_description = "странного сыра" /datum/reagent/consumable/fake_cheese/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE if(prob(8)) - to_chat(M, "You feel something squirming in your stomach. Your thoughts turn to cheese and you begin to sweat.") + to_chat(M, span_warning("Вы чувствуете, как в животе что-то ерзает. Ваши мысли превращаются в сыр, и вы начинаете потеть.")) update_flags |= M.adjustToxLoss(rand(1,2), FALSE) return list(0, update_flags) /datum/reagent/consumable/weird_cheese - name = "Weird cheese" + name = "Странный сыр" id = "weird_cheese" - description = "Hell, I don't even know if this IS cheese. Whatever it is, it ain't normal. If you want to, pour it out to make it solid." + description = "Чёрт, я даже не знаю, сыр ли это. Что бы это ни было, это ненормально. Если хотите, вылейте его, чтобы он стал твердым." reagent_state = SOLID color = "#50FF00" - taste_description = "cheeeeeese...?" + taste_description = "сыра..?" /datum/reagent/consumable/weird_cheese/on_mob_life(mob/living/M) if(prob(5)) @@ -828,28 +824,28 @@ new /obj/item/reagent_containers/food/snacks/weirdcheesewedge(T) /datum/reagent/consumable/beans - name = "Refried beans" + name = "Жареная фасоль" id = "beans" - description = "A dish made of mashed beans cooked with lard." + description = "Блюдо из фасолевого пюре, приготовленного с добавлением сала." reagent_state = LIQUID color = "#684435" - taste_description = "burritos" + taste_description = "бурритос" /datum/reagent/consumable/bread - name = "Bread" + name = "Хлеб" id = "bread" - description = "Bread! Yep, bread." + description = "Хлеб! Кто его не любит?" reagent_state = SOLID color = "#9C5013" - taste_description = "bread" + taste_description = "хлеба" /datum/reagent/consumable/soybeanoil - name = "Space-soybean oil" + name = "Соевое масло" id = "soybeanoil" - description = "An oil derived from extra-terrestrial soybeans." + description = "Масло, полученное из соевых бобов." reagent_state = LIQUID color = "#B1B0B0" - taste_description = "oil" + taste_description = "соевого масла" /datum/reagent/consumable/soybeanoil/on_mob_life(mob/living/M) if(prob(10)) @@ -859,15 +855,15 @@ return ..() /datum/reagent/consumable/hydrogenated_soybeanoil - name = "Partially hydrogenated space-soybean oil" + name = "Частично гидрогенизированное соевое масло" id = "hydrogenated_soybeanoil" - description = "An oil derived from extra-terrestrial soybeans, with additional hydrogen atoms added to convert it into a saturated form." + description = "Масло, полученное из соевых бобов, в которое добавлены дополнительные атомы водорода для преобразования его в насыщенную форму." reagent_state = LIQUID color = "#B1B0B0" metabolization_rate = 0.5 * REAGENTS_METABOLISM overdose_threshold = 75 harmless = FALSE - taste_description = "oil" + taste_description = "насыщенного соевого масла" /datum/reagent/consumable/hydrogenated_soybeanoil/on_mob_life(mob/living/M) if(prob(15)) @@ -883,24 +879,24 @@ /datum/reagent/consumable/hydrogenated_soybeanoil/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE if(prob(33)) - to_chat(M, "You feel horribly weak.") + to_chat(M, span_warning("Вы чувствуете ужасную слабость.")) if(prob(10)) - to_chat(M, "You cannot breathe!") + to_chat(M, span_warning("У вас перехватило дыхание!")) update_flags |= M.adjustOxyLoss(5, FALSE) if(prob(5)) - to_chat(M, "You feel a sharp pain in your chest!") + to_chat(M, span_warning("Вы чувствуете острую боль в груди!")) update_flags |= M.adjustOxyLoss(25, FALSE) M.Stun(10 SECONDS) M.Paralyse(20 SECONDS) return list(0, update_flags) /datum/reagent/consumable/meatslurry - name = "Meat Slurry" + name = "Мясная жижа" id = "meatslurry" - description = "A paste comprised of highly-processed organic material. Uncomfortably similar to deviled ham spread." + description = "Паста, состоящая из сильно переработанного органического материала. Напоминает спред из ветчины." reagent_state = LIQUID color = "#EBD7D7" - taste_description = "meat?" + taste_description = "мяса?" /datum/reagent/consumable/meatslurry/on_mob_life(mob/living/M) if(prob(4)) @@ -913,50 +909,50 @@ playsound(T, 'sound/effects/splat.ogg', 50, 1, -3) /datum/reagent/consumable/mashedpotatoes - name = "Mashed potatoes" + name = "Картофельное пюре" id = "mashedpotatoes" - description = "A starchy food paste made from boiled potatoes." + description = "Паста из вареного картофеля." reagent_state = SOLID color = "#D6D9C1" - taste_description = "potatoes" + taste_description = "картофеля" /datum/reagent/consumable/gravy - name = "Gravy" + name = "Подливка" id = "gravy" - description = "A savory sauce made from a simple meat-dripping roux and milk." + description = "Пикантный соус, приготовленный из простого мясного рулета и молока." reagent_state = LIQUID color = "#B4641B" - taste_description = "gravy" + taste_description = "подливки" ///Food Related, but non-nutritious /datum/reagent/questionmark // food poisoning - name = "????" + name = "Сгоревшая пищевая масса" id = "????" - description = "A gross and unidentifiable substance." + description = "Отвратительная и ядовитая субстанция." reagent_state = LIQUID color = "#63DE63" - taste_description = "burned food" + taste_description = "сгоревшей еды" /datum/reagent/questionmark/reaction_mob(mob/living/carbon/human/H, method = REAGENT_TOUCH, volume) if(istype(H) && method == REAGENT_INGEST) if(H.dna.species.taste_sensitivity < TASTE_SENSITIVITY_NO_TASTE) // If you can taste it, then you know how awful it is. H.Weaken(4 SECONDS) - to_chat(H, "Ugh! Eating that was a terrible idea!") + to_chat(H, span_danger("Ух! Есть ЭТО было плохой идеей!")) if(HAS_TRAIT(H, TRAIT_NO_HUNGER)) //If you don't eat, then you can't get food poisoning return var/datum/disease/food_poisoning/D = new D.Contract(H) /datum/reagent/msg - name = "Monosodium glutamate" + name = "Глутамат натрия" id = "msg" - description = "Monosodium Glutamate is a sodium salt known chiefly for its use as a controversial flavor enhancer." + description = "Глутамат натрия - это натриевая соль, известная главным образом благодаря своему использованию в качестве спорного усилителя вкуса." reagent_state = LIQUID color = "#F5F5F5" metabolization_rate = 0.5 * REAGENTS_METABOLISM - taste_description = "excellent cuisine" + taste_description = "отличной кухни" taste_mult = 4 /datum/reagent/msg/on_mob_life(mob/living/M) @@ -969,74 +965,74 @@ if(prob(10)) update_flags |= M.adjustToxLoss(rand(2,4), FALSE) if(prob(7)) - to_chat(M, "A horrible migraine overpowers you.") + to_chat(M, span_warning("Ужасная мигрень одолевает вас!")) M.Stun(rand(4 SECONDS, 10 SECONDS)) return ..() | update_flags /datum/reagent/cholesterol - name = "cholesterol" + name = "Холестерин" id = "cholesterol" - description = "Pure cholesterol. Probably not very good for you." + description = "Чистый холестерин. Достаточно вредная штука." reagent_state = LIQUID color = "#FFFAC8" - taste_description = "heart attack" + taste_description = "сердечного приступа" /datum/reagent/cholesterol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(volume >= 25 && prob(volume*0.15)) - to_chat(M, "Your chest feels [pick("weird","uncomfortable","nasty","gross","odd","unusual","warm")]!") + to_chat(M, span_warning("Вы чувствуете [pick("боль", "дискомфорт", "противное ощущение", "неприятное ощущение", "тепло")] в груди!")) update_flags |= M.adjustToxLoss(rand(1,2), FALSE) else if(volume >= 45 && prob(volume*0.08)) - to_chat(M, "Your chest [pick("hurts","stings","aches","burns")]!") + to_chat(M, span_warning("Ваша грудь [pick("болит", "трещит", "горит")]!")) update_flags |= M.adjustToxLoss(rand(2,4), FALSE) M.Stun(2 SECONDS) else if(volume >= 150 && prob(volume*0.01)) - to_chat(M, "Your chest is burning with pain!") + to_chat(M, span_warning("Ваша грудь адски горит!")) M.Weaken(2 SECONDS) var/datum/disease/critical/heart_failure/D = new D.Contract(M) return ..() | update_flags /datum/reagent/fungus - name = "Space fungus" + name = "Космический грибок" id = "fungus" - description = "Scrapings of some unknown fungus found growing on the station walls." + description = "Соскобы неизвестного грибка, растущего на стенах станции." reagent_state = LIQUID color = "#C87D28" - taste_description = "mold" + taste_description = "плесени" /datum/reagent/fungus/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_INGEST) var/ranchance = rand(1,10) if(ranchance == 1) - to_chat(M, "You feel very sick.") + to_chat(M, span_warning("Вы чувствуете себя очень плохо.")) M.reagents.add_reagent("toxin", rand(1,5)) else if(ranchance <= 5) - to_chat(M, "That tasted absolutely FOUL.") + to_chat(M, span_warning("Это было невероятно отвратительно!")) var/datum/disease/food_poisoning/D = new D.Contract(M) else - to_chat(M, "Yuck!") + to_chat(M, "Чёрт, да какого хера!") /datum/reagent/ectoplasm - name = "Ectoplasm" + name = "Эктоплазма" id = "ectoplasm" - description = "A bizarre gelatinous substance supposedly derived from ghosts." + description = "Причудливая студенистая субстанция, якобы получаемая из призраков." reagent_state = LIQUID color = "#8EAE7B" process_flags = ORGANIC | SYNTHETIC //Because apparently ghosts in the shell - taste_description = "spooks" + taste_description = "страшилок" /datum/reagent/ectoplasm/on_mob_life(mob/living/M) - var/spooky_message = pick("You notice something moving out of the corner of your eye, but nothing is there...", "Your eyes twitch, you feel like something you can't see is here...", "You've got the heebie-jeebies.", "You feel uneasy.", "You shudder as if cold...", "You feel something gliding across your back...") + var/spooky_message = pick("Краем глаза вы замечаете, что что-то движется, но ничего не происходит...", "Глаза дёргаются, вам кажется, что здесь кто-то находится, но вы ничего не видите...", "У вас мурашки по коже.", "Вы чувствуете беспокойство.", "Вы вздрагиваете, словно от холода...", "Вы чувствуете, как что-то скользит по вашей спине...") if(prob(8)) - to_chat(M, "[spooky_message]") + to_chat(M, span_warning("[spooky_message]")) return ..() /datum/reagent/ectoplasm/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_INGEST) - var/spooky_eat = pick("Ugh, why did you eat that? Your mouth feels haunted. Haunted with bad flavors.", "Ugh, why did you eat that? It has the texture of ham aspic. From the 1950s. Left out in the sun.", "Ugh, why did you eat that? It tastes like a ghost fart.", "Ugh, why did you eat that? It tastes like flavor died.") - to_chat(M, "[spooky_eat]") + var/spooky_eat = pick("Зачем вы это съели? Во рту словно призраки. Призраки с плохим вкусом.", "Зачем вы это съели? У него текстура ветчинного аспика. Из 1950-х. Оставленная на солнце.", "Зачем вы это съели? На вкус как пердёж призрака.", "Зачем вы это съели? На вкус как будто что-то мёртвое.") + to_chat(M, span_warning("[spooky_eat]")) /datum/reagent/ectoplasm/reaction_turf(turf/T, volume) if(volume >= 10 && !isspaceturf(T)) @@ -1049,24 +1045,24 @@ ///Vomit/// /datum/reagent/vomit - name = "Vomit" + name = "Блевотина" id = "vomit" - description = "Looks like someone lost their lunch. And then collected it. Yuck." + description = "Похоже, кто-то потерял свой обед. А потом собрал его. Фу." reagent_state = LIQUID color = "#FFFF00" - taste_description = "puke" + taste_description = "рвоты" /datum/reagent/vomit/reaction_turf(turf/T, volume) if(volume >= 5 && !isspaceturf(T)) T.add_vomit_floor() /datum/reagent/greenvomit - name = "Green vomit" + name = "Зелёная блевотина" id = "green_vomit" - description = "Whoa, that can't be natural. That's horrible." + description = "Вау, это не может быть естественным. Это ужасно." reagent_state = LIQUID color = "#78FF74" - taste_description = "puke" + taste_description = "рвоты" /datum/reagent/greenvomit/reaction_turf(turf/T, volume) if(volume >= 5 && !isspaceturf(T)) @@ -1075,11 +1071,11 @@ ////Lavaland Flora Reagents//// /datum/reagent/consumable/entpoly - name = "Entropic Polypnium" + name = "Экстракт Энтропийного Полипния" id = "entpoly" - description = "An ichor, derived from a certain mushroom, makes for a bad time." + description = "Токсичное вещество, добываемое из некоторых видов грибов." color = "#1d043d" - taste_description = "bitter mushroom" + taste_description = "горьких грибов" /datum/reagent/consumable/entpoly/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1094,12 +1090,12 @@ return ..() | update_flags /datum/reagent/consumable/tinlux - name = "Tinea Luxor" + name = "Светящийся грибок" id = "tinlux" - description = "A stimulating ichor which causes luminescent fungi to grow on the skin. " + description = "Стимулирующий ихор, который вызывает рост люминесцентных грибков на коже." color = "#b5a213" var/light_activated = FALSE - taste_description = "tingling mushroom" + taste_description = "покалывающих язык грибов" //Lazy list of mobs affected by the luminosity of this reagent. var/list/mobs_affected @@ -1128,12 +1124,12 @@ qdel(mob_light_obj) /datum/reagent/consumable/vitfro - name = "Vitrium Froth" + name = "Стекловидная пена" id = "vitfro" - description = "A bubbly paste that heals wounds of the skin." + description = "Пенистая паста, заживляющая раны на коже." color = "#d3a308" nutriment_factor = 3 * REAGENTS_METABOLISM - taste_description = "fruity mushroom" + taste_description = "фруктовых грибов" /datum/reagent/consumable/vitfro/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1143,12 +1139,12 @@ return ..() | update_flags /datum/reagent/consumable/animal_feed - name = "Animal Feed" + name = "Еда для животных" id = "afeed" - description = "Food that pets are fed." + description = "Пища, которой кормят домашних животных." color = "#ac3308" nutriment_factor = 2 * REAGENTS_METABOLISM - taste_description = "animal feed" + taste_description = "пищи для животных" /datum/reagent/consumable/animal_feed/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1157,9 +1153,9 @@ update_flags |= M.adjustFireLoss(-0.25, FALSE, affect_robotic = FALSE) M.AdjustDisgust(-5 SECONDS) if(prob(2)) - to_chat(M, span_notice("You feel delicious yummy snack taste!")) + to_chat(M, span_notice("Вы чувствуете восхитительный вкус закуски!")) else M.AdjustDisgust(5 SECONDS) if(prob(2)) - to_chat(M, span_warning("Yuack! What a terrible taste!")) + to_chat(M, span_warning("Ух! Какой ужасный вкус!")) return ..() | update_flags diff --git a/code/modules/reagents/chemistry/reagents/medicine.dm b/code/modules/reagents/chemistry/reagents/medicine.dm index 83e85943a9c..5eddd7bb46b 100644 --- a/code/modules/reagents/chemistry/reagents/medicine.dm +++ b/code/modules/reagents/chemistry/reagents/medicine.dm @@ -1,7 +1,7 @@ /datum/reagent/medicine - name = "Medicine" + name = "Медицина" id = "medicine" - taste_description = "bitterness" + taste_description = "горечи" harmless = TRUE /datum/reagent/medicine/on_mob_life(mob/living/M) @@ -14,26 +14,26 @@ return STATUS_UPDATE_NONE /datum/reagent/medicine/hydrocodone - name = "Hydrocodone" + name = "Гидрокодон" id = "hydrocodone" - description = "An extremely effective painkiller; may have long term abuse consequences." + description = "Чрезвычайно эффективное болеутоляющее средство; может иметь долгосрочные последствия злоупотребления." reagent_state = LIQUID color = "#C805DC" metabolization_rate = 0.75 * REAGENTS_METABOLISM // Lasts 1.5 minutes for 15 units shock_reduction = 200 - taste_description = "numbness" + taste_description = "онемения во рту" /datum/reagent/medicine/hydrocodone/on_mob_life(mob/living/M) //Needed so the hud updates when injested / removed from system var/update_flags = STATUS_UPDATE_HEALTH return ..() | update_flags /datum/reagent/medicine/sterilizine - name = "Sterilizine" + name = "Стерилизин" id = "sterilizine" - description = "Sterilizes wounds in preparation for surgery." + description = "Стерилизует раны для подготовки к операции." reagent_state = LIQUID color = "#C8A5DC" // rgb: 200, 165, 220 - taste_description = "antiseptic" + taste_description = "антисептика" //makes you squeaky clean /datum/reagent/medicine/sterilizine/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) @@ -47,14 +47,14 @@ T.germ_level -= min(volume*20, T.germ_level) /datum/reagent/medicine/synaptizine - name = "Synaptizine" + name = "Синаптизин" id = "synaptizine" - description = "Synaptizine is used to treat neuroleptic shock. Can be used to help remove disabling symptoms such as paralysis." + description = "Синаптизин используется для лечения нейролептического шока. Может использоваться для устранения инвалидизирующих симптомов, таких как паралич." reagent_state = LIQUID color = "#FA46FA" overdose_threshold = 40 harmless = FALSE - taste_description = "stimulant" + taste_description = "бодрости" /datum/reagent/medicine/synaptizine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -74,7 +74,7 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 1) - M.visible_message("[M] suddenly and violently vomits!") + M.visible_message(span_warning("[M] блю[pluralize_ru(M.gender, "ёт", "ют")]!")) M.fakevomit(no_text = 1) else if(effect <= 3) M.emote(pick("groan","moan")) @@ -82,10 +82,10 @@ update_flags |= M.adjustToxLoss(1, FALSE) else if(severity == 2) if(effect <= 2) - M.visible_message("[M] suddenly and violently vomits!") + M.visible_message(span_warning("[M] блю[pluralize_ru(M.gender, "ёт", "ют")]!")) M.fakevomit(no_text = 1) else if(effect <= 5) - M.visible_message("[M] staggers and drools, [M.p_their()] eyes bloodshot!") + M.visible_message(span_warning("[M] пошатыва[pluralize_ru(M.gender, "ет", "ют")]ся и пуска[pluralize_ru(M.gender, "ет", "ют")] слюни. Из [genderize_ru(M.gender, "его", "её", "его", "их")] глаз течёт кровь!")) M.Dizzy(16 SECONDS) M.Weaken(8 SECONDS) if(effect <= 15) @@ -93,12 +93,12 @@ return list(effect, update_flags) /datum/reagent/medicine/mitocholide - name = "Mitocholide" + name = "Митоколид" id = "mitocholide" - description = "A specialized drug that stimulates the mitochondria of cells to encourage healing of internal organs." + description = "Специализированный препарат, стимулирующий митохондрии клеток для заживления внутренних органов." reagent_state = LIQUID color = "#C8A5DC" // rgb: 200, 165, 220 - taste_description = "nurturing" + taste_description = "горечи" /datum/reagent/medicine/mitocholide/on_mob_life(mob/living/M) if(ishuman(M)) @@ -118,13 +118,13 @@ /datum/reagent/medicine/cryoxadone data = list("diseases" = null) - name = "Cryoxadone" + name = "Криоксадон" id = "cryoxadone" - description = "A plasma mixture with almost magical healing powers. Its main limitation is that the targets body temperature must be under 265K for it to metabolise correctly." + description = "Плазменная смесь, обладающая почти магической целительной силой. Его главное ограничение - температура тела субъекта должна быть ниже 265 К, чтобы он мог правильно метаболизироваться." reagent_state = LIQUID color = "#0000C8" // rgb: 200, 165, 220 heart_rate_decrease = 1 - taste_description = "a safe refuge" + taste_description = "холодящей горечи" /datum/reagent/medicine/cryoxadone/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(data && data["diseases"]) @@ -168,14 +168,14 @@ new_blood.update_icon() /datum/reagent/medicine/rezadone - name = "Rezadone" + name = "Резадон" id = "rezadone" - description = "A powder derived from fish toxin, Rezadone can effectively treat genetic damage as well as restoring minor wounds. Overdose will cause intense nausea and minor toxin damage." + description = "Порошок, полученный из рыбьего токсина. Резадон может эффективно лечить генетические повреждения, а также восстанавливать мелкие раны. Передозировка вызывает сильную тошноту и отравление." reagent_state = SOLID color = "#669900" // rgb: 102, 153, 0 overdose_threshold = 30 harmless = FALSE - taste_description = "reformation" + taste_description = "обновления" /datum/reagent/medicine/rezadone/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -196,13 +196,13 @@ return list(0, update_flags) /datum/reagent/medicine/spaceacillin - name = "Spaceacillin" + name = "Космоциллин" id = "spaceacillin" - description = "An all-purpose antibiotic agent extracted from space fungus." + description = "Универсальный антибиотик, получаемый из космической плесени." reagent_state = LIQUID color = "#0AB478" metabolization_rate = 0.5 * REAGENTS_METABOLISM - taste_description = "antibiotics" + taste_description = "антибиотиков" /datum/reagent/medicine/spaceacillin/on_mob_life(mob/living/M) var/list/organs_list = list() @@ -227,14 +227,14 @@ return ..() /datum/reagent/medicine/silver_sulfadiazine - name = "Silver Sulfadiazine" + name = "Сульфадиазин серебра" id = "silver_sulfadiazine" - description = "This antibacterial compound is used to treat burn victims." + description = "Это антибактериальное соединение используется для лечения пострадавших от ожогов." reagent_state = LIQUID color = "#F0DC00" metabolization_rate = 7.5 * REAGENTS_METABOLISM harmless = FALSE //toxic if ingested, and I am NOT going to account for the difference - taste_description = "burn cream" + taste_description = "мази от ожогов" /datum/reagent/medicine/silver_sulfadiazine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -245,21 +245,21 @@ if(iscarbon(M)) if(method == REAGENT_TOUCH) if(M.heal_damage_type(volume, BURN) && show_message) - to_chat(M, "The silver sulfadiazine soothes your burns.") + to_chat(M, span_notice("Сульфадиазин серебра заживляет ваши ожоги.")) if(method == REAGENT_INGEST) if(M.apply_damage(0.5 * volume, TOX) && show_message) - to_chat(M, "You feel sick...") + to_chat(M, span_warning("Вас подташнивает...")) ..() /datum/reagent/medicine/styptic_powder - name = "Styptic Powder" + name = "Кровоостанавливающая пудра" id = "styptic_powder" - description = "Styptic (aluminum sulfate) powder helps control bleeding and heal physical wounds." + description = "Кровоостанавливающий порошок (сульфат алюминия), который помогает остановить кровотечение и заживить физические раны." reagent_state = LIQUID color = "#FF9696" metabolization_rate = 7.5 * REAGENTS_METABOLISM harmless = FALSE - taste_description = "wound cream" + taste_description = "мази от порезов" /datum/reagent/medicine/styptic_powder/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -270,21 +270,21 @@ if(iscarbon(M)) if(method == REAGENT_TOUCH) if(M.heal_damage_type(volume, BRUTE) && show_message && M.has_pain()) - to_chat(M, "The styptic powder stings like hell as it closes some of your wounds!") + to_chat(M, span_notice("Кровоостанавливающая пудра заживляет ваши раны. Как же щиплет!")) else if(method == REAGENT_INGEST) if(M.apply_damage(0.5 * volume, TOX) && show_message) - to_chat(M, "You feel gross!") + to_chat(M, span_warning("Вас подташнивает...")) ..() /datum/reagent/medicine/salglu_solution - name = "Saline-Glucose Solution" + name = "Физиологический раствор" id = "salglu_solution" - description = "This saline and glucose solution can help stabilize critically injured patients and cleanse wounds." + description = "Этот раствор соли и глюкозы помогает стабилизировать состояние тяжелораненых пациентов и очистить раны." reagent_state = LIQUID color = "#C8A5DC" penetrates_skin = TRUE metabolization_rate = 0.75 * REAGENTS_METABOLISM - taste_description = "salt" + taste_description = "солёной воды" /datum/reagent/medicine/salglu_solution/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -300,12 +300,12 @@ return ..() | update_flags /datum/reagent/medicine/synthflesh - name = "Synthflesh" + name = "Синт-плоть" id = "synthflesh" - description = "A resorbable microfibrillar collagen and protein mixture that can rapidly heal injuries when applied topically." + description = "Резорбируемая смесь микрофибриллярного коллагена и белков, способная быстро заживлять повреждения при местном применении." reagent_state = LIQUID color = "#FFEBEB" - taste_description = "blood" + taste_description = "крови" /datum/reagent/medicine/synthflesh/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume, show_message = 1) if(iscarbon(M)) @@ -313,7 +313,7 @@ var/heal_amount = 1.5 * volume M.heal_overall_damage(heal_amount, heal_amount) if(show_message) - to_chat(M, "The synthetic flesh integrates itself into your wounds, healing you.") + to_chat(M, span_notice("Синт-плоть начинает сращиваться с вашей кожей, заживляя раны.")) ..() /datum/reagent/medicine/synthflesh/reaction_turf(turf/T, volume) //let's make a mess! @@ -322,28 +322,28 @@ playsound(T, 'sound/effects/splat.ogg', 50, 1, -3) /datum/reagent/medicine/ab_stimulant - name = "Anti-burn Stimulant" + name = "Анти-ожоговый стимулянт" id = "antiburn_stimulant" description = "Стимулятор регенеративных способностей клеток, способный излечить обугленную кожу в кратчайшие сроки." reagent_state = LIQUID metabolization_rate = 0.25 * REAGENTS_METABOLISM overdose_threshold = 3 color = "#fab9b9" - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/medicine/ab_stimulant/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE - to_chat(M, "Вы чуствуете чесотку.") + to_chat(M, span_notice("Ваша кожа чешется.")) update_flags |= M.adjustFireLoss(-1.5, FALSE, affect_robotic = FALSE) if(volume > 1.9) if(HAS_TRAIT(M, TRAIT_HUSK)) var/mob/living/carbon/human/H = M H.cure_husk() - to_chat(M, "Ваша обугленная кожа отпадает!") + to_chat(M, span_warning("Ваша обугленная кожа отпадает!")) return ..() | update_flags /datum/reagent/medicine/ab_stimulant/overdose_process(mob/living/M, severity) - to_chat(M, "Ваша кожа лопается!") + to_chat(M, span_warning("Ваша кожа лопается!")) var/update = NONE update |= M.apply_damage(4, BRUTE, spread_damage = TRUE, updating_health = FALSE) update |= M.heal_damage_type(6, BURN, updating_health = FALSE) @@ -355,12 +355,12 @@ return ..() /datum/reagent/medicine/charcoal - name = "Charcoal" + name = "Активированный уголь" id = "charcoal" - description = "Activated charcoal helps to absorb toxins." + description = "Активированный уголь поглощает токсины." reagent_state = LIQUID color = "#000000" - taste_description = "dust" + taste_description = "пыли" /datum/reagent/medicine/charcoal/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -393,9 +393,9 @@ return ..() | update_flags /datum/reagent/medicine/omnizine - name = "Omnizine" + name = "Омнизин" id = "omnizine" - description = "Omnizine is a highly potent healing medication that can be used to treat a wide range of injuries." + description = "Омнизин - это высокоэффективный лечебный препарат, который можно использовать для лечения широкого спектра травм." reagent_state = LIQUID color = "#C8A5DC" overdose_threshold = 30 @@ -403,7 +403,7 @@ addiction_chance_additional = 20 addiction_threshold = 5 harmless = FALSE - taste_description = "health" + taste_description = "горько-сладкого лекарства" /datum/reagent/medicine/omnizine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -424,43 +424,43 @@ if(severity == 1) //lesser M.AdjustStuttering(2 SECONDS) if(effect <= 1) - M.visible_message("[M] suddenly cluches [M.p_their()] gut!") + M.visible_message(span_warning("[M] хвата[pluralize_ru(M.gender, "ет", "ют")]ся за живот от боли!")) M.emote("scream") M.Weaken(8 SECONDS) else if(effect <= 3) - M.visible_message("[M] completely spaces out for a moment.") + M.visible_message(span_warning("[M] на мгновение теря[pluralize_ru(M.gender, "ет", "ют")] сознание!")) M.AdjustConfused(30 SECONDS) else if(effect <= 5) - M.visible_message("[M] stumbles and staggers.") + M.visible_message(span_warning("[M] спотыка[pluralize_ru(M.gender, "ет", "ют")]ся и едва не падает!")) M.Dizzy(10 SECONDS) M.Weaken(6 SECONDS) else if(effect <= 7) - M.visible_message("[M] shakes uncontrollably.") + M.visible_message(span_warning("[M] тряс[pluralize_ru(M.gender, "ёт", "ют")]ся!")) M.Jitter(60 SECONDS) else if(severity == 2) // greater if(effect <= 2) - M.visible_message("[M] suddenly cluches [M.p_their()] gut!") + M.visible_message(span_warning("[M] хвата[pluralize_ru(M.gender, "ет", "ют")]ся за живот от боли!")) M.emote("scream") M.Weaken(14 SECONDS) else if(effect <= 5) - M.visible_message("[M] jerks bolt upright, then collapses!") + M.visible_message(span_warning("[M] резко дёрга[pluralize_ru(M.gender, "ет", "ют")]ся и падает!")) M.Paralyse(10 SECONDS) M.Weaken(8 SECONDS) else if(effect <= 8) - M.visible_message("[M] stumbles and staggers.") + M.visible_message(span_warning("[M] пошатыва[pluralize_ru(M.gender, "ет", "ют")]ся из стороны в сторону!")) M.Dizzy(10 SECONDS) M.Weaken(6 SECONDS) return list(effect, update_flags) /datum/reagent/medicine/calomel - name = "Calomel" + name = "Каломель" id = "calomel" - description = "This potent purgative rids the body of impurities. It is highly toxic however and close supervision is required." + description = "Это мощное чистящее средство избавляет организм от нечистот. Однако он очень токсичен, поэтому необходим тщательный контроль." reagent_state = LIQUID color = "#22AB35" metabolization_rate = 2 * REAGENTS_METABOLISM harmless = FALSE - taste_description = "a painful cleansing" + taste_description = "болезненного очищение" /datum/reagent/medicine/calomel/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -474,12 +474,12 @@ return ..() | update_flags /datum/reagent/medicine/potass_iodide - name = "Potassium Iodide" + name = "Йодид калия" id = "potass_iodide" - description = "Potassium Iodide is a medicinal drug used to counter the effects of radiation poisoning." + description = "Йодид калия - лекарственный препарат, используемый для борьбы с последствиями радиационного отравления." reagent_state = LIQUID color = "#B4DCBE" - taste_description = "cleansing" + taste_description = "очищения" /datum/reagent/medicine/potass_iodide/on_mob_life(mob/living/M) if(prob(80)) @@ -487,13 +487,13 @@ return ..() /datum/reagent/medicine/pen_acid - name = "Pentetic Acid" + name = "Пентетовая кислота" id = "pen_acid" - description = "Pentetic Acid is an aggressive chelation agent. May cause tissue damage. Use with caution." + description = "Диэтилентриаминпентаацетат (сокращённо \"пентетовая кислота\" или \"ДТПА\") - агрессивный хелатирующий агент. Может вызвать повреждение тканей. Используйте с осторожностью." reagent_state = LIQUID color = "#C8A5DC" harmless = FALSE - taste_description = "a purge" + taste_description = "очищения" /datum/reagent/medicine/pen_acid/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -514,16 +514,16 @@ return ..() | update_flags /datum/reagent/medicine/sal_acid - name = "Salicylic Acid" + name = "Салициловая кислота" id = "sal_acid" - description = "This is a is a standard salicylate pain reliever and fever reducer." + description = "Это стандартное обезболивающее и жаропонижающее средство." reagent_state = LIQUID color = "#B54848" metabolization_rate = 0.5 * REAGENTS_METABOLISM shock_reduction = 25 overdose_threshold = 25 harmless = FALSE - taste_description = "relief" + taste_description = "облегчения" /datum/reagent/medicine/sal_acid/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -534,13 +534,13 @@ return ..() | update_flags /datum/reagent/medicine/menthol - name = "Menthol" + name = "Ментол" id = "menthol" - description = "Menthol relieves burns and aches while providing a cooling sensation." + description = "Ментол снимает ожоги и боль, обеспечивая ощущение прохлады." reagent_state = LIQUID color = "#F0F9CA" metabolization_rate = 0.25 * REAGENTS_METABOLISM - taste_description = "soothing" + taste_description = "успокоения" /datum/reagent/medicine/menthol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -551,12 +551,12 @@ return ..() | update_flags /datum/reagent/medicine/salbutamol - name = "Salbutamol" + name = "Сальбутамол" id = "salbutamol" - description = "Salbutamol is a common bronchodilation medication for asthmatics. It may help with other breathing problems as well." + description = "Сальбутамол - распространенное бронхорасширяющее лекарство для астматиков. Он может помочь и при других проблемах с дыханием." reagent_state = LIQUID color = "#00FFFF" - taste_description = "safety" + taste_description = "свежего воздуха" /datum/reagent/medicine/salbutamol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -565,9 +565,9 @@ return ..() | update_flags /datum/reagent/medicine/perfluorodecalin - name = "Perfluorodecalin" + name = "Перфтордекалин" id = "perfluorodecalin" - description = "This experimental perfluoronated solvent has applications in liquid breathing and tissue oxygenation. Use with caution." + description = "Этот экспериментальный перфторированный растворитель находит применение в жидкостном дыхании и оксигенации тканей. Использовать с осторожностью." reagent_state = LIQUID color = "#C8A5DC" metabolization_rate = 0.5 * REAGENTS_METABOLISM @@ -575,7 +575,7 @@ addiction_chance_additional = 20 addiction_threshold = 10 harmless = FALSE - taste_description = "oxygenation" + taste_description = "оксигенации" /datum/reagent/medicine/perfluorodecalin/on_mob_life(mob/living/carbon/human/M) var/update_flags = STATUS_UPDATE_NONE @@ -588,9 +588,9 @@ return ..() | update_flags /datum/reagent/medicine/ephedrine - name = "Ephedrine" + name = "Эфедрин" id = "ephedrine" - description = "Ephedrine is a plant-derived stimulant." + description = "Эфедрин - это стимулятор растительного происхождения." reagent_state = LIQUID color = "#C8A5DC" metabolization_rate = 0.75 * REAGENTS_METABOLISM @@ -599,7 +599,7 @@ addiction_chance_additional = 10 addiction_threshold = 10 harmless = FALSE - taste_description = "stimulation" + taste_description = "стимуляции" /datum/reagent/medicine/ephedrine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -623,7 +623,7 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 1) - M.visible_message("[M] suddenly and violently vomits!") + M.visible_message(span_warning("[M] блю[pluralize_ru(M.gender, "ёт", "ют")]!")) M.fakevomit(no_text = 1) else if(effect <= 3) M.emote(pick("groan","moan")) @@ -631,10 +631,10 @@ M.emote("collapse") else if(severity == 2) if(effect <= 2) - M.visible_message("[M] suddenly and violently vomits!") + M.visible_message(span_warning("[M] блю[pluralize_ru(M.gender, "ёт", "ют")]!")) M.fakevomit(no_text = 1) else if(effect <= 5) - M.visible_message("[M.name] staggers and drools, [M.p_their()] eyes bloodshot!") + M.visible_message(span_warning("[M] пошатыва[pluralize_ru(M.gender, "ет", "ют")]ся и пуска[pluralize_ru(M.gender, "ет", "ют")] слюни. Из [genderize_ru(M.gender, "его", "её", "его", "их")] глаз течёт кровь!")) M.Dizzy(4 SECONDS) M.Weaken(6 SECONDS) if(effect <= 15) @@ -642,15 +642,15 @@ return list(effect, update_flags) /datum/reagent/medicine/diphenhydramine - name = "Diphenhydramine" + name = "Дифенгидрамин" id = "diphenhydramine" - description = "Anti-allergy medication. May cause drowsiness, do not operate heavy machinery while using this." + description = "Противоаллергические препараты. Может вызывать сонливость, не работайте с тяжелыми механизмами при использовании этого препарата." reagent_state = LIQUID color = "#5BCBE1" addiction_chance = 1 addiction_threshold = 10 harmless = FALSE - taste_description = "antihistamine" + taste_description = "антигистамина" /datum/reagent/medicine/diphenhydramine/on_mob_life(mob/living/M) M.AdjustJitter(-40 SECONDS) @@ -661,13 +661,13 @@ if(prob(3)) M.AdjustDrowsy(2 SECONDS) - M.visible_message("[M] looks a bit dazed.") + M.visible_message(span_notice("[M] выгляд[pluralize_ru(M.gender, "ит вялым", "ят вялыми")].")) return ..() /datum/reagent/medicine/morphine - name = "Morphine" + name = "Морфин" id = "morphine" - description = "A strong but highly addictive opiate painkiller with sedative side effects." + description = "Сильное, но вызывающее сильное привыкание опиатное болеутоляющее средство с седативными побочными эффектами." reagent_state = LIQUID color = "#C8A5DC" overdose_threshold = 20 @@ -675,7 +675,7 @@ addiction_threshold = 15 shock_reduction = 50 harmless = FALSE - taste_description = "a delightful numbing" + taste_description = "приятного оцепенения" /datum/reagent/medicine/morphine/on_mob_add(mob/living/M) @@ -704,16 +704,16 @@ return ..() | update_flags /datum/reagent/medicine/morphine/syntmorphine - name = "Syntmorphine" + name = "Синт-морфин" id = "syntmorphine" /datum/reagent/medicine/oculine - name = "Oculine" + name = "Окулин" id = "oculine" - description = "Oculine is a saline eye medication with mydriatic and antibiotic effects." + description = "Окулин - это солевой глазной препарат с мидриатическим и антибиотическим действием." reagent_state = LIQUID color = "#C8A5DC" - taste_description = "clarity" + taste_description = "ясности" /datum/reagent/medicine/oculine/on_mob_life(mob/living/M) if(prob(80)) @@ -733,15 +733,15 @@ return ..() /datum/reagent/medicine/atropine - name = "Atropine" + name = "Атропин" id = "atropine" - description = "Atropine is a potent cardiac resuscitant but it can causes confusion, dizzyness and hyperthermia." + description = "Атропин - мощный сердечный реаниматор, но он может вызвать спутанность сознания, головокружение и гипертермию." reagent_state = LIQUID color = "#000000" metabolization_rate = 0.5 * REAGENTS_METABOLISM overdose_threshold = 25 harmless = FALSE - taste_description = "a moment of respite" + taste_description = "передышки" /datum/reagent/medicine/atropine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -762,15 +762,15 @@ return ..() | update_flags /datum/reagent/medicine/epinephrine - name = "Epinephrine" + name = "Эпинефрин" id = "epinephrine" - description = "Epinephrine is a potent neurotransmitter, used in medical emergencies to halt anaphylactic shock and prevent cardiac arrest." + description = "Эпинефрин - мощный нейротрансмиттер, используемый в экстренных медицинских ситуациях для купирования анафилактического шока и предотвращения остановки сердца." reagent_state = LIQUID color = "#96B1AE" metabolization_rate = 0.5 * REAGENTS_METABOLISM overdose_threshold = 20 harmless = FALSE - taste_description = "borrowed time" + taste_description = "выигранного времени" /datum/reagent/medicine/epinephrine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -801,7 +801,7 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 1) - M.visible_message("[M] suddenly and violently vomits!") + M.visible_message(span_warning("[M] блю[pluralize_ru(M.gender, "ёт", "ют")]!")) M.fakevomit(no_text = 1) else if(effect <= 3) M.emote(pick("groan","moan")) @@ -809,10 +809,10 @@ M.emote("collapse") else if(severity == 2) if(effect <= 2) - M.visible_message("[M] suddenly and violently vomits!") + M.visible_message(span_warning("[M] блю[pluralize_ru(M.gender, "ёт", "ют")]!")) M.fakevomit(no_text = 1) else if(effect <= 5) - M.visible_message("[M] staggers and drools, [M.p_their()] eyes bloodshot!") + M.visible_message(span_warning("[M] пошатыва[pluralize_ru(M.gender, "ет", "ют")]ся и пуска[pluralize_ru(M.gender, "ет", "ют")] слюни. Из [genderize_ru(M.gender, "его", "её", "его", "их")] глаз течёт кровь!")) M.Dizzy(4 SECONDS) M.Weaken(6 SECONDS) if(effect <= 15) @@ -820,13 +820,13 @@ return list(effect, update_flags) /datum/reagent/medicine/strange_reagent - name = "Strange Reagent" + name = "Странный реагент" id = "strange_reagent" - description = "A glowing green fluid highly reminiscent of nuclear waste." + description = "Светящаяся зелёная жидкость, очень напоминающая ядерные отходы." reagent_state = LIQUID color = "#A0E85E" metabolization_rate = 0.5 * REAGENTS_METABOLISM - taste_description = "life" + taste_description = "жизни" harmless = FALSE var/revive_type = SENTIENCE_ORGANIC //So you can't revive boss monsters or robots with it @@ -848,7 +848,7 @@ if(SM.stat == DEAD) SM.revive() SM.loot.Cut() //no abusing strange reagent for farming unlimited resources - SM.visible_message("[SM] seems to rise from the dead!") + SM.visible_message(span_warning("[SM] ожива[pluralize_ru(SM.gender, "ет", "ют")]!")) if(iscarbon(M)) if(method == REAGENT_INGEST || (method == REAGENT_TOUCH && prob(25))) @@ -858,11 +858,11 @@ M.delayed_gib() return if(!M.ghost_can_reenter()) - M.visible_message("[M] twitches slightly, but is otherwise unresponsive!") + M.visible_message(span_warning("[M] слегка вздрагива[pluralize_ru(M.gender, "ет", "ют")], но в остальном не реагиру[pluralize_ru(M.gender, "ет", "ют")]!")) return if(!M.suiciding && !HAS_TRAIT(M, TRAIT_NO_CLONE) && (!M.mind || M.mind?.is_revivable())) var/time_dead = world.time - M.timeofdeath - M.visible_message("[M] seems to rise from the dead!") + M.visible_message(span_warning("[M] ожива[pluralize_ru(M.gender, "ет", "ют")]!")) var/update = NONE update |= M.take_overall_damage(rand(0, 15), rand(0, 15), updating_health = FALSE) update |= M.apply_damages(tox = rand(0, 15), clone = 50, updating_health = FALSE) @@ -888,11 +888,11 @@ ..() /datum/reagent/medicine/mannitol - name = "Mannitol" + name = "Маннитол" id = "mannitol" - description = "Mannitol is a sugar alcohol that can help alleviate cranial swelling." + description = "Маннитол - это сахарный спирт, который может восстановить повреждённые ткани мозга." color = "#D1D1F1" - taste_description = "sweetness" + taste_description = "сладкого спирта" /datum/reagent/medicine/mannitol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -901,11 +901,11 @@ return ..() | update_flags /datum/reagent/medicine/fomepizole - name = "Fomepizole" + name = "Фомепизол" id = "fomepizole" - description = "Fomepizone is a competitive ADH inhibitor. It is used to block metabolism of ethanol to their toxic metabolites." + description = "Фомепизол является конкурентным ингибитором АДГ. Он используется для блокировки метаболизма этанола до его токсичных метаболитов." color = "#95bb72" - taste_description = "sanity" + taste_description = "адекватности" /datum/reagent/medicine/fomepizole/on_mob_life(mob/living/M) M.AdjustDizzy(-120 SECONDS) @@ -913,11 +913,11 @@ return ..() /datum/reagent/medicine/mutadone - name = "Mutadone" + name = "Мутадон" id = "mutadone" - description = "Mutadone is an experimental bromide that can cure genetic abnomalities." + description = "Мутадон - это экспериментальный бромид, который может лечить генетические аномалии." color = "#5096C8" - taste_description = "cleanliness" + taste_description = "очищения" /datum/reagent/medicine/mutadone/on_mob_life(mob/living/carbon/human/M) @@ -939,11 +939,11 @@ /datum/reagent/medicine/antihol - name = "Antihol" + name = "Антиголь" id = "antihol" - description = "A medicine which quickly eliminates alcohol in the body." + description = "Препарат, который быстро выводит алкоголь из организма." color = "#009CA8" - taste_description = "sobriety" + taste_description = "трезвости" /datum/reagent/medicine/antihol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -955,13 +955,13 @@ return ..() | update_flags /datum/reagent/medicine/stimulants - name = "Stimulants" + name = "Стимулятор" id = "stimulants" - description = "An illegal compound that dramatically enhances the body's performance and healing capabilities." + description = "Запрещённое вещество, резко повышающее работоспособность и лечебные возможности организма." color = "#C8A5DC" harmless = FALSE can_synth = FALSE - taste_description = "an unstoppable force" + taste_description = span_userdanger("нереальной бодрости") var/absorption_applied = FALSE /datum/reagent/medicine/stimulants/on_mob_life(mob/living/M) @@ -999,9 +999,9 @@ /datum/reagent/medicine/stimulative_agent - name = "Stimulative Agent" + name = "Стимулирующий агент" id = "stimulative_agent" - description = "Increases run speed and eliminates stuns, can heal minor damage. If overdosed it will deal toxin damage and be less effective for healing stamina." + description = "Увеличивает скорость бега и устраняет оглушение, может исцелять небольшие повреждения. При передозировке отравляет и менее эффективен для восстановления выносливости." color = "#C8A5DC" metabolization_rate = 0.5 * REAGENTS_METABOLISM overdose_threshold = 60 @@ -1043,25 +1043,25 @@ return list(0, update_flags) /datum/reagent/medicine/insulin - name = "Insulin" + name = "Инсулин" id = "insulin" - description = "A hormone generated by the pancreas responsible for metabolizing carbohydrates and fat in the bloodstream." + description = "Гормон, вырабатываемый поджелудочной железой и отвечающий за метаболизм углеводов и жиров в кровеносной системе.." reagent_state = LIQUID color = "#C8A5DC" - taste_description = "tiredness" + taste_description = "усталости" /datum/reagent/medicine/insulin/on_mob_life(mob/living/M) M.reagents.remove_reagent("sugar", 5) return ..() /datum/reagent/heparin - name = "Heparin" + name = "Гепарин" id = "heparin" - description = "An anticoagulant used in heart surgeries, and in the treatment of heart attacks and blood clots." + description = "Антикоагулянт, используемый при операциях на сердце, а также при лечении инфарктов и тромбозов." reagent_state = LIQUID color = "#eee6da" overdose_threshold = 20 - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/heparin/on_mob_life(mob/living/M) M.reagents.remove_reagent("cholesterol", 2) @@ -1080,7 +1080,7 @@ M.AdjustBlood(-rand(1, 2)) else if(severity == 2) if(effect <= 2) - M.visible_message("[M] is bleeding from [M.p_their()] very pores!") + M.visible_message(span_warning("[M] тряс[pluralize_ru(M.gender, "ёт", "ют")]ся, кровь хлещет прямо из [genderize_ru(M.gender, "его", "её", "его", "их")] пор!")) M.bleed(rand(10, 20)) else if(effect <= 4) M.vomit(0, VOMIT_BLOOD, 0 SECONDS) @@ -1092,16 +1092,16 @@ /datum/reagent/medicine/teporone - name = "Teporone" + name = "Тепорон" id = "teporone" - description = "This experimental plasma-based compound seems to regulate body temperature." + description = "Это экспериментальное соединение на основе плазмы крови, которое регулирует температуру тела." reagent_state = LIQUID color = "#D782E6" addiction_chance = 1 addiction_chance_additional = 10 addiction_threshold = 10 overdose_threshold = 50 - taste_description = "warmth and stability" + taste_description = "согревающей горечи" var/temperature_effect = 40 /datum/reagent/medicine/teporone/on_mob_life(mob/living/M) @@ -1115,12 +1115,12 @@ return ..() /datum/reagent/medicine/haloperidol - name = "Haloperidol" + name = "Галоперидол" id = "haloperidol" - description = "Haloperidol is a powerful antipsychotic and sedative. Will help control psychiatric problems, but may cause brain damage." + description = "Галоперидол - мощный антипсихотик и седативное средство. Помогает справиться с психическими проблемами, но может вызвать повреждение мозга." reagent_state = LIQUID color = "#FFDCFF" - taste_description = "stability" + taste_description = "стабильности и успокоения" harmless = FALSE var/list/drug_list = list("crank","methamphetamine","space_drugs","psilocybin","ephedrine","epinephrine","stimulants","bath_salts","lsd","thc") @@ -1142,14 +1142,14 @@ return ..() | update_flags /datum/reagent/medicine/ether - name = "Ether" + name = "Эфир" id = "ether" - description = "A strong anesthetic and sedative." + description = "Сильное обезболивающее и седативное средство." reagent_state = LIQUID color = "#96DEDE" metabolization_rate = 0.25 * REAGENTS_METABOLISM harmless = FALSE - taste_description = "sleepiness" + taste_description = "снотворного" /datum/reagent/medicine/ether/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1166,13 +1166,13 @@ return ..() | update_flags /datum/reagent/medicine/syndicate_nanites //Used exclusively by Syndicate medical cyborgs - name = "Restorative Nanites" + name = "Восстановительные наниты" id = "syndicate_nanites" - description = "Miniature medical robots that swiftly restore bodily damage. May begin to attack their host's cells in high amounts." + description = "Миниатюрные медицинские роботы, которые быстро восстанавливают повреждения тела. Могут начать атаковать клетки своего хозяина в больших количествах." reagent_state = SOLID color = "#555555" can_synth = FALSE - taste_description = "bodily perfection" + taste_description = "нано-технологий" /datum/reagent/medicine/syndicate_nanites/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1185,20 +1185,20 @@ return ..() | update_flags /datum/reagent/medicine/omnizine_diluted - name = "Diluted Omnizine" + name = "Разбавленный омнизин" id = "weak_omnizine" - description = "Slowly heals all damage types. A far weaker substitute than actual omnizine." + description = "Медленно исцеляет все типы повреждений. Гораздо более слабая версия настоящего омнизина." reagent_state = LIQUID color = "#DCDCDC" overdose_threshold = 30 metabolization_rate = 0.25 * REAGENTS_METABOLISM harmless = FALSE - taste_description = "faint hope" + taste_description = "слабой надежды" /datum/reagent/medicine/omnizine_diluted/godblood - name = "Godblood" + name = "Кровь Бога" id = "godblood" - description = "Slowly heals all damage types. Has a rather high overdose threshold. Glows with mysterious power." + description = "Медленно исцеляет все типы повреждений. Имеет довольно высокий порог передозировки. Светится таинственной силой." overdose_threshold = 150 /datum/reagent/medicine/omnizine_diluted/on_mob_life(mob/living/M) @@ -1223,13 +1223,13 @@ //Degreaser: Mild Purgative / Lube Remover /datum/reagent/medicine/degreaser - name = "Degreaser" + name = "Обезжириватель" id = "degreaser" - description = "An industrial degreaser which can be used to clean residual build-up from machinery and surfaces." + description = "Промышленный обезжириватель, который можно использовать для удаления остатков налёта с оборудования и поверхностей." reagent_state = LIQUID color = "#CC7A00" process_flags = SYNTHETIC - taste_description = "overclocking" + taste_description = "очищения внутренних систем" /datum/reagent/medicine/degreaser/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1253,13 +1253,13 @@ //Liquid Solder: Mannitol /datum/reagent/medicine/liquid_solder - name = "Liquid Solder" + name = "Жидкий припой" id = "liquid_solder" - description = "A solution formulated to clean and repair damaged connections in posibrains while in use." + description = "Раствор, предназначенный для очистки и восстановления поврежденных соединений в позитронных блоках в процессе эксплуатации." reagent_state = LIQUID color = "#D7B395" process_flags = SYNTHETIC - taste_description = "heavy metals" + taste_description = "тяжёлых металлов" /datum/reagent/medicine/liquid_solder/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1268,13 +1268,13 @@ //Coolant: Antihol /datum/reagent/medicine/coolant - name = "Coolant" + name = "Охлаждающая жидкость" id = "coolant" - description = "Fixes speech bugs" + description = "Исправляет ошибки модуля общения." reagent_state = LIQUID color = "#0af0f0" process_flags = SYNTHETIC - taste_description = "error" + taste_description = "исправленных багов" /datum/reagent/medicine/coolant/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1286,14 +1286,14 @@ //Trek-Chems. DO NOT USE THES OUTSIDE OF BOTANY OR FOR VERY SPECIFIC PURPOSES. NEVER GIVE A RECIPE UNDER ANY CIRCUMSTANCES// /datum/reagent/medicine/bicaridine - name = "Bicaridine" + name = "Бикаридин" id = "bicaridine" - description = "Restores bruising. Overdose causes it instead." + description = "Залечивает травмы. При передозировке вызывает их появление." reagent_state = LIQUID color = "#C8A5DC" overdose_threshold = 30 harmless = FALSE - taste_description = "knitting wounds" + taste_description = "восстановления ран" /datum/reagent/medicine/bicaridine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1306,14 +1306,14 @@ return list(0, update_flags) /datum/reagent/medicine/kelotane - name = "Kelotane" + name = "Келотан" id = "kelotane" - description = "Restores fire damage. Overdose causes it instead." + description = "Залечивает ожоги. При передозировке вызывает их появление." reagent_state = LIQUID color = "#C8A5DC" overdose_threshold = 30 harmless = FALSE - taste_description = "soothed burns" + taste_description = "восстановления ожогов" /datum/reagent/medicine/kelotane/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1327,13 +1327,13 @@ /datum/reagent/medicine/earthsblood //Created by ambrosia gaia plants - name = "Earthsblood" + name = "Кровь Земли" id = "earthsblood" - description = "Ichor from an extremely powerful plant. Great for restoring wounds, but it's a little heavy on the brain." + description = "Ихор от чрезвычайно мощного растения. Отлично восстанавливает раны, но немного тяжеловат для мозга." color = "#FFAF00" overdose_threshold = 25 harmless = FALSE - taste_description = "a gift from nature" + taste_description = "природного восстановления" /datum/reagent/medicine/earthsblood/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1356,13 +1356,13 @@ return list(0, update_flags) /datum/reagent/medicine/syndiezine - name = "Syndiezine" + name = "Синдизин" id = "syndiezine" - description = "Попытка синдиката вывести синтетический аналог реагента кровь земли. Слабо лечит раны, но быстро избавляет от усталости, вызывает галлюцинации." + description = "Попытка синдиката вывести синтетический аналог вещества \"Кровь Земли\". Слабо лечит раны, но быстро избавляет от усталости, вызывает галлюцинации." color = "#332300" overdose_threshold = 25 harmless = FALSE - taste_description = "metal with tobacco" + taste_description = "металла с табаком" /datum/reagent/medicine/syndiezine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1384,23 +1384,23 @@ return list(0, update_flags) /datum/reagent/medicine/corazone - name = "Corazone" + name = "Коразон" id = "corazone" - description = "A medication used to treat pain, fever, and inflammation, along with heart attacks." + description = "Лекарство, используемое для лечения боли, лихорадки и воспаления, а также сердечных приступов." color = "#F5F5F5" - taste_description = "a brief respite" + taste_description = "короткой передышки" // This reagent's effects are handled in heart attack handling code /datum/reagent/medicine/nanocalcium - name = "Nano-Calcium" + name = "Нано-Кальций" id = "nanocalcium" - description = "Highly advanced nanites equipped with an unknown payload designed to repair a body. Nanomachines son." + description = "Высокотехнологичные наниты, оснащённые экспериментальной полезной нагрузкой, предназначенной для восстановления тела. Наномашины, сынок." color = "#9b3401" metabolization_rate = 1.25 * REAGENTS_METABOLISM can_synth = FALSE harmless = FALSE - taste_description = "minute of suffering" + taste_description = "предстоящих страданий" var/list/stimulant_list = list("methamphetamine", "crank", "bath_salts", "stimulative_agent", "stimulants", "adrenaline") /datum/reagent/medicine/nanocalcium/on_mob_life(mob/living/carbon/human/M) @@ -1414,7 +1414,7 @@ if(1 to 9) M.AdjustJitter(8 SECONDS) if(prob(20)) - to_chat(M, span_warning("Your skin feels hot and your veins are on fire!")) + to_chat(M, span_warning("Ваша кожа горит, а кровь в венах закипает!")) update_flags |= M.adjustFireLoss(1, FALSE) if(has_stimulant) for(var/datum/reagent/R in M.reagents.reagent_list) @@ -1430,7 +1430,7 @@ else M.AdjustWeakened(10 SECONDS) if(22) - to_chat(M, span_warning("Your body goes rigid, you cannot move at all!")) + to_chat(M, span_warning("Ваше тело онемело, вы не можете пошевелиться!")) M.AdjustWeakened(15 SECONDS) if(23 to INFINITY) // Start fixing bones | If they have stimulants or stimulant drugs in their system then the nanites won't work. if(has_stimulant) @@ -1439,10 +1439,10 @@ for(var/obj/item/organ/external/bodypart as anything in M.bodyparts) if(prob(50)) // Each tick has a 50% chance of repearing a bone. if(bodypart.has_fracture()) //I can't just check for !E.status - to_chat(M, span_notice("You feel a burning sensation in your [bodypart.name] as it straightens involuntarily!")) + to_chat(M, span_notice("Вы чувствуете жжение в ваш[genderize_ru(bodypart.gender, "ем", "ей", "ем", "их")] [bodypart.declent_ru(PREPOSITIONAL)], по мере того как [genderize_ru(bodypart.gender, "он", "она", "оно", "они")] применяют правильную форму!")) bodypart.mend_fracture() if(bodypart.has_internal_bleeding()) - to_chat(M, span_notice("You feel a burning sensation in your [bodypart.name] as your veins begin to recover!")) + to_chat(M, span_notice("Вы чувствуете жжение в ваш[genderize_ru(bodypart.gender, "ем", "ей", "ем", "их")] [bodypart.declent_ru(PREPOSITIONAL)], по мере того как сосуды в [genderize_ru(bodypart.gender, "нём", "ней", "нём", "них")] восстанавливаются!")) bodypart.stop_internal_bleeding() if(ishuman(M)) @@ -1460,15 +1460,15 @@ update_flags |= M.adjustFireLoss(-4, FALSE, affect_robotic = FALSE) else if(prob(50)) - to_chat(M, span_warning("Your skin feels like it is ripping apart and your veins are on fire!")) //It is experimental and does cause scars, after all. + to_chat(M, span_warning("Ваша кожа словно разрывается на части, а вены горят!")) //It is experimental and does cause scars, after all. update_flags |= M.adjustBruteLoss(2, FALSE) update_flags |= M.adjustFireLoss(2, FALSE) return ..() | update_flags /datum/reagent/medicine/lavaland_extract - name = "Lavaland Extract" + name = "Экстракт Лаваленда" id = "lavaland_extract" - description = "An extract of lavaland atmospheric and mineral elements. Heals the user in small doses, but is extremely toxic otherwise." + description = "Экстракт атмосферы Лаваленда и минеральные элементы в придачу. В небольших дозах исцеляет пользователя, но в остальных случаях крайне токсичен." color = "#C8A5DC" // rgb: 200, 165, 220 overdose_threshold = 3 //To prevent people stacking massive amounts of a very strong healing reagent harmless = FALSE @@ -1489,14 +1489,14 @@ return ..() | update_flags /datum/reagent/medicine/zessulblood //unique chemical for unathi - name = "Zessul's blood" + name = "Кровь Зессул" id = "zessulblood" - description = "A natural chemical generated by unathi" + description = "Природное химическое вещество, вырабатываемое в кровотоке унатхов." reagent_state = LIQUID color = "#00ff15" metabolization_rate = REAGENTS_METABOLISM shock_reduction = 20 - taste_description = "blessing" + taste_description = "благословления" can_synth = FALSE /datum/reagent/medicine/zessulblood/on_mob_life(mob/living/M) @@ -1506,14 +1506,14 @@ return ..() | update_flags /datum/reagent/medicine/pure_plasma //unique chemical for plasmaman - name = "Pure plasma" + name = "Чистая плазма" id = "pure_plasma" - description = "A product of plasma metabolism in the body of plasmaman, confirming their weak susceptibility to pain. Extremely toxic." + description = "Продукт метаболизма плазмаменов, отвечающий за восстановление тканей и противодействие болевому шоку. Чрезвычайно токсичен." reagent_state = LIQUID color = "#b521c2" metabolization_rate = REAGENTS_METABOLISM shock_reduction = 20 - taste_description = "Superiority" + taste_description = "превосходства" can_synth = FALSE /datum/reagent/medicine/pure_plasma/on_mob_life(mob/living/carbon/M) @@ -1531,11 +1531,11 @@ return ..() | update_flags /datum/reagent/medicine/grubjuice - name = "Grub juice" + name = "Жучиный сок" id = "grub_juice" - description = "A potent medicinal product that can have dangerous side effects if used too much." + description = "Сильнодействующее лекарственное средство, которое при чрезмерном употреблении может вызвать опасные побочные эффекты." color = "#43bf1d" - taste_description = "bug intestines" + taste_description = "жучиных кишков" overdose_threshold = 10 can_synth = FALSE @@ -1551,9 +1551,9 @@ return list(0, update_flags) /datum/reagent/medicine/adrenaline - name = "adrenaline" + name = "Адреналин" id = "adrenaline" - description = "A powerfull stimulant that makes you immune to stuns for duration" + description = "Мощный стимулятор, который делает вас невосприимчивым к оглушению на некоторое время." color = "#C8A5DC" metabolization_rate = 0.8 * REAGENTS_METABOLISM overdose_threshold = 2.1 @@ -1585,19 +1585,19 @@ return list(0, update_flags) /datum/reagent/medicine/adv_lava_extract - name = "Modified Lavaland Extract" + name = "Модифицированный Экстракт Лаваленда" id = "adv_lava_extract" - description = "A very expensive medicine that aids with pumping blood around the body, and prevents the heart from slowing down, healing patient in process. Overdose will cause heart attacks." + description = "Очень дорогое лекарство, которое помогает перекачивать кровь по телу и предотвращает замедление работы сердца, исцеляя пациента в процессе. Передозировка приводит к сердечным приступам." reagent_state = LIQUID color = "#F5F5F5" overdose_threshold = 10 harmless = FALSE - taste_description = "bad idea" + taste_description = "плохих идей" can_synth = FALSE /atom/movable/screen/alert/adv_lava_extract - name = "Strong Heartbeat" - desc = "Your heart beats with great force! Be carefull not to cause heart attack." + name = "Учащённое сердцебиение" + desc = "Ваше сердце бьется с огромной силой! Будьте осторожны, чтобы не вызвать сердечный приступ." icon_state = "penthrite" /datum/reagent/medicine/adv_lava_extract/on_mob_add(mob/living/carbon/human/user) diff --git a/code/modules/reagents/chemistry/reagents/misc.dm b/code/modules/reagents/chemistry/reagents/misc.dm index 691f3e1ed50..65b58cc6e0c 100644 --- a/code/modules/reagents/chemistry/reagents/misc.dm +++ b/code/modules/reagents/chemistry/reagents/misc.dm @@ -33,128 +33,127 @@ /datum/reagent/oxygen - name = "Oxygen" + name = "Кислород" id = "oxygen" - description = "A colorless, odorless gas." + description = "Бесцветный газ без запаха." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 taste_mult = 0 /datum/reagent/nitrogen - name = "Nitrogen" + name = "Азот" id = "nitrogen" - description = "A colorless, odorless, tasteless gas." + description = "Бесцветный газ без запаха и вкуса." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 taste_mult = 0 /datum/reagent/hydrogen - name = "Hydrogen" + name = "Водород" id = "hydrogen" - description = "A colorless, odorless, nonmetallic, tasteless, highly combustible diatomic gas." + description = "Бесцветный, без запаха, неметаллический, безвкусный, сильно горючий двухатомный газ." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 taste_mult = 0 /datum/reagent/potassium - name = "Potassium" + name = "Калий" id = "potassium" - description = "A soft, low-melting solid that can easily be cut with a knife. Reacts violently with water." + description = "Мягкий, легко плавящийся твердый материал, который легко режется ножом. Бурно реагирует с водой." reagent_state = SOLID color = "#A0A0A0" // rgb: 160, 160, 160 - taste_description = "bad ideas" + taste_description = "плохих мыслей" /datum/reagent/sulfur - name = "Sulfur" + name = "Сера" id = "sulfur" - description = "A chemical element." + description = "Химический элемент." reagent_state = SOLID color = "#BF8C00" // rgb: 191, 140, 0 - taste_description = "impulsive decisions" + taste_description = "импульсивных решений" /datum/reagent/sodium - name = "Sodium" + name = "Натрий" id = "sodium" - description = "A chemical element." + description = "Химический элемент." reagent_state = SOLID color = "#808080" // rgb: 128, 128, 128 - taste_description = "horrible misjudgement" + taste_description = "ужасных суждений" /datum/reagent/phosphorus - name = "Phosphorus" + name = "Фосфор" id = "phosphorus" - description = "A chemical element." + description = "Химический элемент." reagent_state = SOLID color = "#832828" // rgb: 131, 40, 40 - taste_description = "misguided choices" + taste_description = "неправильных выборов" /datum/reagent/carbon - name = "Carbon" + name = "Углерод" id = "carbon" - description = "A chemical element." + description = "Химический элемент." reagent_state = SOLID color = "#1C1300" // rgb: 30, 20, 0 - taste_description = "like a pencil or something" + taste_description = "пишущей части карандаша" /datum/reagent/carbon/reaction_turf(turf/T, volume) if(!(locate(/obj/effect/decal/cleanable/dirt) in T) && !isspaceturf(T)) // Only add one dirt per turf. Was causing people to crash. new /obj/effect/decal/cleanable/dirt(T) /datum/reagent/gold - name = "Gold" + name = "Золото" id = "gold" - description = "Gold is a dense, soft, shiny metal and the most malleable and ductile metal known." + description = "Золото - плотный, мягкий, блестящий металл, самый податливый и вязкий из всех известных металлов." reagent_state = SOLID color = "#F7C430" // rgb: 247, 196, 48 - taste_description = "bling" /datum/reagent/silver - name = "Silver" + name = "Серебро" id = "silver" - description = "A lustrous metallic element regarded as one of the precious metals." + description = "Блестящий металлический элемент, считающийся одним из драгоценных металлов." reagent_state = SOLID color = "#D0D0D0" // rgb: 208, 208, 208 - taste_description = "sub-par bling" + taste_description = "серебра" /datum/reagent/aluminum - name = "Aluminum" + name = "Алюминий" id = "aluminum" - description = "A silvery white and ductile member of the boron group of chemical elements." + description = "Серебристо-белый и ковкий представитель группы химических элементов бора." reagent_state = SOLID color = "#A8A8A8" // rgb: 168, 168, 168 - taste_description = "metal" + taste_description = "алюминия" /datum/reagent/silicon - name = "Silicon" + name = "Кремний" id = "silicon" - description = "A tetravalent metalloid, silicon is less reactive than its chemical analog carbon." + description = "Являясь четырёхвалентным металлоидом, кремний менее реакционноспособен, чем его химический аналог углерод." reagent_state = SOLID color = "#A8A8A8" // rgb: 168, 168, 168 - taste_description = "a CPU" + taste_description = "микросхем" /datum/reagent/copper - name = "Copper" + name = "Медь" id = "copper" - description = "A highly ductile metal." + description = "Высокопластичный металл." color = "#6E3B08" // rgb: 110, 59, 8 - taste_description = "copper" + taste_description = "меди" /datum/reagent/chromium - name = "Chromium" + name = "Хром" id = "chromium" - description = "A catalytic chemical element." + description = "Каталитический химический элемент." color = "#DCDCDC" - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/iron - name = "Iron" + name = "Железо" id = "iron" - description = "Pure iron is a metal." + description = "Чистое железо - это металл." reagent_state = SOLID color = "#C8A5DC" // rgb: 200, 165, 220 - taste_description = "metal" + taste_description = "железа" /datum/reagent/iron/on_mob_life(mob/living/M) if(ishuman(M)) @@ -166,44 +165,44 @@ //foam /datum/reagent/fluorosurfactant - name = "Fluorosurfactant" + name = "Фтортензид" id = "fluorosurfactant" - description = "A perfluoronated sulfonic acid that forms a foam when mixed with water." + description = "Перфторированная сульфоновая кислота, образующая пену при смешивании с водой." reagent_state = LIQUID color = "#9E6B38" // rgb: 158, 107, 56 - taste_description = "extreme discomfort" + taste_description = "сильного дискомфорта" // metal foaming agent // this is lithium hydride. Add other recipies (e.g. LiH + H2O -> LiOH + H2) eventually /datum/reagent/ammonia - name = "Ammonia" + name = "Аммиак" id = "ammonia" - description = "A caustic substance commonly used in fertilizer or household cleaners." + description = "Едкое вещество, обычно используемое в удобрениях или бытовых чистящих средствах." reagent_state = GAS color = "#404030" // rgb: 64, 64, 48 - taste_description = "floor cleaner" + taste_description = "средства для мытья полов" /datum/reagent/diethylamine - name = "Diethylamine" + name = "Диэтиламин" id = "diethylamine" - description = "A secondary amine, useful as a plant nutrient and as building block for other compounds." + description = "Вторичный амин, полезный в качестве питательного вещества для растений и строительного блока для других соединений." reagent_state = LIQUID color = "#322D00" - taste_description = "iron" + taste_description = "железа" /datum/reagent/oil - name = "Oil" + name = "Масло" id = "oil" - description = "A decent lubricant for machines. High in benzene, naptha and other hydrocarbons." + description = "Достойная смазка для машин. С высоким содержанием бензола, нафты и других углеводородов." reagent_state = LIQUID color = "#3C3C3C" - taste_description = "motor oil" + taste_description = "моторного масла" process_flags = ORGANIC | SYNTHETIC /datum/reagent/oil/reaction_temperature(exposed_temperature, exposed_volume) if(exposed_temperature > T0C + 600) var/turf/T = get_turf(holder.my_atom) - holder.my_atom.visible_message("The oil burns!") + holder.my_atom.visible_message("Масло горит!") var/datum/reagents/old_holder = holder fire_flash_log(holder, id) if(holder) @@ -221,20 +220,20 @@ new /obj/effect/decal/cleanable/blood/oil(T) /datum/reagent/iodine - name = "Iodine" + name = "Йод" id = "iodine" - description = "A purple gaseous element." + description = "Газообразный элемент фиолетового цвета." reagent_state = GAS color = "#493062" - taste_description = "chemtrail resistance" + taste_description = "сопротивления химтрейлам" /datum/reagent/carpet - name = "Carpet" + name = "Ковёр" id = "carpet" - description = "A covering of thick fabric used on floors. This type looks particularly gross." + description = "Покрытие из плотной ткани, используемое для полов. Этот тип выглядит особенно отвратительно." reagent_state = LIQUID color = "#701345" - taste_description = "a carpet...what?" + taste_description = "старого ковра" /datum/reagent/carpet/reaction_turf(turf/simulated/T, volume) if(istype(T, /turf/simulated/floor/plating) || istype(T, /turf/simulated/floor/plasteel)) @@ -243,36 +242,36 @@ ..() /datum/reagent/bromine - name = "Bromine" + name = "Бром" id = "bromine" - description = "A red-brown liquid element." + description = "Красно-коричневый жидкий элемент." reagent_state = LIQUID color = "#4E3A3A" - taste_description = "chemicals" + taste_description = "химикатов" /datum/reagent/phenol - name = "Phenol" + name = "Фенол" id = "phenol" - description = "Also known as carbolic acid, this is a useful building block in organic chemistry." + description = "Известная также как карболовая кислота, она является полезным строительным блоком в органической химии." reagent_state = LIQUID color = "#525050" - taste_description = "acid" + taste_description = "кислоты" /datum/reagent/ash - name = "Ash" + name = "Пепел" id = "ash" - description = "Ashes to ashes, dust to dust." + description = "Пепел к пеплу, прах к праху." reagent_state = LIQUID color = "#191919" - taste_description = "ash" + taste_description = "пепла" /datum/reagent/acetone - name = "Acetone" + name = "Ацетон" id = "acetone" - description = "Pure 100% nail polish remover, also works as an industrial solvent." + description = "Чистая 100% жидкость для снятия лака с ногтей, также работает как промышленный растворитель." reagent_state = LIQUID color = "#474747" - taste_description = "nail polish remover" + taste_description = "средства для снятия лака с ногтей" /datum/reagent/acetone/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -280,20 +279,20 @@ return ..() | update_flags /datum/reagent/saltpetre - name = "Saltpetre" + name = "Селитра" id = "saltpetre" - description = "Volatile." + description = "Летучий химический элемент." reagent_state = LIQUID color = "#60A584" // rgb: 96, 165, 132 - taste_description = "one third of an explosion" + taste_description = "одной трети взрыва" /datum/reagent/colorful_reagent - name = "Colorful Reagent" + name = "Цветной реагент" id = "colorful_reagent" - description = "It's pure liquid colors. That's a thing now." + description = "Это чистые жидкие краски. Сейчас это в порядке вещей." reagent_state = LIQUID color = "#FFFFFF" - taste_description = "the rainbow" + taste_description = "радуги" /datum/reagent/colorful_reagent/on_mob_life(mob/living/M) if(ishuman(M)) @@ -314,12 +313,12 @@ T.color = pick(GLOB.random_color_list) /datum/reagent/hair_dye - name = "Quantum Hair Dye" + name = "Квантовая краска для волос" id = "hair_dye" - description = "A rather tubular and gnarly way of coloring totally bodacious hair. Duuuudddeee." + description = "Довольно громоздкий и нелепый способ окрашивания волос. Чуваааааак." reagent_state = LIQUID color = "#960096" - taste_description = "the 2559 Autumn release of the Le Jeune Homme catalogue for professional hairdressers" + taste_description = "осеннего выпуска каталога Le Jeune Homme для профессиональных парикмахеров от 2559 года" /datum/reagent/hair_dye/reaction_mob(mob/living/M, volume) if(ishuman(M)) @@ -334,13 +333,13 @@ ..() /datum/reagent/hairgrownium - name = "Hairgrownium" + name = "Власорост" id = "hairgrownium" - description = "A mysterious chemical purported to help grow hair. Often found on late-night TV infomercials." + description = "Таинственное химическое вещество, якобы помогающее отрастить волосы. Часто встречается в рекламных роликах на телевидении." reagent_state = LIQUID color = "#5DDA5D" penetrates_skin = TRUE - taste_description = "someone's beard" + taste_description = "волос" /datum/reagent/hairgrownium/reaction_mob(mob/living/M, volume) if(ishuman(M)) @@ -353,13 +352,13 @@ ..() /datum/reagent/super_hairgrownium - name = "Super Hairgrownium" + name = "Супер власорост" id = "super_hairgrownium" - description = "A mysterious and powerful chemical purported to cause rapid hair growth." + description = "Загадочное и мощное химическое вещество, якобы вызывающее быстрый рост волос." reagent_state = LIQUID color = "#5DD95D" penetrates_skin = TRUE - taste_description = "multiple beards" + taste_description = "кучи волос" /datum/reagent/super_hairgrownium/reaction_mob(mob/living/M, volume) if(ishuman(M)) @@ -383,25 +382,25 @@ H.drop_item_ground(H.wear_mask, force = TRUE) var/obj/item/clothing/mask/fakemoustache = new /obj/item/clothing/mask/fakemoustache H.equip_to_slot(fakemoustache, ITEM_SLOT_MASK) - to_chat(H, "Hair bursts forth from your every follicle!") + to_chat(H, span_notice("Ваши волосы начинают стремительно расти!")) ..() /datum/reagent/hugs - name = "Pure hugs" + name = "Чистые объятия" id = "hugs" - description = "Hugs, in liquid form. Yes, the concept of a hug. As a liquid. This makes sense in the future." + description = "Объятия в жидком виде. Да, концепция объятий. В жидком виде. Это имеет смысл в будущем." reagent_state = LIQUID color = "#FF97B9" - taste_description = "hugs" + taste_description = "обнимашек" /datum/reagent/love - name = "Pure love" + name = "Чистая любовь" id = "love" - description = "What is this emotion you humans call \"love?\" Oh, it's this? This is it? Huh, well okay then, thanks." + description = "Что это за чувство, которое вы, люди, называете \"любовью\"? О, это оно? Это оно? Ха, ну тогда ладно, спасибо." reagent_state = LIQUID color = "#FF83A5" process_flags = ORGANIC | SYNTHETIC // That's the power of love~ - taste_description = "love" + taste_description = "любви" /datum/reagent/love/on_mob_add(mob/living/L) ..() @@ -411,8 +410,8 @@ /datum/reagent/love/on_mob_life(mob/living/M) if(prob(8)) - var/lovely_phrase = pick("appreciated", "loved", "pretty good", "really nice", "pretty happy with yourself, even though things haven't always gone as well as they could") - to_chat(M, "You feel [lovely_phrase].") + var/lovely_phrase = pick("оценивают по достоинству", "любят", "ценят", "уважают", "признают") + to_chat(M, span_notice("Вы чувствуете, что вас [lovely_phrase].")) else if(!M.incapacitated() && !HAS_TRAIT(M, TRAIT_HANDS_BLOCKED)) for(var/mob/living/carbon/C in orange(1, M)) @@ -429,14 +428,14 @@ ..() /datum/reagent/love/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) - to_chat(M, "You feel loved!") + to_chat(M, span_notice("Вы чувствуете, что вас любят!")) /datum/reagent/jestosterone //Formerly known as Nitrogen tungstide hypochlorite before NT fired the chemists for trying to be funny - name = "Jestosterone" + name = "Шутостерон" id = "jestosterone" - description = "Jestosterone is an odd chemical compound that induces a variety of annoying side-effects in the average person. It also causes mild intoxication, and is toxic to mimes." + description = "Джестостерон - странное химическое соединение, вызывающее у обычного человека целый ряд раздражающих побочных эффектов. Он также вызывает лёгкое опьянение и токсичен для мимов." color = "#ff00ff" //Fuchsia, pity we can't do rainbow here - taste_description = "a funny flavour" + taste_description = "смеха и шуток" var/datum/component/squeak /datum/reagent/jestosterone/on_new() @@ -446,12 +445,12 @@ return if(C.mind) if(C.mind.assigned_role == JOB_TITLE_CLOWN || C.mind.assigned_role == SPECIAL_ROLE_HONKSQUAD) - to_chat(C, "Whatever that was, it feels great!") + to_chat(C, span_notice("Что бы это ни было, ощущения великолепные!")) else if(C.mind.assigned_role == JOB_TITLE_MIME) - to_chat(C, "You feel nauseous.") + to_chat(C, span_warning("Вы чувствете тошноту.")) C.AdjustDizzy(volume STATUS_EFFECT_CONSTANT) else - to_chat(C, "Something doesn't feel right...") + to_chat(C, span_warning("Вы чувствуете себя странно и дискомфортно.")) C.AdjustDizzy(volume STATUS_EFFECT_CONSTANT) ADD_TRAIT(C, TRAIT_JESTER, id) squeak = C.AddComponent(/datum/component/squeak, null, null, null, null, null, TRUE, falloff_exponent = 20) @@ -464,25 +463,25 @@ if(prob(10)) M.emote("giggle") if(M?.mind.assigned_role == JOB_TITLE_CLOWN || M?.mind.assigned_role == SPECIAL_ROLE_HONKSQUAD) - update_flags |= M.adjustBruteLoss(-0.75, affect_robotic = FALSE) //Screw those pesky clown beatings! + update_flags |= M.adjustBruteLoss(-1.5, affect_robotic = FALSE) //Screw those pesky clown beatings! else M.AdjustDizzy(20 SECONDS, 0, 1000 SECONDS) M.Druggy(30 SECONDS) if(prob(10)) M.EyeBlurry(10 SECONDS) if(prob(6)) - var/list/clown_message = list("You feel light-headed.", - "You can't see straight.", - "You feel about as funny as the station clown.", - "Bright colours and rainbows cloud your vision.", - "Your funny bone aches.", - "What was that?!", - "You can hear bike horns in the distance.", - "You feel like SHOUTING!", - "Sinister laughter echoes in your ears.", - "Your legs feel like jelly.", - "You feel like telling a pun.") - to_chat(M, "[pick(clown_message)]") + var/list/clown_message = list("Вы чувствуете головокружение.", + "Вы не можете видеть прямо.", + "Вы чувствуете себя смешным клоуном.", + "Яркие цвета и радуга затуманивают ваше зрение.", + "Ваши смешные кости болят.", + "Что это было?!", + "Вы чувствуете приглушённые гудки в отдалении.", + "Вы слышите приглушённые смешки.", + "Зловещий смех отдаётся в ваших ушах.", + "Ваши ноги словно желе.", + "Вам хочется рассказать анекдот.") + to_chat(M, span_warning("[pick(clown_message)]")) if(M?.mind.assigned_role == JOB_TITLE_MIME) update_flags |= M.adjustToxLoss(0.75) return ..() | update_flags @@ -494,24 +493,24 @@ QDEL_NULL(squeak) /datum/reagent/royal_bee_jelly - name = "royal bee jelly" + name = "Маточное молочко" id = "royal_bee_jelly" - description = "Royal Bee Jelly, if injected into a Queen Space Bee said bee will split into two bees." + description = "Королевское маточное молочко. Если его ввести королеве космических пчёл, она размножится." color = "#00ff80" - taste_description = "sweetness" + taste_description = "сладости" /datum/reagent/royal_bee_jelly/on_mob_life(mob/living/M) if(prob(2)) - M.say(pick("Bzzz...","BZZ BZZ","Bzzzzzzzzzzz...")) + M.say(pick("Бзззз...","БЗЗ БЗЗ","Бззззззззз...")) return ..() /datum/reagent/growthserum - name = "Growth serum" + name = "Сыворотка роста" id = "growthserum" - description = "A commercial chemical designed to help older men in the bedroom." //not really it just makes you a giant + description = "Коммерческое химическое средство, призванное помочь пожилым мужчинам в спальне." //not really it just makes you a giant color = "#ff0000"//strong red. rgb 255, 0, 0 var/current_size = RESIZE_DEFAULT_SIZE - taste_description = "enhancement" + taste_description = "увеличения" /datum/reagent/growthserum/on_mob_life(mob/living/carbon/H) var/newsize = current_size @@ -537,11 +536,11 @@ ..() /datum/reagent/pax - name = "Pax" + name = "Пакс" id = "pax" - description = "A colorless liquid that suppresses violence in its subjects." + description = "Бесцветная жидкость, подавляющая тягу к насилию у гуманоидов." color = "#AAAAAA55" - taste_description = "water" + taste_description = "странной воды" metabolization_rate = 0.25 * REAGENTS_METABOLISM /datum/reagent/pax/on_mob_add(mob/living/M) @@ -553,27 +552,27 @@ ..() /datum/reagent/toxin/coffeepowder - name = "Coffee Grounds" + name = "Кофейная гуща" id = "coffeepowder" - description = "Finely ground Coffee beans, used to make coffee." + description = "Кофейные зерна мелкого помола, используемые для приготовления кофе." reagent_state = SOLID color = "#5B2E0D" // rgb: 91, 46, 13 - taste_description = "waste" + taste_description = "горькой кофейной массы" /datum/reagent/toxin/teapowder - name = "Ground Tea Leaves" + name = "Молотые чайные листья" id = "teapowder" - description = "Finely shredded Tea leaves, used for making tea." + description = "Мелко измельчённые чайные листья, используемые для приготовления чая." reagent_state = SOLID color = "#7F8400" // rgb: 127, 132, 0" - taste_description = "the future" + taste_description = "отдающей чаем массы" //////////////////////////////////Hydroponics stuff/////////////////////////////// /datum/reagent/plantnutriment - name = "Generic nutriment" + name = "Растительные питательные вещества" id = "plantnutriment" - description = "Some kind of nutriment. You can't really tell what it is. You should probably report it, along with how you obtained it." + description = "Какое-то питательное вещество. Невозможно определить, что это такое. Возможно, вам следует сообщить о нём и о том, как вы его получили, в соответствующие органы." color = "#000000" // RBG: 0, 0, 0 var/tox_prob = 0 taste_description = "puke" @@ -585,78 +584,79 @@ return ..() | update_flags /datum/reagent/plantnutriment/eznutriment - name = "E-Z-Nutrient" + name = "И-ЗИ-Нутриент" id = "eznutriment" - description = "Cheap and extremely common type of plant nutriment." + description = "Дешёвый и чрезвычайно распространенный вид растительных питательных веществ." color = "#376400" // RBG: 50, 100, 0 tox_prob = 10 - taste_description = "obscurity and toil" + taste_description = "безвестности и забытья" /datum/reagent/plantnutriment/left4zednutriment - name = "Left 4 Zed" + name = "Лефт-Фо-Зед" id = "left4zednutriment" - description = "Unstable nutriment that makes plants mutate more often than usual." + description = "Нестабильное соединение, заставляющее растения мутировать чаще, чем обычно." color = "#2A1680" // RBG: 42, 128, 22 tox_prob = 25 - taste_description = "evolution" + taste_description = "эволюции" /datum/reagent/plantnutriment/robustharvestnutriment - name = "Robust Harvest" + name = "Робастный-Урожай" id = "robustharvestnutriment" - description = "Very potent nutriment that prevents plants from mutating." + description = "Очень мощное питательное вещество, предотвращающее мутацию растений." color = "#9D9D00" // RBG: 157, 157, 0 tox_prob = 15 - taste_description = "bountifulness" + taste_description = "щедрости" ///Alchemical Reagents /datum/reagent/eyenewt - name = "Eye of newt" + name = "Глаз тритона" id = "eyenewt" - description = "A potent alchemic ingredient." + description = "Сильнодействующий алхимический ингредиент." reagent_state = LIQUID color = "#050519" + taste_description = "алхимии" /datum/reagent/toefrog - name = "Toe of frog" + name = "Палец лягушки" id = "toefrog" - description = "A potent alchemic ingredient." + description = "Сильнодействующий алхимический ингредиент." reagent_state = LIQUID color = "#092D09" - taste_description = "alchemy" + taste_description = "алхимии" /datum/reagent/woolbat - name = "Wool of bat" + name = "Шерсть летучей мыши" id = "woolbat" - description = "A potent alchemic ingredient." + description = "Сильнодействующий алхимический ингредиент." reagent_state = LIQUID color = "#080808" - taste_description = "alchemy" + taste_description = "алхимии" /datum/reagent/tonguedog - name = "Tongue of dog" + name = "Язык собаки" id = "tonguedog" - description = "A potent alchemic ingredient." + description = "Сильнодействующий алхимический ингредиент." reagent_state = LIQUID color = "#2D0909" - taste_description = "alchemy" + taste_description = "алхимии" /datum/reagent/triplepiss - name = "Triplepiss" + name = "Тройная моча" id = "triplepiss" - description = "Ewwwwwwwww." + description = "Уууууу." reagent_state = LIQUID color = "#857400" - taste_description = "alchemy" + taste_description = "алхимии" /datum/reagent/spraytan - name = "Spray Tan" + name = "Спрей-загар" id = "spraytan" - description = "A substance applied to the skin to darken the skin." + description = "Вещество, наносимое на кожу для ее потемнения и имитации загара." color = "#FFC080" // rgb: 255, 196, 128 Bright orange metabolization_rate = 10 * REAGENTS_METABOLISM // very fast, so it can be applied rapidly. But this changes on an overdose overdose_threshold = 11 //Slightly more than one un-nozzled spraybottle. - taste_description = "sour oranges" + taste_description = "кислых апельсинов" /datum/reagent/spraytan/reaction_mob(mob/living/M, method=REAGENT_TOUCH, reac_volume, show_message = 1) if(ishuman(M)) @@ -666,7 +666,7 @@ if(method == REAGENT_INGEST) if(show_message) - to_chat(M, "That tasted horrible.") + to_chat(M, span_notice("Это было отвратительно.")) ..() /datum/reagent/spraytan/overdose_process(mob/living/M) @@ -681,11 +681,18 @@ set_skin_color(N) if(prob(7)) if(N.w_uniform) - M.visible_message(pick("[M]'s collar pops up without warning.", "[M] flexes [M.p_their()] arms.")) + M.visible_message(span_notice(pick("Воротник [M] приподнимается без предупреждения.", "[M] игра[pluralize_ru(M.gender, "ет", "ют")] своими бицепсами."))) else - M.visible_message("[M] flexes [M.p_their()] arms.") + M.visible_message(span_notice("[M] игра[pluralize_ru(M.gender, "ет", "ют")] своими бицепсами.")) if(prob(10)) - M.say(pick("Shit was SO cash.", "You are everything bad in the world.", "What sports do you play, other than 'jack off to naked drawn Japanese people?'", "Don’t be a stranger. Just hit me with your best shot.", "My name is John and I hate every single one of you.")) + M.say(pick( + "Это было ПРОСТО ОХУИТЕЛЬНО.", + "Вы - зло этого мира.", + "А каким спортом вы занимаетесь кроме дрочки на голых анимешных тянок?", + "Не стесняйтесь, покажите мне на что вы способны.", + "Меня зовут Джон и я всех вас ненавижу.", + "Вы жирные, тупые уроды без личной жизни.", + "Вы самые настоящие пидорасы, которым следует убить себя. Спасибо за внимание.")) return list(0, STATUS_UPDATE_NONE) @@ -697,12 +704,12 @@ H.change_skin_color("#9B7653") /datum/reagent/monkeylanguage - name = "Moenky Language" + name = "Обезьяний язык" id = "monkeylanguage" - description = "Strange reagent" + description = "Эээ..." reagent_state = SOLID color = "#f0d18f" // rgb: 128, 128, 128 - taste_description = "Strange" + taste_description = "чего-то странного" /datum/reagent/monkeylanguage/on_mob_life(mob/living/M) if(volume > 4) diff --git a/code/modules/reagents/chemistry/reagents/ninja.dm b/code/modules/reagents/chemistry/reagents/ninja.dm index fff9810cf6f..8e01e27bdd6 100644 --- a/code/modules/reagents/chemistry/reagents/ninja.dm +++ b/code/modules/reagents/chemistry/reagents/ninja.dm @@ -11,16 +11,16 @@ * For the last chance to survive. */ /datum/reagent/medicine/chiyurizine - name = "Chiyurizine" + name = "Чиюризин" id = "chiyurizine" - description = "A powerfull yet experimental compound that recovers any damage by revinding it's tissues in time. But it can cause rapid aging... if it's used too much." + description = "Мощный экспериментальный состав, способный стремительно восстановить ткани после широкого спектра повреждений. Частое использование приводит к быстрому старению. Очень быстрому." reagent_state = LIQUID color = "#55ff63" can_synth = FALSE metabolization_rate = 0.25 * REAGENTS_METABOLISM harmless = FALSE overdose_threshold = 30 - taste_description = "time" + taste_description = "неумолимого течения времени" var/turf/last_random_turf //For overdose teleports var/can_work = FALSE //Can metabolise only if it was added in a dose equal to overdose_threshold-5 or more var/obj/effect/temp_visual/ninja_rend/rend = null//Unharmfull trap for playing with time @@ -44,7 +44,7 @@ switch(current_cycle) if(1 to 20) if(prob(10)) - to_chat(our_mob, span_notice("You feel like what's been lost in time comes back to you!")) + to_chat(our_mob, span_notice("Вы чувствуете, будто бы время оборачивается вспять!")) our_mob.emote("giggle") // Anti-Drunk our_mob.SetSlur(0) @@ -70,11 +70,11 @@ if(ishuman(our_mob)) var/mob/living/carbon/human/mob_human = our_mob if(prob(10)) - to_chat(mob_human, span_notice("You feel a powerfull gush inside self, when your body slowly heals...")) + to_chat(mob_human, span_notice("Вы чувствуете мощный прилив сил, а ваше тело начинает стремительно исцеляться.")) mob_human.Jitter(40 SECONDS) // Regrow limbs if(current_cycle == 30) - to_chat(mob_human, span_notice("Your body refreshes...")) + to_chat(mob_human, span_notice("Ваше тело восстанавливается...")) mob_human.check_and_regenerate_organs() // Embedded objects mob_human.remove_all_embedded_objects() @@ -111,11 +111,11 @@ var/mob/living/carbon/human/mob_human = our_mob if(mob_human.age > 20 && prob(50)) if(!overdosed) - to_chat(mob_human, span_notice("You feel yourself becoming younger!")) + to_chat(mob_human, span_notice("Вы чувствуете себя моложе чем были!")) mob_human.age-- if(prob(1)) // A very little chance to start the healing process again. current_cycle = 1 - to_chat(mob_human, span_notice("You get the feeling that the reagent inside you rewinds... itself?")) + to_chat(mob_human, span_notice("У вас возникает ощущение, что вещество внутри вас обновляет... себя?")) return ..() | update_flags /datum/reagent/medicine/chiyurizine/overdose_process(mob/living/our_mob, severity) @@ -125,31 +125,31 @@ if(mob_human.age >= 100)//Critical age. You either die, or get a last chance to live. mob_human.adjustOxyLoss(10, FALSE) var/fate = roll("1d6") - to_chat(mob_human, span_boldwarning("You feel like you are throwing six sided dice with death itself!")) + to_chat(mob_human, span_boldwarning("Вам кажется, что вы играете в кости с самой смертью!")) switch(fate) if(1) mob_human.age = 99 mob_human.adjustOxyLoss(500, FALSE) volume = 0.2 - to_chat(mob_human, span_boldwarning("Natural one! You are suffocating...")) + to_chat(mob_human, span_boldwarning("Две единицы! Вам становится трудно дышать...")) if(2 to 4) - to_chat(mob_human, span_boldwarning("Uncertain fate... Reroll...")) + to_chat(mob_human, span_boldwarning("Ваша судьба не определена... Ещё бросок...")) if(6) mob_human.age = 90 current_cycle = 1 volume = 5 - to_chat(mob_human, span_boldwarning("Natural six! You got a chance to live...")) + to_chat(mob_human, span_boldwarning("Две шестёрки! Похоже, в этот раз смерть обошла вас стороной.")) if(mob_human.age >= 50) mob_human.change_hair_color(colour = "#ffffff") mob_human.change_hair_gradient(color = "#808080") if(prob(clamp(100-mob_human.age, 10, 100))) - to_chat(our_mob, span_warning("You age rapidly!")) + to_chat(our_mob, span_warning("Вы стремительно стареете!")) mob_human.age = mob_human.age + pick(1,2,3) if(prob(50)) if(prob(25)) - var/phrase = pick("Your back pain is killing you!", "You feel sooo tired...", - "Existence is pain!", "You are slowly dying...", - "Fuck...", "Your fingers are so thin...") + var/phrase = pick("Боль в спине убивает вас!", "Вы так устали...", + "Существование - это боль!", "Вы медленно умираешь...", + "Чёрт...", "У вас такие тонкие пальцы...") to_chat(our_mob, span_warning(phrase)) mob_human.emote("moan") mob_human.adjustBruteLoss(0.5, FALSE) @@ -158,7 +158,7 @@ mob_human.Confused(20 SECONDS) mob_human.EyeBlurry(4 SECONDS) if(prob(10) && last_random_turf && istype(mob_human.loc, /turf) && !rend) - mob_human.visible_message(span_info("[mob_human] vanished!"), span_warning("You phased somewhere familiar...")) + mob_human.visible_message(span_info("[mob_human] vanished!"), span_warning("Вы переместились в знакомое место...")) new /obj/effect/temp_visual/gravpush(get_turf(mob_human)) playsound(get_turf(mob_human), 'sound/magic/timeparadox2.ogg', 100, 1, -1) mob_human.forceMove(last_random_turf) diff --git a/code/modules/reagents/chemistry/reagents/paint.dm b/code/modules/reagents/chemistry/reagents/paint.dm index f9a5717f105..ec1dd3867b2 100644 --- a/code/modules/reagents/chemistry/reagents/paint.dm +++ b/code/modules/reagents/chemistry/reagents/paint.dm @@ -1,10 +1,10 @@ /datum/reagent/paint - name = "Paint" + name = "Краска" id = "paint_" - description = "Floor paint is used to color floor tiles." + description = "Краска, используемая для покраски полов." reagent_state = LIQUID color = "#808080" - taste_description = "paint" + taste_description = "краски" /datum/reagent/paint/reaction_turf(turf/T, volume) if(!isspaceturf(T)) @@ -15,47 +15,47 @@ O.add_atom_colour(color, WASHABLE_COLOUR_PRIORITY) /datum/reagent/paint/red - name = "Red Paint" + name = "Красная краска" id = "paint_red" color = "#FF0000" /datum/reagent/paint/green - name = "Green Paint" + name = "Зелёная краска" id = "paint_green" color = "#00FF00" /datum/reagent/paint/blue - name = "Blue Paint" + name = "Синяя краска" id = "paint_blue" color = "#0000FF" /datum/reagent/paint/yellow - name = "Yellow Paint" + name = "Жёлтая краска" id = "paint_yellow" color = "#FFFF00" /datum/reagent/paint/violet - name = "Violet Paint" + name = "Фиолетовая краска" id = "paint_violet" color = "#FF00FF" /datum/reagent/paint/black - name = "Black Paint" + name = "Чёрная краска" id = "paint_black" color = "#333333" /datum/reagent/paint/white - name = "White Paint" + name = "Белая краска" id = "paint_white" color = "#FFFFFF" /datum/reagent/paint_remover - name = "Paint Remover" + name = "Средство для удаления краски" id = "paint_remover" - description = "Paint remover is used to remove floor paint from floor tiles." + description = "Вещество, используемое для удаления краски с пола." reagent_state = LIQUID color = "#808080" - taste_description = "alcohol" + taste_description = "спирта" /datum/reagent/paint_remover/reaction_turf(turf/T, volume) if(!isspaceturf(T)) diff --git a/code/modules/reagents/chemistry/reagents/paradise_pop.dm b/code/modules/reagents/chemistry/reagents/paradise_pop.dm index c4dd3635b7d..d18a5464df7 100644 --- a/code/modules/reagents/chemistry/reagents/paradise_pop.dm +++ b/code/modules/reagents/chemistry/reagents/paradise_pop.dm @@ -10,7 +10,7 @@ //Райский удар: Без эффекта, aside from maybe messages about how tasty it is or something /datum/reagent/consumable/drink/paradise_punch - name = "Райский удар" + name = "Райский Удар" id = "paradise_punch" description = "На вкус именно таков, каким вы себе представляете вкус рая, если бы его можно было разлить по бутылкам." reagent_state = LIQUID @@ -19,7 +19,7 @@ //Яблопокалипсис: Low chance to cause a goonchem vortex that pulls things within a very small radius (2 tiles?) towards the drinker /datum/reagent/consumable/drink/apple_pocalypse - name = "Яблопокалипсис" + name = "Яблокопокалипсис" id = "apple-pocalypse" description = "Если бы судный день имел форму фрукта, скорее всего это было бы яблоко." reagent_state = LIQUID @@ -30,12 +30,12 @@ if(prob(1)) var/turf/simulated/T = get_turf(M) goonchem_vortex(T, 1, 0) - to_chat(M, "Вы на мгновение чувствуете себя сверхтяжёлым, как чёрная дыра. Возможно, это просто ваше воображение...") + to_chat(M, span_notice("Вы на мгновение чувствуете себя сверхтяжёлым, как чёрная дыра. Возможно, это просто ваше воображение...")) return ..() //Забаненный плод: This one is tasty and safe to drink, might have a low chance of healing a random damage type? /datum/reagent/consumable/drink/berry_banned - name = "Забаненный плод" + name = "Забаненный Плод" id = "berry_banned" description = "Причина бана: исключительный вкус." reagent_state = LIQUID @@ -59,12 +59,12 @@ update_flags |= M.adjustCloneLoss(-0.25, FALSE) if(5) update_flags |= M.adjustBrainLoss(-0.5, FALSE) - to_chat(M, "Вы чувствуете себя слегка помолодевшим!") + to_chat(M, span_notice("Вы чувствуете себя слегка помолодевшим!")) return ..() | update_flags //Забаненный плод 2: Очень вкусный и токсичный. Наносит урон токсинами и, ВОЗМОЖНО, проигрывает звук "Бьёньк!", убивая кого-то? /datum/reagent/consumable/drink/berry_banned2 - name = "Забаненный плод" + name = "Забаненный Плод" id = "berry_banned2" description = "Причина бана: исключительный вкус." reagent_state = LIQUID @@ -76,22 +76,22 @@ if(prob(50)) update_flags |= M.adjustToxLoss(1, FALSE) //double strength of poison berry juice alone, because it's concentrated (this is equal to the damage of normal toxin, less often) if(prob(10)) - to_chat(M, "Вы чувствуете себя слегка помолодевшим!") //meta this! + to_chat(M, span_notice("Вы чувствуете себя слегка помолодевшим!")) //meta this! return ..() | update_flags /datum/reagent/consumable/drink/berry_banned2/on_mob_death(mob/living/M) M << sound('sound/effects/adminhelp.ogg',0,1,0,25) - to_chat(M, chat_box_red("PM from-Administrator: BWOINK!")) + to_chat(M, chat_box_red(span_adminhelp("PM from-Administrator: ТЫ ЗАБАНЕН БЛЯДЬ!!!"))) ..() -//Черноглазое варево: Шанс заставить пьющего говорить грейтайдовые фразы, типа "Я думал что клоун был настоящим!" +//Blackeye Brew: Chance to make the drinker say greytider-themed things like "ГРЕЙТАЙД ВПЕРЁД!" /datum/reagent/consumable/drink/blackeye_brew - name = "Черноглазое варево" + name = "Черноглазое Варево" id = "blackeye_brew" - description = "Сливочный, мягкий вкус, прямо как у лысин толпы ассистентов. Предположительно, выдерживался около 30 лет." + description = "Сливочный, мягкий вкус, прямо как у лысины ассистента. Предположительно, выдерживался около 30 лет. При употреблении вызывает помутнение в сознании употребившего, заставляя его выкрикивать странные фразы." reagent_state = LIQUID color = "#4d2600" - taste_description = "серой волны" + taste_description = "набегаторства" /datum/reagent/consumable/drink/blackeye_brew/on_mob_life(mob/living/M) if(prob(25)) @@ -109,31 +109,31 @@ //Grape Granade: causes the drinker to sometimes burp, has a low chance to cause a goonchem vortex that pushes things within a very small radius (1-2 tiles) away from the drinker /datum/reagent/consumable/drink/grape_granade - name = "Гранатовый взрыв" + name = "Гранатовый Взрыв" id = "grape_granade" description = "Взрывной гранатовый вкус, любимый сотрудниками ОБР по всей системе." reagent_state = LIQUID color = "#9933ff" - taste_description = "дедов" + taste_description = "атомного взрыва" /datum/reagent/consumable/drink/grape_granade/on_mob_life(mob/living/M) if(prob(1)) var/turf/simulated/T = get_turf(M) goonchem_vortex(T, 0, 0) M.emote("burp") - to_chat(M, "Вы чувствуете, что готовы взорваться! А, нет, это просто отрыжка…") + to_chat(M, span_notice("Вы чувствуете, что готовы взорваться! А, нет, это просто отрыжка...")) else if(prob(25)) M.emote("burp") return ..() //Meteor Malt: Sometimes causes screen shakes for the drinker like a meteor impact, low chance to add 1-5 units of a random mineral reagent to the drinker's blood (iron, copper, silver, gold, uranium, carbon, etc) /datum/reagent/consumable/drink/meteor_malt - name = "Метеорный солод" + name = "Метеорный Солод" id = "meteor_malt" description = "Зафиксировано движение безалкогольных напитков на встречном с вашими вкусовыми рецепторами курсе." reagent_state = LIQUID color = "#cc9900" - taste_description = "летающих космических скал" + taste_description = "летающих космических камней" /datum/reagent/consumable/drink/meteor_malt/on_mob_life(mob/living/M) if(prob(25)) @@ -146,15 +146,15 @@ return ..() /datum/reagent/consumable/ethanol/moonlight_skuma - name = "Moon'drin" + name = "Мун'дрин" id = "moonlight_skuma" - description = "Double distilled Moon'lin. Soft mint taste which is loved by all tajarans. Used in cocktails." + description = "Мун'лин двойной дистилляции. Мягкий мятный вкус, который любят все таяры. Используется в коктейлях." reagent_state = LIQUID color = "#6734df" - taste_description = "alcohol, mint and you feel funny" + taste_description = "алкоголя и мяты" drink_icon = "moonlight_skuma" - drink_name = "Moon'drin" - drink_desc = "Double distilled Moon'lin. Soft mint taste which is loved by all tajarans. Used in cocktails." + drink_name = "Мун'дрин" + drink_desc = "Мун'лин двойной дистилляции. Мягкий мятный вкус, который любят все таяры. Используется в коктейлях." addiction_chance = 2 alcohol_perc = 0.5 @@ -168,5 +168,5 @@ if(prob(5)) M.Jitter(10 SECONDS) M.emote("smile") - to_chat(M, "Вы испытываете приятные, теплые чувства, словно вы дома...") + to_chat(M, span_notice("Вы испытываете приятные, тёплые чувства, словно вы дома...")) return ..() | update_flags diff --git a/code/modules/reagents/chemistry/reagents/pyrotechnic.dm b/code/modules/reagents/chemistry/reagents/pyrotechnic.dm index 4954f26e5af..16638d32b83 100644 --- a/code/modules/reagents/chemistry/reagents/pyrotechnic.dm +++ b/code/modules/reagents/chemistry/reagents/pyrotechnic.dm @@ -1,11 +1,11 @@ /datum/reagent/phlogiston - name = "phlogiston" + name = "Флогистон" id = "phlogiston" - description = "It appears to be liquid fire." + description = "Похоже, это жидкий огонь." reagent_state = LIQUID color = "#FFAF00" process_flags = ORGANIC | SYNTHETIC - taste_description = "burning" + taste_description = "огня" var/temp_fire = 4000 var/temp_deviance = 1000 var/size_divisor = 40 @@ -25,7 +25,7 @@ M.IgniteMob() if(method == REAGENT_INGEST) M.adjustFireLoss(min(max(10, volume * 2), 45)) - to_chat(M, "It burns!") + to_chat(M, span_warning("Жжётся!")) M.emote("scream") /datum/reagent/phlogiston/on_mob_life(mob/living/M) @@ -36,22 +36,22 @@ return ..() /datum/reagent/phlogiston/firedust - name = "phlogiston dust" + name = "Флогистоновая пыль" id = "phlogiston_dust" - description = "And this is solid fire. However that works." + description = "А это - твёрдый огонь. Как бы то ни было, это работает." temp_fire = 1500 temp_deviance = 500 size_divisor = 80 mob_burning = 3 // 15 /datum/reagent/napalm - name = "napalm" + name = "Напалм" id = "napalm" - description = "A highly flammable jellied fuel." + description = "Легковоспламеняющееся желеобразное топливо." reagent_state = LIQUID process_flags = ORGANIC | SYNTHETIC color = "#C86432" - taste_description = "burning" + taste_description = "горения" /datum/reagent/napalm/reaction_temperature(exposed_temperature, exposed_volume) if(exposed_temperature > T0C + 100) @@ -81,14 +81,14 @@ return ..() /datum/reagent/fuel - name = "Welding fuel" + name = "Сварочное топливо" id = "fuel" - description = "A highly flammable blend of basic hydrocarbons, mostly Acetylene. Useful for both welding and organic chemistry, and can be fortified into a heavier oil." + description = "Легковоспламеняющаяся смесь основных углеводородов, в основном ацетилена. Используется как для сварки, так и для органической химии, может быть переработано в более тяжёлое масло." reagent_state = LIQUID color = "#060606" drink_icon = "dr_gibb_glass" - drink_name = "Glass of welder fuel" - drink_desc = "Unless you are an industrial tool, this is probably not safe for consumption." + drink_name = "стакан сварочного топлива" + drink_desc = "Если вы не являетесь промышленным инструментом, это, вероятно, небезопасно для употребления. Хотя ассистенты любят такое пить." taste_description = "mistakes" process_flags = ORGANIC | SYNTHETIC var/max_radius = 7 @@ -117,7 +117,7 @@ var/will_explode = volume >= explosion_threshold if(will_explode && holder.my_atom) // Log beforehand - holder.my_atom.visible_message("[holder.my_atom] explodes!") + holder.my_atom.visible_message(span_danger("[capitalize(holder.my_atom.declent_ru(NOMINATIVE))] взрывается!")) message_admins("Fuel explosion ([holder.my_atom], reagent type: [id]) at [COORD(holder.my_atom.loc)]. Last touched by: [holder.my_atom.fingerprintslast ? "[holder.my_atom.fingerprintslast]" : "*null*"].") add_game_logs("Fuel explosion ([holder.my_atom], reagent type: [id]) at [COORD(holder.my_atom.loc)]. Last touched by: [holder.my_atom.fingerprintslast ? "[holder.my_atom.fingerprintslast]" : "*null*"].") holder.my_atom.investigate_log("A fuel explosion, last touched by [holder.my_atom.fingerprintslast ? "[holder.my_atom.fingerprintslast]" : "*null*"], triggered at [COORD(holder.my_atom.loc)].", INVESTIGATE_BOMB) @@ -145,12 +145,12 @@ M.adjust_fire_stacks(6) /datum/reagent/plasma - name = "Plasma" + name = "Плазма" id = "plasma" - description = "The liquid phase of an unusual extraterrestrial compound." + description = "Жидкая форма необычного внеземного соединения." reagent_state = LIQUID color = "#7A2B94" - taste_description = "corporate assets going to waste" + taste_description = "пропадающих зря корпоративных активов" taste_mult = 1.5 /datum/reagent/plasma/reaction_temperature(exposed_temperature, exposed_volume) @@ -178,13 +178,13 @@ /datum/reagent/thermite - name = "Thermite" + name = "Термит" id = "thermite" - description = "Thermite produces an aluminothermic reaction known as a thermite reaction. Can be used to melt walls." + description = "Термит вызывает алюминотермическую реакцию, известную как термитная реакция. Может использоваться для плавления замков. Или стен." reagent_state = SOLID color = "#673910" // rgb: 103, 57, 16 process_flags = ORGANIC | SYNTHETIC - taste_description = "rust" + taste_description = "ржавчины" /datum/reagent/thermite/reaction_mob(mob/living/M, method= REAGENT_TOUCH, volume) if(method == REAGENT_TOUCH) @@ -215,25 +215,25 @@ S.reagents.temperature_reagents(S.active_hotspot.temperature, 10, 300) /datum/reagent/glycerol - name = "Glycerol" + name = "Глицерин" id = "glycerol" - description = "Glycerol is a simple polyol compound. Glycerol is sweet-tasting and of low toxicity." + description = "Глицерин - это простое полиольное соединение. Глицерин обладает сладким вкусом и низкой токсичностью." reagent_state = LIQUID color = "#808080" // rgb: 128, 128, 128 - taste_description = "sweetness" + taste_description = "сладости" /datum/reagent/stabilizing_agent - name = "Stabilizing Agent" + name = "Стабилизирующий агент" id = "stabilizing_agent" - description = "A chemical that stabilises normally volatile compounds, preventing them from reacting immediately." + description = "Химикат, который стабилизирует обычно летучие соединения, не позволяя им немедленно вступать в реакцию." reagent_state = LIQUID color = "#FFFF00" - taste_description = "long-term stability" + taste_description = "стабильности" /datum/reagent/clf3 - name = "Chlorine Trifluoride" + name = "Трифторид хлора" id = "clf3" - description = "An extremely volatile substance, handle with the utmost care." + description = "Крайне летучее вещество, обращаться с ним следует с особой осторожностью." reagent_state = LIQUID color = "#FF0000" metabolization_rate = 10 * REAGENTS_METABOLISM @@ -258,16 +258,16 @@ M.IgniteMob() if(method == REAGENT_INGEST) M.adjustFireLoss(min(max(15, volume * 2.5), 90)) - to_chat(M, "It burns!") + to_chat(M, span_warning("Жжётся!")) M.emote("scream") /datum/reagent/sorium - name = "Sorium" + name = "Сорий" id = "sorium" - description = "Sends everything flying from the detonation point." + description = "Отправляет всё в полет от точки взрыва." reagent_state = LIQUID color = "#FFA500" - taste_description = "air and bitterness" + taste_description = "горького воздуха" /datum/reagent/sorium/reaction_turf(turf/T, volume) // oh no if(prob(75)) @@ -279,12 +279,12 @@ T.reagents.add_reagent("sorium", 5) /datum/reagent/liquid_dark_matter - name = "Liquid Dark Matter" + name = "Жидкая тёмная материя" id = "liquid_dark_matter" - description = "Sucks everything into the detonation point." + description = "Всасывает всё в точку взрыва." reagent_state = LIQUID color = "#800080" - taste_description = "compressed bitterness" + taste_description = "горького вакуума" /datum/reagent/liquid_dark_matter/reaction_turf(turf/T, volume) //Oh gosh, why if(prob(75)) @@ -296,14 +296,14 @@ T.reagents.add_reagent("liquid_dark_matter", 5) /datum/reagent/blackpowder - name = "Black Powder" + name = "Чёрный порох" id = "blackpowder" - description = "Explodes. Violently." + description = "Взрывается. Сильно взрывается." reagent_state = LIQUID color = "#000000" metabolization_rate = 0.125 * REAGENTS_METABOLISM penetrates_skin = TRUE - taste_description = "explosions" + taste_description = "взрывов" /datum/reagent/blackpowder/reaction_turf(turf/T, volume) //oh shit if(volume >= 5 && !isspaceturf(T)) @@ -311,38 +311,38 @@ new /obj/effect/decal/cleanable/dirt/blackpowder(T) /datum/reagent/flash_powder - name = "Flash Powder" + name = "Порошок-вспышка" id = "flash_powder" - description = "Makes a very bright flash." + description = "Создаёт очень яркую вспышку." reagent_state = LIQUID color = "#FFFF00" penetrates_skin = TRUE - taste_description = "salt" + taste_description = "соли" /datum/reagent/smoke_powder - name = "Smoke Powder" + name = "Дымный порошок" id = "smoke_powder" - description = "Makes a large cloud of smoke that can carry reagents." + description = "Создаёт большое облако дыма, в котором могут находиться реагенты." reagent_state = LIQUID color = "#808080" - taste_description = "smoke" + taste_description = "дыма" /datum/reagent/sonic_powder - name = "Sonic Powder" + name = "Звуковой порошок" id = "sonic_powder" - description = "Makes a deafening noise." + description = "Производит оглушительный шум." reagent_state = LIQUID color = "#0000FF" penetrates_skin = TRUE - taste_description = "loud noises" + taste_description = "шума" /datum/reagent/cryostylane - name = "Cryostylane" + name = "Криостилан" id = "cryostylane" - description = "Comes into existence at 20K. As long as there is sufficient oxygen for it to react with, Cryostylane slowly cools all other reagents in the mob down to 0K." + description = "Синтезируется с температурой в 20К. Пока в реакции с кислородом, медленно охлаждает все остальные вещества в теле существа до 0K." color = "#B2B2FF" // rgb: 139, 166, 233 process_flags = ORGANIC | SYNTHETIC - taste_description = "bitterness" + taste_description = "леденящей язык горечи" /datum/reagent/cryostylane/on_new(data) ..() @@ -379,12 +379,12 @@ M.adjustToxLoss(rand(15,30)) /datum/reagent/pyrosium - name = "Pyrosium" + name = "Пирозий" id = "pyrosium" - description = "Comes into existence at 20K. As long as there is sufficient oxygen for it to react with, Pyrosium slowly heats all other reagents." + description = "Синтезируется с температурой в 20К. Пока в реакции с кислородом, медленно нагревает все остальные вещества в теле существа до 0K." color = "#B20000" // rgb: 139, 166, 233 process_flags = ORGANIC | SYNTHETIC - taste_description = "bitterness" + taste_description = "обжигающей язык горечи" /datum/reagent/pyrosium/on_new(data) ..() @@ -408,13 +408,13 @@ holder.temperature_reagents(holder.chem_temp + 200) /datum/reagent/firefighting_foam - name = "Firefighting foam" + name = "Противопожарная пена" id = "firefighting_foam" - description = "Carbon Tetrachloride is a foam used for fire suppression." + description = "Тетрахлорид углерода - это пена, используемая для тушения пожаров." reagent_state = LIQUID color = "#A0A090" var/cooling_temperature = 3 // more effective than water - taste_description = "the inside of a fire extinguisher" + taste_description = "пены для огнетушителей" /datum/reagent/firefighting_foam/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) // Put out fire @@ -438,11 +438,11 @@ qdel(hotspot) /datum/reagent/plasma_dust - name = "Plasma Dust" + name = "Плазменная пыль" id = "plasma_dust" - description = "A fine dust of plasma. This chemical has unusual mutagenic properties for viruses and slimes alike." + description = "Тонкая пыль из плазмы. Это химическое вещество обладает необычными мутагенными свойствами как для вирусов, так и для слаймов." color = "#500064" // rgb: 80, 0, 100 - taste_description = "corporate assets going to waste" + taste_description = "пропадающих зря корпоративных активов" taste_mult = 1.5 /datum/reagent/plasma_dust/reaction_temperature(exposed_temperature, exposed_volume) diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm index 671a633705a..46e566ebe17 100644 --- a/code/modules/reagents/chemistry/reagents/toxins.dm +++ b/code/modules/reagents/chemistry/reagents/toxins.dm @@ -1,11 +1,11 @@ /datum/reagent/toxin - name = "Toxin" + name = "Токсин" id = "toxin" - description = "A Toxic chemical." + description = "Ядовитый." reagent_state = LIQUID color = "#CF3600" // rgb: 207, 54, 0 taste_mult = 1.2 - taste_description = "bitterness" + taste_description = "горечи" var/toxpwr = 2 /datum/reagent/toxin/on_mob_life(mob/living/M) @@ -14,12 +14,12 @@ return ..() | update_flags /datum/reagent/spider_venom - name = "Spider venom" + name = "Паучий яд" id = "spidertoxin" - description = "A toxic venom injected by spacefaring arachnids." + description = "Яд, впрыскиваемый космическими арахнидами." reagent_state = LIQUID color = "#CF3600" // rgb: 207, 54, 0 - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/spider_venom/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -27,12 +27,12 @@ return ..() | update_flags /datum/reagent/bee_venom - name = "Bee venom" + name = "Пчелиный яд" id = "beetoxin" - description = "A toxic venom injected by space bees." + description = "Яд, впрыскиваемый космическими пчелами." reagent_state = LIQUID color = "#ff932f" - taste_description = "pain" + taste_description = "боли" /datum/reagent/bee_venom/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -41,12 +41,12 @@ //bee venom specially for Beesease bees /datum/reagent/bee_venom_beesease - name = "Bee venom" + name = "Пчелиный яд" id = "beetoxinbeesease" - description = "A toxic venom injected by space bees." + description = "Яд, впрыскиваемый космическими пчелами." reagent_state = LIQUID color = "#ff932f" - taste_description = "pain" + taste_description = "боли" overdose_threshold = 30 /datum/reagent/bee_venom_beesease/on_mob_life(mob/living/M) @@ -82,12 +82,12 @@ return list(effect, update_flags) /datum/reagent/minttoxin - name = "Mint Toxin" + name = "Мятный токсин" id = "minttoxin" - description = "Useful for dealing with undesirable customers." + description = "Пригодится для работы с нежелательными клиентами." reagent_state = LIQUID color = "#CF3600" // rgb: 207, 54, 0 - taste_description = "mint" + taste_description = "мяты" /datum/reagent/minttoxin/on_mob_life(mob/living/M) if(HAS_TRAIT(M, TRAIT_FAT) && M.gib()) @@ -96,18 +96,18 @@ /datum/reagent/slimejelly data = list("diseases" = null) - name = "Slime Jelly" + name = "Слаймовое желе" id = "slimejelly" - description = "A gooey semi-liquid produced from one of the deadliest lifeforms in existence. SO REAL." + description = "Липкая полужидкость, полученная из одной из самых смертоносных форм жизни в галактике." reagent_state = LIQUID color = "#0b8f70" // rgb: 11, 143, 112 - taste_description = "slimes" + taste_description = "желе" taste_mult = 1.3 /datum/reagent/slimejelly/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(!isslimeperson(M) && prob(10)) - to_chat(M, "Your insides are burning!") + to_chat(M, span_danger("Ваши внутренности пылают!")) update_flags |= M.adjustToxLoss(rand(2,6) / 2, FALSE) // avg 0.2 toxin per cycle else if(prob(40)) update_flags |= M.adjustBruteLoss(-0.25, FALSE) @@ -144,33 +144,33 @@ /datum/reagent/slimetoxin - name = "Mutation Toxin" + name = "Мутационный токсин" id = "mutationtoxin" - description = "A corruptive toxin produced by slimes." + description = "Мутационный токсин, производимый слаймами." reagent_state = LIQUID color = "#13BC5E" // rgb: 19, 188, 94 can_synth = FALSE - taste_description = "shadows" + taste_description = "теней" /datum/reagent/slimetoxin/on_mob_life(mob/living/M) if(ishuman(M)) var/mob/living/carbon/human/human = M if(!isshadowperson(human)) - to_chat(M, "Your flesh rapidly mutates!") - to_chat(M, "You are now a Shadow Person, a mutant race of darkness-dwelling humanoids.") - to_chat(M, "Your body reacts violently to light. However, it naturally heals in darkness.") - to_chat(M, "Aside from your new traits, you are mentally unchanged and retain your prior obligations.") + to_chat(M, span_danger("Ваша плоть быстро мутирует!")) + to_chat(M, span_danger("Теперь вы - Тень, мутант из расы обитающих во тьме гуманоидов.")) + to_chat(M, span_danger("Ваше тело сильно реагирует на свет, однако оно натурально исцеляется при нахождении во тьме.")) + to_chat(M, span_danger("Тем не менее, вы не изменились психически и сохранили свои прежние обязанности.")) human.set_species(/datum/species/shadow) return ..() /datum/reagent/aslimetoxin - name = "Advanced Mutation Toxin" + name = "Продвинутый мутационный токсин" id = "amutationtoxin" - description = "An advanced corruptive toxin produced by slimes." + description = "Продвинутый мутационный токсин, производимый слаймами." reagent_state = LIQUID color = "#13BC5E" // rgb: 19, 188, 94 can_synth = FALSE - taste_description = "slime" + taste_description = "желе" /datum/reagent/aslimetoxin/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method != REAGENT_TOUCH) @@ -179,9 +179,9 @@ /datum/reagent/mercury - name = "Mercury" + name = "Ртуть" id = "mercury" - description = "A chemical element." + description = "Химический элемент." reagent_state = LIQUID color = "#484848" // rgb: 72, 72, 72 metabolization_rate = 0.5 * REAGENTS_METABOLISM @@ -195,14 +195,14 @@ return ..() | update_flags /datum/reagent/chlorine - name = "Chlorine" + name = "Хлор" id = "chlorine" - description = "A chemical element." + description = "Химический элемент." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 penetrates_skin = TRUE process_flags = ORGANIC | SYNTHETIC - taste_description = "fire" + taste_description = "огня" /datum/reagent/chlorine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -210,14 +210,14 @@ return ..() | update_flags /datum/reagent/fluorine - name = "Fluorine" + name = "Фтор" id = "fluorine" - description = "A highly-reactive chemical element." + description = "Высокореактивный химический элемент." reagent_state = GAS color = "#6A6054" penetrates_skin = TRUE process_flags = ORGANIC | SYNTHETIC - taste_description = "acid" + taste_description = "кислоты" /datum/reagent/fluorine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -226,13 +226,13 @@ return ..() | update_flags /datum/reagent/radium - name = "Radium" + name = "Радий" id = "radium" - description = "Radium is an alkaline earth metal. It is extremely radioactive." + description = "Радий - щелочноземельный металл. Он чрезвычайно радиоактивен." reagent_state = SOLID color = "#C7C7C7" // rgb: 199,199,199 penetrates_skin = TRUE - taste_description = "the colour blue and regret" + taste_description = "голубизны и сожалений" /datum/reagent/radium/on_mob_life(mob/living/M) if(M.radiation < 80) @@ -244,14 +244,14 @@ new /obj/effect/decal/cleanable/greenglow(T) /datum/reagent/mutagen - name = "Unstable mutagen" + name = "Нестабильный мутаген" id = "mutagen" - description = "Might cause unpredictable mutations. Keep away from children." + description = "Может вызывать непредсказуемые мутации. Держите подальше от детей." reagent_state = LIQUID color = "#04DF27" metabolization_rate = 0.75 * REAGENTS_METABOLISM taste_mult = 0.9 - taste_description = "slime" + taste_description = "желе" /datum/reagent/mutagen/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(!..()) @@ -273,12 +273,12 @@ /datum/reagent/stable_mutagen - name = "Stable mutagen" + name = "Стабильный мутаген" id = "stable_mutagen" - description = "Just the regular, boring sort of mutagenic compound. Works in a completely predictable manner." + description = "Обычное, скучное мутагенное соединение. Действует совершенно предсказуемо." reagent_state = LIQUID color = "#7DFF00" - taste_description = "slime" + taste_description = "желе" /datum/reagent/stable_mutagen/on_new(data) @@ -314,13 +314,13 @@ /datum/reagent/uranium - name ="Uranium" + name ="Уран" id = "uranium" - description = "A silvery-white metallic chemical element in the actinide series, weakly radioactive." + description = "Серебристо-белый металл из ряда актинидов, слабо радиоактивный." reagent_state = SOLID color = "#B8B8C0" // rgb: 184, 184, 192 taste_mult = 0 - taste_description = "the inside of a reactor" + taste_description = "атомной энергии" /datum/reagent/uranium/on_mob_life(mob/living/M) M.apply_effect(2, IRRADIATE, negate_armor = 1) @@ -332,13 +332,13 @@ /datum/reagent/lexorin - name = "Lexorin" + name = "Лексорин" id = "lexorin" - description = "Lexorin temporarily stops respiration. Causes tissue damage." + description = "Лексорин временно останавливает дыхание. Вызывает повреждение тканей." reagent_state = LIQUID color = "#52685D" metabolization_rate = 0.5 * REAGENTS_METABOLISM - taste_description = "sweetness" + taste_description = "сладости" /datum/reagent/lexorin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -347,13 +347,13 @@ /datum/reagent/acid - name = "Sulphuric acid" + name = "Серная кислота" id = "sacid" - description = "A strong mineral acid with the molecular formula H2SO4." + description = "Сильная минеральная кислота с молекулярной формулой H2SO4." reagent_state = LIQUID color = "#00FF32" process_flags = ORGANIC | SYNTHETIC - taste_description = "ACID" + taste_description = span_userdanger("РАЗЪЕДАЮЩЕЙ КИСЛОТЫ") //acid is not using permeability_coefficient to calculate protection, but armour["acid"] clothing_penetration = 1 var/acidpwr = 10 //the amount of protection removed from the armour @@ -378,7 +378,7 @@ return if(method == REAGENT_TOUCH) - to_chat(H, span_warning("The greenish acidic substance stings[volume < 1 ? " you, but isn't concentrated enough to harm you" : null]!")) + to_chat(H, span_warning("Зеленоватое кислое вещество жжёт вашу кожу[volume < 1 ? " но оно недостаточно концентрированное, чтобы нанести вам вред" : null]!")) if(volume < 1) return @@ -405,7 +405,7 @@ return if(method == REAGENT_INGEST) - to_chat(H, span_warning("The greenish acidic substance stings[volume < 1 ? " you, but isn't concentrated enough to harm you" : null]!")) + to_chat(H, span_warning("Зеленоватое кислое вещество жжёт вашу кожу[volume < 1 ? ", но оно недостаточно концентрированное, чтобы нанести вам вред" : null]!")) if(volume >= 1) H.adjustFireLoss(clamp((volume - 1) * 2, 0, 30)) if(H.has_pain()) @@ -429,9 +429,9 @@ /datum/reagent/acid/facid - name = "Fluorosulfuric acid" + name = "Фторсерная кислота" id = "facid" - description = "Fluorosulfuric acid is a an extremely corrosive super-acid." + description = "Фторсерная кислота это чрезвычайно агрессивная суперкислота." color = "#5050FF" acidpwr = 42 //acid is not using permeability_coefficient to calculate protection, but armour["acid"] @@ -469,12 +469,12 @@ if(volume > 9 && (H.wear_mask || H.head)) if(H.wear_mask && !(H.wear_mask.resistance_flags & ACID_PROOF)) - to_chat(H, span_danger("Your [H.wear_mask.name] melts away!")) + to_chat(H, span_danger("Ваш[genderize_ru(H.wear_mask.gender, "", "а", "е", "и")] [H.wear_mask.declent_ru(NOMINATIVE)] плавится!")) qdel(H.wear_mask) H.update_inv_wear_mask() if(H.head && !(H.head.resistance_flags & ACID_PROOF)) - to_chat(H, span_danger("Your [H.head.name] melts away!")) + to_chat(H, span_danger("Ваш[genderize_ru(H.head.gender, "", "а", "е", "и")] [H.head.declent_ru(NOMINATIVE)] плавится!")) qdel(H.head) H.update_inv_head() @@ -488,16 +488,16 @@ H.emote("scream") H.adjustFireLoss(clamp((volume - 5) * 3, 8, 75)); - to_chat(H, span_warning("The blueish acidic substance stings[volume < 5 ? " you, but isn't concentrated enough to harm you" : null]!")) + to_chat(H, span_warning("Синеватое кислотное вещество жжёт вашу кожу[volume < 5 ? ", но оно недостаточно концентрированное, чтобы нанести вам вред" : null]!")) /datum/reagent/acetic_acid - name = "Acetic acid" + name = "Уксусная кислота" id = "acetic_acid" - description = "A weak acid that is the main component of vinegar and bad hangovers." + description = "Слабая кислота, которая является основным компонентом уксуса и плохого похмелья." color = "#0080ff" reagent_state = LIQUID - taste_description = "vinegar" + taste_description = "уксуса" /datum/reagent/acetic_acid/reaction_mob(mob/M, method = REAGENT_TOUCH, volume) @@ -524,7 +524,7 @@ H.adjustBruteLoss(min(5, volume * 0.25)) else - to_chat(H, span_warning("The transparent acidic substance stings[volume < 25 ? " you, but isn't concentrated enough to harm you" : null]!")) + to_chat(H, span_warning("Прозрачная кислотное вещество жалит вашу кожу[volume < 25 ? ", но оно недостаточно концентрированное, чтобы нанести вам вред" : null]!")) if(volume >= 25) H.take_overall_damage(2) H.emote("scream") @@ -541,12 +541,12 @@ /datum/reagent/carpotoxin - name = "Carpotoxin" + name = "Карпотоксин" id = "carpotoxin" - description = "A deadly neurotoxin produced by the dreaded spess carp." + description = "Смертельный нейротоксин, вырабатываемый железами космического карпа." reagent_state = LIQUID color = "#003333" // rgb: 0, 51, 51 - taste_description = "fish" + taste_description = "рыбы" /datum/reagent/carpotoxin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -554,13 +554,13 @@ return ..() | update_flags /datum/reagent/staminatoxin - name = "Tirizene" + name = "Тиризин" id = "tirizene" - description = "A toxin that affects the stamina of a person when injected into the bloodstream." + description = "Токсин, который ухудшает снабжение тканей кислородом, постепенно выматывая организм субъекта." reagent_state = LIQUID color = "#6E2828" data = 13 - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/staminatoxin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -570,13 +570,13 @@ /datum/reagent/toxin/spore - name = "Spore Toxin" - description = "A natural toxin produced by blob spores that inhibits vision when ingested." + name = "Споровый токсин" + description = "Природный токсин, вырабатываемый спорами блоба, который при попадании в организм подавляет зрение." color = "#9ACD32" id = "spore" toxpwr = 1 can_synth = FALSE - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/toxin/spore/on_mob_life(mob/living/carbon/affected_mob, seconds_per_tick, times_fired) . = ..() @@ -585,12 +585,12 @@ affected_mob.EyeBlurry(6 SECONDS * REM * seconds_per_tick) /datum/reagent/toxin/spore_burning - name = "Burning Spore Toxin" - description = "A natural toxin produced by blob spores that induces combustion in its victim." + name = "Огненый споровый токсин" + description = "Природный токсин, вырабатываемый спорами блоба, который вызывает возгорание тканей жертвы." color = "#9ACD32" id = "spore_burn" toxpwr = 0.5 - taste_description = "burning" + taste_description = "ожогов" can_synth = FALSE /datum/reagent/toxin/spore_burning/on_mob_life(mob/living/carbon/affected_mob, seconds_per_tick, times_fired) @@ -600,16 +600,15 @@ /datum/reagent/beer2 //disguised as normal beer for use by emagged service borgs - name = "Beer" + name = "Пиво" id = "beer2" - description = "An alcoholic beverage made from malted grains, hops, yeast, and water." + description = "Алкогольный напиток, приготовленный из солода, хмеля, дрожжей и воды." color = "#664300" // rgb: 102, 67, 0 metabolization_rate = 0.1 * REAGENTS_METABOLISM drink_icon ="beerglass" - drink_name = "Beer glass" - drink_desc = "A freezing pint of beer" - taste_description = "beer" - taste_description = "piss water" + drink_name = "стакан пива" + drink_desc = "Освежающая пинта пива." + taste_description = "мочи" /datum/reagent/beer2/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -622,9 +621,9 @@ return ..() | update_flags /datum/reagent/polonium - name = "Polonium" + name = "Полоний" id = "polonium" - description = "Cause significant Radiation damage over time." + description = "Вызывают значительные радиационные повреждения с течением времени." reagent_state = LIQUID color = "#CF3600" metabolization_rate = 0.25 * REAGENTS_METABOLISM @@ -637,9 +636,9 @@ return ..() /datum/reagent/histamine - name = "Histamine" + name = "Гистамин" id = "histamine" - description = "Immune-system neurotransmitter. If detected in blood, the subject is likely undergoing an allergic reaction." + description = "Нейротрансмиттер иммунной системы. Если он обнаружен в крови, то, скорее всего, у человека наблюдается аллергическая реакция." reagent_state = LIQUID color = "#E7C4C4" metabolization_rate = 0.5 * REAGENTS_METABOLISM @@ -651,7 +650,7 @@ if(method == REAGENT_TOUCH) M.reagents.add_reagent("histamine",10) else - to_chat(M, "You feel a burning sensation in your throat...") + to_chat(M, span_danger("Вы чувствуете жжение в горле...")) M.emote("drool") /datum/reagent/histamine/on_mob_life(mob/living/M) @@ -659,15 +658,15 @@ if(prob(20)) M.emote(pick("twitch", "grumble", "sneeze", "cough")) if(prob(10)) - to_chat(M, "Your eyes itch.") + to_chat(M, span_danger("Ваши глаза чешутся...")) M.emote(pick("blink", "sneeze")) M.AdjustEyeBlurry(6 SECONDS) if(prob(10)) - M.visible_message("[M] scratches at an itch.") + M.visible_message(span_danger("[M] расчёсыва[pluralize_ru(M.gender, "ет", "ют")] кожу до крови!")) update_flags |= M.adjustBruteLoss(1, FALSE) M.emote("grumble") if(prob(5)) - to_chat(M, "You're getting a rash!") + to_chat(M, span_danger("У вас сыпь!")) update_flags |= M.adjustBruteLoss(2, FALSE) return ..() | update_flags @@ -677,7 +676,7 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - to_chat(M, "You feel mucus running down the back of your throat.") + to_chat(M, span_warning("Вы чувствуете, как слизь стекает по задней стенке вашего горла...")) update_flags |= M.adjustToxLoss(1, FALSE) M.Jitter(8 SECONDS) M.emote(pick("sneeze", "cough")) @@ -687,15 +686,15 @@ M.emote(pick("choke","gasp")) update_flags |= M.adjustOxyLoss(5, FALSE) else if(effect <= 7) - to_chat(M, "Your chest hurts!") + to_chat(M, span_warning("Вы чувствуете боль в груди!")) M.emote(pick("cough","gasp")) update_flags |= M.adjustOxyLoss(3, FALSE) else if(severity == 2) if(effect <= 2) - M.visible_message("[M] breaks out in hives!") + M.visible_message(span_danger("У [M] выступила крапивница на коже!")) update_flags |= M.adjustBruteLoss(6, FALSE) else if(effect <= 4) - M.visible_message("[M] has a horrible coughing fit!") + M.visible_message(span_warning("[M] оглушительно кашля[pluralize_ru(M.gender, "ет", "ют")], сгинаясь пополам!")) M.Jitter(20 SECONDS) M.AdjustStuttering(rand(0, 10 SECONDS)) M.emote("cough") @@ -704,24 +703,24 @@ update_flags |= M.adjustOxyLoss(6, FALSE) M.Weaken(16 SECONDS) else if(effect <= 7) - to_chat(M, "Your heartbeat is pounding inside your head!") + to_chat(M, span_warning("Вы слышите оглушительный стук собственного сердца!")) M << 'sound/effects/singlebeat.ogg' M.emote("collapse") update_flags |= M.adjustOxyLoss(8, FALSE) update_flags |= M.adjustToxLoss(3, FALSE) M.Weaken(6 SECONDS) M.emote(pick("choke", "gasp")) - to_chat(M, "You feel like you're dying!") + to_chat(M, span_warning("Вам кажется, что вы сейчас умрёте!")) return list(effect, update_flags) /datum/reagent/formaldehyde - name = "Formaldehyde" + name = "Формальдегид" id = "formaldehyde" - description = "Formaldehyde is a common industrial chemical and is used to preserve corpses and medical samples. It is highly toxic and irritating." + description = "Формальдегид - распространенный промышленный химикат, который используется для консервации трупов и медицинских препа. Он очень токсичен и вызывает аллергию." reagent_state = LIQUID color = "#B44B00" penetrates_skin = TRUE - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/formaldehyde/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -731,13 +730,13 @@ return ..() | update_flags /datum/reagent/acetaldehyde - name = "Acetaldehyde" + name = "Ацетальдегид" id = "acetaldehyde" - description = "Acetaldehyde is a common industrial chemical. It is a severe irritant." + description = "Ацетальдегид - распространенный промышленный химикат. Он является сильным раздражителем." reagent_state = LIQUID color = "#B44B00" penetrates_skin = TRUE - taste_description = "apples" + taste_description = "яблок" /datum/reagent/acetaldehyde/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -745,9 +744,9 @@ return ..() | update_flags /datum/reagent/venom - name = "Venom" + name = "Яд" id = "venom" - description = "An incredibly potent poison. Origin unknown." + description = "Невероятно сильный яд. Происхождение неизвестно." reagent_state = LIQUID color = "#CF3600" metabolization_rate = 0.5 * REAGENTS_METABOLISM @@ -773,9 +772,9 @@ return ..() | update_flags /datum/reagent/neurotoxin2 - name = "Neurotoxin" + name = "Нейротоксин" id = "neurotoxin2" - description = "A dangerous toxin that attacks the nervous system." + description = "Опасный токсин, поражающий нервную систему." reagent_state = LIQUID color = "#60A584" metabolization_rate = 2.5 * REAGENTS_METABOLISM @@ -812,14 +811,14 @@ return ..() | update_flags /datum/reagent/cyanide - name = "Cyanide" + name = "Цианид" id = "cyanide" - description = "A highly toxic chemical with some uses as a building block for other things." + description = "Высокотоксичное химическое вещество, используемое в качестве строительного блока для других веществ." reagent_state = LIQUID color = "#CF3600" metabolization_rate = 0.25 * REAGENTS_METABOLISM penetrates_skin = TRUE - taste_description = "almonds" + taste_description = "миндаля" /datum/reagent/cyanide/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -827,55 +826,55 @@ if(prob(5)) M.emote("drool") if(prob(10)) - to_chat(M, "You cannot breathe!") + to_chat(M, span_danger("Вы не можете дышать!")) M.AdjustLoseBreath(2 SECONDS) M.emote("gasp") if(prob(8)) - to_chat(M, "You feel horrendously weak!") + to_chat(M, span_danger("Вы чувствуете сильную слабость!")) M.Stun(4 SECONDS) update_flags |= M.adjustToxLoss(2, FALSE) return ..() | update_flags /datum/reagent/itching_powder - name = "Itching Powder" + name = "Зудящий порошок" id = "itching_powder" - description = "An abrasive powder beloved by cruel pranksters." + description = "Абразивный порошок, любимый жестокими шутниками." reagent_state = LIQUID color = "#B0B0B0" metabolization_rate = 0.75 * REAGENTS_METABOLISM penetrates_skin = TRUE - taste_description = "prickliness" + taste_description = "чесотки на языке" /datum/reagent/itching_powder/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_STAT if(prob(25)) M.emote(pick("twitch", "laugh", "sneeze", "cry")) if(prob(20)) - to_chat(M, "Something tickles!") + to_chat(M, span_notice("Вам щекотно!")) M.emote(pick("laugh", "giggle")) if(prob(15)) - M.visible_message("[M] scratches at an itch.") + M.visible_message(span_danger("[M] сильно чеш[pluralize_ru(M.gender, "ет", "ут")]ся!")) update_flags |= M.adjustBruteLoss(1, FALSE) M.Stun(rand(0, 2 SECONDS)) M.emote("grumble") if(prob(10)) - to_chat(M, "So itchy!") + to_chat(M, span_danger("Вам щекотно, слишком щекотно!")) update_flags |= M.adjustBruteLoss(2, FALSE) if(prob(6)) M.reagents.add_reagent("histamine", rand(1,3)) if(prob(2)) - to_chat(M, "AHHHHHH!") + to_chat(M, span_danger("ААААААА!!!")) update_flags |= M.adjustBruteLoss(5, FALSE) M.Weaken(10 SECONDS) M.AdjustJitter(12 SECONDS) - M.visible_message("[M] falls to the floor, scratching [M.p_them()]self violently!") + M.visible_message(span_danger("[M] вал[pluralize_ru(M.gender, "ит", "ят")]ся на землю, истерично рассчёсывая свою кожу до крови!")) M.emote("scream") return ..() | update_flags /datum/reagent/initropidril - name = "Initropidril" + name = "Инитропидрил" id = "initropidril" - description = "A highly potent cardiac poison - can kill within minutes." + description = "Сильнодействующий сердечный яд - может убить за несколько минут." reagent_state = LIQUID color = "#7F10C0" can_synth = FALSE @@ -886,14 +885,14 @@ if(prob(33)) update_flags |= M.adjustToxLoss(rand(5,25), FALSE) if(prob(33)) - to_chat(M, "You feel horribly weak.") + to_chat(M, span_danger("Вы чувствуете сильную слабость!")) M.Stun(4 SECONDS) if(prob(10)) - to_chat(M, "You cannot breathe!") + to_chat(M, span_danger("Вы не можете дышать!")) update_flags |= M.adjustOxyLoss(10, FALSE) M.AdjustLoseBreath(2 SECONDS) if(prob(10)) - to_chat(M, "Your chest is burning with pain!") + to_chat(M, span_warning("Вы чувствуете сильную боль в груди!")) update_flags |= M.adjustOxyLoss(10, FALSE) M.AdjustLoseBreath(2 SECONDS) M.Weaken(4 SECONDS) @@ -904,9 +903,9 @@ return ..() | update_flags /datum/reagent/pancuronium - name = "Pancuronium" + name = "Панкуроний" id = "pancuronium" - description = "Pancuronium bromide is a powerful skeletal muscle relaxant." + description = "Бромид панкурония - мощный релаксант скелетных мышц." reagent_state = LIQUID color = "#1E4664" metabolization_rate = 0.5 * REAGENTS_METABOLISM @@ -920,7 +919,7 @@ M.emote(pick("drool", "tremble")) if(6 to 10) if(prob(8)) - to_chat(M, "You feel [pick("weak", "horribly weak", "numb", "like you can barely move", "tingly")].") + to_chat(M, span_danger("Вы чувствуете [pick("сильную слабость", "немоту в мышцах", ", что вы едва можете двигаться", "сильное покалывание")]!")) M.Stun(2 SECONDS) else if(prob(8)) M.emote(pick("drool", "tremble")) @@ -930,16 +929,16 @@ M.emote(pick("drool", "tremble", "gasp")) M.AdjustLoseBreath(2 SECONDS) if(prob(9)) - to_chat(M, "You can't [pick("move", "feel your legs", "feel your face", "feel anything")]!") + to_chat(M, span_danger("Вы не[pick(" чувствуете свои ноги", " можете двигаться", "способны пошевелить даже пальцем", "чувствуете ничего")]!")) if(prob(7)) - to_chat(M, "You can't breathe!") + to_chat(M, span_danger("Вы не можете дышать!")) M.AdjustLoseBreath(6 SECONDS) return ..() | update_flags /datum/reagent/sodium_thiopental - name = "Sodium Thiopental" + name = "Тиопентал натрия" id = "sodium_thiopental" - description = "An rapidly-acting barbituate tranquilizer." + description = "Быстродействующий транквилизатор барбитуратного ряда." reagent_state = LIQUID color = "#5F8BE1" metabolization_rate = 1.75 * REAGENTS_METABOLISM @@ -966,9 +965,9 @@ return ..() | update_flags /datum/reagent/ketamine - name = "Ketamine" + name = "Кетамин" id = "ketamine" - description = "A potent veterinary tranquilizer." + description = "Сильнодействующий ветеринарный транквилизатор." reagent_state = LIQUID color = "#646EA0" metabolization_rate = 2 * REAGENTS_METABOLISM @@ -994,9 +993,9 @@ return ..() | update_flags /datum/reagent/sulfonal - name = "Sulfonal" + name = "Сульфонал" id = "sulfonal" - description = "Deals some toxin damage, and puts you to sleep after 66 seconds." + description = "Отравляет организм субьекта и погружает его в сон." reagent_state = LIQUID color = "#6BA688" metabolization_rate = 0.25 * REAGENTS_METABOLISM @@ -1022,9 +1021,9 @@ return ..() | update_flags /datum/reagent/amanitin - name = "Amanitin" + name = "Аманитин" id = "amanitin" - description = "A toxin produced by certain mushrooms. Very deadly." + description = "Токсин, вырабатываемый некоторыми грибами. Очень опасен." reagent_state = LIQUID color = "#D9D9D9" taste_mult = 0 @@ -1034,23 +1033,23 @@ ..() /datum/reagent/lipolicide - name = "Lipolicide" + name = "Липолицид" id = "lipolicide" - description = "A compound found in many seedy dollar stores in the form of a weight-loss tonic." + description = "Соединение, которое можно найти во многих магазинах в виде тоника для похудения." reagent_state = SOLID color = "#D1DED1" metabolization_rate = 0.5 * REAGENTS_METABOLISM - taste_description = "battery acid" + taste_description = "кислоты для аккумуляторов" /datum/reagent/lipolicide/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(!M.nutrition) switch(rand(1,3)) if(1) - to_chat(M, "You feel hungry...") + to_chat(M, span_warning("Вам хочется есть!")) if(2) update_flags |= M.adjustToxLoss(1, FALSE) - to_chat(M, "Your stomach grumbles painfully!") + to_chat(M, span_warning("Вы чувствуете боль в животе!")) else pass() else @@ -1061,9 +1060,9 @@ return ..() | update_flags /datum/reagent/coniine - name = "Coniine" + name = "Кониин" id = "coniine" - description = "A neurotoxin that rapidly causes respiratory failure." + description = "Нейротоксин, быстро вызывающий остановку дыхания." reagent_state = LIQUID color = "#C2D8CD" metabolization_rate = 0.125 * REAGENTS_METABOLISM @@ -1077,9 +1076,9 @@ return ..() | update_flags /datum/reagent/curare - name = "Curare" + name = "Кураре" id = "curare" - description = "A highly dangerous paralytic poison." + description = "Очень опасный паралитический яд." reagent_state = LIQUID color = "#191919" metabolization_rate = 0.25 * REAGENTS_METABOLISM @@ -1098,7 +1097,7 @@ if(6 to 10) M.AdjustEyeBlurry(10 SECONDS) if(prob(8)) - to_chat(M, "You feel [pick("weak", "horribly weak", "numb", "like you can barely move", "tingly")].") + to_chat(M, span_danger("Вы чувствуете [pick("сильную слабость", "немоту в мышцах", ", что вы едва можете двигаться", "сильное покалывание")]!")) M.Stun(2 SECONDS) else if(prob(8)) M.emote(pick("drool", "pale", "gasp")) @@ -1108,14 +1107,14 @@ if(prob(20)) M.emote(pick("drool", "faint", "pale", "gasp", "collapse")) else if(prob(8)) - to_chat(M, "You can't [pick("breathe", "move", "feel your legs", "feel your face", "feel anything")]!") + to_chat(M, span_danger("Вы не[pick(" чувствуете свои ноги", " можете двигаться", "способны пошевелить даже пальцем", " чувствуете ничего", " можете дышать")]!")) M.AdjustLoseBreath(2 SECONDS) return ..() | update_flags /datum/reagent/sarin - name = "Sarin" + name = "Зарин" id = "sarin" - description = "An extremely deadly neurotoxin." + description = "Чрезвычайно смертоносный нейротоксин." reagent_state = LIQUID color = "#C7C7C7" metabolization_rate = 0.25 * REAGENTS_METABOLISM @@ -1150,10 +1149,10 @@ M.emote("collapse") if(prob(5)) M.Weaken(6 SECONDS) - M.visible_message("[M] has a seizure!") + M.visible_message(span_warning("У [M] припадок!")) M.SetJitter(2000 SECONDS) if(prob(5)) - to_chat(M, "You can't breathe!") + to_chat(M, span_warning("Вы не можете дышать!")) M.emote(pick("gasp", "choke", "cough")) M.AdjustLoseBreath(2 SECONDS) if(61 to INFINITY) @@ -1171,13 +1170,13 @@ return ..() | update_flags /datum/reagent/glyphosate - name = "Glyphosate" + name = "Глифосат" id = "glyphosate" - description = "A broad-spectrum herbicide that is highly effective at killing all plants." + description = "Гербицид широкого спектра применения, эффективно уничтожающий вредителей." reagent_state = LIQUID color = "#d3cf50" var/lethality = 0 //Glyphosate is non-toxic to people - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/glyphosate/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1189,7 +1188,7 @@ for(var/obj/effect/overlay/wall_rot/WR in W) qdel(WR) W.rotting = 0 - W.visible_message("The fungi are completely dissolved by the solution!") + W.visible_message(span_warning("Глифосат полностью растворил грибок!")) /datum/reagent/glyphosate/reaction_obj(obj/O, volume) if(istype(O,/obj/structure/alien/weeds)) @@ -1216,20 +1215,20 @@ /datum/reagent/glyphosate/atrazine - name = "Atrazine" + name = "Атразин" id = "atrazine" - description = "A herbicidal compound used for destroying unwanted plants." + description = "Гербицидное соединение, используемое для уничтожения нежелательных растений." reagent_state = LIQUID color = "#773E73" //RGB: 47 24 45 lethality = 2 //Atrazine, however, is definitely toxic /datum/reagent/pestkiller // To-Do; make this more realistic. - name = "Pest Killer" + name = "Пестицид" id = "pestkiller" - description = "A harmful toxic mixture to kill pests. Do not ingest!" + description = "Вредная токсичная смесь для уничтожения вредителей. Не проглатывать!" color = "#4B004B" // rgb: 75, 0, 75 - taste_description = "bitterness" + taste_description = "горечи" /datum/reagent/pestkiller/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1238,7 +1237,7 @@ /datum/reagent/pestkiller/reaction_obj(obj/O, volume) if(istype(O, /obj/effect/decal/ants)) - O.visible_message("The ants die.") + O.visible_message(span_warning("Пестицид убивает муравьёв!")) qdel(O) /datum/reagent/pestkiller/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) @@ -1252,13 +1251,13 @@ H.adjustToxLoss(20) /datum/reagent/capulettium - name = "Capulettium" + name = "Капулеттий" id = "capulettium" - description = "A rare drug that causes the user to appear dead for some time." + description = "Редкий препарат, используемый для симуляции смерти организма употребившего." reagent_state = LIQUID color = "#60A584" heart_rate_stop = 1 - taste_description = "sweetness" + taste_description = "сладости" /datum/reagent/capulettium/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1280,13 +1279,13 @@ ..() /datum/reagent/capulettium_plus - name = "Capulettium Plus" + name = "Капулеттий+" id = "capulettium_plus" - description = "A rare and expensive drug that will silence the user and let him appear dead as long as it's in the body. Rest to play dead, stand up to wake up." + description = "Редкий препарат, используемый для симуляции смерти организма употребившего. Пока находится в кровотоке, не позволяет субъекту говорить." reagent_state = LIQUID color = "#60A584" heart_rate_stop = 1 - taste_description = "sweetness" + taste_description = "сладости" /datum/reagent/capulettium_plus/on_mob_life(mob/living/M) M.Silence(4 SECONDS) @@ -1302,31 +1301,31 @@ ..() /datum/reagent/toxic_slurry - name = "Toxic Slurry" + name = "Токсичная жижа" id = "toxic_slurry" - description = "A filthy, carcinogenic sludge produced by the Slurrypod plant." + description = "Токсичный канцерогенный осадок, образующийся на заводе \"Сларрипод\"." reagent_state = LIQUID color = "#00C81E" - taste_description = "slime" + taste_description = "желе" /datum/reagent/toxic_slurry/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(prob(10)) update_flags |= M.adjustToxLoss(rand(2.4), FALSE) if(prob(7)) - to_chat(M, "A horrible migraine overpowers you.") + to_chat(M, span_danger("Вас одолевает ужасная мигрень!")) M.Stun(rand(4 SECONDS, 10 SECONDS)) if(prob(7)) M.fakevomit(1) return ..() | update_flags /datum/reagent/glowing_slurry - name = "Glowing Slurry" + name = "Светящаяся жижа" id = "glowing_slurry" - description = "This is probably not good for you." + description = "Это, вероятно, не очень хорошо для вас." reagent_state = LIQUID color = "#00FD00" - taste_description = "slime" + taste_description = "желе" /datum/reagent/glowing_slurry/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) //same as mutagen if(!..()) @@ -1353,13 +1352,13 @@ return ..() /datum/reagent/ants - name = "Ants" + name = "Муравьи" id = "ants" - description = "A sample of a lost breed of Space Ants (formicidae bastardium tyrannus), they are well-known for ravaging the living shit out of pretty much anything." + description = "Образец потерянной породы космических муравьёв (Formicidae bastardium tyrannus). Они известны тем, что способны поглотить практически всё." reagent_state = SOLID color = "#993333" process_flags = ORGANIC | SYNTHETIC - taste_description = "ANTS OH GOD" + taste_description = span_warning("МУРАВЬЁВ") /datum/reagent/ants/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1369,20 +1368,20 @@ /datum/reagent/ants/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) //NOT THE ANTS if(iscarbon(M)) if(volume > 1 && (method == REAGENT_TOUCH || method == REAGENT_INGEST)) - to_chat(M, "OH SHIT ANTS!!!!") + to_chat(M, span_warning("ТВОЮ МАТЬ, МУРАВЬИ!")) M.emote("scream") M.adjustBruteLoss(4) /datum/reagent/teslium //Teslium. Causes periodic shocks, and makes shocks against the target much more effective. - name = "Teslium" + name = "Теслий" id = "teslium" - description = "An unstable, electrically-charged metallic slurry. Increases the conductance of living things." + description = "Нестабильная, электрически заряженная металлическая суспензия. Увеличивает проводимость живых организмов." reagent_state = LIQUID color = "#20324D" //RGB: 32, 50, 77 metabolization_rate = 0.5 * REAGENTS_METABOLISM var/shock_timer = 0 process_flags = ORGANIC | SYNTHETIC - taste_description = "electricity" + taste_description = "электричества" /datum/reagent/teslium/on_mob_life(mob/living/affected_mob) @@ -1409,43 +1408,43 @@ /datum/reagent/gluttonytoxin - name = "Gluttony's Blessing" + name = "Благословение Чревоугодия" id = "gluttonytoxin" - description = "An advanced corruptive toxin produced by something terrible." + description = "Продвинутый токсин, вызывающий разложение, производимый чем-то ужасным." reagent_state = LIQUID color = "#5EFF3B" //RGB: 94, 255, 59 can_synth = FALSE - taste_description = "decay" + taste_description = "разложения" /datum/reagent/gluttonytoxin/reaction_mob(mob/living/L, method=REAGENT_TOUCH, reac_volume) var/datum/disease/virus/transformation/morph/D = new D.Contract(L) /datum/reagent/bungotoxin - name = "Bungotoxin" + name = "Бунготоксин" id = "bungotoxin" - description = "A horrible cardiotoxin that protects the humble bungo pit." + description = "Ужасный кардиотоксин." reagent_state = LIQUID color = "#EBFF8E" metabolization_rate = 1.25 * REAGENTS_METABOLISM - taste_description = "tannin" + taste_description = "танина" /datum/reagent/bungotoxin/on_mob_life(mob/living/carbon/M) var/update_flags = STATUS_UPDATE_NONE if(current_cycle >= 20) if(prob(25)) M.Dizzy(20 SECONDS) - to_chat(M, "You feel your heart spasm in your chest.") + to_chat(M, span_danger("Вы чувствуете, как сердце сжимается в груди.")) if(current_cycle >= 30) if(prob(25)) M.Confused(20 SECONDS) - to_chat(M, "You feel you need to catch your breath.") + to_chat(M, span_danger("Вы чувствуете, что вам нужно сесть и отдышаться.")) if(current_cycle >= 40) if(prob(10)) - to_chat(M, "You feel horribly weak.") + to_chat(M, span_danger("Вы чувствуете сильную слабость!")) M.Stun(4 SECONDS) if(current_cycle == 50) - to_chat(M, "Your chest is burning with pain!") + to_chat(M, span_warning("Вы чувствуете сильную боль в груди!")) update_flags |= M.adjustOxyLoss(10, FALSE) M.AdjustLoseBreath(2 SECONDS) M.Weaken(6 SECONDS) @@ -1456,13 +1455,13 @@ return ..() | update_flags /datum/reagent/coca_extract - name = "Coca extract" + name = "Экстракт коки" id = "cocaextract" - description = "Unprocessed extract of coca. Its bad idea to taste it like that." + description = "Необработанный экстракт коки. Не стоит пробовать его в таком виде." reagent_state = LIQUID color = "#f4f4f4" metabolization_rate = 1 * REAGENTS_METABOLISM - taste_description = "herbal bitterness" + taste_description = "травяной горечи" /datum/reagent/coca_extract/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1473,18 +1472,18 @@ return ..() | update_flags /datum/reagent/metalic_dust - name = "Metalic dust" + name = "Металлическая пыль" id = "metalicdust" - description = "Metal dust with large pieces of various metals and technical liquids." + description = "Металлическая пыль с крупными кусками различных металлов и техническими жидкостями." reagent_state = SOLID color = "#353434" process_flags = ORGANIC | SYNTHETIC metabolization_rate = 5 - taste_description = span_warning("METAL DUST OH GOD") + taste_description = span_warning("МЕТАЛЛИЧЕСКОЙ ПЫЛИ И МАСЛА, БЛЯДЬ!") /datum/reagent/metalic_dust/on_mob_life(mob/living/M) M.emote("scream") - to_chat(M, span_warning("OH SHIT!!!!")) + to_chat(M, span_warning("ТВОЮ МАТЬ!!!")) M.AdjustWeakened(2 SECONDS) M.EyeBlurry(1 SECONDS) M.adjustBruteLoss(rand(5, 10)) diff --git a/code/modules/reagents/chemistry/reagents/water.dm b/code/modules/reagents/chemistry/reagents/water.dm index 37c54e46037..56e1dceaa16 100644 --- a/code/modules/reagents/chemistry/reagents/water.dm +++ b/code/modules/reagents/chemistry/reagents/water.dm @@ -12,17 +12,17 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( )) /datum/reagent/water - name = "Water" + name = "Вода" id = "water" - description = "A ubiquitous chemical substance that is composed of hydrogen and oxygen." + description = "Повсеместно распространённое химическое вещество, состоящее из водорода и кислорода." reagent_state = LIQUID color = "#0064C8" // rgb: 0, 100, 200 - taste_description = "water" + taste_description = "воды" var/cooling_temperature = 2 process_flags = ORGANIC | SYNTHETIC drink_icon = "glass_clear" - drink_name = "Glass of Water" - drink_desc = "The father of all refreshments." + drink_name = "Стакан воды" + drink_desc = "Обычный стакан обычной воды." var/water_temperature = COLD_WATER_TEMPERATURE // As reagents don't have a temperature value, we'll just use 10 celsius. /datum/reagent/water/reaction_mob(mob/living/M, method = REAGENT_TOUCH, volume) @@ -38,13 +38,13 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( O.water_act(volume, water_temperature, src) /datum/reagent/lube - name = "Space Lube" + name = "Космическая смазка" id = "lube" - description = "Lubricant is a substance introduced between two moving surfaces to reduce the friction and wear between them. giggity." + description = "Вещество, используемое для уменьшения трения между двумя движущимися поверхностями." reagent_state = LIQUID color = "#1BB1AB" harmless = TRUE - taste_description = "cherry" + taste_description = "вишни" /datum/reagent/lube/reaction_turf(turf/simulated/T, volume) if(volume >= 1 && istype(T)) @@ -52,14 +52,14 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( /datum/reagent/space_cleaner - name = "Space cleaner" + name = "Космочист" id = "cleaner" - description = "A compound used to clean things. Now with 50% more sodium hypochlorite!" + description = "Состав, используемый для очистки поверхностей. Теперь на 50% больше гипохлорита натрия!" reagent_state = LIQUID color = "#61C2C2" harmless = TRUE process_flags = ORGANIC | SYNTHETIC - taste_description = "floor cleaner" + taste_description = "средства для мытья полов" /datum/reagent/space_cleaner/reaction_obj(obj/O, volume) @@ -99,15 +99,15 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( /datum/reagent/blood data = list("donor"=null,"diseases"=null,"blood_DNA"=null,"blood_type"=null,"blood_species"=null,"blood_colour"="#A10808","resistances"=null,"trace_chem"=null,"mind"=null,"ckey"=null,"gender"=null,"real_name"=null,"cloneable"=null,"factions"=null, "dna" = null) - name = "Blood" + name = "Кровь" id = "blood" reagent_state = LIQUID color = "#770000" // rgb: 40, 0, 0 metabolization_rate = 12.5 * REAGENTS_METABOLISM //fast rate so it disappears fast. drink_icon = "glass_red" - drink_name = "Glass of Tomato juice" - drink_desc = "Are you sure this is tomato juice?" - taste_description = "blood" + drink_name = "Стакан томатного сока" + drink_desc = "Стоп, а это точно томатный сок?" + taste_description = "крови" taste_mult = 1.3 /datum/reagent/blood/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) @@ -180,7 +180,7 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( V.Contract(M, need_protection_check = FALSE) /datum/reagent/blood/synthetic/vox - name = "Synthetic Blood" + name = "Синтетическая кровь (Азот)" id = "sbloodvox" data = list("donor"=null,"diseases"=null,"blood_DNA"=null,"blood_type"=null,"blood_species"=null,"blood_colour"="#6093dc","resistances"=null,"trace_chem"=null,"mind"=null,"ckey"=null,"gender"=null,"real_name"=null,"cloneable"=null,"factions"=null, "dna" = null) color = "#6093dc" @@ -199,7 +199,7 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( C.blood_volume = min(C.blood_volume + round(volume, 0.1), BLOOD_VOLUME_NORMAL) /datum/reagent/blood/synthetic/oxy - name = "Synthetic Blood" + name = "Синтетическая кровь (Кислород)" id = "sbloodoxy" data = list("donor"=null,"diseases"=null,"blood_DNA"=null,"blood_type"=null,"blood_species"=null,"blood_colour"="#e8479d","resistances"=null,"trace_chem"=null,"mind"=null,"ckey"=null,"gender"=null,"real_name"=null,"cloneable"=null,"factions"=null, "dna" = null) color = "#e8479d" @@ -219,10 +219,10 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( /datum/reagent/vaccine //data must contain virus type - name = "Vaccine" + name = "Вакцина" id = "vaccine" color = "#C81040" // rgb: 200, 16, 64 - taste_description = "antibodies" + taste_description = "антител" /datum/reagent/vaccine/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(islist(data) && (method == REAGENT_INGEST)) @@ -237,16 +237,16 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( data |= data.Copy() /datum/reagent/fishwater - name = "Fish Water" + name = "Аквариумная вода" id = "fishwater" - description = "Smelly water from a fish tank. Gross!" + description = "Вонючая вода из аквариума. Мерзость!" reagent_state = LIQUID color = "#757547" - taste_description = "puke" + taste_description = "блевотины" /datum/reagent/fishwater/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) if(method == REAGENT_INGEST) - to_chat(M, "Oh god, why did you drink that?") + to_chat(M, "Для чего вы это выпили?") /datum/reagent/fishwater/on_mob_life(mob/living/M) if(prob(30)) // Nasty, you drank this stuff? 30% chance of the fakevomit (non-stunning version) @@ -257,27 +257,27 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( return ..() /datum/reagent/fishwater/toiletwater - name = "Toilet Water" + name = "Вода из унитаза" id = "toiletwater" - description = "Filthy water scoured from a nasty toilet bowl. Absolutely disgusting." + description = "Грязная вода, которую взяли из унитаза. Абсолютно отвратительно." reagent_state = LIQUID color = "#757547" - taste_description = "the inside of a toilet... or worse" + taste_description = "жидкого дерьма" /datum/reagent/fishwater/toiletwater/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) //For shennanigans return /datum/reagent/holywater - name = "Water" + name = "Вода" id = "holywater" - description = "A ubiquitous chemical substance that is composed of hydrogen and oxygen." + description = "Повсеместно распространённое химическое вещество, состоящее из водорода и кислорода." reagent_state = LIQUID color = "#0064C8" // rgb: 0, 100, 200 process_flags = ORGANIC | SYNTHETIC drink_icon = "glass_clear" - drink_name = "Glass of Water" - drink_desc = "The father of all refreshments." - taste_description = "water" + drink_name = "Стакан воды" + drink_desc = "Обычный стакан обычной воды." + taste_description = "воды" /datum/reagent/holywater/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -287,21 +287,21 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( M.Dizzy(10 SECONDS) if(isclocker(M) && prob(5)) M.AdjustClockSlur(10 SECONDS) - M.say(pick("Via Ra'var!", "P'res Ni", "Nu'nce te Ren'", "Et Def'Fre", "RELO'JE AR SAGE", "Ric'gui'nea", "Uy'a Rad kos", "Uo Rom'tis!", "Rup'ru ge")) + M.say(pick("Виа Ра'вар!", "П'рес Ни", "Ню'нс те Рен", "Эт Деф'Фре", "РЕЛО'ЙЕ АР СЕЙЖ", "Рик'гуай'ни", "Уй'а Рад кос", "Уо Ром'тис!", "Руп'ру ге")) if(iscultist(M)) for(var/datum/action/innate/cult/blood_magic/BM in M.actions) for(var/datum/action/innate/cult/blood_spell/BS in BM.spells) - to_chat(M, "Your blood rites falter as holy water scours your body!") + to_chat(M, span_cultlarge("Ваша кровавая магия ослабевает из-за святой воды в вашем организме!")) qdel(BS) if(prob(5)) M.AdjustCultSlur(10 SECONDS)//5 seems like a good number... - M.say(pick("Av'te Nar'sie","Pa'lid Mors","INO INO ORA ANA","SAT ANA!","Daim'niodeis Arc'iai Le'eones","Egkau'haom'nai en Chaous","Ho Diak'nos tou Ap'iron","R'ge Na'sie","Diabo us Vo'iscum","Si gn'um Co'nu")) + M.say(pick("Ав'те Нар'си","Па'лид Морс","ИНО ИНО ОРА АНА","САТ АНА!","Дайм'ниодиес Арс'иай Ле'ионес","Игкау'хом'нау ен Кеосу","Хо Дьяк'нос ту Ап'айрон","Ар'ж На'си","Диабо ас Во'исцум","Си гн'ам Ко'ну")) if(current_cycle >= 75 && prob(33)) // 30 units, 150 seconds M.AdjustConfused(6 SECONDS) if(isvampirethrall(M)) M.mind.remove_antag_datum(/datum/antagonist/mindslave/thrall) holder.remove_reagent(id, volume) - M.visible_message("[M] recoils, their skin flushes with colour, regaining their sense of control!") + M.visible_message(span_dangerbigger("[M] отшатыва[pluralize_ru(M.gender, "ет", "ют")]ся, [genderize_ru(M.gender, "его", "её", "его", "их")] кожа окрашивается в яркий цвет, [genderize_ru(M.gender, "он", "она", "оно", "они")] вновь обрета[pluralize_ru(M.gender, "ет", "ют")] чувство контроля над собой!")) M.SetJitter(0) M.SetStuttering(0) M.SetConfused(0) @@ -356,10 +356,10 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( return ..() | update_flags switch(current_cycle) if(1 to 4) - to_chat(M, "Something sizzles in your veins!") + to_chat(M, span_warning("Вы чувствуете, как что-то начинает бурлить в ваших жилах!")) vamp.base_nullification() if(5 to 12) - to_chat(M, "You feel an intense burning inside of you!") + to_chat(M, span_danger("Вы чувствуете сильное жжение внутри!")) update_flags |= M.adjustFireLoss(1, FALSE) M.Stuttering(2 SECONDS) M.Jitter(40 SECONDS) @@ -367,8 +367,8 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( M.emote("scream") vamp.base_nullification() if(13 to INFINITY) - M.visible_message("[M] suddenly bursts into flames!", - "You suddenly ignite in a holy fire!") + M.visible_message(span_danger("[M] внезапно вспыхива[pluralize_ru(M.gender, "ет", "ют")]!"), + span_danger("Внезапно святая вода внутри вас начинает гореть!")) M.fire_stacks = min(5, M.fire_stacks + 3) M.IgniteMob() update_flags |= M.adjustFireLoss(3, FALSE) @@ -402,13 +402,13 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( if(method == REAGENT_TOUCH) if(target.wear_mask) - to_chat(target, "Your mask protects you from the holy water!") + to_chat(target, span_warning("Ваша маска защищает вас от святой воды!")) return else if(target.head) - to_chat(target, "Your helmet protects you from the holy water!") + to_chat(target, span_warning("Ваш шлем защищает вас от святой воды!")) return else - to_chat(target, "Something holy interferes with your powers!") + to_chat(target, span_warning("Вы чувствуете, как ваши силы ослабевают из-за внезапного святого присутствия рядом!")) vamp.adjust_nullification(5, 2) @@ -422,12 +422,12 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( T.Bless() /datum/reagent/fuel/unholywater //if you somehow managed to extract this from someone, dont splash it on yourself and have a smoke - name = "Unholy Water" + name = "Нечестивая вода" id = "unholywater" - description = "Something that shouldn't exist on this plane of existance." + description = "Что-то, не должно существовать в этой реальности." process_flags = ORGANIC | SYNTHETIC //ethereal means everything processes it. metabolization_rate = 2.5 * REAGENTS_METABOLISM - taste_description = "sulfur" + taste_description = "серы" /datum/reagent/fuel/unholywater/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -450,13 +450,13 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( return ..() | update_flags /datum/reagent/hellwater - name = "Hell Water" + name = "Адская вода" id = "hell_water" - description = "YOUR FLESH! IT BURNS!" + description = "ЖЖЁТСЯ, КАК ЖЖЁТСЯ!" process_flags = ORGANIC | SYNTHETIC //Admin-bus has no brakes! KILL THEM ALL. metabolization_rate = 2.5 * REAGENTS_METABOLISM can_synth = FALSE - taste_description = "burning" + taste_description = "ожогов" /datum/reagent/hellwater/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -468,12 +468,12 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( return ..() | update_flags /datum/reagent/liquidgibs - name = "Liquid gibs" + name = "Жидкие ошмётки" id = "liquidgibs" color = "#FF9966" - description = "You don't even want to think about what's in here." + description = "Вы даже думать не хотите, что это такое." reagent_state = LIQUID - taste_description = "meat" + taste_description = "мяса" /datum/reagent/liquidgibs/reaction_turf(turf/T, volume) //yes i took it from synthflesh... if(volume >= 5 && !isspaceturf(T)) @@ -481,20 +481,20 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( playsound(T, 'sound/effects/splat.ogg', 50, 1, -3) /datum/reagent/lye - name = "Lye" + name = "Щёлочь" id = "lye" - description = "Also known as sodium hydroxide." + description = "Также известна как гидроксид натрия." reagent_state = LIQUID color = "#FFFFD6" // very very light yellow - taste_description = "ACID"//don't drink lye, kids + taste_description = "едкой кислоты"//don't drink lye, kids /datum/reagent/drying_agent - name = "Drying agent" + name = "Сушильный агент" id = "drying_agent" - description = "Can be used to dry things." + description = "Используется для осушения различных поверхностей." reagent_state = LIQUID color = "#A70FFF" - taste_description = "dry mouth" + taste_description = "сухости" /datum/reagent/drying_agent/reaction_turf(turf/simulated/T, volume) if(istype(T)) diff --git a/code/modules/reagents/reagent_containers.dm b/code/modules/reagents/reagent_containers.dm index fbcadc9f651..40eaff37d54 100644 --- a/code/modules/reagents/reagent_containers.dm +++ b/code/modules/reagents/reagent_containers.dm @@ -17,7 +17,7 @@ var/pass_open_check = FALSE // Pass open check in empty verb /obj/item/reagent_containers/verb/set_APTFT() //set amount_per_transfer_from_this - set name = "Set transfer amount" + set name = "Установить объём перемещения" set category = "Object" set src in usr @@ -28,20 +28,20 @@ var/default = null if(amount_per_transfer_from_this in possible_transfer_amounts) default = amount_per_transfer_from_this - var/N = input("Amount per transfer from this:", "[src]", default) as null|anything in possible_transfer_amounts + var/N = input("Объём перемещения отсюда:", "[declent_ru(NOMINATIVE)]", default) as null|anything in possible_transfer_amounts if(!N) return if(!Adjacent(usr)) - to_chat(usr, "You have moved too far away!") + balloon_alert(usr, "слишком далеко!") return if(usr.incapacitated() || HAS_TRAIT(usr, TRAIT_HANDS_BLOCKED)) - to_chat(usr, "You can't use your hands!") + balloon_alert(usr, "руки заблокированы!") return amount_per_transfer_from_this = N - to_chat(usr, "[src] will now transfer [N] units at a time.") + to_chat(usr, span_notice("Теперь [declent_ru(NOMINATIVE)] буд[pluralize_ru(gender, "ет", "ут")] перемещать по [N] единиц[declension_ru(N, "у", "ы", "")] вещества за раз.")) /obj/item/reagent_containers/AltClick(mob/user) if(Adjacent(user)) @@ -49,26 +49,26 @@ /obj/item/reagent_containers/verb/empty() - set name = "Empty Container" + set name = "Вылить содержимое" set category = "Object" set src in usr if(usr.incapacitated() || HAS_TRAIT(usr, TRAIT_HANDS_BLOCKED)) return - if(alert(usr, "Are you sure you want to empty that?", "Empty Container:", "Yes", "No") != "Yes") + if(tgui_alert(usr, "Вы уверены?", "Вылить содержимое", list("Да", "Нет")) != "Да") return if(!usr.Adjacent(src) || usr.incapacitated() || HAS_TRAIT(usr, TRAIT_HANDS_BLOCKED)) return if(isturf(usr.loc) && loc == usr) if(!is_open_container() && !pass_open_check) - to_chat(usr, "Open [src] first.") + balloon_alert(usr, "сначала откройте!") return if(reagents.total_volume) - to_chat(usr, "You empty [src] onto the floor.") + balloon_alert(usr, "содержимое вылито") reagents.reaction(usr.loc) reagents.clear_reagents() else - to_chat(usr, "You tried emptying [src], but there's nothing in it.") + balloon_alert(usr, "пусто, нечего выливать!") /obj/item/reagent_containers/New() create_reagents(volume, temperature_min, temperature_max) @@ -110,10 +110,10 @@ /obj/item/reagent_containers/attack_self(mob/user = usr) if(has_lid) if(is_open_container()) - to_chat(user, "You put the lid on [src].") + balloon_alert(user, "крышка надета") add_lid() else - to_chat(user, "You take the lid off [src].") + balloon_alert(user, "крышка снята") remove_lid() @@ -126,19 +126,19 @@ /obj/item/reagent_containers/wash(mob/user, atom/source) if(is_open_container()) if(reagents.total_volume >= volume) - to_chat(user, "[src] is full.") + balloon_alert(user, "нет места!") return else reagents.add_reagent("water", min(volume - reagents.total_volume, amount_per_transfer_from_this)) - to_chat(user, "You fill [src] from [source].") + to_chat(user, span_notice("Вы наполняете [declent_ru(ACCUSATIVE)] из [source.declent_ru(GENITIVE)].")) return ..() /obj/item/reagent_containers/examine(mob/user) . = ..() if(visible_transfer_rate) - . += "It will transfer [amount_per_transfer_from_this] unit[amount_per_transfer_from_this != 1 ? "s" : ""] at a time." + . += span_notice("Объём перемещения содержимого отсюда - [amount_per_transfer_from_this] единиц[declension_ru(amount_per_transfer_from_this, "а", "ы", "")] вещества за раз.") if(possible_transfer_amounts) - . += "Alt-click to change the transfer amount." + . += span_notice("Используйте Alt+ЛКМ, чтобы изменить объём перемещения содержимого.") diff --git a/code/modules/reagents/reagent_containers/applicator.dm b/code/modules/reagents/reagent_containers/applicator.dm index c7c41578c0d..6b3660a5640 100644 --- a/code/modules/reagents/reagent_containers/applicator.dm +++ b/code/modules/reagents/reagent_containers/applicator.dm @@ -1,6 +1,14 @@ /obj/item/reagent_containers/applicator name = "auto-mender" - desc = "A small electronic device designed to topically apply healing chemicals." + desc = "Небольшое электронное устройство, предназначенное для местного применения лекарственных препаратов." + ru_names = list( + NOMINATIVE = "авто-мендер", + GENITIVE = "авто-мендера", + DATIVE = "авто-мендеру", + ACCUSATIVE = "авто-мендер", + INSTRUMENTAL = "авто-мендером", + PREPOSITIONAL = "авто-мендере" + ) icon = 'icons/goonstation/objects/objects.dmi' icon_state = "mender" item_state = "mender" @@ -25,7 +33,7 @@ emagged = TRUE ignore_flags = TRUE if(user) - to_chat(user, "You short out the safeties on [src].") + balloon_alert(user, "протоколы безопасности взломаны") /obj/item/reagent_containers/applicator/set_APTFT() set hidden = TRUE @@ -39,9 +47,9 @@ found_forbidden_reagent = TRUE if(found_forbidden_reagent) if(ismob(loc)) - to_chat(loc, "[src] identifies and removes a harmful substance.") + to_chat(loc, span_warning("[capitalize(declent_ru(NOMINATIVE))] определяет и удаляет недопустимое вещество.")) else - visible_message("[src] identifies and removes a harmful substance.") + visible_message(span_warning("[capitalize(declent_ru(NOMINATIVE))] определяет и удаляет недопустимое вещество.")) update_icon() @@ -72,11 +80,11 @@ return . if(!reagents || !reagents.total_volume) - to_chat(user, span_warning("[src] is empty!")) + balloon_alert(user, "пусто!") return . if(applying) - to_chat(user, span_warning("You're already applying [src].")) + balloon_alert(user, "уже используется!") return . if(!ignore_flags && !target.can_inject(user, TRUE)) @@ -84,13 +92,13 @@ if(target == user) target.visible_message( - span_notice("[user] begins mending [user.p_them()]self with [src]."), - span_notice("You begin mending yourself with [src]."), + span_notice("[user] начина[pluralize_ru(user.gender, "ет", "ют")] применять [declent_ru(ACCUSATIVE)] на себе."), + span_notice("Вы начинаете применять [declent_ru(ACCUSATIVE)] на себе."), ) else user.visible_message( - span_notice("[user] begins mending [target] with [src]."), - span_notice("You begin mending [target] with [src]."), + span_notice("[user] начина[pluralize_ru(user.gender, "ет", "ют")] применять [declent_ru(ACCUSATIVE)] на [target]."), + span_notice("Вы начинаете применять [declent_ru(ACCUSATIVE)] на [target]."), ) . |= ATTACK_CHAIN_SUCCESS @@ -106,10 +114,10 @@ measured_health = target.health apply_to(target, user, 1, FALSE, def_zone) if(measured_health == target.health) - to_chat(user, span_notice("[target] is finished healing and [src] powers down automatically.")) + balloon_alert(user, "авто-мендер выключен!") break if(!reagents.total_volume) - to_chat(user, span_notice("[src] is out of reagents and powers down automatically.")) + balloon_alert(user, "содержимое закончилось!") break cycle_count++ @@ -132,14 +140,41 @@ /obj/item/reagent_containers/applicator/brute name = "brute auto-mender" + desc = "Небольшое электронное устройство, предназначенное для местного применения лекарственных препаратов. Эта версия - для заживления механических повреждений." + ru_names = list( + NOMINATIVE = "авто-мендер (Мех. Повреждения)", + GENITIVE = "авто-мендера (Мех. Повреждения)", + DATIVE = "авто-мендеру (Мех. Повреждения)", + ACCUSATIVE = "авто-мендер (Мех. Повреждения)", + INSTRUMENTAL = "авто-мендером (Мех. Повреждения)", + PREPOSITIONAL = "авто-мендере (Мех. Повреждения)" + ) list_reagents = list("styptic_powder" = 200) /obj/item/reagent_containers/applicator/burn name = "burn auto-mender" + desc = "Небольшое электронное устройство, предназначенное для местного применения лекарственных препаратов. Эта версия - для заживления термических повреждений." + ru_names = list( + NOMINATIVE = "авто-мендер (Терм. Повреждения)", + GENITIVE = "авто-мендера (Терм. Повреждения)", + DATIVE = "авто-мендеру (Терм. Повреждения)", + ACCUSATIVE = "авто-мендер (Терм. Повреждения)", + INSTRUMENTAL = "авто-мендером (Терм. Повреждения)", + PREPOSITIONAL = "авто-мендере (Терм. Повреждения)" + ) list_reagents = list("silver_sulfadiazine" = 200) /obj/item/reagent_containers/applicator/dual name = "dual auto-mender" + desc = "Небольшое электронное устройство, предназначенное для местного применения лекарственных препаратов. Эта версия - для заживления как механических, так и термических повреждений." + ru_names = list( + NOMINATIVE = "авто-мендер (Синт-плоть)", + GENITIVE = "авто-мендера (Синт-плоть)", + DATIVE = "авто-мендеру (Синт-плоть)", + ACCUSATIVE = "авто-мендер (Синт-плоть)", + INSTRUMENTAL = "авто-мендером (Синт-плоть)", + PREPOSITIONAL = "авто-мендере (Синт-плоть)" + ) list_reagents = list("synthflesh" = 200) /obj/item/reagent_containers/applicator/dual/syndi // It magically goes through hardsuits. Don't ask how. diff --git a/code/modules/reagents/reagent_containers/borghydro.dm b/code/modules/reagents/reagent_containers/borghydro.dm index 5b68574edd0..e93037c16b4 100644 --- a/code/modules/reagents/reagent_containers/borghydro.dm +++ b/code/modules/reagents/reagent_containers/borghydro.dm @@ -2,7 +2,15 @@ /obj/item/reagent_containers/borghypo name = "Cyborg Hypospray" - desc = "An advanced chemical synthesizer and injection system, designed for heavy-duty medical equipment." + desc = "Передовой химический синтезатор, оборудованный системой инъекции, разработанный для тяжёлого медицинского оборудования." + ru_names = list( + NOMINATIVE = "робо-гипоспрей", + GENITIVE = "робо-гипоспрея", + DATIVE = "робо-гипоспрею", + ACCUSATIVE = "робо-гипоспрей", + INSTRUMENTAL = "робо-гипоспреем", + PREPOSITIONAL = "робо-гипоспрее" + ) icon = 'icons/obj/hypo.dmi' item_state = "hypo" icon_state = "borghypo" @@ -29,7 +37,15 @@ /obj/item/reagent_containers/borghypo/syndicate name = "syndicate cyborg hypospray" - desc = "An experimental piece of Syndicate technology used to produce powerful restorative nanites used to very quickly restore injuries of all types. Also metabolizes potassium iodide, for radiation poisoning, and hydrocodone, for field surgery and pain relief." + desc = "Передовой химический синтезатор, оборудованный системой инъекции, разработанный для тяжёлого медицинского оборудования. Специальная версия, производимая Синдикатом для установки в боевых роботов поддержики, оснащённая передовыми лечебными препаратами." + ru_names = list( + NOMINATIVE = "Синди-робо-гипоспрей", + GENITIVE = "Синди-робо-гипоспрея", + DATIVE = "Синди-робо-гипоспрею", + ACCUSATIVE = "Синди-робо-гипоспрей", + INSTRUMENTAL = "Синди-робо-гипоспреем", + PREPOSITIONAL = "Синди-робо-гипоспрее" + ) icon_state = "borghypo_s" charge_cost = 20 recharge_time = 2 @@ -45,7 +61,15 @@ /obj/item/reagent_containers/borghypo/upgraded name = "upgraded cyborg hypospray" - desc = "An upgraded advanced chemical synthesizer and injection system, designed for heavy-duty medical equipment." + desc = "Улучшенная версия робо-гипоспрея. Передовой химический синтезатор, оборудованный системой инъекции, разработанный для тяжёлого медицинского оборудования." + ru_names = list( + NOMINATIVE = "улучшенный робо-гипоспрей", + GENITIVE = "улучшенного робо-гипоспрея", + DATIVE = "улучшенному робо-гипоспрею", + ACCUSATIVE = "улучшенный робо-гипоспрей", + INSTRUMENTAL = "улучшенным робо-гипоспреем", + PREPOSITIONAL = "улучшенном робо-гипоспрее" + ) reagent_ids = list( \ "salglu_solution" = list('icons/effects/bleed.dmi', "bleed10"), \ "mannitol" = list('icons/obj/species_organs/grey.dmi', "brain2"), \ @@ -131,7 +155,7 @@ var/datum/reagents/our_reagents = reagent_list[mode] if(!our_reagents.total_volume) - to_chat(user, span_warning("The injector is empty.")) + balloon_alert(user, "пусто!") return . if(!target.can_inject(user, TRUE, user.zone_selected, bypass_protection, bypass_protection)) @@ -139,14 +163,14 @@ . |= ATTACK_CHAIN_SUCCESS - to_chat(user, span_notice("You inject [target] with the injector.")) - to_chat(target, span_notice("You feel a tiny prick!")) + to_chat(user, span_notice("Вы делаете укол [target] своим инъектором.")) + to_chat(target, span_notice("Вы чувствуете едва заметный укол!")) our_reagents.add_reagent(target) var/datum/reagent/injected = GLOB.chemical_reagents_list[reagent_ids[mode]] var/contained = injected.name var/trans = our_reagents.trans_to(target, amount_per_transfer_from_this) add_attack_logs(user, target, "Injected with [name] containing [contained], transfered [trans] units", injected.harmless ? ATKLOG_ALMOSTALL : null) - to_chat(user, span_notice("[trans] units injected. [our_reagents.total_volume] units remaining.")) + to_chat(user, span_notice("Вы вкалываете [trans] единиц[declension_ru(trans, "у", "ы", "")]. В хранилище осталось ещё [reagents.total_volume] единиц[declension_ru(reagents.total_volume, "а", "ы", "")] вещества.")) /obj/item/reagent_containers/borghypo/attack_self(mob/user) @@ -165,14 +189,14 @@ var/datum/reagent/R = GLOB.chemical_reagents_list[reagent_ids[mode]] amount_per_transfer_from_this = (reagent_ids[mode] == "perfluorodecalin") ? 3 : 5 - to_chat(user, span_notice("Synthesizer is now producing '[R.name]'.")) + to_chat(user, span_notice("Конфигурация синтезатора обновлена. Активирован синтез вещества \"[R.name]\".")) /obj/item/reagent_containers/borghypo/examine(mob/user) . = ..() if(bypass_protection) - . += span_boldnotice("Advanced injector is installed on this module, allowing it to pierce thick tissue and materials.") + . += span_boldnotice("На этом модуле установлен усовершенствованный инъектор, позволяющий пробивать толстые ткани и материалы.") if(get_dist(user, src) <= 2) var/empty = TRUE @@ -180,16 +204,24 @@ for(var/datum/reagents/RS in reagent_list) var/datum/reagent/R = locate() in RS.reagent_list if(R) - . += span_notice("It currently has [R.volume] units of [R.name] stored.") + . += span_notice("Содержит в себе [R.volume] единиц[declension_ru(R.volume, "у", "ы", "")] вещества \"[R.name]\".") empty = FALSE if(empty) - . += span_notice("It is currently empty. Allow some time for the internal syntheszier to produce more.") + . += span_notice("Пусто.") /obj/item/reagent_containers/borghypo/basic name = "Basic Medical Hypospray" - desc = "A very basic medical hypospray, capable of providing simple medical treatment in emergencies." + desc = "Сильно упрощённая версия медицинского гипоспрея, способная ввести узко-ограниченный набор лекарственных медикаментов для оказания первой помощи." + ru_names = list( + NOMINATIVE = "стандартный медицинский гипоспрей", + GENITIVE = "стандартного медицинского гипоспрея", + DATIVE = "стандартному медицинскому гипоспрею", + ACCUSATIVE = "стандартный медицинский гипоспрей", + INSTRUMENTAL = "стандартным медицинским гипоспреем", + PREPOSITIONAL = "стандартном медицинском гипоспрее" + ) reagent_ids = list( \ "salglu_solution" = list('icons/effects/bleed.dmi', "bleed10"), \ "epinephrine" = list('icons/obj/surgery.dmi', "heart-on")) @@ -198,7 +230,15 @@ /obj/item/reagent_containers/borghypo/basic/upgraded name = "Upgraded Basic Medical Hypospray" - desc = "Basic medical hypospray, capable of providing standart medical treatment." + desc = "Упрощённная версия медицинского гипоспрея, способная ввести ограниченный набор медикаментов для лечения пациентов." + ru_names = list( + NOMINATIVE = "улучшенный медицинский гипоспрей", + GENITIVE = "улучшенного медицинского гипоспрея", + DATIVE = "улучшенному медицинскому гипоспрею", + ACCUSATIVE = "улучшенный медицинский гипоспрей", + INSTRUMENTAL = "улучшенным медицинским гипоспреем", + PREPOSITIONAL = "улучшенном медицинском гипоспрее" + ) reagent_ids = list( \ "salglu_solution" = list('icons/effects/bleed.dmi', "bleed10"), \ "epinephrine" = list('icons/obj/surgery.dmi', "heart-on"), \ @@ -209,7 +249,15 @@ /obj/item/reagent_containers/borghypo/emagged name = "ERR3NU1l_INJ3C70R" - desc = "This injector will deliver deadly chemicals into anyone not fortunate enough to end up as an enemy to Syndicate. Who could've thought NanoTrasen borgs can synthesize that?" + desc = "Этот инъектор будет впрыскивать смертоносные химикаты в каждого, кому не посчастливилось оказаться врагом Синдиката. Кто бы мог подумать, что роботы Нанотрейзен способы синтезировать такое?" + ru_names = list( + NOMINATIVE = "0ШNBK4_IИБ3KT0Я", + GENITIVE = "0ШNBK4_IИБ3KT0Я", + DATIVE = "0ШNBK4_IИБ3KT0Я", + ACCUSATIVE = "0ШNBK4_IИБ3KT0Я", + INSTRUMENTAL = "0ШNBK4_IИБ3KT0Я", + PREPOSITIONAL = "0ШNBK4_IИБ3KT0Я" + ) icon = 'icons/obj/hypo.dmi' item_state = "borghypo_emag" icon_state = "borghypo_emag" diff --git a/code/modules/reagents/reagent_containers/bottle.dm b/code/modules/reagents/reagent_containers/bottle.dm index 2b5025254e2..0d6cd868f0b 100644 --- a/code/modules/reagents/reagent_containers/bottle.dm +++ b/code/modules/reagents/reagent_containers/bottle.dm @@ -3,7 +3,15 @@ /obj/item/reagent_containers/glass/bottle name = "bottle" - desc = "A small bottle." + desc = "Небольшая стеклянная бутылочка." + ru_names = list( + NOMINATIVE = "бутылка", + GENITIVE = "бутылки", + DATIVE = "бутылке", + ACCUSATIVE = "бутылку", + INSTRUMENTAL = "бутылкой", + PREPOSITIONAL = "бутылке" + ) icon = 'icons/obj/chemical.dmi' icon_state = "round_bottle" item_state = "round_bottle" @@ -51,110 +59,254 @@ /obj/item/reagent_containers/glass/bottle/toxin name = "toxin bottle" - desc = "A small bottle containing toxic compounds." + desc = "Небольшая стеклянная бутылочка, внутри находится сильный токсин." + ru_names = list( + NOMINATIVE = "бутылка (Токсины)", + GENITIVE = "бутылки (Токсины)", + DATIVE = "бутылке (Токсины)", + ACCUSATIVE = "бутылку (Токсины)", + INSTRUMENTAL = "бутылкой (Токсины)", + PREPOSITIONAL = "бутылке (Токсины)" + ) icon_state = "small_bottle" list_reagents = list("toxin" = 30) /obj/item/reagent_containers/glass/bottle/atropine name = "atropine bottle" - desc = "A small bottle containing atropine, used for cardiac emergencies." + desc = "Небольшая стеклянная бутылочка, внутри находится атропин." + ru_names = list( + NOMINATIVE = "бутылка (Атропин)", + GENITIVE = "бутылки (Атропин)", + DATIVE = "бутылке (Атропин)", + ACCUSATIVE = "бутылку (Атропин)", + INSTRUMENTAL = "бутылкой (Атропин)", + PREPOSITIONAL = "бутылке (Атропин)" + ) icon_state = "small_bottle" list_reagents = list("atropine" = 30) /obj/item/reagent_containers/glass/bottle/saline name = "saline-glucose bottle" - desc = "A small bottle containing saline-glucose solution." + desc = "Небольшая стеклянная бутылочка, внутри находится физиологический раствор." + ru_names = list( + NOMINATIVE = "бутылка (Физраствор)", + GENITIVE = "бутылки (Физраствор)", + DATIVE = "бутылке (Физраствор)", + ACCUSATIVE = "бутылку (Физраствор)", + INSTRUMENTAL = "бутылкой (Физраствор)", + PREPOSITIONAL = "бутылке (Физраствор)" + ) icon_state = "small_bottle" list_reagents = list("salglu_solution" = 30) /obj/item/reagent_containers/glass/bottle/salicylic name = "salicylic acid bottle" - desc = "A small bottle containing medicine for pain and fevers." + desc = "Небольшая стеклянная бутылочка, внутри находится салициловая кислота." + ru_names = list( + NOMINATIVE = "бутылка (Салициловая кислота)", + GENITIVE = "бутылки (Салициловая кислота)", + DATIVE = "бутылке (Салициловая кислота)", + ACCUSATIVE = "бутылку (Салициловая кислота)", + INSTRUMENTAL = "бутылкой (Салициловая кислота)", + PREPOSITIONAL = "бутылке (Салициловая кислота)" + ) icon_state = "small_bottle" list_reagents = list("sal_acid" = 30) /obj/item/reagent_containers/glass/bottle/cyanide name = "cyanide bottle" - desc = "A small bottle of cyanide. Bitter almonds?" + desc = "Небольшая стеклянная бутылочка, внутри находится очень токсичный цианид." + ru_names = list( + NOMINATIVE = "бутылка (Цианид)", + GENITIVE = "бутылки (Цианид)", + DATIVE = "бутылке (Цианид)", + ACCUSATIVE = "бутылку (Цианид)", + INSTRUMENTAL = "бутылкой (Цианид)", + PREPOSITIONAL = "бутылке (Цианид)" + ) icon_state = "small_bottle" list_reagents = list("cyanide" = 30) /obj/item/reagent_containers/glass/bottle/mutagen name = "unstable mutagen bottle" - desc = "A small bottle of unstable mutagen. Randomly changes the DNA structure of whoever comes in contact." + desc = "Небольшая стеклянная бутылочка, внутри находится нестабильный мутаген." + ru_names = list( + NOMINATIVE = "бутылка (Нестабильный мутаген)", + GENITIVE = "бутылки (Нестабильный мутаген)", + DATIVE = "бутылке (Нестабильный мутаген)", + ACCUSATIVE = "бутылку (Нестабильный мутаген)", + INSTRUMENTAL = "бутылкой (Нестабильный мутаген)", + PREPOSITIONAL = "бутылке (Нестабильный мутаген)" + ) icon_state = "bottle" list_reagents = list("mutagen" = 30) /obj/item/reagent_containers/glass/bottle/ammonia name = "ammonia bottle" - desc = "A small bottle." + desc = "Небольшая стеклянная бутылочка, внутри находится аммиак." + ru_names = list( + NOMINATIVE = "бутылка (Аммиак)", + GENITIVE = "бутылки (Аммиак)", + DATIVE = "бутылке (Аммиак)", + ACCUSATIVE = "бутылку (Аммиак)", + INSTRUMENTAL = "бутылкой (Аммиак)", + PREPOSITIONAL = "бутылке (Аммиак)" + ) icon_state = "bottle" list_reagents = list("ammonia" = 30) /obj/item/reagent_containers/glass/bottle/diethylamine name = "diethylamine bottle" - desc = "A small bottle." + desc = "Небольшая стеклянная бутылочка, внутри находится диэтиламин." + ru_names = list( + NOMINATIVE = "бутылка (Диэтиламин)", + GENITIVE = "бутылки (Диэтиламин)", + DATIVE = "бутылке (Диэтиламин)", + ACCUSATIVE = "бутылку (Диэтиламин)", + INSTRUMENTAL = "бутылкой (Диэтиламин)", + PREPOSITIONAL = "бутылке (Диэтиламин)" + ) icon_state = "round_bottle" list_reagents = list("diethylamine" = 30) /obj/item/reagent_containers/glass/bottle/facid name = "Fluorosulfuric Acid Bottle" - desc = "A small bottle. Contains a small amount of Fluorosulfuric Acid" + desc = "Небольшая стеклянная бутылочка, внутри находится фторсерная кислота." + ru_names = list( + NOMINATIVE = "бутылка (Фторсерная кислота)", + GENITIVE = "бутылки (Фторсерная кислота)", + DATIVE = "бутылке (Фторсерная кислота)", + ACCUSATIVE = "бутылку (Фторсерная кислота)", + INSTRUMENTAL = "бутылкой (Фторсерная кислота)", + PREPOSITIONAL = "бутылке (Фторсерная кислота)" + ) icon_state = "round_bottle" list_reagents = list("facid" = 30) /obj/item/reagent_containers/glass/bottle/adminordrazine name = "Adminordrazine Bottle" - desc = "A small bottle. Contains the liquid essence of the gods." + desc = "Небольшая стеклянная бутылочка, содержащая в себе божественную эссенцию." + ru_names = list( + NOMINATIVE = "бутылка (Админордразин)", + GENITIVE = "бутылки (Админордразин)", + DATIVE = "бутылке (Админордразин)", + ACCUSATIVE = "бутылку (Админордразин)", + INSTRUMENTAL = "бутылкой (Админордразин)", + PREPOSITIONAL = "бутылке (Админордразин)" + ) icon = 'icons/obj/drinks.dmi' icon_state = "holyflask" list_reagents = list("adminordrazine" = 30) /obj/item/reagent_containers/glass/bottle/capsaicin name = "Capsaicin Bottle" - desc = "A small bottle. Contains hot sauce." + desc = "Небольшая стеклянная бутылочка, внутри находится капсаицин, получаемый из перца чили." + ru_names = list( + NOMINATIVE = "бутылка (Капсаицин)", + GENITIVE = "бутылки (Капсаицин)", + DATIVE = "бутылке (Капсаицин)", + ACCUSATIVE = "бутылку (Капсаицин)", + INSTRUMENTAL = "бутылкой (Капсаицин)", + PREPOSITIONAL = "бутылке (Капсаицин)" + ) icon_state = "round_bottle" list_reagents = list("capsaicin" = 30) /obj/item/reagent_containers/glass/bottle/frostoil name = "Frost Oil Bottle" - desc = "A small bottle. Contains cold sauce." + desc = "Небольшая стеклянная бутылочка, внутри находится ледяное масло, получаемое из ледяного перца чили." + ru_names = list( + NOMINATIVE = "бутылка (Ледяное масло)", + GENITIVE = "бутылки (Ледяное масло)", + DATIVE = "бутылке (Ледяное масло)", + ACCUSATIVE = "бутылку (Ледяное масло)", + INSTRUMENTAL = "бутылкой (Ледяное масло)", + PREPOSITIONAL = "бутылке (Ледяное масло)" + ) icon_state = "round_bottle" list_reagents = list("frostoil" = 30) /obj/item/reagent_containers/glass/bottle/morphine name = "Morphine Bottle" - desc = "A small bottle of morphine, a powerful painkiller." + desc = "Небольшая стеклянная бутылочка, внутри находится морфин." + ru_names = list( + NOMINATIVE = "бутылка (Морфин)", + GENITIVE = "бутылки (Морфин)", + DATIVE = "бутылке (Морфин)", + ACCUSATIVE = "бутылку (Морфин)", + INSTRUMENTAL = "бутылкой (Морфин)", + PREPOSITIONAL = "бутылке (Морфин)" + ) icon_state = "bottle" list_reagents = list("morphine" = 30) /obj/item/reagent_containers/glass/bottle/ether name = "Ether Bottle" - desc = "A small bottle of an ether, a strong anesthetic and sedative." + desc = "Небольшая стеклянная бутылочка, внутри находится эфир." + ru_names = list( + NOMINATIVE = "бутылка (Эфир)", + GENITIVE = "бутылки (Эфир)", + DATIVE = "бутылке (Эфир)", + ACCUSATIVE = "бутылку (Эфир)", + INSTRUMENTAL = "бутылкой (Эфир)", + PREPOSITIONAL = "бутылке (Эфир)" + ) icon_state = "round_bottle" list_reagents = list("ether" = 30) /obj/item/reagent_containers/glass/bottle/charcoal name = "Charcoal Bottle" - desc = "A small bottle. Contains charcoal." + desc = "Небольшая стеклянная бутылочка, внутри находится активированный уголь." + ru_names = list( + NOMINATIVE = "бутылка (Активированный уголь)", + GENITIVE = "бутылки (Активированный уголь)", + DATIVE = "бутылке (Активированный уголь)", + ACCUSATIVE = "бутылку (Активированный уголь)", + INSTRUMENTAL = "бутылкой (Активированный уголь)", + PREPOSITIONAL = "бутылке (Активированный уголь)" + ) icon_state = "wide_bottle" list_reagents = list("charcoal" = 30) /obj/item/reagent_containers/glass/bottle/epinephrine name = "Epinephrine Bottle" - desc = "A small bottle. Contains epinephrine - used to stabilize patients." + desc = "Небольшая стеклянная бутылочка, внутри находится эпинефрин." + ru_names = list( + NOMINATIVE = "бутылка (Эпинефрин)", + GENITIVE = "бутылки (Эпинефрин)", + DATIVE = "бутылке (Эпинефрин)", + ACCUSATIVE = "бутылку (Эпинефрин)", + INSTRUMENTAL = "бутылкой (Эпинефрин)", + PREPOSITIONAL = "бутылке (Эпинефрин)" + ) icon_state = "round_bottle" list_reagents = list("epinephrine" = 30) /obj/item/reagent_containers/glass/bottle/pancuronium name = "Pancuronium Bottle" - desc = "A small bottle of pancuronium." + desc = "Небольшая стеклянная бутылочка, внутри находится панкуроний." + ru_names = list( + NOMINATIVE = "бутылка (Панкуроний)", + GENITIVE = "бутылки (Панкуроний)", + DATIVE = "бутылке (Панкуроний)", + ACCUSATIVE = "бутылку (Панкуроний)", + INSTRUMENTAL = "бутылкой (Панкуроний)", + PREPOSITIONAL = "бутылке (Панкуроний)" + ) icon_state = "round_bottle" list_reagents = list("pancuronium" = 30) /obj/item/reagent_containers/glass/bottle/sulfonal name = "Sulfonal Bottle" - desc = "A small bottle of Sulfonal." + desc = "Небольшая стеклянная бутылочка, внутри находится сульфонал." + ru_names = list( + NOMINATIVE = "бутылка (Сульфонал)", + GENITIVE = "бутылки (Сульфонал)", + DATIVE = "бутылке (Сульфонал)", + ACCUSATIVE = "бутылку (Сульфонал)", + INSTRUMENTAL = "бутылкой (Сульфонал)", + PREPOSITIONAL = "бутылке (Сульфонал)" + ) icon_state = "round_bottle" list_reagents = list("sulfonal" = 30) @@ -162,94 +314,206 @@ /obj/item/reagent_containers/glass/bottle/reagent name = "Reagent Bottle" - desc = "A bottle for storing reagents" + desc = "Небольшая стеклянная бутылочка." icon_state = "reagent_bottle" volume = 50 /obj/item/reagent_containers/glass/bottle/reagent/oil name = "Oil Bottle" - desc = "A reagent bottle. Contains oil." + desc = "Небольшая стеклянная бутылочка, внутри находится масло." + ru_names = list( + NOMINATIVE = "бутылка (Масло)", + GENITIVE = "бутылки (Масло)", + DATIVE = "бутылке (Масло)", + ACCUSATIVE = "бутылку (Масло)", + INSTRUMENTAL = "бутылкой (Масло)", + PREPOSITIONAL = "бутылке (Масло)" + ) list_reagents = list("oil" = 50) pixel_x = -4 pixel_y = 6 /obj/item/reagent_containers/glass/bottle/reagent/phenol name = "Phenol Bottle" - desc = "A reagent bottle. Contains phenol." + desc = "Небольшая стеклянная бутылочка, внутри находится фенол." + ru_names = list( + NOMINATIVE = "бутылка (Фенол)", + GENITIVE = "бутылки (Фенол)", + DATIVE = "бутылке (Фенол)", + ACCUSATIVE = "бутылку (Фенол)", + INSTRUMENTAL = "бутылкой (Фенол)", + PREPOSITIONAL = "бутылке (Фенол)" + ) list_reagents = list("phenol" = 50) pixel_x = 6 pixel_y = 6 /obj/item/reagent_containers/glass/bottle/reagent/acetone name = "Acetone Bottle" - desc = "A reagent bottle. Contains acetone." + desc = "Небольшая стеклянная бутылочка, внутри находится ацетон." + ru_names = list( + NOMINATIVE = "бутылка (Ацетон)", + GENITIVE = "бутылки (Ацетон)", + DATIVE = "бутылке (Ацетон)", + ACCUSATIVE = "бутылку (Ацетон)", + INSTRUMENTAL = "бутылкой (Ацетон)", + PREPOSITIONAL = "бутылке (Ацетон)" + ) list_reagents = list("acetone" = 50) pixel_x = -4 /obj/item/reagent_containers/glass/bottle/reagent/ammonia name = "Ammonia Bottle" - desc = "A reagent bottle. Contains ammonia." + desc = "Небольшая стеклянная бутылочка, внутри находится аммиак." + ru_names = list( + NOMINATIVE = "бутылка (Аммиак)", + GENITIVE = "бутылки (Аммиак)", + DATIVE = "бутылке (Аммиак)", + ACCUSATIVE = "бутылку (Аммиак)", + INSTRUMENTAL = "бутылкой (Аммиак)", + PREPOSITIONAL = "бутылке (Аммиак)" + ) list_reagents = list("ammonia" = 50) pixel_x = 6 /obj/item/reagent_containers/glass/bottle/reagent/diethylamine name = "Diethylamine Bottle" - desc = "A reagent bottle. Contains diethylamine." + desc = "Небольшая стеклянная бутылочка, внутри находится диэтиламин." + ru_names = list( + NOMINATIVE = "бутылка (Диэтиламин)", + GENITIVE = "бутылки (Диэтиламин)", + DATIVE = "бутылке (Диэтиламин)", + ACCUSATIVE = "бутылку (Диэтиламин)", + INSTRUMENTAL = "бутылкой (Диэтиламин)", + PREPOSITIONAL = "бутылке (Диэтиламин)" + ) list_reagents = list("diethylamine" = 50) pixel_x = -4 pixel_y = -6 /obj/item/reagent_containers/glass/bottle/reagent/acid name = "Acid Bottle" - desc = "A reagent bottle. Contains sulfuric acid." + desc = "Небольшая стеклянная бутылочка, внутри находится серная кислота." + ru_names = list( + NOMINATIVE = "бутылка (Серная кислота)", + GENITIVE = "бутылки (Серная кислота)", + DATIVE = "бутылке (Серная кислота)", + ACCUSATIVE = "бутылку (Серная кислота)", + INSTRUMENTAL = "бутылкой (Серная кислота)", + PREPOSITIONAL = "бутылке (Серная кислота)" + ) list_reagents = list("sacid" = 50) pixel_x = 6 pixel_y = -6 /obj/item/reagent_containers/glass/bottle/reagent/formaldehyde name = "Formaldehyde Bottle" - desc = "A reagent bottle. Contains formaldehyde." + desc = "Небольшая стеклянная бутылочка, внутри находится формальдегид." + ru_names = list( + NOMINATIVE = "бутылка (Формальдегид)", + GENITIVE = "бутылки (Формальдегид)", + DATIVE = "бутылке (Формальдегид)", + ACCUSATIVE = "бутылку (Формальдегид)", + INSTRUMENTAL = "бутылкой (Формальдегид)", + PREPOSITIONAL = "бутылке (Формальдегид)" + ) list_reagents = list("formaldehyde" = 50) /obj/item/reagent_containers/glass/bottle/reagent/synaptizine name = "Synaptizine Bottle" - desc = "A reagent bottle. Contains synaptizine." + desc = "Небольшая стеклянная бутылочка, внутри находится синаптизин." + ru_names = list( + NOMINATIVE = "бутылка (Синаптизин)", + GENITIVE = "бутылки (Синаптизин)", + DATIVE = "бутылке (Синаптизин)", + ACCUSATIVE = "бутылку (Синаптизин)", + INSTRUMENTAL = "бутылкой (Синаптизин)", + PREPOSITIONAL = "бутылке (Синаптизин)" + ) list_reagents = list("synaptizine" = 50) /obj/item/reagent_containers/glass/bottle/reagent/morphine name = "Morphine Bottle" - desc = "A reagent bottle. Contains morphine." + desc = "Небольшая стеклянная бутылочка, внутри находится морфин." + ru_names = list( + NOMINATIVE = "бутылка (Морфин)", + GENITIVE = "бутылки (Морфин)", + DATIVE = "бутылке (Морфин)", + ACCUSATIVE = "бутылку (Морфин)", + INSTRUMENTAL = "бутылкой (Морфин)", + PREPOSITIONAL = "бутылке (Морфин)" + ) list_reagents = list("morphine" = 50) /obj/item/reagent_containers/glass/bottle/reagent/insulin name = "Insulin Bottle" - desc = "A reagent bottle. Contains insulin." + desc = "Небольшая стеклянная бутылочка, внутри находится инсулин." + ru_names = list( + NOMINATIVE = "бутылка (Инсулин)", + GENITIVE = "бутылки (Инсулин)", + DATIVE = "бутылке (Инсулин)", + ACCUSATIVE = "бутылку (Инсулин)", + INSTRUMENTAL = "бутылкой (Инсулин)", + PREPOSITIONAL = "бутылке (Инсулин)" + ) list_reagents = list("insulin" = 50) /obj/item/reagent_containers/glass/bottle/reagent/hairgrownium name = "Hair Grow Gel" - desc = "A bottle full of a stimulative hair growth formula" + desc = "Небольшая стеклянная бутылочка, внутри находится власорост." + ru_names = list( + NOMINATIVE = "бутылка (Власорост)", + GENITIVE = "бутылки (Власорост)", + DATIVE = "бутылке (Власорост)", + ACCUSATIVE = "бутылку (Власорост)", + INSTRUMENTAL = "бутылкой (Власорост)", + PREPOSITIONAL = "бутылке (Власорост)" + ) list_reagents = list("hairgrownium" = 50) /obj/item/reagent_containers/glass/bottle/reagent/hair_dye name = "Quantum Hair Dye Bottle" - desc = "A bottle of the ever-changing quantum hair dye." + desc = "Небольшая стеклянная бутылочка, внутри находится квантовая краска для волос." + ru_names = list( + NOMINATIVE = "бутылка (Квантовая краска для волос)", + GENITIVE = "бутылки (Квантовая краска для волос)", + DATIVE = "бутылке (Квантовая краска для волос)", + ACCUSATIVE = "бутылку (Квантовая краска для волос)", + INSTRUMENTAL = "бутылкой (Квантовая краска для волос)", + PREPOSITIONAL = "бутылке (Квантовая краска для волос)" + ) list_reagents = list("hair_dye" = 50) /obj/item/reagent_containers/glass/bottle/reagent/omnizine name = "Omnizine Bottle" - desc = "A reagent bottle. Contains Omnizine." + desc = "Небольшая стеклянная бутылочка, внутри находится омнизин." + ru_names = list( + NOMINATIVE = "бутылка (Омнизин)", + GENITIVE = "бутылки (Омнизин)", + DATIVE = "бутылке (Омнизин)", + ACCUSATIVE = "бутылку (Омнизин)", + INSTRUMENTAL = "бутылкой (Омнизин)", + PREPOSITIONAL = "бутылке (Омнизин)" + ) list_reagents = list("omnizine" = 50) /obj/item/reagent_containers/glass/bottle/reagent/strange_reagent name = "Strange Reagent Bottle" - desc = "A bottle of glowing fluid." + desc = "Небольшая стеклянная бутылочка, внутри находится странный реагент." + ru_names = list( + NOMINATIVE = "бутылка (Странный реагент)", + GENITIVE = "бутылки (Странный реагент)", + DATIVE = "бутылке (Странный реагент)", + ACCUSATIVE = "бутылку (Странный реагент)", + INSTRUMENTAL = "бутылкой (Странный реагент)", + PREPOSITIONAL = "бутылке (Странный реагент)" + ) list_reagents = list("strange_reagent" = 30) ////////////////////Traitor Poison Bottle////////////////////////////// /obj/item/reagent_containers/glass/bottle/traitor - desc = "It has a small skull and crossbones on it. Uh-oh!" + desc = "На ней изображён маленький череп и скрещённые кости. О-о-о!" possible_transfer_amounts = list(5,10,15,25,30,40) volume = 40 @@ -259,247 +523,575 @@ /obj/item/reagent_containers/glass/bottle/plasma name = "plasma dust bottle" - desc = "A small bottle of plasma in dust form. Extremely toxic and reacts with micro-organisms inside blood." + desc = "Небольшая стеклянная бутылочка, внутри находится плазменная пыль." + ru_names = list( + NOMINATIVE = "бутылка (Плазменная пыль)", + GENITIVE = "бутылки (Плазменная пыль)", + DATIVE = "бутылке (Плазменная пыль)", + ACCUSATIVE = "бутылку (Плазменная пыль)", + INSTRUMENTAL = "бутылкой (Плазменная пыль)", + PREPOSITIONAL = "бутылке (Плазменная пыль)" + ) icon_state = "wide_bottle" list_reagents = list("plasma_dust" = 30) /obj/item/reagent_containers/glass/bottle/diphenhydramine name = "diphenhydramine bottle" - desc = "A small bottle of diphenhydramine." + desc = "Небольшая стеклянная бутылочка, внутри находится дифенгидрамин." + ru_names = list( + NOMINATIVE = "бутылка (Дифенгидрамин)", + GENITIVE = "бутылки (Дифенгидрамин)", + DATIVE = "бутылке (Дифенгидрамин)", + ACCUSATIVE = "бутылку (Дифенгидрамин)", + INSTRUMENTAL = "бутылкой (Дифенгидрамин)", + PREPOSITIONAL = "бутылке (Дифенгидрамин)" + ) icon_state = "round_bottle" list_reagents = list("diphenhydramine" = 30) /obj/item/reagent_containers/glass/bottle/oculine name = "oculine bottle" - desc = "A small bottle of combined eye and ear medication." + desc = "Небольшая стеклянная бутылочка, внутри находится окулин." + ru_names = list( + NOMINATIVE = "бутылка (Окулин)", + GENITIVE = "бутылки (Окулин)", + DATIVE = "бутылке (Окулин)", + ACCUSATIVE = "бутылку (Окулин)", + INSTRUMENTAL = "бутылкой (Окулин)", + PREPOSITIONAL = "бутылке (Окулин)" + ) icon_state = "round_bottle" list_reagents = list("oculine" = 30) /obj/item/reagent_containers/glass/bottle/potassium_iodide name = "potassium iodide bottle" - desc = "A small bottle of potassium iodide." + desc = "Небольшая стеклянная бутылочка, внутри находится иодид калия." + ru_names = list( + NOMINATIVE = "бутылка (Иодид калия)", + GENITIVE = "бутылки (Иодид калия)", + DATIVE = "бутылке (Иодид калия)", + ACCUSATIVE = "бутылку (Иодид калия)", + INSTRUMENTAL = "бутылкой (Иодид калия)", + PREPOSITIONAL = "бутылке (Иодид калия)" + ) icon_state = "wide_bottle" list_reagents = list("potass_iodide" = 30) /obj/item/reagent_containers/glass/bottle/cold name = "Rhinovirus culture bottle" - desc = "A small bottle. Contains XY-rhinovirus culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Простуда\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Простуда)", + GENITIVE = "бутылки вирусной культуры (Простуда)", + DATIVE = "бутылке вирусной культуры (Простуда)", + ACCUSATIVE = "бутылку вирусной культуры (Простуда)", + INSTRUMENTAL = "бутылкой вирусной культуры (Простуда)", + PREPOSITIONAL = "бутылке вирусной культуры (Простуда)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/cold /obj/item/reagent_containers/glass/bottle/flu name = "Flu virion culture bottle" - desc = "A small bottle. Contains H13N1 flu virion culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Грипп\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Грипп)", + GENITIVE = "бутылки вирусной культуры (Грипп)", + DATIVE = "бутылке вирусной культуры (Грипп)", + ACCUSATIVE = "бутылку вирусной культуры (Грипп)", + INSTRUMENTAL = "бутылкой вирусной культуры (Грипп)", + PREPOSITIONAL = "бутылке вирусной культуры (Грипп)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/flu /obj/item/reagent_containers/glass/bottle/sneezing name = "Sneezing symptom bottle" - desc = "A small bottle. Contains a simple advanced virus in synthblood medium that makes infected sneeze." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Чихание\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Чихание)", + GENITIVE = "бутылки вирусной культуры (Чихание)", + DATIVE = "бутылке вирусной культуры (Чихание)", + ACCUSATIVE = "бутылку вирусной культуры (Чихание)", + INSTRUMENTAL = "бутылкой вирусной культуры (Чихание)", + PREPOSITIONAL = "бутылке вирусной культуры (Чихание)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/sneezing /obj/item/reagent_containers/glass/bottle/cough name = "Cough symptom bottle" - desc = "A small bottle. Contains a simple advanced virus in synthblood medium that makes infected cough." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Кашель\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Кашель)", + GENITIVE = "бутылки вирусной культуры (Кашель)", + DATIVE = "бутылке вирусной культуры (Кашель)", + ACCUSATIVE = "бутылку вирусной культуры (Кашель)", + INSTRUMENTAL = "бутылкой вирусной культуры (Кашель)", + PREPOSITIONAL = "бутылке вирусной культуры (Кашель)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/cough /obj/item/reagent_containers/glass/bottle/epiglottis_virion name = "Epiglottis virion culture bottle" - desc = "A small bottle. Contains Epiglottis virion culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Надгортанник\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Надгортанник)", + GENITIVE = "бутылки вирусной культуры (Надгортанник)", + DATIVE = "бутылке вирусной культуры (Надгортанник)", + ACCUSATIVE = "бутылку вирусной культуры (Надгортанник)", + INSTRUMENTAL = "бутылкой вирусной культуры (Надгортанник)", + PREPOSITIONAL = "бутылке вирусной культуры (Надгортанник)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/voice_change /obj/item/reagent_containers/glass/bottle/liver_enhance_virion name = "Liver enhancement virion culture bottle" - desc = "A small bottle. Contains liver enhancement virion culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Укрепление печени\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Укрепление печени)", + GENITIVE = "бутылки вирусной культуры (Укрепление печени)", + DATIVE = "бутылке вирусной культуры (Укрепление печени)", + ACCUSATIVE = "бутылку вирусной культуры (Укрепление печени)", + INSTRUMENTAL = "бутылкой вирусной культуры (Укрепление печени)", + PREPOSITIONAL = "бутылке вирусной культуры (Укрепление печени)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/heal /obj/item/reagent_containers/glass/bottle/hullucigen_virion name = "Hullucigen virion culture bottle" - desc = "A small bottle. Contains hullucigen virion culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Галлюцинации\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Галлюцинации)", + GENITIVE = "бутылки вирусной культуры (Галлюцинации)", + DATIVE = "бутылке вирусной культуры (Галлюцинации)", + ACCUSATIVE = "бутылку вирусной культуры (Галлюцинации)", + INSTRUMENTAL = "бутылкой вирусной культуры (Галлюцинации)", + PREPOSITIONAL = "бутылке вирусной культуры (Галлюцинации)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/hullucigen /obj/item/reagent_containers/glass/bottle/pierrot_throat name = "Pierrot's Throat culture bottle" - desc = "A small bottle. Contains H0NI<42 virion culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Горло Пьеро\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Горло Пьеро)", + GENITIVE = "бутылки вирусной культуры (Горло Пьеро)", + DATIVE = "бутылке вирусной культуры (Горло Пьеро)", + ACCUSATIVE = "бутылку вирусной культуры (Горло Пьеро)", + INSTRUMENTAL = "бутылкой вирусной культуры (Горло Пьеро)", + PREPOSITIONAL = "бутылке вирусной культуры (Горло Пьеро)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/pierrot_throat /obj/item/reagent_containers/glass/bottle/mind_restoration name = "Reality Purifier culture bottle" - desc = "A small bottle. Contains Reality Purifier culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Восстановление сознания\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Восстановление сознания)", + GENITIVE = "бутылки вирусной культуры (Восстановление сознания)", + DATIVE = "бутылке вирусной культуры (Восстановление сознания)", + ACCUSATIVE = "бутылку вирусной культуры (Восстановление сознания)", + INSTRUMENTAL = "бутылкой вирусной культуры (Восстановление сознания)", + PREPOSITIONAL = "бутылке вирусной культуры (Восстановление сознания)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/mind_restoration /obj/item/reagent_containers/glass/bottle/advanced_regeneration name = "Advanced Neogenesis culture bottle" - desc = "A small bottle. Contains Advanced Neogenesis culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Улучшенная регенерация\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Улучшенная регенерация)", + GENITIVE = "бутылки вирусной культуры (Улучшенная регенерация)", + DATIVE = "бутылке вирусной культуры (Улучшенная регенерация)", + ACCUSATIVE = "бутылку вирусной культуры (Улучшенная регенерация)", + INSTRUMENTAL = "бутылкой вирусной культуры (Улучшенная регенерация)", + PREPOSITIONAL = "бутылке вирусной культуры (Улучшенная регенерация)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/advanced_regeneration /obj/item/reagent_containers/glass/bottle/stealth_necrosis name = "Necroeyrosis culture bottle" - desc = "A small bottle. Contains Necroeyrosis culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Некроз\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Некроз)", + GENITIVE = "бутылки вирусной культуры (Некроз)", + DATIVE = "бутылке вирусной культуры (Некроз)", + ACCUSATIVE = "бутылку вирусной культуры (Некроз)", + INSTRUMENTAL = "бутылкой вирусной культуры (Некроз)", + PREPOSITIONAL = "бутылке вирусной культуры (Некроз)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/stealth_necrosis /obj/item/reagent_containers/glass/bottle/pre_kingstons name = "Neverlasting Stranger culture bottle" - desc = "A small bottle. Contains Neverlasting Stranger culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Синдром Кингстона\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Синдром Кингстона)", + GENITIVE = "бутылки вирусной культуры (Синдром Кингстона)", + DATIVE = "бутылке вирусной культуры (Синдром Кингстона)", + ACCUSATIVE = "бутылку вирусной культуры (Синдром Кингстона)", + INSTRUMENTAL = "бутылкой вирусной культуры (Синдром Кингстона)", + PREPOSITIONAL = "бутылке вирусной культуры (Синдром Кингстона)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/pre_kingstons /obj/item/reagent_containers/glass/bottle/love name = "love" - desc = "love" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Любовь\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Любовь)", + GENITIVE = "бутылки вирусной культуры (Любовь)", + DATIVE = "бутылке вирусной культуры (Любовь)", + ACCUSATIVE = "бутылку вирусной культуры (Любовь)", + INSTRUMENTAL = "бутылкой вирусной культуры (Любовь)", + PREPOSITIONAL = "бутылке вирусной культуры (Любовь)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/love /obj/item/reagent_containers/glass/bottle/aggression name = "aggression" - desc = "aggression" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Агрессия\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Агрессия)", + GENITIVE = "бутылки вирусной культуры (Агрессия)", + DATIVE = "бутылке вирусной культуры (Агрессия)", + ACCUSATIVE = "бутылку вирусной культуры (Агрессия)", + INSTRUMENTAL = "бутылкой вирусной культуры (Агрессия)", + PREPOSITIONAL = "бутылке вирусной культуры (Агрессия)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/aggression /obj/item/reagent_containers/glass/bottle/obsession name = "obsession" - desc = "obsession" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Одержимость\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Одержимость)", + GENITIVE = "бутылки вирусной культуры (Одержимость)", + DATIVE = "бутылке вирусной культуры (Одержимость)", + ACCUSATIVE = "бутылку вирусной культуры (Одержимость)", + INSTRUMENTAL = "бутылкой вирусной культуры (Одержимость)", + PREPOSITIONAL = "бутылке вирусной культуры (Одержимость)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/obsession /obj/item/reagent_containers/glass/bottle/confusion name = "confusion" - desc = "confusion" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Замешательство\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Замешательство)", + GENITIVE = "бутылки вирусной культуры (Замешательство)", + DATIVE = "бутылке вирусной культуры (Замешательство)", + ACCUSATIVE = "бутылку вирусной культуры (Замешательство)", + INSTRUMENTAL = "бутылкой вирусной культуры (Замешательство)", + PREPOSITIONAL = "бутылке вирусной культуры (Замешательство)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/confusion /obj/item/reagent_containers/glass/bottle/bones name = "bones" - desc = "bones" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Кости\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Кости)", + GENITIVE = "бутылки вирусной культуры (Кости)", + DATIVE = "бутылке вирусной культуры (Кости)", + ACCUSATIVE = "бутылку вирусной культуры (Кости)", + INSTRUMENTAL = "бутылкой вирусной культуры (Кости)", + PREPOSITIONAL = "бутылке вирусной культуры (Кости)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/bones /obj/item/reagent_containers/glass/bottle/limb_throw name = "limb_throw" - desc = "limb_throw" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Отстреливание конечностей\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Отстреливание конечностей)", + GENITIVE = "бутылки вирусной культуры (Отстреливание конечностей)", + DATIVE = "бутылке вирусной культуры (Отстреливание конечностей)", + ACCUSATIVE = "бутылку вирусной культуры (Отстреливание конечностей)", + INSTRUMENTAL = "бутылкой вирусной культуры (Отстреливание конечностей)", + PREPOSITIONAL = "бутылке вирусной культуры (Отстреливание конечностей)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/limb_throw /obj/item/reagent_containers/glass/bottle/laugh name = "laugh" - desc = "laugh" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Смех\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Смех)", + GENITIVE = "бутылки вирусной культуры (Смех)", + DATIVE = "бутылке вирусной культуры (Смех)", + ACCUSATIVE = "бутылку вирусной культуры (Смех)", + INSTRUMENTAL = "бутылкой вирусной культуры (Смех)", + PREPOSITIONAL = "бутылке вирусной культуры (Смех)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/laugh /obj/item/reagent_containers/glass/bottle/moan name = "moan" - desc = "moan" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Стоны\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Стоны)", + GENITIVE = "бутылки вирусной культуры (Стоны)", + DATIVE = "бутылке вирусной культуры (Стоны)", + ACCUSATIVE = "бутылку вирусной культуры (Стоны)", + INSTRUMENTAL = "бутылкой вирусной культуры (Стоны)", + PREPOSITIONAL = "бутылке вирусной культуры (Стоны)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/moan /obj/item/reagent_containers/glass/bottle/infection name = "infection" - desc = "infection" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Инфекция\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Инфекция)", + GENITIVE = "бутылки вирусной культуры (Инфекция)", + DATIVE = "бутылке вирусной культуры (Инфекция)", + ACCUSATIVE = "бутылку вирусной культуры (Инфекция)", + INSTRUMENTAL = "бутылкой вирусной культуры (Инфекция)", + PREPOSITIONAL = "бутылке вирусной культуры (Инфекция)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/infection /obj/item/reagent_containers/glass/bottle/loyalty name = "loyalty" - desc = "loyalty" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Преданность\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Преданность)", + GENITIVE = "бутылки вирусной культуры (Преданность)", + DATIVE = "бутылке вирусной культуры (Преданность)", + ACCUSATIVE = "бутылку вирусной культуры (Преданность)", + INSTRUMENTAL = "бутылкой вирусной культуры (Преданность)", + PREPOSITIONAL = "бутылке вирусной культуры (Преданность)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/loyalty /obj/item/reagent_containers/glass/bottle/pre_loyalty name = "pre_loyalty" - desc = "pre_loyalty" + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Пре-преданность\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Пре-преданность)", + GENITIVE = "бутылки вирусной культуры (Пре-преданность)", + DATIVE = "бутылке вирусной культуры (Пре-преданность)", + ACCUSATIVE = "бутылку вирусной культуры (Пре-преданность)", + INSTRUMENTAL = "бутылкой вирусной культуры (Пре-преданность)", + PREPOSITIONAL = "бутылке вирусной культуры (Пре-преданность)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/pre_loyalty /obj/item/reagent_containers/glass/bottle/retrovirus name = "Retrovirus culture bottle" - desc = "A small bottle. Contains a retrovirus culture in a synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Ретровирус\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Ретровирус)", + GENITIVE = "бутылки вирусной культуры (Ретровирус)", + DATIVE = "бутылке вирусной культуры (Ретровирус)", + ACCUSATIVE = "бутылку вирусной культуры (Ретровирус)", + INSTRUMENTAL = "бутылкой вирусной культуры (Ретровирус)", + PREPOSITIONAL = "бутылке вирусной культуры (Ретровирус)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/dna_retrovirus /obj/item/reagent_containers/glass/bottle/gbs name = "GBS culture bottle" - desc = "A small bottle. Contains Gravitokinetic Bipotential SADS+ culture in synthblood medium."//Or simply - General BullShit + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"ГБС+\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (ГБС+)", + GENITIVE = "бутылки вирусной культуры (ГБС+)", + DATIVE = "бутылке вирусной культуры (ГБС+)", + ACCUSATIVE = "бутылку вирусной культуры (ГБС+)", + INSTRUMENTAL = "бутылкой вирусной культуры (ГБС+)", + PREPOSITIONAL = "бутылке вирусной культуры (ГБС+)" + ) icon_state = "round_bottle" amount_per_transfer_from_this = 5 spawned_disease = /datum/disease/virus/gbs /obj/item/reagent_containers/glass/bottle/fake_gbs name = "GBS culture bottle" - desc = "A small bottle. Contains Gravitokinetic Bipotential SADS- culture in synthblood medium."//Or simply - General BullShit + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"ГБС-\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (ГБС-)", + GENITIVE = "бутылки вирусной культуры (ГБС-)", + DATIVE = "бутылке вирусной культуры (ГБС-)", + ACCUSATIVE = "бутылку вирусной культуры (ГБС-)", + INSTRUMENTAL = "бутылкой вирусной культуры (ГБС-)", + PREPOSITIONAL = "бутылке вирусной культуры (ГБС-)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/fake_gbs /obj/item/reagent_containers/glass/bottle/brainrot name = "Brainrot culture bottle" - desc = "A small bottle. Contains Cryptococcus Cosmosis culture in synthblood medium." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Мозговая гниль\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Мозговая гниль)", + GENITIVE = "бутылки вирусной культуры (Мозговая гниль)", + DATIVE = "бутылке вирусной культуры (Мозговая гниль)", + ACCUSATIVE = "бутылку вирусной культуры (Мозговая гниль)", + INSTRUMENTAL = "бутылкой вирусной культуры (Мозговая гниль)", + PREPOSITIONAL = "бутылке вирусной культуры (Мозговая гниль)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/brainrot /obj/item/reagent_containers/glass/bottle/magnitis name = "Magnitis culture bottle" - desc = "A small bottle. Contains a small dosage of Fukkos Miracos." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Магнитис\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Магнитис)", + GENITIVE = "бутылки вирусной культуры (Магнитис)", + DATIVE = "бутылке вирусной культуры (Магнитис)", + ACCUSATIVE = "бутылку вирусной культуры (Магнитис)", + INSTRUMENTAL = "бутылкой вирусной культуры (Магнитис)", + PREPOSITIONAL = "бутылке вирусной культуры (Магнитис)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/magnitis /obj/item/reagent_containers/glass/bottle/wizarditis name = "Wizarditis culture bottle" - desc = "A small bottle. Contains a sample of Rincewindus Vulgaris." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Визардис\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Визардис)", + GENITIVE = "бутылки вирусной культуры (Визардис)", + DATIVE = "бутылке вирусной культуры (Визардис)", + ACCUSATIVE = "бутылку вирусной культуры (Визардис)", + INSTRUMENTAL = "бутылкой вирусной культуры (Визардис)", + PREPOSITIONAL = "бутылке вирусной культуры (Визардис)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/wizarditis /obj/item/reagent_containers/glass/bottle/anxiety name = "Severe Anxiety culture bottle" - desc = "A small bottle. Contains a sample of Lepidopticides." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Сильное беспокойство\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Сильное беспокойство)", + GENITIVE = "бутылки вирусной культуры (Сильное беспокойство)", + DATIVE = "бутылке вирусной культуры (Сильное беспокойство)", + ACCUSATIVE = "бутылку вирусной культуры (Сильное беспокойство)", + INSTRUMENTAL = "бутылкой вирусной культуры (Сильное беспокойство)", + PREPOSITIONAL = "бутылке вирусной культуры (Сильное беспокойство)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/anxiety /obj/item/reagent_containers/glass/bottle/beesease name = "Beesease culture bottle" - desc = "A small bottle. Contains a sample of invasive Apidae." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Пчелораза\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Пчелораза)", + GENITIVE = "бутылки вирусной культуры (Пчелораза)", + DATIVE = "бутылке вирусной культуры (Пчелораза)", + ACCUSATIVE = "бутылку вирусной культуры (Пчелораза)", + INSTRUMENTAL = "бутылкой вирусной культуры (Пчелораза)", + PREPOSITIONAL = "бутылке вирусной культуры (Пчелораза)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/beesease /obj/item/reagent_containers/glass/bottle/fluspanish name = "Spanish flu culture bottle" - desc = "A small bottle. Contains a sample of Inquisitius." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Испанский Грипп\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Испанский Грипп)", + GENITIVE = "бутылки вирусной культуры (Испанский Грипп)", + DATIVE = "бутылке вирусной культуры (Испанский Грипп)", + ACCUSATIVE = "бутылку вирусной культуры (Испанский Грипп)", + INSTRUMENTAL = "бутылкой вирусной культуры (Испанский Грипп)", + PREPOSITIONAL = "бутылке вирусной культуры (Испанский Грипп)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/fluspanish /obj/item/reagent_containers/glass/bottle/tuberculosis name = "Fungal Tuberculosis culture bottle" - desc = "A small bottle. Contains a sample of Fungal Tubercle bacillus." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Грибковый туберкулёз\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Грибковый туберкулёз)", + GENITIVE = "бутылки вирусной культуры (Грибковый туберкулёз)", + DATIVE = "бутылке вирусной культуры (Грибковый туберкулёз)", + ACCUSATIVE = "бутылку вирусной культуры (Грибковый туберкулёз)", + INSTRUMENTAL = "бутылкой вирусной культуры (Грибковый туберкулёз)", + PREPOSITIONAL = "бутылке вирусной культуры (Грибковый туберкулёз)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/tuberculosis /obj/item/reagent_containers/glass/bottle/regeneration name = "Regeneration culture bottle" - desc = "A small bottle. Contains a sample of a virus that heals toxin damage." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Восстановление\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Восстановление)", + GENITIVE = "бутылки вирусной культуры (Восстановление)", + DATIVE = "бутылке вирусной культуры (Восстановление)", + ACCUSATIVE = "бутылку вирусной культуры (Восстановление)", + INSTRUMENTAL = "бутылкой вирусной культуры (Восстановление)", + PREPOSITIONAL = "бутылке вирусной культуры (Восстановление)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/heal /obj/item/reagent_containers/glass/bottle/sensory_restoration name = "Sensory Restoration culture bottle" - desc = "A small bottle. Contains a sample of a virus that heals sensory damage." + desc = "Небольшая стеклянная бутылочка, внутри находится вирусная культура \"Сенсорное восстановление\"." + ru_names = list( + NOMINATIVE = "бутылка вирусной культуры (Сенсорное восстановление)", + GENITIVE = "бутылки вирусной культуры (Сенсорное восстановление)", + DATIVE = "бутылке вирусной культуры (Сенсорное восстановление)", + ACCUSATIVE = "бутылку вирусной культуры (Сенсорное восстановление)", + INSTRUMENTAL = "бутылкой вирусной культуры (Сенсорное восстановление)", + PREPOSITIONAL = "бутылке вирусной культуры (Сенсорное восстановление)" + ) icon_state = "round_bottle" spawned_disease = /datum/disease/virus/advance/preset/sensory_restoration /obj/item/reagent_containers/glass/bottle/tuberculosiscure name = "BVAK bottle" - desc = "A small bottle containing Bio Virus Antidote Kit." + desc = "Небольшая стеклянная бутылочка, внутри находится смесь лекарственных веществ для лечения био-вирусов." + ru_names = list( + NOMINATIVE = "бутылка (Био-вирусный антидот)", + GENITIVE = "бутылки (Био-вирусный антидот)", + DATIVE = "бутылке (Био-вирусный антидот)", + ACCUSATIVE = "бутылку (Био-вирусный антидот)", + INSTRUMENTAL = "бутылкой (Био-вирусный антидот)", + PREPOSITIONAL = "бутылке (Био-вирусный антидот)" + ) icon_state = "wide_bottle" list_reagents = list("atropine" = 5, "epinephrine" = 5, "salbutamol" = 10, "spaceacillin" = 10) /obj/item/reagent_containers/glass/bottle/monkeylangue name = "bottle of monkey language potion" - desc = "A bottle of monkey language potion." + desc = "Небольшая стеклянная бутылочка, внутри находится вещество, заставляющее выпившего выучить обезьяний язык. Удивительно." + ru_names = list( + NOMINATIVE = "бутылка (Обезьяний язык)", + GENITIVE = "бутылки (Обезьяний язык)", + DATIVE = "бутылке (Обезьяний язык)", + ACCUSATIVE = "бутылку (Обезьяний язык)", + INSTRUMENTAL = "бутылкой (Обезьяний язык)", + PREPOSITIONAL = "бутылке (Обезьяний язык)" + ) icon_state = "round_bottle" list_reagents = list("monkeylanguage" = 30) diff --git a/code/modules/reagents/reagent_containers/dropper.dm b/code/modules/reagents/reagent_containers/dropper.dm index a31a5080119..de9288cd86c 100644 --- a/code/modules/reagents/reagent_containers/dropper.dm +++ b/code/modules/reagents/reagent_containers/dropper.dm @@ -4,7 +4,16 @@ /obj/item/reagent_containers/dropper name = "dropper" - desc = "A dropper. Transfers 5 units." + desc = "Пипетка, используемая для точного вливания небольших объёмов вещества в виде капель." + ru_names = list( + NOMINATIVE = "пипетка", + GENITIVE = "пипетки", + DATIVE = "пипетке", + ACCUSATIVE = "пипетку", + INSTRUMENTAL = "пипеткой", + PREPOSITIONAL = "пипетке" + ) + gender = FEMALE icon_state = "dropper" item_state = "dropper" amount_per_transfer_from_this = 5 @@ -34,7 +43,7 @@ if(!reagents.total_volume) return if(user != C) - visible_message("[user] begins to drip something into [C]'s eyes!") + visible_message(span_danger("[user] начина[pluralize_ru(user.gender, "ет", "ют")] капать что-то в глаза [C], используя [declent_ru(ACCUSATIVE)]!")) if(!do_after(user, 3 SECONDS, C, NONE)) return if(ishuman(target)) @@ -51,15 +60,15 @@ safe_thing = H.head if(safe_thing) - visible_message("[user] tries to drip something into [H]'s eyes, but fails!") + visible_message(span_danger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся капнуть что-то в глаза [C], используя [declent_ru(ACCUSATIVE)], но [genderize_ru(user.gender, "ему", "ей", "ему", "им")] не удаётся!")) reagents.reaction(safe_thing, REAGENT_TOUCH) to_transfer = reagents.remove_any(amount_per_transfer_from_this) - to_chat(user, "You transfer [to_transfer] units of the solution.") + to_chat(user, span_notice("Вы перемещаете [to_transfer] единиц[declension_ru(to_transfer, "у", "ы", "")] вещества, используя [declent_ru(ACCUSATIVE)].")) return - visible_message("[user] drips something into [C]'s eyes!") + visible_message(span_danger("[user] закапыва[pluralize_ru(user.gender, "ет", "ют")] что-то в глаза [C], используя [declent_ru(ACCUSATIVE)]!")) reagents.reaction(C, REAGENT_TOUCH) var/list/injected = list() @@ -69,7 +78,7 @@ add_attack_logs(user, C, "Dripped with [src] containing ([contained]), transfering [to_transfer]") to_transfer = reagents.trans_to(C, amount_per_transfer_from_this) - to_chat(user, "You transfer [to_transfer] units of the solution.") + to_chat(user, span_notice("Вы перемещаете [to_transfer] единиц[declension_ru(to_transfer, "у", "ы", "")] вещества, используя [declent_ru(ACCUSATIVE)].")) if(isobj(target)) if(!target.reagents) @@ -77,39 +86,55 @@ if(reagents.total_volume) if(!target.is_open_container() && !(istype(target, /obj/item/reagent_containers/food) && !ispill(target)) && !istype(target, /obj/item/clothing/mask/cigarette)) - to_chat(user, "You cannot directly fill this object.") + balloon_alert(user, "не подходит!") return if(target.reagents.total_volume >= target.reagents.maximum_volume) - to_chat(user, "[target] is full.") + balloon_alert(user, "нет места!") return to_transfer = reagents.trans_to(target, amount_per_transfer_from_this) - to_chat(user, "You transfer [to_transfer] units of the solution.") + to_chat(user, span_notice("Вы перемещаете [to_transfer] единиц[declension_ru(to_transfer, "у", "ы", "")] вещества, используя [declent_ru(ACCUSATIVE)].")) else if(!target.is_open_container() && !istype(target, /obj/structure/reagent_dispensers)) - to_chat(user, "You cannot directly remove reagents from [target].") + balloon_alert(user, "не подходит!") return if(!target.reagents.total_volume) - to_chat(user, "[target] is empty.") + balloon_alert(user, "пусто!") return to_transfer = target.reagents.trans_to(src, amount_per_transfer_from_this) - to_chat(user, "You fill [src] with [to_transfer] units of the solution.") + to_chat(user, span_notice("Вы заполняете [declent_ru(ACCUSATIVE)] [to_transfer] единиц[declension_ru(to_transfer, "ей", "ами", "ами")] вещества.")) /obj/item/reagent_containers/dropper/cyborg name = "Industrial Dropper" - desc = "A larger dropper. Transfers 10 units." + desc = "Пипетка увеличенного объёма, используемая для точного вливания небольших объёмов вещества в виде капель." + ru_names = list( + NOMINATIVE = "промышленная пипетка", + GENITIVE = "промышленной пипетки", + DATIVE = "промышленной пипетке", + ACCUSATIVE = "промышленную пипетку", + INSTRUMENTAL = "промышленной пипеткой", + PREPOSITIONAL = "промышленной пипетке" + ) amount_per_transfer_from_this = 10 possible_transfer_amounts = list(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) volume = 10 /obj/item/reagent_containers/dropper/precision name = "pipette" - desc = "A high precision pippette. Holds 1 unit." + desc = "Высокоточная пипетка уменьшенного объёма, используемая для работы с малыми объёмами вещества. Обычно применяются в биологии и химии." + ru_names = list( + NOMINATIVE = "микропипетка", + GENITIVE = "микропипетки", + DATIVE = "микропипетке", + ACCUSATIVE = "микропипетку", + INSTRUMENTAL = "микропипеткой", + PREPOSITIONAL = "микропипетке" + ) icon_state = "pipette" amount_per_transfer_from_this = 1 possible_transfer_amounts = list(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1) @@ -126,7 +151,7 @@ if(!reagents.total_volume || !target.reagents) return . . |= ATTACK_CHAIN_SUCCESS - to_chat(user, span_warning("You stab [target] with [src].")) + to_chat(user, span_warning("Вы делаете укол [target] [declent_ru(INSTRUMENTAL)].")) var/list/injected = list() for(var/datum/reagent/reagent as anything in reagents.reagent_list) @@ -141,7 +166,7 @@ if(istype(adv_disease)) for(var/datum/symptom/symptom as anything in adv_disease.symptoms) english_symptoms += symptom.name - virusData += " ([english_list(english_symptoms)])" + virusData += " ([russian_list(english_symptoms)])" virList += virusData add_attack_logs(user, target, "Infected with [english_list(virList)].") diff --git a/code/modules/reagents/reagent_containers/glass_containers.dm b/code/modules/reagents/reagent_containers/glass_containers.dm index d4e1d966979..37411bdeda0 100644 --- a/code/modules/reagents/reagent_containers/glass_containers.dm +++ b/code/modules/reagents/reagent_containers/glass_containers.dm @@ -24,9 +24,9 @@ /obj/item/reagent_containers/glass/examine(mob/user) . = ..() if(get_dist(user, src) <= 2 && !is_open_container()) - . += "Airtight lid seals it completely." + . += span_notice("Закрыто герметичной крышкой.") - . += "[src] can hold up to [reagents.maximum_volume] units." + . += span_notice("Вмещает до [reagents.maximum_volume] единиц[declension_ru(reagents.maximum_volume, "ы", "", "")] вещества.") /obj/item/reagent_containers/glass/attack(mob/living/carbon/target, mob/living/user, params, def_zone, skip_attack_anim = FALSE) @@ -36,7 +36,7 @@ . = ATTACK_CHAIN_PROCEED if(!reagents || !reagents.total_volume) - to_chat(user, span_warning("[src] is empty!")) + balloon_alert(user, "пусто!") return . var/list/transferred = list() @@ -47,8 +47,8 @@ if(user.a_intent == INTENT_HARM) target.visible_message( - span_danger("[user] splashes the contents of [src] onto [target]!"), - span_userdanger("[user] splashes the contents of [src] onto [target]!") + span_danger("[user] вылива[pluralize_ru(user.gender, "ет", "ют")] содержимое [declent_ru(GENITIVE)] на [target]!"), + span_userdanger("[user] вылива[pluralize_ru(user.gender, "ет", "ют")] содержимое [declent_ru(GENITIVE)] на вас!") ) add_attack_logs(user, target, "Splashed with [name] containing [contained]") reagents.reaction(target, REAGENT_TOUCH) @@ -56,30 +56,30 @@ return .|ATTACK_CHAIN_SUCCESS if(!iscarbon(target)) // Non-carbons can't process reagents - to_chat(user, span_warning("You cannot find a way to feed [target].")) + balloon_alert(user, "невозможно!") return . if(!get_location_accessible(target, BODY_ZONE_PRECISE_MOUTH)) if(target == user) - to_chat(user, span_warning("Your face is obscured")) + balloon_alert(user, "ваш рот закрыт!") else - to_chat(user, span_warning("[target]'s face is obscured.")) + balloon_alert(user, "рот цели закрыт!") return . if(target != user) target.visible_message( - span_danger("[user] attempts to feed something to [target]."), - span_userdanger("[user] attempts to feed something to you."), + span_danger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся напоить содержимым [declent_ru(GENITIVE)] [target]!"), + span_userdanger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся напоить вас содержимым [declent_ru(GENITIVE)]!"), ) if(!do_after(user, 3 SECONDS, target, NONE) || !reagents || !reagents.total_volume) return . target.visible_message( - span_danger("[user] feeds something to [target]."), - span_userdanger("[user] feeds something to you."), + span_danger("[user] напоил[genderize_ru(user.gender, "", "а", "о", "и")] [target] содержимым [declent_ru(GENITIVE)]!"), + span_userdanger("[user] напоил[genderize_ru(user.gender, "", "а", "о", "и")] вас содержимым [declent_ru(GENITIVE)]!"), ) add_attack_logs(user, target, "Fed with [name] containing [contained]") else - to_chat(user, span_notice("You swallow a gulp of [src].")) + to_chat(user, span_notice("Вы делаете глоток из [declent_ru(GENITIVE)].")) . |= ATTACK_CHAIN_SUCCESS var/fraction = min(5 / reagents.total_volume, 1) @@ -97,32 +97,32 @@ if(target.is_refillable()) //Something like a glass. Player probably wants to transfer TO it. if(!reagents.total_volume) - to_chat(user, "[src] is empty!") + balloon_alert(usr, "пусто!") return if(target.reagents.holder_full()) - to_chat(user, "[target] is full.") + balloon_alert(usr, "нет места!") return var/trans = reagents.trans_to(target, amount_per_transfer_from_this) - to_chat(user, "You transfer [trans] unit\s of the solution to [target].") + to_chat(user, span_notice("Вы переливаете [trans] единиц[declension_ru(trans, "у", "ы", "")] вещества из [declent_ru(GENITIVE)] в [target.declent_ru(ACCUSATIVE)].")) else if(target.is_drainable()) //A dispenser. Transfer FROM it TO us. if(!target.reagents.total_volume) - to_chat(user, "[target] is empty and can't be refilled!") + balloon_alert(user, "пусто!") return if(reagents.holder_full()) - to_chat(user, "[src] is full.") + balloon_alert(user, "нет места!") return var/trans = target.reagents.trans_to(src, amount_per_transfer_from_this) - to_chat(user, "You fill [src] with [trans] unit\s of the contents of [target].") + to_chat(user, "Вы наполняете [declent_ru(ACCUSATIVE)] [trans] единиц[declension_ru(trans, "ей", "ами", "ами")] вещества из содержимого [target.declent_ru(ACCUSATIVE)].") else if(reagents.total_volume) if(user.a_intent == INTENT_HARM) - user.visible_message("[user] splashes the contents of [src] onto [target]!", \ - "You splash the contents of [src] onto [target].") + user.visible_message(span_danger("[user] облива[pluralize_ru(user, "ет", "ют")] [target.declent_ru(ACCUSATIVE)] содержимым [declent_ru(GENITIVE)]!"), \ + ("Вы обливаете [target.declent_ru(ACCUSATIVE)] содержимым [declent_ru(GENITIVE)]!")) reagents.reaction(target, REAGENT_TOUCH) reagents.clear_reagents() @@ -138,7 +138,15 @@ /obj/item/reagent_containers/glass/beaker name = "beaker" - desc = "A simple glass beaker, nothing special." + desc = "Простой стеклянный стакан. На его стенках обозначены деления для измерения объёма содержимого." + ru_names = list( + NOMINATIVE = "мерный стакан", + GENITIVE = "мерного стакана", + DATIVE = "мерному стакану", + ACCUSATIVE = "мерный стакан", + INSTRUMENTAL = "мерным стаканом", + PREPOSITIONAL = "мерном стакане" + ) icon = 'icons/obj/chemical.dmi' icon_state = "beaker" item_state = "beaker" @@ -159,7 +167,7 @@ /obj/item/reagent_containers/glass/beaker/examine(mob/user) . = ..() if(assembly) - . += "There is an [assembly] attached to it, use a screwdriver to remove it." + . += span_notice("К нему прикрепл[genderize_ru(assembly.gender, "ён", "ена", "ено", "ены")] [assembly]. Открутите [genderize_ru(assembly.gender, "его", "её", "его", "их")] чем-нибудь, чтобы отсоединить.") /obj/item/reagent_containers/glass/beaker/on_reagent_change() @@ -201,20 +209,20 @@ /obj/item/reagent_containers/glass/beaker/verb/remove_assembly() - set name = "Remove Assembly" + set name = "Отсоединить" set category = "Object" set src in usr if(usr.incapacitated() || HAS_TRAIT(usr, TRAIT_HANDS_BLOCKED)) return if(assembly) - to_chat(usr, "You detach [assembly] from [src]") + balloon_alert(usr, "заготовка отсоединена") assembly.forceMove_turf() usr.put_in_hands(assembly, ignore_anim = FALSE) assembly = null qdel(GetComponent(/datum/component/proximity_monitor)) update_icon(UPDATE_OVERLAYS) else - to_chat(usr, "There is no assembly to remove.") + balloon_alert(usr, "нечего отсоединять!") /obj/item/reagent_containers/glass/beaker/proc/heat_beaker() @@ -226,14 +234,14 @@ if(istype(I, /obj/item/assembly_holder)) add_fingerprint(user) if(!can_assembly) - to_chat(user, span_warning("The [name] is incompatible with [I].")) + balloon_alert(user, "несовместимо!") return ATTACK_CHAIN_PROCEED if(assembly) - to_chat(user, span_warning("The [name] already has an assembly.")) + balloon_alert(user, "заготовка уже прикреплена!") return ATTACK_CHAIN_PROCEED if(!user.drop_transfer_item_to_loc(I, src)) return ..() - to_chat(user, span_warning("You have attached [I] to [src].")) + balloon_alert(user, "заготовка прикреплена") if(assembly.has_prox_sensors()) AddComponent(/datum/component/proximity_monitor) assembly = I @@ -269,7 +277,15 @@ /obj/item/reagent_containers/glass/beaker/large name = "large beaker" - desc = "A large glass beaker with twice the capacity of a normal beaker." + desc = "Как обычный мерный стакан, только в два раза больше объёмом." + ru_names = list( + NOMINATIVE = "большой мерный стакан", + GENITIVE = "большого мерного стакана", + DATIVE = "большому мерному стакану", + ACCUSATIVE = "большой мерный стакан", + INSTRUMENTAL = "большим мерным стаканом", + PREPOSITIONAL = "большом мерном стакане" + ) icon_state = "beakerlarge" belt_icon = "large_beaker" materials = list(MAT_GLASS=2500) @@ -280,7 +296,15 @@ /obj/item/reagent_containers/glass/beaker/vial name = "vial" - desc = "A small glass vial, often used by virologists of the 25th century." + desc = "Небольшая стеклянная колбочка, часто используемая вирусологами в работе." + ru_names = list( + NOMINATIVE = "пробирка", + GENITIVE = "пробирки", + DATIVE = "пробирке", + ACCUSATIVE = "пробирку", + INSTRUMENTAL = "пробиркой", + PREPOSITIONAL = "пробирке" + ) icon_state = "vial" belt_icon = "vial" materials = list(MAT_GLASS=250) @@ -292,7 +316,15 @@ /obj/item/reagent_containers/glass/beaker/drugs name = "baggie" - desc = "A small plastic baggie, often used by pharmaceutical \"entrepreneurs\"." + desc = "Небольшой пластиковый пакет, часто используемый фармацевтическими \"предпринимателями\"." + ru_names = list( + NOMINATIVE = "пластиковый пакетик", + GENITIVE = "пластикового пакетика", + DATIVE = "пластиковому пакетику", + ACCUSATIVE = "пластиковый пакетик", + INSTRUMENTAL = "пластиковым пакетиком", + PREPOSITIONAL = "пластиковом пакетике" + ) icon_state = "baggie" amount_per_transfer_from_this = 2 possible_transfer_amounts = null @@ -302,7 +334,15 @@ /obj/item/reagent_containers/glass/beaker/thermite name = "Thermite load" - desc = "A baggie loaded with combustible chemicals." + desc = "Пластиковый пакетик, надпись на этикетке - \"Термит\"." + ru_names = list( + NOMINATIVE = "пластиковый пакетик (Термит)", + GENITIVE = "пластикового пакетика (Термит)", + DATIVE = "пластиковому пакетику (Термит)", + ACCUSATIVE = "пластиковый пакетик (Термит)", + INSTRUMENTAL = "пластиковым пакетиком (Термит)", + PREPOSITIONAL = "пластиковом пакетике (Термит)" + ) icon_state = "baggie" amount_per_transfer_from_this = 25 possible_transfer_amounts = null @@ -313,7 +353,15 @@ /obj/item/reagent_containers/glass/beaker/noreact name = "cryostasis beaker" - desc = "A cryostasis beaker that allows for chemical storage without reactions." + desc = "Криостазисная мензурка, позволяющий хранить химические вещества в таком состоянии, при котором они не вступают в реакцию друг с другом." + ru_names = list( + NOMINATIVE = "криостазиный мерный стакан", + GENITIVE = "криостазиного мерного стакана", + DATIVE = "криостазиному мерному стакану", + ACCUSATIVE = "криостазиный мерный стакан", + INSTRUMENTAL = "криостазиным мерным стаканом", + PREPOSITIONAL = "криостазином мерном стакане" + ) icon_state = "beakernoreact" materials = list(MAT_METAL=3000) volume = 50 @@ -328,7 +376,15 @@ /obj/item/reagent_containers/glass/beaker/bluespace name = "bluespace beaker" - desc = "A bluespace beaker, powered by experimental bluespace technology and Element Cuban combined with the Compound Pete." + desc = "Мензурка, работающая на экспериментальной блюспейс технологии и элементе \"Кубаний\" в сочетании с соединением \"Питий\"." + ru_names = list( + NOMINATIVE = "блюспейс мерный стакан", + GENITIVE = "блюспейс мерного стакана", + DATIVE = "блюспейс мерному стакану", + ACCUSATIVE = "блюспейс мерный стакан", + INSTRUMENTAL = "блюспейс мерным стаканом", + PREPOSITIONAL = "блюспейс мерном стакане" + ) icon_state = "beakerbluespace" materials = list(MAT_GLASS=3000) volume = 300 @@ -354,8 +410,17 @@ list_reagents = list("laughter" = 50) /obj/item/reagent_containers/glass/bucket - desc = "It's a bucket." name = "bucket" + desc = "Металлическое ведро. Можете налить туда что-то или надеть себе на голову, никто не запрещает." + ru_names = list( + NOMINATIVE = "металлическое ведро", + GENITIVE = "металлического ведра", + DATIVE = "металлическому ведру", + ACCUSATIVE = "металлическое ведро", + INSTRUMENTAL = "металлическим ведром", + PREPOSITIONAL = "металлическом ведре" + ) + gender = NEUTER icon = 'icons/obj/janitor.dmi' icon_state = "bucket" item_state = "bucket" @@ -384,12 +449,12 @@ add_fingerprint(user) var/obj/item/toy/crayon/spraycan/can = I if(!paintable) - to_chat(user, span_warning("You cannot paint [src].")) + balloon_alert(user, "нельзя покрасить!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK if(can.capped) - to_chat(user, span_warning("The cap on [can] is sealed.")) + balloon_alert(user, "закрыто крышкой!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK - to_chat(user, span_notice("You have painted [src].")) + balloon_alert(user, "перекрашено!") playsound(user.loc, 'sound/effects/spray.ogg', 20, TRUE) color = can.colour update_icon(UPDATE_OVERLAYS) @@ -405,7 +470,8 @@ if(!user.drop_transfer_item_to_loc(I, src)) return ..() add_fingerprint(user) - to_chat(user, span_notice("You have attached [I] to [src].")) + balloon_alert(user, "прикреплено") + to_chat(user, span_notice("Вы прикрепили [I.declent_ru(ACCUSATIVE)] к [declent_ru(DATIVE)].")) var/obj/item/bucket_sensor/bucket_sensor = new(drop_location()) transfer_fingerprints_to(bucket_sensor) I.transfer_fingerprints_to(bucket_sensor) @@ -434,7 +500,7 @@ . = ..() if(slot == ITEM_SLOT_HEAD && reagents.total_volume) - to_chat(user, span_userdanger("The [name]'s contents spill all over you!")) + to_chat(user, span_userdanger("Вы надеваете [declent_ru(ACCUSATIVE)] себе на голову и его содержимое выливается прямо на вас!")) reagents.reaction(user, REAGENT_TOUCH) reagents.clear_reagents() @@ -442,6 +508,15 @@ /obj/item/reagent_containers/glass/bucket/wooden name = "wooden bucket" + desc = "Деревянное ведро. Можете налить туда что-то или надеть себе на голову, никто не запрещает." + ru_names = list( + NOMINATIVE = "деревянное ведро", + GENITIVE = "деревянного ведра", + DATIVE = "деревянному ведру", + ACCUSATIVE = "деревянное ведро", + INSTRUMENTAL = "деревянным ведром", + PREPOSITIONAL = "деревянном ведре" + ) icon_state = "woodbucket" item_state = "woodbucket" materials = null @@ -456,7 +531,16 @@ /obj/item/reagent_containers/glass/beaker/waterbottle name = "bottle of water" - desc = "A bottle of water filled at an old Earth bottling facility." + desc = "Бутылка воды, наполненная на старом земном заводе по разливу воды." + ru_names = list( + NOMINATIVE = "бутылка воды", + GENITIVE = "бутылки воды", + DATIVE = "бутылке воды", + ACCUSATIVE = "бутылку воды", + INSTRUMENTAL = "бутылкой воды", + PREPOSITIONAL = "бутылке воды" + ) + gender = FEMALE icon = 'icons/obj/drinks.dmi' icon_state = "smallbottle" item_state = "bottle" @@ -469,7 +553,15 @@ list_reagents = list() /obj/item/reagent_containers/glass/beaker/waterbottle/large - desc = "A fresh commercial-sized bottle of water." + desc = "Свежая бутылка воды коммерческого размера." + ru_names = list( + NOMINATIVE = "большая бутылка воды", + GENITIVE = "большой бутылки воды", + DATIVE = "большой бутылке воды", + ACCUSATIVE = "большую бутылку воды", + INSTRUMENTAL = "большой бутылкой воды", + PREPOSITIONAL = "большой бутылке воды" + ) icon_state = "largebottle" materials = list(MAT_GLASS = 0) list_reagents = list("water" = 100) @@ -482,6 +574,15 @@ /obj/item/reagent_containers/glass/pet_bowl name = "pet bowl" desc = "Миска под еду для любимых домашних животных!" + ru_names = list( + NOMINATIVE = "миска для животных", + GENITIVE = "миски для животных", + DATIVE = "миске для животных", + ACCUSATIVE = "миску для животных", + INSTRUMENTAL = "миской для животных", + PREPOSITIONAL = "миске для животных" + ) + gender = FEMALE icon = 'icons/obj/pet_bowl.dmi' icon_state = "petbowl" item_state = "petbowl" @@ -505,9 +606,9 @@ add_fingerprint(user) var/obj/item/toy/crayon/spraycan/can = I if(can.capped) - to_chat(user, span_warning("The cap on [can] is sealed.")) + balloon_alert(user, "закрыто крышкой!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK - to_chat(user, span_notice("You have painted [src].")) + balloon_alert(user, "перекрашено") playsound(user.loc, 'sound/effects/spray.ogg', 20, TRUE) color = can.colour update_icon(UPDATE_OVERLAYS) diff --git a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm index 28e8b134e3e..21baca06683 100644 --- a/code/modules/reagents/reagent_containers/hypospray.dm +++ b/code/modules/reagents/reagent_containers/hypospray.dm @@ -4,7 +4,15 @@ /obj/item/reagent_containers/hypospray name = "hypospray" - desc = "The DeForest Medical Corporation hypospray is a sterile, air-needle autoinjector for rapid administration of drugs to patients." + desc = "Гипоспрей - это стерильный автоинъектор с воздушной иглой для быстрого введения лекарств пациентам." + ru_names = list( + NOMINATIVE = "гипоспрей", + GENITIVE = "гипоспрея", + DATIVE = "гипоспрею", + ACCUSATIVE = "гипоспрей", + INSTRUMENTAL = "гипоспреем", + PREPOSITIONAL = "гипоспрее" + ) icon = 'icons/obj/hypo.dmi' item_state = "hypo" icon_state = "hypo" @@ -26,7 +34,7 @@ return . if(!reagents || !reagents.total_volume) - to_chat(user, span_warning("The [name] is empty!")) + balloon_alert(user, "пусто!") return . if(!ignore_flags && !target.can_inject(user, TRUE)) @@ -34,8 +42,8 @@ . |= ATTACK_CHAIN_SUCCESS - to_chat(target, span_warning("You feel a tiny prick!")) - to_chat(user, span_notice("You inject [target] with [src].")) + to_chat(target, span_warning("Вы чувствуете едва заметный укол!")) + to_chat(user, span_notice("Вы делаете [target] укол [declent_ru(INSTRUMENTAL)].")) var/list/injected = list() for(var/datum/reagent/reagent as anything in reagents.reagent_list) @@ -47,10 +55,10 @@ var/trans = reagents.trans_to(target, amount_per_transfer_from_this) if(safety_hypo) - visible_message(span_warning("[user] injects [target] with [trans] units of [primary_reagent_name].")) + visible_message(span_warning("[user] вкалыва[pluralize_ru(user.gender, "ет", "ют")] [target] [trans] единиц[declension_ru(trans, "у", "ы", "")] вещества \"[primary_reagent_name]\".")) playsound(loc, 'sound/goonstation/items/hypo.ogg', 80) - to_chat(user, span_notice("Injected [trans] unit\s. The [name] holds [reagents.total_volume] unit\s.")) + to_chat(user, span_notice("Вы вкалываете [trans] единиц[declension_ru(trans, "у", "ы", "")]. В [declent_ru(PREPOSITIONAL)] осталось ещё [reagents.total_volume] единиц[declension_ru(reagents.total_volume, "а", "ы", "")].")) add_attack_logs(user, target, "Injected with [src] containing ([english_list(injected)])", reagents.harmless_helper() ? ATKLOG_ALMOSTALL : null) @@ -63,9 +71,9 @@ found_forbidden_reagent = TRUE if(found_forbidden_reagent) if(ismob(loc)) - to_chat(loc, "[src] identifies and removes a harmful substance.") + to_chat(loc, span_warning("[capitalize(declent_ru(NOMINATIVE))] определяет и удаляет недопустимое вещество.")) else - visible_message("[src] identifies and removes a harmful substance.") + visible_message(span_warning("[capitalize(declent_ru(NOMINATIVE))] определяет и удаляет недопустимое вещество.")) /obj/item/reagent_containers/hypospray/emag_act(mob/user) @@ -74,11 +82,19 @@ emagged = TRUE ignore_flags = TRUE if(user) - to_chat(user, "You short out the safeties on [src].") + balloon_alert(user, "протоколы безопасности взломаны") /obj/item/reagent_containers/hypospray/safety name = "medical hypospray" - desc = "A general use medical hypospray for quick injection of chemicals. There is a safety button by the trigger." + desc = "Медицинский гипоспрей общего назначения для быстрого введения химических веществ. На курке имеется кнопка безопасности." + ru_names = list( + NOMINATIVE = "медицинский гипоспрей", + GENITIVE = "медицинского гипоспрея", + DATIVE = "медицинскому гипоспрею", + ACCUSATIVE = "медицинский гипоспрей", + INSTRUMENTAL = "медицинским гипоспреем", + PREPOSITIONAL = "медицинском гипоспрее" + ) icon_state = "medivend_hypo" belt_icon = "medical_hypospray" safety_hypo = TRUE @@ -102,12 +118,12 @@ add_fingerprint(user) var/obj/item/toy/crayon/spraycan/can = I if(can.capped) - to_chat(user, span_warning("The cap on [can] is sealed.")) + balloon_alert(user, "баллончик закрыт!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK if(can.uses < 2) - to_chat(user, span_warning("There is not enough paint in [can].")) + balloon_alert(user, "недостаточно краски!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK - to_chat(user, span_notice("You have painted [src].")) + balloon_alert(user, "покрашено") playsound(user.loc, 'sound/effects/spray.ogg', 20, TRUE) paint_color = can.colour can.uses -= 2 @@ -116,7 +132,7 @@ if(istype(I, /obj/item/soap) && paint_color) add_fingerprint(user) - to_chat(user, span_notice("You wash off the paint layer from the hypospray.")) + balloon_alert(user, "краска смыта") paint_color = null update_state() return ATTACK_CHAIN_PROCEED_SUCCESS|ATTACK_CHAIN_NO_AFTERATTACK @@ -125,7 +141,15 @@ /obj/item/reagent_containers/hypospray/safety/upgraded name = "upgraded medical hypospray" - desc = "Improved general-purpose medical hypospray for rapid administration of chemicals. This model has increased capacity." + desc = "Улучшенный медицинский гипоспрей общего назначения для быстрого введения химических веществ. Эта модель имеет увеличенную емкость." + ru_names = list( + NOMINATIVE = "улучшенный медицинский гипоспрей", + GENITIVE = "улучшенного медицинского гипоспрея", + DATIVE = "улучшенному медицинскому гипоспрею", + ACCUSATIVE = "улучшенный медицинский гипоспрей", + INSTRUMENTAL = "улучшенным медицинским гипоспреем", + PREPOSITIONAL = "улучшенном медицинском гипоспрее" + ) item_state = "upg_hypo" icon_state = "upg_hypo" volume = 60 @@ -140,6 +164,14 @@ /obj/item/reagent_containers/hypospray/safety/ert name = "medical hypospray (Omnizine)" + ru_names = list( + NOMINATIVE = "медицинский гипоспрей (Омнизин)", + GENITIVE = "медицинского гипоспрея (Омнизин)", + DATIVE = "медицинскому гипоспрею (Омнизин)", + ACCUSATIVE = "медицинский гипоспрей (Омнизин)", + INSTRUMENTAL = "медицинским гипоспреем (Омнизин)", + PREPOSITIONAL = "медицинском гипоспрее (Омнизин)" + ) list_reagents = list("omnizine" = 30) /obj/item/reagent_containers/hypospray/CMO @@ -157,7 +189,15 @@ /obj/item/reagent_containers/hypospray/combat name = "combat stimulant injector" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою." + ru_names = list( + NOMINATIVE = "боевой инъектор", + GENITIVE = "боевого инъектора", + DATIVE = "боевому инъектору", + ACCUSATIVE = "боевой инъектор", + INSTRUMENTAL = "боевым инъектором", + PREPOSITIONAL = "боевом инъекторе" + ) amount_per_transfer_from_this = 15 possible_transfer_amounts = null icon_state = "combat_hypo" @@ -174,7 +214,15 @@ /obj/item/reagent_containers/hypospray/ertm/hydrocodone amount_per_transfer_from_this = 10 name = "Hydrocodon combat stimulant injector" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains hydrocodone." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит гидрокодон." + ru_names = list( + NOMINATIVE = "боевой инъектор (Гидрокодон)", + GENITIVE = "боевого инъектора (Гидрокодон)", + DATIVE = "боевому инъектору (Гидрокодон)", + ACCUSATIVE = "боевой инъектор (Гидрокодон)", + INSTRUMENTAL = "боевым инъектором (Гидрокодон)", + PREPOSITIONAL = "боевом инъекторе (Гидрокодон)" + ) icon_state = "hypocombat-hydro" list_reagents = list("hydrocodone" = 90) @@ -182,27 +230,59 @@ amount_per_transfer_from_this = 3 name = "Perfluorodecalin combat stimulant injector" icon_state = "hypocombat-perfa" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains perfluorodecalin." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит Перфтордекалин." + ru_names = list( + NOMINATIVE = "боевой инъектор (Перфтодекалин)", + GENITIVE = "боевого инъектора (Перфтодекалин)", + DATIVE = "боевому инъектору (Перфтодекалин)", + ACCUSATIVE = "боевой инъектор (Перфтодекалин)", + INSTRUMENTAL = "боевым инъектором (Перфтодекалин)", + PREPOSITIONAL = "боевом инъекторе (Перфтодекалин)" + ) list_reagents = list("perfluorodecalin" = 90) /obj/item/reagent_containers/hypospray/ertm/pentic_acid amount_per_transfer_from_this = 5 name = "Pentic acid combat stimulant injector" icon_state = "hypocombat-dtpa" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains pentic acid." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит пентетовую кислоту." + ru_names = list( + NOMINATIVE = "боевой инъектор (Пентетовая кислота)", + GENITIVE = "боевого инъектора (Пентетовая кислота)", + DATIVE = "боевому инъектору (Пентетовая кислота)", + ACCUSATIVE = "боевой инъектор (Пентетовая кислота)", + INSTRUMENTAL = "боевым инъектором (Пентетовая кислота)", + PREPOSITIONAL = "боевом инъекторе (Пентетовая кислота)" + ) list_reagents = list("pen_acid" = 90) /obj/item/reagent_containers/hypospray/ertm/epinephrine amount_per_transfer_from_this = 5 name = "Epinephrine combat stimulant injector" icon_state = "hypocombat-epi" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains epinephrine." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит эпинефрин." + ru_names = list( + NOMINATIVE = "боевой инъектор (Эпинефрин)", + GENITIVE = "боевого инъектора (Эпинефрин)", + DATIVE = "боевому инъектору (Эпинефрин)", + ACCUSATIVE = "боевой инъектор (Эпинефрин)", + INSTRUMENTAL = "боевым инъектором (Эпинефрин)", + PREPOSITIONAL = "боевом инъекторе (Эпинефрин)" + ) list_reagents = list("epinephrine" = 90) /obj/item/reagent_containers/hypospray/ertm/mannitol amount_per_transfer_from_this = 5 name = "Mannitol combat stimulant injector" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains mannitol." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит маннитол." + ru_names = list( + NOMINATIVE = "боевой инъектор (Маннитол)", + GENITIVE = "боевого инъектора (Маннитол)", + DATIVE = "боевому инъектору (Маннитол)", + ACCUSATIVE = "боевой инъектор (Маннитол)", + INSTRUMENTAL = "боевым инъектором (Маннитол)", + PREPOSITIONAL = "боевом инъекторе (Маннитол)" + ) icon_state = "hypocombat-mani" list_reagents = list("mannitol" = 90) @@ -210,25 +290,57 @@ amount_per_transfer_from_this = 5 name = "Oculine combat stimulant injector" icon_state = "hypocombat-ocu" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains oculine." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит окулин." + ru_names = list( + NOMINATIVE = "боевой инъектор (Окулин)", + GENITIVE = "боевого инъектора (Окулин)", + DATIVE = "боевому инъектору (Окулин)", + ACCUSATIVE = "боевой инъектор (Окулин)", + INSTRUMENTAL = "боевым инъектором (Окулин)", + PREPOSITIONAL = "боевом инъекторе (Окулин)" + ) list_reagents = list("oculine" = 90) /obj/item/reagent_containers/hypospray/ertm/omnisal amount_per_transfer_from_this = 10 name = "DilOmni-Salglu solution combat stimulant injector" icon_state = "hypocombat-womnisal" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. Contains a solution of dilute omnisin and saline." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Содержит разбавленный омнизин и физиологический раствор." + ru_names = list( + NOMINATIVE = "боевой инъектор (Разб. омнизин + Физраствор)", + GENITIVE = "боевого инъектора (Разб. омнизин + Физраствор)", + DATIVE = "боевому инъектору (Разб. омнизин + Физраствор)", + ACCUSATIVE = "боевой инъектор (Разб. омнизин + Физраствор)", + INSTRUMENTAL = "боевым инъектором (Разб. омнизин + Физраствор)", + PREPOSITIONAL = "боевом инъекторе (Разб. омнизин + Физраствор)" + ) list_reagents = list("weak_omnizine" = 45, "salglu_solution" = 45) possible_transfer_amounts = list(10, 20, 30) /obj/item/reagent_containers/hypospray/combat/nanites - desc = "A modified air-needle autoinjector for use in combat situations. Prefilled with expensive medical nanites for rapid healing." + desc = "Модифицированный автоинъектор с воздушной иглой, используемый оперативниками поддержки для быстрого заживления ран в бою. Заполнен дорогостоящими медицинскими нанитами для быстрого заживления." + ru_names = list( + NOMINATIVE = "боевой инъектор (Боевые наниты)", + GENITIVE = "боевого инъектора (Боевые наниты)", + DATIVE = "боевому инъектору (Боевые наниты)", + ACCUSATIVE = "боевой инъектор (Боевые наниты)", + INSTRUMENTAL = "боевым инъектором (Боевые наниты)", + PREPOSITIONAL = "боевом инъекторе (Боевые наниты)" + ) volume = 100 list_reagents = list("nanites" = 100) /obj/item/reagent_containers/hypospray/autoinjector name = "emergency autoinjector" - desc = "A rapid and safe way to stabilize patients in critical condition for personnel without advanced medical knowledge." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу эпинефрина. Быстрый и безопасный способ стабилизации пациентов в критическом состоянии для персонала, не обладающего глубокими медицинскими знаниями." + ru_names = list( + NOMINATIVE = "аварийный автоинъектор", + GENITIVE = "аварийного автоинъектора", + DATIVE = "аварийному автоинъектору", + ACCUSATIVE = "аварийный автоинъектор", + INSTRUMENTAL = "аварийным автоинъектором", + PREPOSITIONAL = "аварийном автоинъекторе" + ) icon_state = "autoinjector" item_state = "autoinjector" belt_icon = "autoinjector" @@ -286,10 +398,11 @@ add_fingerprint(user) var/obj/item/toy/crayon/spraycan/can = I if(can.capped) - to_chat(user, span_warning("The cap on [can] is sealed.")) + balloon_alert(user, ) + balloon_alert(user, "баллончик закрыт!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK if(can.uses <= 0) - to_chat(user, span_warning("There is not enough paint in [can].")) + balloon_alert(user, "недостаточно краски!") return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK var/static/list/injector_icons = list( "Completely Blue" = image('icons/obj/hypo.dmi', "ablueinjector"), @@ -304,7 +417,7 @@ var/choice = show_radial_menu(user, user, injector_icons, radius = 48, custom_check = CALLBACK(src, PROC_REF(check_reskin), user)) if(!choice || loc != user || can.loc != user || !can.uses || user.incapacitated()) return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK - to_chat(user, span_notice("You have painted [src].")) + balloon_alert(user, "покрашено") playsound(user.loc, 'sound/effects/spray.ogg', 20, TRUE) current_skin = choice can.uses-- @@ -328,10 +441,10 @@ /obj/item/reagent_containers/hypospray/autoinjector/attack(mob/living/carbon/target, mob/living/user, params, def_zone, skip_attack_anim = FALSE) if(!reagents.total_volume || spent) - to_chat(user, span_warning("The [name] is empty!")) + balloon_alert(user, "инъектор пуст!") return ATTACK_CHAIN_PROCEED if(only_self && target != user) - to_chat(user, span_warning("The [name] can only be used on yourself.")) + balloon_alert(user, "только для самоиспользования!") return ATTACK_CHAIN_PROCEED . = ..() if(ATTACK_CHAIN_SUCCESS_CHECK(.)) @@ -343,20 +456,36 @@ /obj/item/reagent_containers/hypospray/autoinjector/examine() . = ..() if(reagents && reagents.reagent_list.len) - . += "It is currently loaded." + . += span_notice("Не использовано.") else - . += "It is spent." + . += span_notice("Использовано.") /obj/item/reagent_containers/hypospray/autoinjector/teporone //basilisks name = "teporone autoinjector" - desc = "A rapid way to regulate your body's temperature in the event of a hardsuit malfunction." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу тепорона. Быстрый способ восстановления температуры тела до естественных показателей." + ru_names = list( + NOMINATIVE = "автоинъектор (Тепорон)", + GENITIVE = "автоинъектора (Тепорон)", + DATIVE = "автоинъектору (Тепорон)", + ACCUSATIVE = "автоинъектор (Тепорон)", + INSTRUMENTAL = "автоинъектором (Тепорон)", + PREPOSITIONAL = "автоинъекторе (Тепорон)" + ) icon_state = "lepopen" list_reagents = list("teporone" = 10) /obj/item/reagent_containers/hypospray/autoinjector/stimpack //goliath kiting name = "stimpack autoinjector" - desc = "A rapid way to stimulate your body's adrenaline, allowing for freer movement in restrictive armor." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу стимуляторов. Для тех случаев, когда вам срочно нужна доза адреналина." + ru_names = list( + NOMINATIVE = "автоинъектор (Стим-пак)", + GENITIVE = "автоинъектора (Стим-пак)", + DATIVE = "автоинъектору (Стим-пак)", + ACCUSATIVE = "автоинъектор (Стим-пак)", + INSTRUMENTAL = "автоинъектором (Стим-пак)", + PREPOSITIONAL = "автоинъекторе (Стим-пак)" + ) icon_state = "stimpen" volume = 20 amount_per_transfer_from_this = 20 @@ -364,7 +493,15 @@ /obj/item/reagent_containers/hypospray/autoinjector/stimulants name = "Stimulants autoinjector" - desc = "Rapidly stimulates and regenerates the body's organ system." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу стимуляторов, кратковременно увеличивающих физическую силу, заживляющих повреждения, ускоряющих работу нервной системы и так далее. " + ru_names = list( + NOMINATIVE = "автоинъектор (Стимуляторы)", + GENITIVE = "автоинъектора (Стимуляторы)", + DATIVE = "автоинъектору (Стимуляторы)", + ACCUSATIVE = "автоинъектор (Стимуляторы)", + INSTRUMENTAL = "автоинъектором (Стимуляторы)", + PREPOSITIONAL = "автоинъекторе (Стимуляторы)" + ) icon_state = "stimpen" amount_per_transfer_from_this = 50 volume = 50 @@ -372,7 +509,15 @@ /obj/item/reagent_containers/hypospray/autoinjector/survival name = "survival medipen" - desc = "A medipen for surviving in the harshest of environments, heals and protects from environmental hazards.
WARNING: Do not inject more than one pen in quick succession." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу веществ для спасения во время экстренных ситуаций, которые могут произойти на пустошах Лаваленда." + span_boldwarning("ПРЕДУПРЕЖДЕНИЕ: Не используйте более одного за раз!") + ru_names = list( + NOMINATIVE = "автоинъектор выживания", + GENITIVE = "автоинъектора выживания", + DATIVE = "автоинъектору выживания", + ACCUSATIVE = "автоинъектор выживания", + INSTRUMENTAL = "автоинъектором выживания", + PREPOSITIONAL = "автоинъекторе выживания" + ) icon_state = "stimpen" belt_icon = "survival_medipen" volume = 42 @@ -381,7 +526,15 @@ /obj/item/reagent_containers/hypospray/autoinjector/survival/luxury name = "luxury medipen" - desc = "Cutting edge bluespace technology allowed Nanotrasen to compact 40 of volume into a single medipen. Contains rare and powerful chemicals used to aid in exploration of very hard enviroments.
WARNING: more than one pen injection in quick succession WILL result in quick death." + desc = "Улучшенная версия стандартного автоинъектора выживания, вмещающая в себя до 40 единиц мощных медикаментов." + span_boldwarning("ПРЕДУПРЕЖДЕНИЕ: Не используйте более одного за раз!") + ru_names = list( + NOMINATIVE = "улучшенный автоинъектор выживания", + GENITIVE = "улучшенного автоинъектора выживания", + DATIVE = "улучшенному автоинъектору выживания", + ACCUSATIVE = "улучшенный автоинъектор выживания", + INSTRUMENTAL = "улучшенным автоинъектором выживания", + PREPOSITIONAL = "улучшенном автоинъекторе выживания" + ) icon_state = "redinjector" volume = 40 amount_per_transfer_from_this = 40 @@ -393,7 +546,7 @@ amount_per_transfer_from_this = initial(amount_per_transfer_from_this) return ..() - to_chat(user, span_notice("You start manually releasing the low-pressure gauge...")) + to_chat(user, span_notice("Вы начинаете подготовливать [declent_ru(ACCUSATIVE)] к инъекции.")) if(!do_after(user, 5 SECONDS, target)) //5 seconds release and... return ATTACK_CHAIN_PROCEED @@ -403,7 +556,15 @@ /obj/item/reagent_containers/hypospray/autoinjector/nanocalcium name = "protoype nanite autoinjector" - desc = "After a short period of time the nanites will slow the body's systems and assist with body repair. Nanomachines son." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу экспериментального вещества, предназначенного для заживления внутренних повреждений. Имеются побочные эффекты." + ru_names = list( + NOMINATIVE = "экспериментальный автоинъектор (Нано-Кальций)", + GENITIVE = "экспериментального автоинъектора (Нано-Кальций)", + DATIVE = "экспериментальному автоинъектору (Нано-Кальций)", + ACCUSATIVE = "экспериментальный автоинъектор (Нано-Кальций)", + INSTRUMENTAL = "экспериментальным автоинъектором (Нано-Кальций)", + PREPOSITIONAL = "экспериментальном автоинъекторе (Нано-Кальций)" + ) icon_state = "bonepen" amount_per_transfer_from_this = 15 volume = 15 @@ -418,7 +579,15 @@ /obj/item/reagent_containers/hypospray/autoinjector/selfmade name = "autoinjector" - desc = "Самодельное подобие инжектора. Не похоже что вы сможете уколоть кого-то ещё кроме себя используя его." + desc = "Кустарно произведённая копия автоинъектора. Из-за особенностей конструкции его невозможно использовать на ком-то, кроме себя." + ru_names = list( + NOMINATIVE = "самодельный автоинъектор", + GENITIVE = "самодельного автоинъектора", + DATIVE = "самодельному автоинъектору", + ACCUSATIVE = "самодельный автоинъектор", + INSTRUMENTAL = "самодельным автоинъектором", + PREPOSITIONAL = "самодельном автоинъекторе" + ) volume = 15 amount_per_transfer_from_this = 15 list_reagents = list() @@ -435,7 +604,15 @@ /obj/item/reagent_containers/hypospray/autoinjector/salbutamol name = "Salbutamol autoinjector" - desc = "A medipen used for basic oxygen damage treatment" + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу сальбутамола для экстренной помощи при удушье." + ru_names = list( + NOMINATIVE = "автоинъектор (Сальбутамол)", + GENITIVE = "автоинъектора (Сальбутамол)", + DATIVE = "автоинъектору (Сальбутамол)", + ACCUSATIVE = "автоинъектор (Сальбутамол)", + INSTRUMENTAL = "автоинъектором (Сальбутамол)", + PREPOSITIONAL = "автоинъекторе (Сальбутамол)" + ) icon_state = "ablueinjector" amount_per_transfer_from_this = 20 volume = 20 @@ -443,13 +620,29 @@ /obj/item/reagent_containers/hypospray/autoinjector/radium name = "Radium autoinjector" - desc = "A small medipen used for basic nucleation treatment." + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу радия для экстренной первой помощи нуклеациям." + ru_names = list( + NOMINATIVE = "автоинъектор (Радий)", + GENITIVE = "автоинъектора (Радий)", + DATIVE = "автоинъектору (Радий)", + ACCUSATIVE = "автоинъектор (Радий)", + INSTRUMENTAL = "автоинъектором (Радий)", + PREPOSITIONAL = "автоинъекторе (Радий)" + ) icon_state = "ablueinjector" list_reagents = list("radium" = 10) /obj/item/reagent_containers/hypospray/autoinjector/charcoal name = "Charcoal autoinjector" - desc = "A medipen used for basic toxin damage treatment" + desc = "Маленький инъектор в форме ручки, содержащий внутри дозу активированного угля для экстренной помощи при отравлениях." + ru_names = list( + NOMINATIVE = "автоинъектор (Активированный уголь)", + GENITIVE = "автоинъектора (Активированный уголь)", + DATIVE = "автоинъектору (Активированный уголь)", + ACCUSATIVE = "автоинъектор (Активированный уголь)", + INSTRUMENTAL = "автоинъектором (Активированный уголь)", + PREPOSITIONAL = "автоинъекторе (Активированный уголь)" + ) icon_state = "greeninjector" amount_per_transfer_from_this = 20 volume = 20 diff --git a/code/modules/reagents/reagent_containers/iv_bag.dm b/code/modules/reagents/reagent_containers/iv_bag.dm index fb33708e881..9e0dea15ce9 100644 --- a/code/modules/reagents/reagent_containers/iv_bag.dm +++ b/code/modules/reagents/reagent_containers/iv_bag.dm @@ -3,7 +3,16 @@ /obj/item/reagent_containers/iv_bag name = "\improper IV Bag" - desc = "A bag with a fine needle attached at the end for injecting patients with fluids over a period of time." + desc = "Пакет с тонкой иглой на конце. Предназначен для введения пациентам веществ прямо в кровоток в течение определённого времени." + ru_names = list( + NOMINATIVE = "капельница", + GENITIVE = "капельницы", + DATIVE = "капельнице", + ACCUSATIVE = "капельницу", + INSTRUMENTAL = "капельницей", + PREPOSITIONAL = "капельнице" + ) + gender = FEMALE icon = 'icons/goonstation/objects/iv.dmi' lefthand_file = 'icons/goonstation/mob/inhands/items_lefthand.dmi' righthand_file = 'icons/goonstation/mob/inhands/items_righthand.dmi' @@ -62,13 +71,13 @@ return if(amount_per_transfer_from_this > 10) // Prevents people from switching to illegal transfer values while the IV is already in someone, i.e. anything over 10 - visible_message("The IV bag's needle pops out of [injection_target]'s arm. The transfer amount is too high!") + visible_message(span_danger("Игла [declent_ru(GENITIVE)] вылетает из руки [injection_target]. Объём переливания слишком большой!")) end_processing() return if(get_dist(get_turf(src), get_turf(injection_target)) > 1) - to_chat(injection_target, "The [src]'s' needle is ripped out of you!") - injection_target.apply_damage(3, def_zone = injection_limb) + to_chat(injection_target, span_userdanger("Игла [declent_ru(GENITIVE)] вылетает из вашей руки, раня вас!")) + injection_target.apply_damage(5, def_zone = injection_limb) end_processing() return @@ -100,28 +109,26 @@ // Removing the needle if(injection_target) if(target != injection_target) - to_chat(user, span_warning("[src] is already inserted into [injection_target]'s arm!")) + balloon_alert(user, "игла уже вставлена!") return . if(target != user) target.visible_message( - span_danger("[user] is trying to remove [src]'s needle from [target]'s arm!"), - span_userdanger("[user] is trying to remove [src]'s needle from [target]'s arm!"), + span_danger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся убрать иглу [declent_ru(GENITIVE)] из руки [target]!"), + span_userdanger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся убрать иглу [declent_ru(GENITIVE)] из вашей руки!"), ignored_mobs = user, ) - to_chat(user, span_notice("You are removing [src]'s needle from [target]'s arm...")) + to_chat(user, span_notice("Вы пытаетесь убрать иглу [declent_ru(GENITIVE)] из руки [target].")) if(!do_after(user, 3 SECONDS, target, NONE) || !injection_target) return . target.visible_message( - span_danger("[user] has removed [src]'s needle from [target]'s arm!"), - span_userdanger("[user] has removed [src]'s needle from your arm!"), + span_danger("[user] убира[pluralize_ru(user.gender, "ет", "ют")] иглу [declent_ru(GENITIVE)] из руки [target]!"), + span_userdanger("[user] убира[pluralize_ru(user.gender, "ет", "ют")] иглу [declent_ru(GENITIVE)] из вашей руки!"), ignored_mobs = user, ) - to_chat(user, span_notice("You have removed [src]'s needle from [target]'s arm.")) + to_chat(user, span_notice("Вы убираете иглу [declent_ru(GENITIVE)] из руки [target].")) else - user.visible_message( - span_warning("[user] has removed [src]'s needle from [p_their()] arm!"), - span_notice("You have removed [src]'s needle from your arm."), - ) + user.visible_message(span_warning("[user] убира[pluralize_ru(user.gender, "ет", "ют")] иглу [declent_ru(GENITIVE)] из своей руки!")) + balloon_alert(user, "игла убрана") end_processing() return .|ATTACK_CHAIN_SUCCESS @@ -130,29 +137,27 @@ return . if(amount_per_transfer_from_this > 10) // We only want to be able to transfer 1, 5, or 10 units to people. Higher numbers are for transfering to other containers - to_chat(user, span_warning("The IV bag can only be used on someone with a transfer amount of 1, 5 or 10.")) + balloon_alert(user, "объём перемещения слишком большой!") return . if(target != user) target.visible_message( - span_danger("[user] is trying to insert [src]'s needle into [target]'s arm!"), - span_userdanger("[user] is trying to insert [src]'s needle into [target]'s arm!"), + span_danger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся вставить иглу [declent_ru(GENITIVE)] в руку [target]!"), + span_userdanger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся вставить иглу [declent_ru(GENITIVE)] в вашу руку!"), ignored_mobs = user, ) - to_chat(user, span_notice("You are inserting [src]'s needle into [target]'s arm...")) + to_chat(user, span_notice("Вы пытаетесь вставить иглу [declent_ru(GENITIVE)] в руку [target].")) if(!do_after(user, 3 SECONDS, target, NONE) || injection_target) return . target.visible_message( - span_danger("[user] has inserted [src]'s needle into [target]'s arm!"), - span_userdanger("[user] has inserted [src]'s needle into your arm!"), + span_danger("[user] вставля[pluralize_ru(user.gender, "ет", "ют")] иглу [declent_ru(GENITIVE)] в руку [target]!"), + span_userdanger("[user] вставля[pluralize_ru(user.gender, "ет", "ют")] иглу [declent_ru(GENITIVE)] в вашу руку!"), ignored_mobs = user, ) - to_chat(user, span_notice("You have inserted [src]'s needle into [target]'s arm.")) + balloon_alert(user, "игла вставлена") else - user.visible_message( - span_warning("[user] has inserted [src]'s needle into [p_their()] arm!"), - span_notice("You have inserted [src]'s needle into your arm."), - ) + user.visible_message(span_warning("[user] вставля[pluralize_ru(user.gender, "ет", "ют")] иглу [declent_ru(GENITIVE)] в свою руку!")) + balloon_alert(user, "игла вставлена") add_attack_logs(user, target, "Inserted [name](mode: [mode == IV_INJECT ? "Injecting" : "Drawing"]) containing ([reagents.log_list()]), transfering [amount_per_transfer_from_this] units", reagents.harmless_helper() ? ATKLOG_ALMOSTALL : null) begin_processing(target, def_zone) return .|ATTACK_CHAIN_SUCCESS @@ -163,18 +168,18 @@ return if(target.is_refillable() && is_drainable()) // Transferring from IV bag to other containers if(!reagents.total_volume) - to_chat(user, "[src] is empty.") + balloon_alert(user, "пусто!") return if(target.reagents.total_volume >= target.reagents.maximum_volume) - to_chat(user, "[target] is full.") + balloon_alert(user, "нет места!") return var/trans = reagents.trans_to(target, amount_per_transfer_from_this) - to_chat(user, "You transfer [trans] units of the solution to [target].") + to_chat(user, span_notice("Вы перемещаете [trans] единиц[declension_ru(trans, "у", "ы", "")] вещества в [target.declent_ru(ACCUSATIVE)].")) else if(istype(target, /obj/item/reagent_containers/glass) && !target.is_open_container()) - to_chat(user, "You cannot fill [target] while it is sealed.") + balloon_alert(user, "закрыто!") return @@ -218,6 +223,14 @@ /obj/item/reagent_containers/iv_bag/blood/Initialize(mapload) if(blood_type != null && blood_species != null) name = "[initial(name)] - [blood_species] ([blood_type])" + ru_names = list( + NOMINATIVE = "капельница - [blood_species] ([blood_type])" , + GENITIVE = "капельницы - [blood_species] ([blood_type])", + DATIVE = "капельнице - [blood_species] ([blood_type])", + ACCUSATIVE = "капельницу - [blood_species] ([blood_type])", + INSTRUMENTAL = "капельницей - [blood_species] ([blood_type])", + PREPOSITIONAL = "капельнице - [blood_species] ([blood_type])" + ) reagents.add_reagent("blood", 200, list("donor"=null,"diseases"=null,"blood_DNA"=null,"blood_type"=blood_type,"blood_species"=blood_species,"resistances"=null,"trace_chem"=null)) update_icon(UPDATE_OVERLAYS) . = ..() @@ -291,6 +304,14 @@ /obj/item/reagent_containers/iv_bag/bloodsynthetic/oxygenis/Initialize(mapload) if(blood_type != null && blood_species != null) name = "[initial(name)] - Oxygenis" + ru_names = list( + NOMINATIVE = "капельница - Синтетическая кровь (Кислород)" , + GENITIVE = "капельницы - Синтетическая кровь (Кислород)", + DATIVE = "капельнице - Синтетическая кровь (Кислород)", + ACCUSATIVE = "капельницу - Синтетическая кровь (Кислород)", + INSTRUMENTAL = "капельницей - Синтетическая кровь (Кислород)", + PREPOSITIONAL = "капельнице - Синтетическая кровь (Кислород)" + ) reagents.add_reagent("sbloodoxy", 200, list("donor"=null,"diseases"=null,"blood_DNA"=null,"blood_type"=blood_type,"blood_species"=blood_species,"resistances"=null,"trace_chem"=null)) update_icon(UPDATE_OVERLAYS) @@ -301,6 +322,14 @@ /obj/item/reagent_containers/iv_bag/bloodsynthetic/nitrogenis/Initialize(mapload) if(blood_type != null && blood_species != null) name = "[initial(name)] - Nitrogenis" + ru_names = list( + NOMINATIVE = "капельница - Синтетическая кровь (Азот)" , + GENITIVE = "капельницы - Синтетическая кровь (Азот)", + DATIVE = "капельнице - Синтетическая кровь (Азот)", + ACCUSATIVE = "капельницу - Синтетическая кровь (Азот)", + INSTRUMENTAL = "капельницей - Синтетическая кровь (Азот)", + PREPOSITIONAL = "капельнице - Синтетическая кровь (Азот)" + ) reagents.add_reagent("sbloodvox", 200, list("donor"=null,"diseases"=null,"blood_DNA"=null,"blood_type"=blood_type,"blood_species"=blood_species,"resistances"=null,"trace_chem"=null)) update_icon(UPDATE_OVERLAYS) . = ..() @@ -310,4 +339,12 @@ /obj/item/reagent_containers/iv_bag/slime/Initialize(mapload) name = "[initial(name)] - Slime Jelly" + ru_names = list( + NOMINATIVE = "капельница - Слаймовое желе" , + GENITIVE = "капельницы - Слаймовое желе", + DATIVE = "капельнице - Слаймовое желе", + ACCUSATIVE = "капельницу - Слаймовое желе", + INSTRUMENTAL = "капельницей - Слаймовое желе", + PREPOSITIONAL = "капельнице - Слаймовое желе" + ) . = ..() diff --git a/code/modules/reagents/reagent_containers/patch.dm b/code/modules/reagents/reagent_containers/patch.dm index a3371943ff2..ecc387975ba 100644 --- a/code/modules/reagents/reagent_containers/patch.dm +++ b/code/modules/reagents/reagent_containers/patch.dm @@ -1,6 +1,14 @@ /obj/item/reagent_containers/food/pill/patch name = "chemical patch" - desc = "A chemical patch for touch based applications." + desc = "Химический пластырь, предназначенный для медленного ввода веществ в кровоток пациента через контакт с кожей." + ru_names = list( + NOMINATIVE = "пластырь", + GENITIVE = "пластыря", + DATIVE = "пластырю", + ACCUSATIVE = "пластырь", + INSTRUMENTAL = "пластырем", + PREPOSITIONAL = "пластыре" + ) icon = 'icons/obj/chemical.dmi' icon_state = "bandaid" item_state = "bandaid" @@ -8,7 +16,7 @@ volume = 20 container_type = 0 //nooo my insta-kill patch!!! apply_type = REAGENT_TOUCH - apply_method = "apply" + apply_method = "налепи" transfer_efficiency = 0.5 //patches aren't as effective at getting chemicals into the bloodstream. temperature_min = 270 temperature_max = 350 @@ -40,42 +48,98 @@ /obj/item/reagent_containers/food/pill/patch/styptic name = "healing patch" - desc = "Helps with brute injuries." + desc = "Помогает при порезах и ушибах." + ru_names = list( + NOMINATIVE = "пластырь (Мех. Повреждения)", + GENITIVE = "пластыря (Мех. Повреждения)", + DATIVE = "пластырю (Мех. Повреждения)", + ACCUSATIVE = "пластырь (Мех. Повреждения)", + INSTRUMENTAL = "пластырем (Мех. Повреждения)", + PREPOSITIONAL = "пластыре (Мех. Повреждения)" + ) icon_state = "bandaid2" instant_application = 1 list_reagents = list("styptic_powder" = 20) /obj/item/reagent_containers/food/pill/patch/styptic/small name = "healing mini-patch" + ru_names = list( + NOMINATIVE = "мини-пластырь (Мех. Повреждения)", + GENITIVE = "мини-пластыря (Мех. Повреждения)", + DATIVE = "мини-пластырю (Мех. Повреждения)", + ACCUSATIVE = "мини-пластырь (Мех. Повреждения)", + INSTRUMENTAL = "мини-пластырем (Мех. Повреждения)", + PREPOSITIONAL = "мини-пластыре (Мех. Повреждения)" + ) icon_state = "bandaid1" list_reagents = list("styptic_powder" = 10) /obj/item/reagent_containers/food/pill/patch/silver_sulf name = "burn patch" - desc = "Helps with burn injuries." + desc = "Помогает при ожогах." + ru_names = list( + NOMINATIVE = "пластырь (Терм. Повреждения)", + GENITIVE = "пластыря (Терм. Повреждения)", + DATIVE = "пластырю (Терм. Повреждения)", + ACCUSATIVE = "пластырь (Терм. Повреждения)", + INSTRUMENTAL = "пластырем (Терм. Повреждения)", + PREPOSITIONAL = "пластыре (Терм. Повреждения)" + ) icon_state = "bandaid4" instant_application = 1 list_reagents = list("silver_sulfadiazine" = 20) /obj/item/reagent_containers/food/pill/patch/silver_sulf/small name = "burn mini-patch" + ru_names = list( + NOMINATIVE = "мини-пластырь (Терм. Повреждения)", + GENITIVE = "мини-пластыря (Терм. Повреждения)", + DATIVE = "мини-пластырю (Терм. Повреждения)", + ACCUSATIVE = "мини-пластырь (Терм. Повреждения)", + INSTRUMENTAL = "мини-пластырем (Терм. Повреждения)", + PREPOSITIONAL = "мини-пластыре (Терм. Повреждения)" + ) icon_state = "bandaid3" list_reagents = list("silver_sulfadiazine" = 10) /obj/item/reagent_containers/food/pill/patch/synthflesh name = "synthflesh patch" - desc = "Helps with brute and burn injuries." + desc = "Помогает лечить как механические, так и термические повреждения." + ru_names = list( + NOMINATIVE = "пластырь (Синт-плоть)", + GENITIVE = "пластыря (Синт-плоть)", + DATIVE = "пластырю (Синт-плоть)", + ACCUSATIVE = "пластырь (Синт-плоть)", + INSTRUMENTAL = "пластырем (Синт-плоть)", + PREPOSITIONAL = "пластыре (Синт-плоть)" + ) icon_state = "bandaid8" instant_application = 1 list_reagents = list("synthflesh" = 10) /obj/item/reagent_containers/food/pill/patch/nicotine name = "nicotine patch" - desc = "Helps temporarily curb the cravings of nicotine dependency." + desc = "Помогает облегчить никотиновую зависимость." + ru_names = list( + NOMINATIVE = "пластырь (Никотин)", + GENITIVE = "пластыря (Никотин)", + DATIVE = "пластырю (Никотин)", + ACCUSATIVE = "пластырь (Никотин)", + INSTRUMENTAL = "пластырем (Никотин)", + PREPOSITIONAL = "пластыре (Никотин)" + ) list_reagents = list("nicotine" = 10) /obj/item/reagent_containers/food/pill/patch/jestosterone name = "jestosterone patch" - desc = "Helps with brute injuries if the affected person is a clown, otherwise inflicts various annoying effects." + desc = "Вводит необходимую дозу хи-хи и ха-ха прямо в кровь." + ru_names = list( + NOMINATIVE = "пластырь (Шутостерон)", + GENITIVE = "пластыря (Шутостерон)", + DATIVE = "пластырю (Шутостерон)", + ACCUSATIVE = "пластырь (Шутостерон)", + INSTRUMENTAL = "пластырем (Шутостерон)", + PREPOSITIONAL = "пластыре (Шутостерон)" + ) icon_state = "bandaid20" list_reagents = list("jestosterone" = 20) diff --git a/code/modules/reagents/reagent_containers/pill.dm b/code/modules/reagents/reagent_containers/pill.dm index 796ca10bf04..2739495be6c 100644 --- a/code/modules/reagents/reagent_containers/pill.dm +++ b/code/modules/reagents/reagent_containers/pill.dm @@ -3,7 +3,16 @@ //////////////////////////////////////////////////////////////////////////////// /obj/item/reagent_containers/food/pill name = "pill" - desc = "a pill." + desc = "Небольшая таблетка, предназначенная для введения веществ в организм субъекта пероральным путём." + ru_names = list( + NOMINATIVE = "таблетка", + GENITIVE = "таблетки", + DATIVE = "таблетке", + ACCUSATIVE = "таблетку", + INSTRUMENTAL = "таблеткой", + PREPOSITIONAL = "таблетке" + ) + gender = FEMALE icon = 'icons/obj/chemical.dmi' icon_state = "pill" item_state = "pill" @@ -30,9 +39,9 @@ return . if(!get_location_accessible(target, BODY_ZONE_PRECISE_MOUTH)) if(target == user) - to_chat(user, span_warning("Your face is obscured.")) + balloon_alert(user, "ваш рот закрыт!") else - to_chat(user, span_warning("[target]'s face is obscured.")) + balloon_alert(user, "рот цели закрыт!") return . if(!user.can_unEquip(src)) return . @@ -50,13 +59,12 @@ if(target.is_open_container() != 0 && target.reagents) if(!target.reagents.total_volume) - to_chat(user, "[target] is empty. Cant dissolve [src].") + balloon_alert(user, "не в чем растворять!") return - - to_chat(user, "You dissolve [src] in [target].") + balloon_alert(user, "таблетка растворена") reagents.trans_to(target, reagents.total_volume) for(var/mob/O in viewers(2, user)) - O.show_message("[user] puts something in [target].", 1) + O.show_message(span_warning("[user] броса[pluralize_ru(user.gender, "ет", "ют")] что-то в [target.declent_ru(ACCUSATIVE)]."), 1) spawn(5) qdel(src) @@ -67,120 +75,280 @@ //Pills /obj/item/reagent_containers/food/pill/tox name = "Toxins pill" - desc = "Highly toxic." + desc = "Очень токсично." + ru_names = list( + NOMINATIVE = "таблетка (Токсины)", + GENITIVE = "таблетки (Токсины)", + DATIVE = "таблетке (Токсины)", + ACCUSATIVE = "таблетку (Токсины)", + INSTRUMENTAL = "таблеткой (Токсины)", + PREPOSITIONAL = "таблетке (Токсины)" + ) icon_state = "pill21" list_reagents = list("toxin" = 50) /obj/item/reagent_containers/food/pill/initropidril name = "initropidril pill" - desc = "Don't swallow this." + desc = "Не глотайте это." + ru_names = list( + NOMINATIVE = "таблетка (Инитропидрил)", + GENITIVE = "таблетки (Инитропидрил)", + DATIVE = "таблетке (Инитропидрил)", + ACCUSATIVE = "таблетку (Инитропидрил)", + INSTRUMENTAL = "таблеткой (Инитропидрил)", + PREPOSITIONAL = "таблетке (Инитропидрил)" + ) icon_state = "pill21" list_reagents = list("initropidril" = 50) /obj/item/reagent_containers/food/pill/fakedeath name = "fake death pill" - desc = "Swallow then rest to appear dead, stand up to wake up. Also mutes the user's voice." + desc = "Проглотите, чтобы скрыть свой пульс и прикинуться мёртвым. Побочный эффект - вы не сможете говорить во время действия вещества." + ru_names = list( + NOMINATIVE = "таблетка (Капулеттий+)", + GENITIVE = "таблетки (Капулеттий+)", + DATIVE = "таблетке (Капулеттий+)", + ACCUSATIVE = "таблетку (Капулеттий+)", + INSTRUMENTAL = "таблеткой (Капулеттий+)", + PREPOSITIONAL = "таблетке (Капулеттий+)" + ) icon_state = "pill4" list_reagents = list("capulettium_plus" = 50) /obj/item/reagent_containers/food/pill/adminordrazine name = "Adminordrazine pill" - desc = "It's magic. We don't have to explain it." + desc = "Магия. Тут нечего объяснять." + ru_names = list( + NOMINATIVE = "таблетка (Админордразин)", + GENITIVE = "таблетки (Админордразин)", + DATIVE = "таблетке (Админордразин)", + ACCUSATIVE = "таблетку (Админордразин)", + INSTRUMENTAL = "таблеткой (Админордразин)", + PREPOSITIONAL = "таблетке (Админордразин)" + ) icon_state = "pill16" list_reagents = list("adminordrazine" = 50) /obj/item/reagent_containers/food/pill/morphine name = "Morphine pill" - desc = "Commonly used to treat insomnia." + desc = "Опиат, оказывающий обезболивающее и седативное действие на организм." + ru_names = list( + NOMINATIVE = "таблетка (Морфин)", + GENITIVE = "таблетки (Морфин)", + DATIVE = "таблетке (Морфин)", + ACCUSATIVE = "таблетку (Морфин)", + INSTRUMENTAL = "таблеткой (Морфин)", + PREPOSITIONAL = "таблетке (Морфин)" + ) icon_state = "pill8" list_reagents = list("morphine" = 30) /obj/item/reagent_containers/food/pill/methamphetamine name = "Methamphetamine pill" - desc = "Helps improve the ability to concentrate." + desc = "Бодрит, пробуждает, увеличивает концентрацию и улучшает мышечный тонус. Вызывает сильное привыкание, негативно сказывается на функциях мозга при длительном применении." + ru_names = list( + NOMINATIVE = "таблетка (Метамфетамин)", + GENITIVE = "таблетки (Метамфетамин)", + DATIVE = "таблетке (Метамфетамин)", + ACCUSATIVE = "таблетку (Метамфетамин)", + INSTRUMENTAL = "таблеткой (Метамфетамин)", + PREPOSITIONAL = "таблетке (Метамфетамин)" + ) icon_state = "pill8" list_reagents = list("methamphetamine" = 5) /obj/item/reagent_containers/food/pill/lsd name = "LSD pill" - desc = "Commonly used to get high." + desc = "Быстрый способ кайфануть." + ru_names = list( + NOMINATIVE = "таблетка (ЛСД)", + GENITIVE = "таблетки (ЛСД)", + DATIVE = "таблетке (ЛСД)", + ACCUSATIVE = "таблетку (ЛСД)", + INSTRUMENTAL = "таблеткой (ЛСД)", + PREPOSITIONAL = "таблетке (ЛСД)" + ) icon_state = "pill4" list_reagents = list("lsd" = 5) /obj/item/reagent_containers/food/pill/rum name = "rum pill" - desc = "Commonly used to... Wait a second, what the f.." + desc = "Суровая пиратская медицина, надо полагать..?" + ru_names = list( + NOMINATIVE = "таблетка (Ром)", + GENITIVE = "таблетки (Ром)", + DATIVE = "таблетке (Ром)", + ACCUSATIVE = "таблетку (Ром)", + INSTRUMENTAL = "таблеткой (Ром)", + PREPOSITIONAL = "таблетке (Ром)" + ) icon_state = "pill8" list_reagents = list("rum" = 25) /obj/item/reagent_containers/food/pill/stimulative_agent name = "combat stimulant pill" - desc = "Used by elite soldiers to increase speed and battle performance." + desc = "Обычно используется бойцами элитных сил дял кратковременного улучшения возможностей организма во время боя." + ru_names = list( + NOMINATIVE = "таблетка (Боевой Стимулятор)", + GENITIVE = "таблетки (Боевой Стимулятор)", + DATIVE = "таблетке (Боевой Стимулятор)", + ACCUSATIVE = "таблетку (Боевой Стимулятор)", + INSTRUMENTAL = "таблеткой (Боевой Стимулятор)", + PREPOSITIONAL = "таблетке (Боевой Стимулятор)" + ) icon_state = "pill15" list_reagents = list("stimulative_agent" = 5) /obj/item/reagent_containers/food/pill/haloperidol name = "Haloperidol pill" - desc = "Haloperidol is an anti-psychotic use to treat psychiatric problems." + desc = "Антипсихотическое средство, используемое для лечения психиатрических проблем." + ru_names = list( + NOMINATIVE = "таблетка (Галоперидол)", + GENITIVE = "таблетки (Галоперидол)", + DATIVE = "таблетке (Галоперидол)", + ACCUSATIVE = "таблетку (Галоперидол)", + INSTRUMENTAL = "таблеткой (Галоперидол)", + PREPOSITIONAL = "таблетке (Галоперидол)" + ) icon_state = "pill8" list_reagents = list("haloperidol" = 15) /obj/item/reagent_containers/food/pill/happy name = "Happy pill" - desc = "Happy happy joy joy!" + desc = "Счастливая радость!" + ru_names = list( + NOMINATIVE = "таблетка счастья", + GENITIVE = "таблетки счастья", + DATIVE = "таблетке счастья", + ACCUSATIVE = "таблетку счастья", + INSTRUMENTAL = "таблеткой счастья", + PREPOSITIONAL = "таблетке счастья" + ) icon_state = "pill18" list_reagents = list("space_drugs" = 15, "sugar" = 15) /obj/item/reagent_containers/food/pill/zoom name = "Zoom pill" - desc = "Zoooom!" + desc = "Быстрее, быстрее, ещё быстрее!" + ru_names = list( + NOMINATIVE = "таблетка бодрости", + GENITIVE = "таблетки бодрости", + DATIVE = "таблетке бодрости", + ACCUSATIVE = "таблетку бодрости", + INSTRUMENTAL = "таблеткой бодрости", + PREPOSITIONAL = "таблетке бодрости" + ) icon_state = "pill18" list_reagents = list("synaptizine" = 5, "methamphetamine" = 5) /obj/item/reagent_containers/food/pill/charcoal name = "Charcoal pill" - desc = "Neutralizes many common toxins." + desc = "Стандартное лекарство от отравлений." + ru_names = list( + NOMINATIVE = "таблетка (Активированный уголь)", + GENITIVE = "таблетки (Активированный уголь)", + DATIVE = "таблетке (Активированный уголь)", + ACCUSATIVE = "таблетку (Активированный уголь)", + INSTRUMENTAL = "таблеткой (Активированный уголь)", + PREPOSITIONAL = "таблетке (Активированный уголь)" + ) icon_state = "pill17" list_reagents = list("charcoal" = 50) /obj/item/reagent_containers/food/pill/epinephrine name = "Epinephrine pill" - desc = "Used to provide shots of adrenaline." + desc = "Для стабилизации пациентов в критическом состоянии." + ru_names = list( + NOMINATIVE = "таблетка (Эпинефрин)", + GENITIVE = "таблетки (Эпинефрин)", + DATIVE = "таблетке (Эпинефрин)", + ACCUSATIVE = "таблетку (Эпинефрин)", + INSTRUMENTAL = "таблеткой (Эпинефрин)", + PREPOSITIONAL = "таблетке (Эпинефрин)" + ) icon_state = "pill6" list_reagents = list("epinephrine" = 50) /obj/item/reagent_containers/food/pill/salicylic name = "Salicylic Acid pill" - desc = "Commonly used to treat moderate pain and fevers." + desc = "Стандартное обезболивающее и жаропонижающее средство." + ru_names = list( + NOMINATIVE = "таблетка (Салициловая кислота)", + GENITIVE = "таблетки (Салициловая кислота)", + DATIVE = "таблетке (Салициловая кислота)", + ACCUSATIVE = "таблетку (Салициловая кислота)", + INSTRUMENTAL = "таблеткой (Салициловая кислота)", + PREPOSITIONAL = "таблетке (Салициловая кислота)" + ) icon_state = "pill4" list_reagents = list("sal_acid" = 20) /obj/item/reagent_containers/food/pill/salbutamol name = "Salbutamol pill" - desc = "Used to treat respiratory distress." + desc = "Используется для лечения проблем с дыханием." + ru_names = list( + NOMINATIVE = "таблетка (Сальбутамол)", + GENITIVE = "таблетки (Сальбутамол)", + DATIVE = "таблетке (Сальбутамол)", + ACCUSATIVE = "таблетку (Сальбутамол)", + INSTRUMENTAL = "таблеткой (Сальбутамол)", + PREPOSITIONAL = "таблетке (Сальбутамол)" + ) icon_state = "pill8" list_reagents = list("salbutamol" = 20) /obj/item/reagent_containers/food/pill/hydrocodone name = "Hydrocodone pill" - desc = "Used to treat extreme pain." + desc = "Сильное обезболивающее для самых крайних случаев." + ru_names = list( + NOMINATIVE = "таблетка (Гидрокодон)", + GENITIVE = "таблетки (Гидрокодон)", + DATIVE = "таблетке (Гидрокодон)", + ACCUSATIVE = "таблетку (Гидрокодон)", + INSTRUMENTAL = "таблеткой (Гидрокодон)", + PREPOSITIONAL = "таблетке (Гидрокодон)" + ) icon_state = "pill6" list_reagents = list("hydrocodone" = 15) /obj/item/reagent_containers/food/pill/calomel name = "calomel pill" - desc = "Can be used to purge impurities, but is highly toxic itself." + desc = "Может использоваться для выведения токсинов из организма, но сам по себе очень токсичен." + ru_names = list( + NOMINATIVE = "таблетка (Каломель)", + GENITIVE = "таблетки (Каломель)", + DATIVE = "таблетке (Каломель)", + ACCUSATIVE = "таблетку (Каломель)", + INSTRUMENTAL = "таблеткой (Каломель)", + PREPOSITIONAL = "таблетке (Каломель)" + ) icon_state = "pill3" list_reagents = list("calomel" = 15) /obj/item/reagent_containers/food/pill/mutadone name = "mutadone pill" - desc = "Used to cure genetic abnormalities." + desc = "Для лечения генетических отклонений." + ru_names = list( + NOMINATIVE = "таблетка (Мутадон)", + GENITIVE = "таблетки (Мутадон)", + DATIVE = "таблетке (Мутадон)", + ACCUSATIVE = "таблетку (Мутадон)", + INSTRUMENTAL = "таблеткой (Мутадон)", + PREPOSITIONAL = "таблетке (Мутадон)" + ) icon_state = "pill18" list_reagents = list("mutadone" = 20) /obj/item/reagent_containers/food/pill/mannitol name = "mannitol pill" - desc = "Used to treat cranial swelling." + desc = "Для восстановления повреждённых тканей мозга." + ru_names = list( + NOMINATIVE = "таблетка (Маннитол)", + GENITIVE = "таблетки (Маннитол)", + DATIVE = "таблетке (Маннитол)", + ACCUSATIVE = "таблетку (Маннитол)", + INSTRUMENTAL = "таблеткой (Маннитол)", + PREPOSITIONAL = "таблетке (Маннитол)" + ) icon_state = "pill19" list_reagents = list("mannitol" = 20) diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm index 115b1580ed6..92c5fcfd4f6 100644 --- a/code/modules/reagents/reagent_containers/spray.dm +++ b/code/modules/reagents/reagent_containers/spray.dm @@ -1,6 +1,14 @@ /obj/item/reagent_containers/spray name = "spray bottle" - desc = "A spray bottle, with an unscrewable top." + desc = "Бутылка с распылителем, с отвинчивающейся крышкой. Пшик-пшик." + ru_names = list( + NOMINATIVE = "распылитель", + GENITIVE = "распылителя", + DATIVE = "распылителю", + ACCUSATIVE = "распылитель", + INSTRUMENTAL = "распылителем", + PREPOSITIONAL = "распылителе" + ) icon = 'icons/obj/janitor.dmi' icon_state = "cleaner" item_state = "cleaner" @@ -29,19 +37,19 @@ if(istype(A, /obj/structure/reagent_dispensers) && get_dist(src,A) <= 1) //this block copypasted from reagent_containers/glass, for lack of a better solution if(!A.reagents.total_volume && A.reagents) - to_chat(user, "[A] is empty.") + balloon_alert(user, "пусто!") return if(reagents.total_volume >= reagents.maximum_volume) - to_chat(user, "[src] is full.") + balloon_alert(user, "нет места!") return var/trans = A.reagents.trans_to(src, 50) //This is a static amount, otherwise, it'll take forever to fill. - to_chat(user, "You fill [src] with [trans] units of the contents of [A].") + to_chat(user, span_notice("Вы заполняете [declent_ru(ACCUSATIVE)] [trans] единиц[declension_ru(trans, "ей", "ами", "ами")] содержимого [A.declent_ru(GENITIVE)].")) return if(reagents.total_volume < amount_per_transfer_from_this) - to_chat(user, "[src] is empty!") + balloon_alert(user, "пусто!") return var/contents_log = reagents.reagent_list.Join(", ") @@ -87,72 +95,128 @@ amount_per_transfer_from_this = (amount_per_transfer_from_this == 10 ? 5 : 10) spray_currentrange = (spray_currentrange == 1 ? spray_maxrange : 1) - to_chat(user, "You [amount_per_transfer_from_this == 10 ? "remove" : "fix"] the nozzle. You'll now use [amount_per_transfer_from_this] units per spray.") + to_chat(user, span_notice("Вы [amount_per_transfer_from_this == 10 ? "снимаете" : "надеваете"] насадку. Теперь вы будете распылять по [amount_per_transfer_from_this] единиц[declension_ru(amount_per_transfer_from_this, "е", "ы", "")] содержимого за раз.")) /obj/item/reagent_containers/spray/examine(mob/user) . = ..() if(get_dist(user, src) && user == loc) - . += "[round(reagents.total_volume)] units left." + . += span_notice("Внутри остал[declension_ru(reagents.total_volume, "а", "о", "о")]сь примерно [round(reagents.total_volume)] единиц[declension_ru(reagents.total_volume, "а", "ы", "")] вещества.") //space cleaner /obj/item/reagent_containers/spray/cleaner name = "space cleaner" - desc = "BLAM!-brand non-foaming space cleaner!" + desc = "Распылитель, заполненный непенящимся средством для очистки поверхностей. Произведено компанией \"BLAM!\"." + ru_names = list( + NOMINATIVE = "распылитель", + GENITIVE = "распылителя", + DATIVE = "распылителю", + ACCUSATIVE = "распылитель", + INSTRUMENTAL = "распылителем", + PREPOSITIONAL = "распылителе" + ) list_reagents = list("cleaner" = 250) /obj/item/reagent_containers/spray/cleaner/brig - name = "brig cleaner" - desc = "Blood spray to remove the blood of a handcuffed clown" - icon_state = "cleaner_brig" - item_state = "cleaner_brig" + name = "brig cleaner" + desc = "Распылитель, заполненный непенящимся средством для очистки поверхностей. Идеально подойдёт для уборки брига после очередного допроса клоуна." + ru_names = list( + NOMINATIVE = "распылитель СБ", + GENITIVE = "распылителя СБ", + DATIVE = "распылителю СБ", + ACCUSATIVE = "распылитель СБ", + INSTRUMENTAL = "распылителем СБ", + PREPOSITIONAL = "распылителе СБ" + ) + icon_state = "cleaner_brig" + item_state = "cleaner_brig" /obj/item/reagent_containers/spray/cleaner/brig/empty - list_reagents = list() + list_reagents = list() /obj/item/reagent_containers/spray/cleaner/chemical - name = "chemical cleaner" - desc = "There is nothing safer than cleaning up spilled potassium with water" - icon_state = "cleaner_chemical" - item_state = "cleaner_medchem" + name = "chemical cleaner" + desc = "Нет ничего безопаснее, чем смывать пролитый калий водой." + ru_names = list( + NOMINATIVE = "химический распылитель", + GENITIVE = "химическего распылителя", + DATIVE = "химическому распылителю", + ACCUSATIVE = "химический распылитель", + INSTRUMENTAL = "химическим распылителем", + PREPOSITIONAL = "химическом распылителе" + ) + icon_state = "cleaner_chemical" + item_state = "cleaner_medchem" /obj/item/reagent_containers/spray/cleaner/chemical/empty - list_reagents = list() + list_reagents = list() /obj/item/reagent_containers/spray/cleaner/janitor - name = "janitorial deluxe cleaner" - desc = "A stylish spray for the most productive station worker!" - icon_state = "cleaner_janitor" - item_state = "cleaner_jan" + name = "janitorial cleaner" + desc = "Распылитель, заполненный непенящимся средством для очистки поверхностей. Стильный дизайн, специально для самого продуктивного работника станции!" + ru_names = list( + NOMINATIVE = "распылитель уборщика", + GENITIVE = "распылителя уборщика", + DATIVE = "распылителю уборщика", + ACCUSATIVE = "распылитель уборщика", + INSTRUMENTAL = "распылителем уборщика", + PREPOSITIONAL = "распылителе уборщика" + ) + icon_state = "cleaner_janitor" + item_state = "cleaner_jan" /obj/item/reagent_containers/spray/cleaner/janitor/empty - list_reagents = list() + list_reagents = list() /obj/item/reagent_containers/spray/cleaner/medical - name = "medical cleaner" - desc = "Disinfectant for hands, floor, and sole CMO" - icon_state = "cleaner_medical" - item_state = "cleaner_med" + name = "medical cleaner" + desc = "Распылитель, заполненный непенящимся средством для очистки поверхностей. Дезинфицирующее средство для рук, пола и халата Главного Врача." + ru_names = list( + NOMINATIVE = "медицинский распылитель", + GENITIVE = "медицинского распылителя", + DATIVE = "медицинскому распылителю", + ACCUSATIVE = "медицинский распылитель", + INSTRUMENTAL = "медицинским распылителем", + PREPOSITIONAL = "медицинском распылителе" + ) + icon_state = "cleaner_medical" + item_state = "cleaner_med" /obj/item/reagent_containers/spray/cleaner/medical/empty - list_reagents = list() + list_reagents = list() /obj/item/reagent_containers/spray/cleaner/tactical - name = "Tactical cleaner" - desc = "Бутылочка из прочнейшего тёмно-синего пластика, распылитель чёрного цвета украшен тактическим снаряжением, разработана уборочно-силовыми структурами Нанотрейзен для ЗАЧИСТКИ и контроля грязи в помещениях." - icon_state = "cleaner_tactical" - item_state = "cleaner_tactical" + name = "Tactical cleaner" + desc = "Бутылочка из прочнейшего тёмно-синего пластика, наверху которой прикреплён распылитель, оборудованный коллиматорным прицелом и глушителем. Разработано Уборочно-Силовыми Структурами Нанотрейзен для ЗАЧИСТКИ и контроля грязи в помещениях. Порадуйте своего внутреннего тактикульщика!" + ru_names = list( + NOMINATIVE = "тактический распылитель", + GENITIVE = "тактическего распылителя", + DATIVE = "тактическому распылителю", + ACCUSATIVE = "тактический распылитель", + INSTRUMENTAL = "тактическим распылителем", + PREPOSITIONAL = "тактическом распылителе" + ) + icon_state = "cleaner_tactical" + item_state = "cleaner_tactical" /obj/item/reagent_containers/spray/blue_cleaner - name = "bluespace cleaner" - desc = "A spray with an increased storage of reagents, or it's not that simple...." - icon_state = "cleaner_bluespace" - item_state = "cleaner_bs" - spray_maxrange = 4 - spray_currentrange = 4 - volume = 450 + name = "bluespace cleaner" + desc = "Распылитель с увеличенным объёмом, изготовленный с использованием блюспейс-технологий. Оно точно того стоило?" + ru_names = list( + NOMINATIVE = "блюспейс распылитель", + GENITIVE = "блюспейс распылителя", + DATIVE = "блюспейс распылителю", + ACCUSATIVE = "блюспейс распылитель", + INSTRUMENTAL = "блюспейс распылителем", + PREPOSITIONAL = "блюспейс распылителе" + ) + icon_state = "cleaner_bluespace" + item_state = "cleaner_bs" + spray_maxrange = 4 + spray_currentrange = 4 + volume = 450 /obj/item/reagent_containers/spray/cleaner/safety - desc = "BLAM!-brand non-foaming space cleaner! This spray bottle can only accept space cleaner." + desc = "Распылитель, заполненный непенящимся средством для очистки поверхностей. Эта модель принимает внутрь только космочист и ничего более." /obj/item/reagent_containers/spray/cleaner/safety/on_reagent_change() for(var/filth in reagents.reagent_list) @@ -160,13 +224,11 @@ if(R.id != "cleaner") //all chems other than space cleaner are filthy. reagents.del_reagent(R.id) if(ismob(loc)) - to_chat(loc, "[src] identifies and removes a filthy substance.") + to_chat(loc, span_warning("[capitalize(declent_ru(NOMINATIVE))] определяет и удаляет недопустимое вещество.")) else - visible_message("[src] identifies and removes a filthy substance.") + visible_message(span_warning("[capitalize(declent_ru(NOMINATIVE))] определяет и удаляет недопустимое вещество.")) /obj/item/reagent_containers/spray/cleaner/drone - name = "space cleaner" - desc = "BLAM!-brand non-foaming space cleaner!" volume = 50 list_reagents = list("cleaner" = 50) @@ -174,13 +236,29 @@ /obj/item/reagent_containers/spray/spraytan name = "spray tan" volume = 50 - desc = "Gyaro brand spray tan. Do not spray near eyes or other orifices." + desc = "Спрей-автозагар от бренда \"Gyaro\". Не попадите в глаза!" + ru_names = list( + NOMINATIVE = "спрей для авто-загара", + GENITIVE = "спрея для авто-загара", + DATIVE = "спрею для авто-загара", + ACCUSATIVE = "спрей для авто-загара", + INSTRUMENTAL = "спреем для авто-загара", + PREPOSITIONAL = "спрее для авто-загара" + ) list_reagents = list("spraytan" = 50) //pepperspray /obj/item/reagent_containers/spray/pepper name = "pepperspray" - desc = "Manufactured by UhangInc, used to blind and down an opponent quickly." + desc = "Произведено компанией \"UhangInc\", используется для быстрого ослепления и обезвреживания противника." + ru_names = list( + NOMINATIVE = "перцовый баллончик", + GENITIVE = "перцового баллончика", + DATIVE = "перцовому баллончику", + ACCUSATIVE = "перцовый баллончик", + INSTRUMENTAL = "перцовым баллончиком", + PREPOSITIONAL = "перцовом баллончике" + ) icon = 'icons/obj/items.dmi' icon_state = "pepperspray" item_state = "pepperspray" @@ -193,7 +271,15 @@ //water flower /obj/item/reagent_containers/spray/waterflower name = "water flower" - desc = "A seemingly innocent sunflower...with a twist." + desc = "Невинный на первый взгляд подсолнух... с изюминкой." + ru_names = list( + NOMINATIVE = "водяной подсолнух", + GENITIVE = "водяного подсолнуха", + DATIVE = "водяному подсолнуху", + ACCUSATIVE = "водяной подсолнух", + INSTRUMENTAL = "водяным подсолнухом", + PREPOSITIONAL = "водяном подсолнухе" + ) icon = 'icons/obj/hydroponics/harvest.dmi' icon_state = "sunflower" item_state = "sunflower" @@ -207,7 +293,15 @@ //chemsprayer /obj/item/reagent_containers/spray/chemsprayer name = "chem sprayer" - desc = "A utility used to spray large amounts of reagents in a given area." + desc = "Инструмент, используемый для распыления большого количества веществ в заданной области." + ru_names = list( + NOMINATIVE = "химический распылитель веществ", + GENITIVE = "химическего распылителя веществ", + DATIVE = "химическому распылителю веществ", + ACCUSATIVE = "химический распылитель веществ", + INSTRUMENTAL = "химическим распылителем веществ", + PREPOSITIONAL = "химическом распылителе веществ" + ) icon = 'icons/obj/weapons/projectile.dmi' icon_state = "chemsprayer" item_state = "chemsprayer" @@ -260,13 +354,21 @@ /obj/item/reagent_containers/spray/chemsprayer/attack_self(mob/user) amount_per_transfer_from_this = (amount_per_transfer_from_this == 10 ? 5 : 10) - to_chat(user, "You adjust the output switch. You'll now use [amount_per_transfer_from_this] units per spray.") + to_chat(user, span_notice("Вы настраиваете объём распыления. Теперь вы будете распылять по [amount_per_transfer_from_this] единиц[declension_ru(amount_per_transfer_from_this, "е", "ы", "")] содержимого за раз.")) // Plant-B-Gone /obj/item/reagent_containers/spray/plantbgone // -- Skie name = "Plant-B-Gone" - desc = "Kills those pesky weeds!" + desc = "Распылитель гербицидов для уничтожения этих надоедливых сорняков!" + ru_names = list( + NOMINATIVE = "распылитель гербицидов \"Plant-B-Gone\"", + GENITIVE = "распылителя гербицидов \"Plant-B-Gone\"", + DATIVE = "распылителю гербицидов \"Plant-B-Gone\"", + ACCUSATIVE = "распылитель гербицидов \"Plant-B-Gone\"", + INSTRUMENTAL = "распылителем гербицидов \"Plant-B-Gone\"", + PREPOSITIONAL = "распылителе гербицидов \"Plant-B-Gone\"" + ) icon = 'icons/obj/hydroponics/equipment.dmi' icon_state = "plantbgone" item_state = "plantbgone" diff --git a/code/modules/reagents/reagent_containers/syringes.dm b/code/modules/reagents/reagent_containers/syringes.dm index deb04e1959a..65f2405b985 100644 --- a/code/modules/reagents/reagent_containers/syringes.dm +++ b/code/modules/reagents/reagent_containers/syringes.dm @@ -3,8 +3,16 @@ #define SYRINGE_BROKEN 2 /obj/item/reagent_containers/syringe - name = "Syringe" - desc = "A syringe." + name = "syringe" + desc = "Это шприц. Он предназачен для введения и извлечения веществ из кровотока субъекта, а также для многих других целей." + ru_names = list( + NOMINATIVE = "шприц", + GENITIVE = "шприца", + DATIVE = "шприцу", + ACCUSATIVE = "шприц", + INSTRUMENTAL = "шприцем", + PREPOSITIONAL = "шприце" + ) icon = 'icons/goonstation/objects/syringe.dmi' item_state = "syringe_0" icon_state = "0" @@ -68,14 +76,14 @@ if(SYRINGE_DRAW) if(reagents.holder_full()) - to_chat(user, "The syringe is full.") + balloon_alert(user, "шприц полон!") return if(L) //living mob var/drawn_amount = reagents.maximum_volume - reagents.total_volume if(target != user) - target.visible_message("[user] is trying to take a blood sample from [target]!", \ - "[user] is trying to take a blood sample from [target]!") + target.visible_message(span_danger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся взять образец крови у [target]!"), \ + span_userdanger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся взять у вас образец крови!")) busy = TRUE if(!do_after(user, 3 SECONDS, target, NONE)) busy = FALSE @@ -84,60 +92,61 @@ return busy = FALSE if(L.transfer_blood_to(src, drawn_amount)) - user.visible_message("[user] takes a blood sample from [L].") + L.visible_message(span_danger("[user] взял[genderize_ru(user.gender, "", "а", "о", "и")] образец крови у [L]!"), \ + span_userdanger("[user] взял[genderize_ru(user.gender, "", "а", "о", "и")] у вас образец крови!")) else - to_chat(user, "You are unable to draw any blood from [L]!") + balloon_alert(user, "больше крови не взять!") else //if not mob if(!target.reagents.total_volume) - to_chat(user, "[target] is empty!") + balloon_alert(user, "пусто!") return if(!target.is_drawable(user)) - to_chat(user, "You cannot directly remove reagents from [target]!") + balloon_alert(user, "отсюда вещество не забрать!") return var/trans = target.reagents.trans_to(src, amount_per_transfer_from_this) // transfer from, transfer to - who cares? - to_chat(user, "You fill [src] with [trans] units of the solution. It now contains [reagents.total_volume] units.") + to_chat(user, span_notice("Вы заполняете [declent_ru(ACCUSATIVE)] [trans] единиц[declension_ru(trans, "ей", "ами", "ами")] вещества. Теперь он содержит [reagents.total_volume] единиц[declension_ru(reagents.total_volume, "у", "ы", "")] вещества.")) if(reagents.holder_full()) mode = !mode update_icon() if(SYRINGE_INJECT) if(!reagents.total_volume) - to_chat(user, "[src] is empty.") + balloon_alert(user, "шприц пуст!") return if(!L && !target.is_injectable(user)) //only checks on non-living mobs, due to how can_inject() handles - to_chat(user, "You cannot directly fill [target]!") + balloon_alert(user, "сюда вещество не ввести!") return if(target.reagents.total_volume >= target.reagents.maximum_volume) - to_chat(user, "[target] is full.") + balloon_alert(user, "нет места!") return if(L) //living mob if(!L.can_inject(user, TRUE)) return if(L != user) - L.visible_message("[user] is trying to inject [L]!", \ - "[user] is trying to inject you!") + L.visible_message(span_danger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся сделать [L] укол [declent_ru(INSTRUMENTAL)]!"), \ + span_userdanger("[user] пыта[pluralize_ru(user.gender, "ет", "ют")]ся сделать вам укол [declent_ru(INSTRUMENTAL)]!")) if(!do_after(user, 3 SECONDS, L, NONE)) return if(!reagents.total_volume) return if(L.reagents.total_volume >= L.reagents.maximum_volume) return - L.visible_message("[user] injects [L] with the syringe!", \ - "[user] injects [L] with the syringe!") + L.visible_message(span_danger("[user] дела[pluralize_ru(user.gender, "ет", "ют")] [L] укол [declent_ru(INSTRUMENTAL)]!"), \ + span_userdanger("[user] дела[pluralize_ru(user.gender, "ет", "ют")] вам укол [declent_ru(INSTRUMENTAL)]!")) add_attack_logs(user, target, "Injected with [name] containing [reagents.log_list()], transfered [amount_per_transfer_from_this] units", reagents.harmless_helper() ? ATKLOG_ALMOSTALL : null) var/fraction = min(amount_per_transfer_from_this / reagents.total_volume, 1) reagents.reaction(L, REAGENT_INGEST, fraction) reagents.trans_to(target, amount_per_transfer_from_this) - to_chat(user, "You inject [amount_per_transfer_from_this] units of the solution. The syringe now contains [reagents.total_volume] units.") + to_chat(user, span_notice("Вы вкололи [amount_per_transfer_from_this] единиц[declension_ru(amount_per_transfer_from_this, "у", "ы", "")] вещества с помощью [declent_ru(GENITIVE)]. В нём остаётся [reagents.total_volume] единиц[declension_ru(reagents.total_volume, "а", "ы", "")] вещества.")) if(istype(target, /obj/item/reagent_containers/food)) var/obj/item/reagent_containers/food/F = target F.log_eating = TRUE @@ -178,64 +187,160 @@ /obj/item/reagent_containers/syringe/antiviral name = "Syringe (spaceacillin)" - desc = "Contains antiviral agents." + desc = "Щприц с антибиотическим средством." + ru_names = list( + NOMINATIVE = "шприц (Космоциллин)", + GENITIVE = "шприца (Космоциллин)", + DATIVE = "шприцу (Космоциллин)", + ACCUSATIVE = "шприц (Космоциллин)", + INSTRUMENTAL = "шприцем (Космоциллин)", + PREPOSITIONAL = "шприце (Космоциллин)" + ) list_reagents = list("spaceacillin" = 15) /obj/item/reagent_containers/syringe/charcoal name = "Syringe (charcoal)" - desc = "Contains charcoal - used to treat toxins and damage from toxins." + desc = "Шприц со средством против отравлений." + ru_names = list( + NOMINATIVE = "шприц (Активированный уголь)", + GENITIVE = "шприца (Активированный уголь)", + DATIVE = "шприцу (Активированный уголь)", + ACCUSATIVE = "шприц (Активированный уголь)", + INSTRUMENTAL = "шприцем (Активированный уголь)", + PREPOSITIONAL = "шприце (Активированный уголь)" + ) list_reagents = list("charcoal" = 15) /obj/item/reagent_containers/syringe/epinephrine name = "Syringe (Epinephrine)" - desc = "Contains epinephrine - used to stabilize patients." + desc = "Шприц со средством для стабилизации критических пациентов." + ru_names = list( + NOMINATIVE = "шприц (Эпинефрин)", + GENITIVE = "шприца (Эпинефрин)", + DATIVE = "шприцу (Эпинефрин)", + ACCUSATIVE = "шприц (Эпинефрин)", + INSTRUMENTAL = "шприцем (Эпинефрин)", + PREPOSITIONAL = "шприце (Эпинефрин)" + ) list_reagents = list("epinephrine" = 15) /obj/item/reagent_containers/syringe/insulin name = "Syringe (insulin)" - desc = "Contains insulin - used to treat diabetes." + desc = "Шприц со средством для борьбы с диабетической комой." + ru_names = list( + NOMINATIVE = "шприц (Инсулин)", + GENITIVE = "шприца (Инсулин)", + DATIVE = "шприцу (Инсулин)", + ACCUSATIVE = "шприц (Инсулин)", + INSTRUMENTAL = "шприцем (Инсулин)", + PREPOSITIONAL = "шприце (Инсулин)" + ) list_reagents = list("insulin" = 15) /obj/item/reagent_containers/syringe/calomel name = "Syringe (calomel)" - desc = "Contains calomel, which be used to purge impurities, but is highly toxic itself." + desc = "Шприц со средством для выведения веществ из кровотока." + ru_names = list( + NOMINATIVE = "шприц (Каломель)", + GENITIVE = "шприца (Каломель)", + DATIVE = "шприцу (Каломель)", + ACCUSATIVE = "шприц (Каломель)", + INSTRUMENTAL = "шприцем (Каломель)", + PREPOSITIONAL = "шприце (Каломель)" + ) list_reagents = list("calomel" = 15) /obj/item/reagent_containers/syringe/heparin name = "Syringe (heparin)" - desc = "Contains heparin, a blood anticoagulant." + desc = "Шприц с антикоагулянтом." + ru_names = list( + NOMINATIVE = "шприц (Гепарин)", + GENITIVE = "шприца (Гепарин)", + DATIVE = "шприцу (Гепарин)", + ACCUSATIVE = "шприц (Гепарин)", + INSTRUMENTAL = "шприцем (Гепарин)", + PREPOSITIONAL = "шприце (Гепарин)" + ) list_reagents = list("heparin" = 15) /obj/item/reagent_containers/syringe/bioterror name = "bioterror syringe" - desc = "Contains several paralyzing reagents." + desc = "Щприц с несколькими нервно-паралитическими ядами." + ru_names = list( + NOMINATIVE = "шприц (Нейротоксины)", + GENITIVE = "шприца (Нейротоксины)", + DATIVE = "шприцу (Нейротоксины)", + ACCUSATIVE = "шприц (Нейротоксины)", + INSTRUMENTAL = "шприцем (Нейротоксины)", + PREPOSITIONAL = "шприце (Нейротоксины)" + ) list_reagents = list("neurotoxin" = 5, "capulettium_plus" = 5, "sodium_thiopental" = 5) /obj/item/reagent_containers/syringe/gluttony name = "Gluttony's Blessing" - desc = "A syringe recovered from a dread place. It probably isn't wise to use." + desc = "Странный шприц, измазанный в зелёной жиже." + ru_names = list( + NOMINATIVE = "шприц (Благословение Чревоугодия)", + GENITIVE = "шприца (Благословение Чревоугодия)", + DATIVE = "шприцу (Благословение Чревоугодия)", + ACCUSATIVE = "шприц (Благословение Чревоугодия)", + INSTRUMENTAL = "шприцем (Благословение Чревоугодия)", + PREPOSITIONAL = "шприце (Благословение Чревоугодия)" + ) amount_per_transfer_from_this = 1 volume = 1 list_reagents = list("gluttonytoxin" = 1) /obj/item/reagent_containers/syringe/capulettium_plus name = "capulettium plus syringe" - desc = "For silencing targets. Allows for fake deaths." + desc = "Шприц со средством для имитации смерти." + ru_names = list( + NOMINATIVE = "шприц (Капулеттий+)", + GENITIVE = "шприца (Капулеттий+)", + DATIVE = "шприцу (Капулеттий+)", + ACCUSATIVE = "шприц (Капулеттий+)", + INSTRUMENTAL = "шприцем (Капулеттий+)", + PREPOSITIONAL = "шприце (Капулеттий+)" + ) list_reagents = list("capulettium_plus" = 15) /obj/item/reagent_containers/syringe/sarin name = "sarin syringe" - desc = "A deadly neurotoxin, for killing." + desc = "Щприц со смертельно опасным нервно-паралитическим ядом." + ru_names = list( + NOMINATIVE = "шприц (Зарин)", + GENITIVE = "шприца (Зарин)", + DATIVE = "шприцу (Зарин)", + ACCUSATIVE = "шприц (Зарин)", + INSTRUMENTAL = "шприцем (Зарин)", + PREPOSITIONAL = "шприце (Зарин)" + ) list_reagents = list("sarin" = 15) /obj/item/reagent_containers/syringe/pancuronium name = "pancuronium syringe" - desc = "A powerful paralyzing poison." + desc = "Шприц с парализующим веществом." + ru_names = list( + NOMINATIVE = "шприц (Панкуроний+)", + GENITIVE = "шприца (Панкуроний+)", + DATIVE = "шприцу (Панкуроний+)", + ACCUSATIVE = "шприц (Панкуроний+)", + INSTRUMENTAL = "шприцем (Панкуроний+)", + PREPOSITIONAL = "шприце (Панкуроний+)" + ) list_reagents = list("pancuronium" = 15) /obj/item/reagent_containers/syringe/lethal name = "lethal injection syringe" - desc = "A syringe used for lethal injections. It can hold up to 50 units." + desc = "Шприц, используемый для смертельных инъекций. Вмещает в себя вплоть до 50 единиц вещества." + ru_names = list( + NOMINATIVE = "шприц (Смертельная инъекция)", + GENITIVE = "шприца (Смертельная инъекция)", + DATIVE = "шприцу (Смертельная инъекция)", + ACCUSATIVE = "шприц (Смертельная инъекция)", + INSTRUMENTAL = "шприцем (Смертельная инъекция)", + PREPOSITIONAL = "шприце (Смертельная инъекция)" + ) amount_per_transfer_from_this = 50 volume = 50 list_reagents = list("toxin" = 15, "pancuronium" = 10, "cyanide" = 5, "facid" = 10, "fluorine" = 10) diff --git a/strings/lobby_phrases.txt b/strings/lobby_phrases.txt index f599a5afc82..78e45344a2d 100644 --- a/strings/lobby_phrases.txt +++ b/strings/lobby_phrases.txt @@ -1,8 +1,8 @@ -Да это прямо как в книге Д. Оруэлла! +Да это прямо как в книге Дж. Оруэлла! Добро пожаловать в день сурка! Смешная надпись. Также известно как SunSpace. -ХОНК. +ХОНК! Также попробуйте Майнкрафт! Также попробуйте Террарию! КМ всегда был главой! @@ -14,9 +14,11 @@ Не будьте токсичными! Удачи и постарайтесь не сдохнуть. Выживает сильнейший. -Мы все пришли сюда получать удовольствие! -Война - мир. Свобода - рабство. Незнание - сила. +Мы все пришли сюда веселиться! Большой Брат следит за тобой. Насилие - это не выход. Выпрями спину! Не забывайте пить много воды! +Проветривай комнату! +Гулять на свежем воздухе полезно! +Администратор - твой друг. diff --git a/tgui/packages/tgui/interfaces/BodyScanner.js b/tgui/packages/tgui/interfaces/BodyScanner.js index 6aceee59039..91242c665d8 100644 --- a/tgui/packages/tgui/interfaces/BodyScanner.js +++ b/tgui/packages/tgui/interfaces/BodyScanner.js @@ -35,13 +35,13 @@ const abnormalities = [ ]; const damages = [ - ['Удушение', 'oxyLoss'], + ['Удушье', 'oxyLoss'], ['Повреждение мозга', 'brainLoss'], - ['Токсины', 'toxLoss'], + ['Отравление', 'toxLoss'], ['Радиационное поражение', 'radLoss'], - ['Физические повреждения', 'bruteLoss'], + ['Механические повреждения', 'bruteLoss'], ['Генетические повреждения', 'cloneLoss'], - ['Ожоги', 'fireLoss'], + ['Термические повреждения', 'fireLoss'], ['Паралич тела', 'paralysis'], ]; @@ -315,7 +315,7 @@ const BodyScannerMainOrgansExternal = (props) => { {!!o.bruteLoss && ( - + {round(o.bruteLoss)} @@ -323,7 +323,7 @@ const BodyScannerMainOrgansExternal = (props) => { )} {!!o.fireLoss && ( - + {round(o.fireLoss)} diff --git a/tgui/packages/tgui/interfaces/ChemDispenser.js b/tgui/packages/tgui/interfaces/ChemDispenser.js index 41a0225621f..d58df36733c 100644 --- a/tgui/packages/tgui/interfaces/ChemDispenser.js +++ b/tgui/packages/tgui/interfaces/ChemDispenser.js @@ -17,7 +17,7 @@ export const ChemDispenser = (props, context) => { const { act, data } = useBackend(context); const { chemicals } = data; return ( - + @@ -47,7 +47,7 @@ const ChemDispenserSettings = (properties, context) => { bad: [-Infinity, maxEnergy * 0.25], }} > - {energy} / {maxEnergy} Единиц + {energy} / {maxEnergy} единиц diff --git a/tgui/packages/tgui/interfaces/Cryo.js b/tgui/packages/tgui/interfaces/Cryo.js index 3d59329dfc6..1a1500b7d5a 100644 --- a/tgui/packages/tgui/interfaces/Cryo.js +++ b/tgui/packages/tgui/interfaces/Cryo.js @@ -14,19 +14,19 @@ import { Window } from '../layouts'; const damageTypes = [ { - label: 'Удушение', + label: 'Удушье', type: 'oxyLoss', }, { - label: 'Токсины', + label: 'Отравление', type: 'toxLoss', }, { - label: 'Физические повреждения', + label: 'Механические повреждения', type: 'bruteLoss', }, { - label: 'Ожоги', + label: 'Термические повреждения', type: 'fireLoss', }, ]; diff --git a/tgui/packages/tgui/interfaces/OperatingComputer.js b/tgui/packages/tgui/interfaces/OperatingComputer.js index e18d249e049..8ec4e75f065 100644 --- a/tgui/packages/tgui/interfaces/OperatingComputer.js +++ b/tgui/packages/tgui/interfaces/OperatingComputer.js @@ -20,10 +20,10 @@ const stats = [ ]; const damages = [ - ['Удушение', 'oxyLoss'], - ['Токсины', 'toxLoss'], - ['Физические повреждения', 'bruteLoss'], - ['Ожоги', 'fireLoss'], + ['Удушье', 'oxyLoss'], + ['Отравление', 'toxLoss'], + ['Механические повреждения', 'bruteLoss'], + ['Термические повреждения', 'fireLoss'], ]; const damageRange = { diff --git a/tgui/packages/tgui/interfaces/Sleeper.js b/tgui/packages/tgui/interfaces/Sleeper.js index 2ddc050fe82..6347cc52021 100644 --- a/tgui/packages/tgui/interfaces/Sleeper.js +++ b/tgui/packages/tgui/interfaces/Sleeper.js @@ -18,10 +18,10 @@ const stats = [ ]; const damages = [ - ['Удушье.', 'oxyLoss'], - ['Токсины', 'toxLoss'], - ['Физ.', 'bruteLoss'], - ['Ожоги', 'fireLoss'], + ['Удушье', 'oxyLoss'], + ['Отравление', 'toxLoss'], + ['Мех.', 'bruteLoss'], + ['Терм.', 'fireLoss'], ]; const damageRange = { diff --git a/tgui/packages/tgui/interfaces/VampireTrophiesStatus.js b/tgui/packages/tgui/interfaces/VampireTrophiesStatus.js index 76a9742b127..5b558afda3d 100644 --- a/tgui/packages/tgui/interfaces/VampireTrophiesStatus.js +++ b/tgui/packages/tgui/interfaces/VampireTrophiesStatus.js @@ -761,8 +761,8 @@ const MarkPrey = (props, context) => {
ОрганОжогиФиз. поврежденияТерм. поврежденияМех. поврежденияДругие повреждения
{inventory.map((product) => ( =48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},c=function(i){var C=String(i);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||S.includes(i.code))){C==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var V=h(i.code);if(V){var v=y[V];if(v)return k.debug("macro",v),Byond.command(v);if(i.isDown()&&!b[V]){b[V]=!0;var p='KeyDown "'+V+'"';return k.debug(p),Byond.command(p)}if(i.isUp()&&b[V]){b[V]=!1;var g='KeyUp "'+V+'"';return k.debug(g),Byond.command(g)}}}},u=r.acquireHotKey=function(){function s(i){S.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var C=S.indexOf(i);C>=0&&S.splice(C,1)}return s}(),l=r.releaseHeldKeys=function(){function s(){for(var i=0,C=Object.keys(b);i0||(0,a.fetchRetry)((0,e.resolveAsset)("icon_ref_map.json")).then(function(k){return k.json()}).then(function(k){return Byond.iconRefMap=k}).catch(function(k){return t.logger.log(k)})}return f}()},1090:function(w,r,n){"use strict";r.__esModule=!0,r.AICard=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AICard=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;if(c.has_ai===0)return(0,e.createComponentVNode)(2,o.Window,{width:250,height:120,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var u=null;return c.integrity>=75?u="green":c.integrity>=25?u="yellow":u="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:c.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:u,value:c.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,c.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:!!c.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:c.laws.map(function(m,l){return(0,e.createComponentVNode)(2,t.Box,{children:m},l)})})||(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:c.wireless?"check":"times",content:c.wireless?"Enabled":"Disabled",color:c.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:c.radio?"check":"times",content:c.radio?"Enabled":"Disabled",color:c.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:c.flushing||c.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return h("wipe")}return m}()})})]})})})]})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;if(c.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 u=!0;(c.stat===2||c.stat===null)&&(u=!1);var m=null;c.integrity>=75?m="green":c.integrity>=25?m="yellow":m="red";var l=!0;return c.integrity>=100&&c.stat!==2&&(l=!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:c.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:c.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:u?"green":"red",children:u?"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:!!c.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:c.laws.map(function(d,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d},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:c.wireless?"times":"check",content:c.wireless?"Disabled":"Enabled",color:c.wireless?"red":"green",onClick:function(){function d(){return h("wireless")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.radio?"times":"check",content:c.radio?"Disabled":"Enabled",color:c.radio?"red":"green",onClick:function(){function d(){return h("radio")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!l||c.active,content:!l||c.active?"Already Repaired":"Repair",onClick:function(){function d(){return h("fix")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:c.active?"Reconstruction in progress.":""})]})})]})})})}return k}()},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),k=r.APC=function(){function h(c,u){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}(),y={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},S={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.locked&&!d.siliconUser,i=d.normallyLocked,C=y[d.externalPower]||y[0],V=y[d.chargingStatus]||y[0],v=d.powerChannels||[],p=S[d.malfStatus]||S[0],g=d.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:d.isOperating?"power-off":"times",content:d.isOperating?"On":"Off",selected:d.isOperating&&!s,color:d.isOperating?"":"bad",disabled:s,onClick:function(){function N(){return l("breaker")}return N}()}),children:["[ ",C.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:g})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:V.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.chargeMode?"sync":"times",content:d.chargeMode?"Auto":"Off",selected:d.chargeMode,disabled:s,onClick:function(){function N(){return l("charge")}return N}()}),children:["[ ",V.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.map(function(N){var x=N.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:N.status>=2?"good":"bad",children:N.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(N.status===1||N.status===3),disabled:s,onClick:function(){function B(){return l("channel",x.auto)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&N.status===2,disabled:s,onClick:function(){function B(){return l("channel",x.on)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&N.status===0,disabled:s,onClick:function(){function B(){return l("channel",x.off)}return B}()})],4),children:[N.powerLoad," W"]},N.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[d.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!d.siliconUser&&(0,e.createFragment)([!!d.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:p.icon,content:p.content,color:"bad",onClick:function(){function N(){return l(p.action)}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function N(){return l("overload")}return N}()})],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:d.coverLocked?"lock":"unlock",content:d.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function N(){return l("cover")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:d.nightshiftLights?"Enabled":"Disabled",onClick:function(){function N(){return l("toggle_nightshift")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting Fallback",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:d.emergencyLights?"Engaged":"Disengaged",disabled:s,onClick:function(){function N(){return l("emergency_lighting")}return N}()})})]})})],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 l(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.view_screen,p=V.authenticated_account,g=V.ticks_left_locked_down,N=V.linked_db,x;if(g>0)x=(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)x=(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(p)switch(v){case 1:x=(0,e.createComponentVNode)(2,y);break;case 2:x=(0,e.createComponentVNode)(2,S);break;case 3:x=(0,e.createComponentVNode)(2,u);break;case 4:x=(0,e.createComponentVNode)(2,b);break;default:x=(0,e.createComponentVNode)(2,h)}else x=(0,e.createComponentVNode)(2,c);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Section,{children:x})]})})}return l}(),k=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.machine_id,p=V.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:p,icon:"eject",onClick:function(){function g(){return C("insert_card")}return g}()})})})]})},y=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function p(){return C("change_security_level",{new_security_level:0})}return p}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===1,onClick:function(){function p(){return C("change_security_level",{new_security_level:1})}return p}()})}),(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,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Card and Account Pin",icon:"unlock",selected:v===2,onClick:function(){function p(){return C("change_security_level",{new_security_level:2})}return p}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number, pin and card are required to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,m)]})},S=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=(0,a.useLocalState)(s,"targetAccNumber",0),p=v[0],g=v[1],N=(0,a.useLocalState)(s,"fundsAmount",0),x=N[0],B=N[1],L=(0,a.useLocalState)(s,"purpose",0),I=L[0],A=L[1],T=V.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:["$",T]}),(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 E(P,M){return g(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function E(P,M){return B(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function E(P,M){return A(M)}return E}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function E(){return C("transfer",{target_acc_number:p,funds_amount:x,purpose:I})}return E}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,m)]})},b=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.insurance_type;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u0442\u0438\u043F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u043A\u0438",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F",children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u041D\u0435\u0442 (0)",icon:"unlock",selected:v==="None",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"None"})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0411\u044E\u0434\u0436\u0435\u0442\u043D\u0430\u044F (0)",icon:"unlock",selected:v==="Bugetary",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"Bugetary"})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F (500)",icon:"unlock",selected:v==="Standart",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"Standart"})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0414\u0435\u043B\u044E\u043A\u0441 (2000)",icon:"unlock",selected:v==="Deluxe",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"Deluxe"})}return p}()})]})}),(0,e.createComponentVNode)(2,m)]})},h=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=(0,a.useLocalState)(s,"fundsAmount",0),p=v[0],g=v[1],N=(0,a.useLocalState)(s,"insuranceAmount",0),x=N[0],B=N[1],L=V.owner_name,I=V.money,A=V.insurance;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+L,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function T(){return C("logout")}return T}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",I]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function T(E,P){return g(P)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function T(){return C("withdrawal",{funds_amount:p})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Insurance Points",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Adding Insurance",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function T(E,P){return B(P)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Add insurance points",icon:"sign-out-alt",onClick:function(){function T(){return C("insurance",{insurance_amount:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Toggle auto-replenishment of insurance",icon:"sign-out-alt",onClick:function(){function T(){return C("insurance_replenishment",{})}return T}()})})]})}),(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 T(){return C("view_screen",{view_screen:1})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function T(){return C("view_screen",{view_screen:2})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function T(){return C("view_screen",{view_screen:3})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change type of insurance",icon:"lock",onClick:function(){function T(){return C("view_screen",{view_screen:4})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function T(){return C("balance_statement")}return T}()})})]})],4)},c=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=(0,a.useLocalState)(s,"accountID",null),p=v[0],g=v[1],N=(0,a.useLocalState)(s,"accountPin",null),x=N[0],B=N[1],L=V.machine_id,I=V.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 A(T,E){return g(E)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function A(T,E){return B(E)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function A(){return C("attempt_auth",{account_num:p,account_pin:x})}return A}()})})]})})},u=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:p.is_deposit?"green":"red",children:["$",p.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.target_name})]},p)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,m)]})},m=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return C("view_screen",{view_screen:0})}return v}()})}},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),k=n(98595),y=n(321),S=n(5485),b=r.AccountsUplinkTerminal=function(){function d(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.loginState,g=v.currentPage,N;if(p.logged_in)g===1?N=(0,e.createComponentVNode)(2,h):g===2?N=(0,e.createComponentVNode)(2,m):g===3&&(N=(0,e.createComponentVNode)(2,l));else return(0,e.createComponentVNode)(2,k.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,k.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,k.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:N})]})})})}return d}(),h=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.accounts,g=(0,t.useLocalState)(i,"searchText",""),N=g[0],x=g[1],B=(0,t.useLocalState)(i,"sortId","owner_name"),L=B[0],I=B[1],A=(0,t.useLocalState)(i,"sortOrder",!0),T=A[0],E=A[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,c,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,c,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,c,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,c,{id:"money",children:"Account Balance"})]}),p.filter((0,a.createSearch)(N,function(P){return P.owner_name+"|"+P.account_number+"|"+P.suspended+"|"+P.money})).sort(function(P,M){var O=T?1:-1;return P[L].localeCompare(M[L])*O}).map(function(P){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+P.suspended,onClick:function(){function M(){return V("view_account_detail",{index:P.account_index})}return M}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",P.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",P.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.money})]},P.account_number)})]})})})]})},c=function(s,i){var C=(0,t.useLocalState)(i,"sortId","name"),V=C[0],v=C[1],p=(0,t.useLocalState)(i,"sortOrder",!0),g=p[0],N=p[1],x=s.id,B=s.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:V!==x&&"transparent",width:"100%",onClick:function(){function L(){V===x?N(!g):(v(x),N(!0))}return L}(),children:[B,V===x&&(0,e.createComponentVNode)(2,o.Icon,{name:g?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.is_printing,g=(0,t.useLocalState)(i,"searchText",""),N=g[0],x=g[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 B(){return V("create_new_account")}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"print",content:"Print Account List",disabled:p,ml:"0.25rem",onClick:function(){function B(){return V("print_records")}return B}()})]}),(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 B(L,I){return x(I)}return B}()})})]})},m=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.account_number,g=v.owner_name,N=v.money,x=v.suspended,B=v.transactions;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:"#"+p+" / "+g,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function L(){return V("back")}return L}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",p]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:g}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:N}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:x?"red":"green",children:[x?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:x?"Unsuspend":"Suspend",icon:x?"unlock":"lock",onClick:function(){function L(){return V("toggle_suspension")}return L}()})]})]})})}),(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"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:L.is_deposit?"green":"red",children:["$",L.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.target_name})]},L)})]})})})]})},l=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=(0,t.useLocalState)(i,"accName",""),g=p[0],N=p[1],x=(0,t.useLocalState)(i,"accDeposit",""),B=x[0],L=x[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 I(){return V("back")}return I}()}),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 I(A,T){return N(T)}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function I(A,T){return L(T)}return I}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function I(){return V("finalise_create_account",{holder_name:g,starting_funds:B})}return I}()})]})}},23001:function(w,r,n){"use strict";r.__esModule=!0,r.AdminAntagMenu=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(36352),k=n(98595),y=n(321),S=n(5485),b={0:"\u0410\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u044B",1:"\u0426\u0435\u043B\u0438",2:"\u0421\u0411",3:"\u041E\u0441\u043E\u0431\u043E \u0446\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u044B",default:"\u0427\u0442\u043E-\u0442\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0440\u0430 \u043F\u0438\u0441\u0430\u0442\u044C \u0431\u0430\u0433 \u0440\u0435\u043F\u043E\u0440\u0442!"},h={0:function(){function V(){return(0,e.createComponentVNode)(2,l)}return V}(),1:function(){function V(){return(0,e.createComponentVNode)(2,d)}return V}(),2:function(){function V(){return(0,e.createComponentVNode)(2,s)}return V}(),3:function(){function V(){return(0,e.createComponentVNode)(2,i)}return V}(),default:function(){function V(){return"\u0427\u0442\u043E-\u0442\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0440\u0430 \u043F\u0438\u0441\u0430\u0442\u044C \u0431\u0430\u0433 \u0440\u0435\u043F\u043E\u0440\u0442!"}return V}()},c=function(v){return b[v]||b.default},u=function(v){return h[v]||h.default},m=r.AdminAntagMenu=function(){function V(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.loginState,L=x.currentPage,I=(0,t.useLocalState)(p,"tabIndex",0),A=I[0],T=I[1],E=(0,t.useLocalState)(p,"searchText",""),P=E[0],M=E[1];return(0,e.createComponentVNode)(2,k.Window,{width:800,height:600,title:"\u041C\u0435\u043D\u044E \u0441\u043F\u0435\u0446-\u0440\u043E\u043B\u0435\u0439",children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,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.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===0,onClick:function(){function O(){T(0)}return O}(),icon:"user",children:"\u0410\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u044B"},"Antagonists"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===1,onClick:function(){function O(){T(1)}return O}(),icon:"people-robbery",children:"\u0426\u0435\u043B\u0438"},"Objectives"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===2,onClick:function(){function O(){T(2)}return O}(),icon:"handcuffs",children:"\u0421\u0411"},"Security"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===3,onClick:function(){function O(){T(3)}return O}(),icon:"lock",children:"\u041E\u0441\u043E\u0431\u043E \u0446\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u044B"},"HighValueItems")]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:c(A),fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C...",width:"300px",onInput:function(){function O(R,F){return M(F)}return O}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",onClick:function(){function O(){return N("refresh")}return O}(),children:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"})]}),children:u(A)()})})]})})})}return V}(),l=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.antagonists,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId","antag_names"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1],F=Object.keys(B);if(!F||F.length===0)return(0,e.createVNode)(1,"div",null,"\u041D\u0435\u0442 \u0430\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u043E\u0432.",16);var W=F.map(function(j){return Object.assign({key:j},B[j])});return(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{id:"name",children:"\u0418\u043C\u044F \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0430"}),(0,e.createComponentVNode)(2,C,{id:"",children:"\u041A\u043D\u043E\u043F\u043A\u0438"}),(0,e.createComponentVNode)(2,C,{id:"antag_names",children:"\u0422\u0438\u043F(-\u044B) \u0430\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u043E\u0432"}),(0,e.createComponentVNode)(2,C,{id:"status",children:"\u0421\u0442\u0430\u0442\u0443\u0441"})]}),W.filter((0,a.createSearch)(I,function(j){var U=j.key,K=j.name,Y=j.status,ne=j.antag_names;return K+"|"+Y+"|"+ne.join(", ")})).sort(function(j,U){var K=O?1:-1;if(j[E]===void 0||j[E]===null)return K;if(U[E]===void 0||U[E]===null)return-1*K;if(typeof j[E]=="number")return(j[E]-U[E])*K;var Y=j[E],ne=U[E];return E==="antag_names"&&(Y=j[E].join(", "),ne=U[E].join(", ")),Y.localeCompare(ne)*K}).map(function(j,U){var K=j.key,Y=j.name,ne=j.body_destroyed,$=j.is_hijacker,le=j.antag_mind_uid,de=j.ckey,oe=j.status,re=j.antag_names;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:ne?Y:(0,e.createComponentVNode)(2,o.Button,{color:$||!Y?"red":"",tooltip:$?"\u0423\u0433\u043E\u043D\u0449\u0438\u043A \u0448\u0430\u0442\u0442\u043B\u0430":"",onClick:function(){function Z(){return N("show_player_panel",{mind_uid:le})}return Z}(),children:Y||"??? (\u041D\u0415\u0422 \u0418\u041C\u0415\u041D\u0418)"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("pm",{ckey:de})}return Z}(),children:"PM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("follow",{datum_uid:le})}return Z}(),children:"FLW"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("obs",{mind_uid:le})}return Z}(),children:"OBS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("tp",{mind_uid:le})}return Z}(),children:"TP"})]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:re.join(", ")}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:oe?"red":"grey",children:oe||"\u0416\u0438\u0432"})})]},U)})]})},d=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.objectives,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId2","target_name"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1];return B.length?(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"obj_name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"target_name",children:"\u0426\u0435\u043B\u044C"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"status",children:"\u0421\u0442\u0430\u0442\u0443\u0441"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"owner_name",children:"\u0425\u043E\u0437\u044F\u0438\u043D"})]}),B.filter((0,a.createSearch)(I,function(F){return F.obj_name+"|"+F.target_name+"|"+(F.status?"success":"incompleted")+"|"+F.owner_name})).sort(function(F,W){var j=O?1:-1;return F[E]===void 0||F[E]===null||E==="target_name"&&F.no_target?j:W[E]===void 0||W[E]===null||E==="target_name"&&W.no_target?-1*j:typeof F[E]=="number"?(F[E]-W[E])*j:F[E].localeCompare(W[E])*j}).map(function(F,W){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{tooltip:F.obj_desc,onClick:function(){function j(){return N("vv",{uid:F.obj_uid})}return j}(),children:F.obj_name})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.no_target?"":F.track.length?F.track.map(function(j,U){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){return N("follow",{datum_uid:j})}return K}(),children:[F.target_name," ",F.track.length>1?"("+(parseInt(U,10)+1)+")":""]},U)}):F.target_name+" (\u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E)"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:F.status?"green":"grey",children:F.status?"\u0423\u0441\u043F\u0435\u0448\u043D\u043E":"\u041D\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function j(){N("obj_owner",{owner_uid:F.owner_uid})}return j}(),children:F.owner_name})})]},W)})]}):"\u041D\u0435\u0442 \u0446\u0435\u043B\u0435\u0439!"},s=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.security,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId3","health"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1],F=function(U){return U.status===2?"red":U.status===1?"orange":U.broken_bone||U.internal_bleeding?"yellow":"grey"},W=function(U){return U.status===2?"\u041C\u0451\u0440\u0442\u0432":U.status===1?"\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F":U.broken_bone&&U.internal_bleeding?"\u0421\u043B\u043E\u043C\u0430\u043D\u0430 \u043A\u043E\u0441\u0442\u044C, \u0412\u041A":U.broken_bone?"\u0421\u043B\u043E\u043C\u0430\u043D\u0430 \u043A\u043E\u0441\u0442\u044C":U.internal_bleeding?"\u0412\u041A":"\u0416\u0438\u0432"};return B.length?(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"role",children:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"status",children:"\u0421\u0442\u0430\u0442\u0443\u0441"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"antag",children:"\u0410\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"health",children:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435"})]}),B.filter((0,a.createSearch)(I,function(j){return j.name+"|"+j.role+"|"+W(j)+"|"+j.antag})).sort(function(j,U){var K=O?1:-1;return j[E]===void 0||j[E]===null?K:U[E]===void 0||U[E]===null?-1*K:typeof j[E]=="number"?(j[E]-U[E])*K:j[E].localeCompare(U[E])*K}).map(function(j,U){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){return N("show_player_panel",{mind_uid:j.mind_uid})}return K}(),children:j.name})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:j.role}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:F(j),children:W(j)})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:j.antag?(0,e.createComponentVNode)(2,o.Button,{textColor:"red",translucent:!0,onClick:function(){function K(){N("tp",{mind_uid:j.mind_uid})}return K}(),children:j.antag}):""}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,value:j.health/j.max_health,maxValue:1,ranges:{good:[.6,1/0],average:[0,.6],bad:[-1/0,0]},children:j.health})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){N("pm",{ckey:j.ckey})}return K}(),children:"PM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){N("follow",{datum_uid:j.mind_uid})}return K}(),children:"FLW"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){N("obs",{mind_uid:j.mind_uid})}return K}(),children:"OBS"})]})]},U)})]}):"\u041D\u0435\u0442\u0443 \u0421\u0411!"},i=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.high_value_items,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId4","person"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1];return B.length?(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"person",children:"\u041D\u043E\u0441\u0438\u0442\u0435\u043B\u044C"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"loc",children:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"admin_z",children:"\u0410\u0434\u043C\u0438\u043D\u0441\u043A\u0438\u0439 Z-\u0443\u0440\u043E\u0432\u0435\u043D\u044C"})]}),B.filter((0,a.createSearch)(I,function(F){return F.name+"|"+F.loc})).sort(function(F,W){var j=O?1:-1;return F[E]===void 0||F[E]===null?j:W[E]===void 0||W[E]===null?-1*j:typeof F[E]=="number"?(F[E]-W[E])*j:F[E].localeCompare(W[E])*j}).map(function(F,W){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{tooltip:F.obj_desc,translucent:F.admin_z,onClick:function(){function j(){return N("vv",{uid:F.uid})}return j}(),children:F.name})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:F.admin_z?"grey":"",children:F.person})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:F.admin_z?"grey":"",children:F.loc})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:"grey",children:F.admin_z?"\u0414\u0430":"\u041D\u0435\u0442"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function j(){N("follow",{datum_uid:F.uid})}return j}(),children:"FLW"})})]},W)})]}):"\u041D\u0435\u0442 \u043E\u0441\u043E\u0431\u043E \u0446\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u0432!"},C=function(v,p){var g=v.id,N=v.sort_group,x=N===void 0?"sortId":N,B=v.default_sort,L=B===void 0?"antag_names":B,I=v.children,A=(0,t.useLocalState)(p,x,L),T=A[0],E=A[1],P=(0,t.useLocalState)(p,"sortOrder",!0),M=P[0],O=P[1];return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:T!==g&&"transparent",width:"100%",onClick:function(){function R(){T===g?O(!M):(E(g),O(!0))}return R}(),children:[I,T===g&&(0,e.createComponentVNode)(2,o.Icon,{name:M?"sort-up":"sort-down",ml:"0.25rem;"})]})})}},79571:function(w,r,n){"use strict";r.__esModule=!0,r.AgentCardSLSlots=r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=r.AgentCard=function(){function h(c,u){var m=(0,t.useLocalState)(u,"tabIndex",0),l=m[0],d=m[1],s=function(){function i(C){switch(C){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);default:return(0,e.createComponentVNode)(2,y)}}return i}();return(0,e.createComponentVNode)(2,f.Window,{width:500,height:475,theme:"syndicate",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:l===0,onClick:function(){function i(){return d(0)}return i}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:l===1,onClick:function(){function i(){return d(1)}return i}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"id-card"})," Appearance"]},"Appearance"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:l===2,onClick:function(){function i(){return d(2)}return i}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"arrow-down"})," Save/Load Card Info"]},"Save/Load Card Info")]}),s(l)]})})})}return h}(),y=r.AgentCardInfo=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.registered_name,i=d.sex,C=d.age,V=d.assignment,v=d.associated_account_number,p=d.blood_type,g=d.dna_hash,N=d.fingerprint_hash,x=d.photo,B=d.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Button,{content:s||"[UNSET]",onClick:function(){function L(){return l("change_name")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,o.Button,{iconRight:!1,content:i||"[UNSET]",onClick:function(){function L(){return l("change_sex")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,o.Button,{content:C||"[UNSET]",onClick:function(){function L(){return l("change_age")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,o.Button,{content:V||"[UNSET]",onClick:function(){function L(){return l("change_occupation")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,o.Button,{content:N||"[UNSET]",onClick:function(){function L(){return l("change_fingerprints")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,o.Button,{content:p||"[UNSET]",onClick:function(){function L(){return l("change_blood_type")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,o.Button,{content:g||"[UNSET]",onClick:function(){function L(){return l("change_dna_hash")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,o.Button,{content:v||"[UNSET]",onClick:function(){function L(){return l("change_money_account")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,o.Button,{content:x?"Update":"[UNSET]",onClick:function(){function L(){return l("change_photo")}return L}()})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Card Settings",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,o.Button,{content:"Delete Card Info",onClick:function(){function L(){return l("delete_info")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,o.Button,{content:"Reset Access",onClick:function(){function L(){return l("clear_access")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,o.Button,{content:B?"Untrackable":"Trackable",onClick:function(){function L(){return l("change_ai_tracking")}return L}()})})]})})],4)}return h}(),S=r.AgentCardAppearances=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.appearances;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Card Appearance",children:s.map(function(i){return(0,e.createComponentVNode)(2,o.ImageButton,{tooltip:i,vertical:!0,asset:!0,style:{margin:"1px"},image:i,imageAsset:"id_card64x64",onclick:function(){function C(){return l("change_appearance_new",{new_appearance:i})}return C}()},i)})})}return h}(),b=r.AgentCardSLSlots=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.saved_info;return(0,e.createComponentVNode)(2,o.Section,{title:"Save/Load Manager",style:{"line-height":"25px"},children:(0,e.createComponentVNode)(2,o.LabeledList,{children:s.map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.registered_name?i.registered_name+", "+i.assignment:"Slot "+i.id,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Clear",onClick:function(){function C(){return l("clear_slot",{slot:i.id})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Save",onClick:function(){function C(){return l("save_slot",{slot:i.id})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Load",disabled:!i.registered_name,onClick:function(){function C(){return l("load_slot",{slot:i.id})}return C}()})],4)},i.id)})})})}return h}()},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"}},k=r.AiAirlock=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=f[u.power.main]||f[0],l=f[u.power.backup]||f[0],d=f[u.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:!u.power.main,content:"Disrupt",onClick:function(){function s(){return c("disrupt-main")}return s}()}),children:[u.power.main?"Online":"Offline"," ",!u.wires.main_power&&"[Wires have been cut!]"||u.power.main_timeleft>0&&"["+u.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:l.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!u.power.backup,content:"Disrupt",onClick:function(){function s(){return c("disrupt-backup")}return s}()}),children:[u.power.backup?"Online":"Offline"," ",!u.wires.backup_power&&"[Wires have been cut!]"||u.power.backup_timeleft>0&&"["+u.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:d.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(u.wires.shock&&u.shock!==2),content:"Restore",onClick:function(){function s(){return c("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!u.wires.shock,content:"Temporary",onClick:function(){function s(){return c("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!u.wires.shock||u.shock===0,content:"Permanent",onClick:function(){function s(){return c("shock-perm")}return s}()})],4),children:[u.shock===2?"Safe":"Electrified"," ",!u.wires.shock&&"[Wires have been cut!]"||u.shock_timeleft>0&&"["+u.shock_timeleft+"s]"||u.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:u.id_scanner?"power-off":"times",content:u.id_scanner?"Enabled":"Disabled",selected:u.id_scanner,disabled:!u.wires.id_scanner,onClick:function(){function s(){return c("idscan-toggle")}return s}()}),children:!u.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:u.emergency?"power-off":"times",content:u.emergency?"Enabled":"Disabled",selected:u.emergency,onClick:function(){function s(){return c("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:u.locked?"lock":"unlock",content:u.locked?"Lowered":"Raised",selected:u.locked,disabled:!u.wires.bolts,onClick:function(){function s(){return c("bolt-toggle")}return s}()}),children:!u.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:u.lights?"power-off":"times",content:u.lights?"Enabled":"Disabled",selected:u.lights,disabled:!u.wires.lights,onClick:function(){function s(){return c("light-toggle")}return s}()}),children:!u.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:u.safe?"power-off":"times",content:u.safe?"Enabled":"Disabled",selected:u.safe,disabled:!u.wires.safe,onClick:function(){function s(){return c("safe-toggle")}return s}()}),children:!u.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:u.speed?"power-off":"times",content:u.speed?"Enabled":"Disabled",selected:u.speed,disabled:!u.wires.timing,onClick:function(){function s(){return c("speed-toggle")}return s}()}),children:!u.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:u.opened?"sign-out-alt":"sign-in-alt",content:u.opened?"Open":"Closed",selected:u.opened,disabled:u.locked||u.welded,onClick:function(){function s(){return c("open-close")}return s}()}),children:!!(u.locked||u.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),u.locked?"bolted":"",u.locked&&u.welded?" and ":"",u.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},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),k=r.AirAlarm=function(){function d(s,i){var C=(0,a.useBackend)(i),V=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 d}(),y=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.air,g=v.mode,N=v.atmos_alarm,x=v.locked,B=v.alarmActivated,L=v.rcon,I=v.target_temp,A;return p.danger.overall===0?N===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:y(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:g===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:g===3,icon:"exclamation-triangle",onClick:function(){function T(){return V("mode",{mode:g===3?1:3})}return T}()})],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:y(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:y(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:y(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:y(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:y(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:y(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(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:I+" C",onClick:function(){function T(){return V("temperature")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:p.thermostat_state?"On":"Off",selected:p.thermostat_state,icon:"power-off",onClick:function(){function T(){return V("thermostat_state")}return T}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.overall),children:[A,!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:B?"Reset Alarm":"Activate Alarm",selected:B,onClick:function(){function T(){return V(B?"atmos_reset":"atmos_alarm")}return T}()})],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 T(){return V("set_rcon",{rcon:1})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function T(){return V("set_rcon",{rcon:2})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function T(){return V("set_rcon",{rcon:3})}return T}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},b=function(s,i){var C=(0,a.useLocalState)(i,"tabIndex",0),V=C[0],v=C[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:V===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:V===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:V===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:V===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,i){var C=(0,a.useLocalState)(i,"tabIndex",0),V=C[0],v=C[1];switch(V){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,l);default:return"WE SHOULDN'T BE HERE!"}},c=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.vents;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.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:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function N(){return V("command",{cmd:"power",val:g.power===1?0:1,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.direction==="release"?"Blowing":"Siphoning",icon:g.direction==="release"?"sign-out-alt":"sign-in-alt",onClick:function(){function N(){return V("command",{cmd:"direction",val:g.direction==="release"?0:1,id_tag:g.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:g.checks===1,onClick:function(){function N(){return V("command",{cmd:"checks",val:1,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:g.checks===2,onClick:function(){function N(){return V("command",{cmd:"checks",val:2,id_tag:g.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function N(){return V("command",{cmd:"set_external_pressure",id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function N(){return V("command",{cmd:"set_external_pressure",val:101.325,id_tag:g.id_tag})}return N}()})]})]})},g.name)})},u=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.scrubbers;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.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:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function N(){return V("command",{cmd:"power",val:g.power===1?0:1,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.scrubbing?"Scrubbing":"Siphoning",icon:g.scrubbing?"filter":"sign-in-alt",onClick:function(){function N(){return V("command",{cmd:"scrubbing",val:g.scrubbing===0?1:0,id_tag:g.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:g.widenet?"Extended":"Normal",selected:g.widenet,icon:"expand-arrows-alt",onClick:function(){function N(){return V("command",{cmd:"widenet",val:g.widenet===0?1:0,id_tag:g.id_tag})}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:g.filter_co2,onClick:function(){function N(){return V("command",{cmd:"co2_scrub",val:g.filter_co2===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:g.filter_toxins,onClick:function(){function N(){return V("command",{cmd:"tox_scrub",val:g.filter_toxins===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:g.filter_n2o,onClick:function(){function N(){return V("command",{cmd:"n2o_scrub",val:g.filter_n2o===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:g.filter_o2,onClick:function(){function N(){return V("command",{cmd:"o2_scrub",val:g.filter_o2===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:g.filter_n2,onClick:function(){function N(){return V("command",{cmd:"n2_scrub",val:g.filter_n2===0?1:0,id_tag:g.id_tag})}return N}()})]})]})},g.name)})},m=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.modes,g=v.presets,N=v.emagged,x=v.mode,B=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&&!!N)&&(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===x,onClick:function(){function I(){return V("mode",{mode:L.id})}return I}()})}),(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:g.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===B,onClick:function(){function I(){return V("preset",{preset:L.id})}return I}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},l=function(s,i){var C=(0,a.useBackend)(i),V=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(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.name}),g.settings.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:N.selected===-1?"Off":N.selected,onClick:function(){function x(){return V("command",{cmd:"set_threshold",env:N.env,var:N.val})}return x}()})},N.val)})]},g.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.exterior_status,m=c.interior_status,l=c.processing,d,s;return u==="open"?d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:l,onClick:function(){function i(){return h("force_ext")}return i}()}):d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:l,onClick:function(){function i(){return h("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:l,color:m==="open"?"red":l?"yellow":null,onClick:function(){function i(){return h("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:l,onClick:function(){function i(){return h("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:u==="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:[d,s]})})]})})}return k}()},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),k=1,y=2,S=4,b=8,h=r.AirlockElectronics=function(){function m(l,d){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,c),(0,e.createComponentVNode)(2,u)]})})})}return m}(),c=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=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:V&S?"selected":null,onClick:function(){function v(){return i("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:V&y?"selected":null,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:y})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:V&b?"selected":null,onClick:function(){function v(){return i("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:V&k?"selected":null,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:k})}return v}()})})]})]})})},u=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=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 g(){return i("set_one_access",{access:"one"})}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function g(){return i("set_one_access",{access:"all"})}return g}()})],4),accesses:p,selectedList:V,accessMod:function(){function g(N){return i("set",{access:N})}return g}(),grantAll:function(){function g(){return i("grant_all")}return g}(),denyAll:function(){function g(){return i("clear_all")}return g}(),grantDep:function(){function g(N){return i("grant_region",{region:N})}return g}(),denyDep:function(){function g(N){return i("deny_region",{region:N})}return g}()})}},47365:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(70611),o=n(72253),f=n(36036),k=n(98595),y=function(c){return c[c.Increment=1]="Increment",c[c.Decrement=-1]="Decrement",c}(y||{}),S=r.AlertModal=function(){function c(u,m){var l=(0,o.useBackend)(m),d=l.act,s=l.data,i=s.autofocus,C=s.buttons,V=C===void 0?[]:C,v=s.large_buttons,p=s.message,g=p===void 0?"":p,N=s.timeout,x=s.title,B=(0,o.useLocalState)(m,"selected",0),L=B[0],I=B[1],A=V.some(function(R){return R.length>10}),T=A&&v?20:15,E=120+(A?T*V.length:0)+(g.length>40?Math.ceil(g.length/3):0)+(g.length&&v?5:0),P=345+(V.length>2?55:0),M=function(){function R(F){switch(F.key){case t.KEY.Space:case t.KEY.Enter:d("choose",{choice:V[L]});return;case t.KEY.Escape:d("cancel");return;case t.KEY.Left:F.preventDefault(),O(y.Decrement);return;case t.KEY.Tab:case t.KEY.Right:F.preventDefault(),O(y.Increment);return}}return R}(),O=function(){function R(F){var W=(L+F+V.length)%V.length;I(W)}return R}();return(0,e.createComponentVNode)(2,k.Window,{title:x,height:E,width:P,children:[!!N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:M,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:g})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[!!i&&(0,e.createComponentVNode)(2,f.Autofocus),A?(0,e.createComponentVNode)(2,h,{selected:L}):(0,e.createComponentVNode)(2,b,{selected:L})]})]})})})]})}return c}(),b=function(u,m){var l=(0,o.useBackend)(m),d=l.act,s=l.data,i=s.buttons,C=i===void 0?[]:i,V=s.large_buttons,v=s.swapped_buttons,p=u.selected;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,justify:"space-around",reverse:!v,children:C.map(function(g,N){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:V?1:void 0,children:(0,e.createComponentVNode)(2,f.Button,{fluid:!!V,minWidth:5,onClick:function(){function x(){return d("choose",{choice:g})}return x}(),overflowX:"hidden",px:2,py:V?.5:0,selected:p===N,textAlign:"center",children:V?g.toUpperCase():g})},N)})})},h=function(u,m){var l=(0,o.useBackend)(m),d=l.act,s=l.data,i=s.buttons,C=i===void 0?[]:i,V=s.large_buttons,v=s.swapped_buttons,p=u.selected;return(0,e.createComponentVNode)(2,f.Stack,{align:"center",fill:!0,justify:"space-around",reverse:!v,vertical:!0,children:C.map(function(g,N){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,width:V?"100%":void 0,m:0,mb:V?2.5:0,children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,minWidth:20,onClick:function(){function x(){return d("choose",{choice:g})}return x}(),overflowX:"hidden",px:2,py:V?.5:0,selected:p===N,textAlign:"center",children:V?g.toUpperCase():g})},N)})})}},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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.change_race,l=u.species,d=u.specimen,s=u.change_gender,i=u.gender,C=u.has_gender,V=u.change_eye_color,v=u.change_skin_tone,p=u.change_skin_color,g=u.change_head_accessory_color,N=u.change_hair_color,x=u.change_secondary_hair_color,B=u.change_facial_hair_color,L=u.change_secondary_facial_hair_color,I=u.change_head_marking_color,A=u.change_body_marking_color,T=u.change_tail_marking_color,E=u.change_head_accessory,P=u.head_accessory_styles,M=u.head_accessory_style,O=u.change_hair,R=u.hair_styles,F=u.hair_style,W=u.change_hair_gradient,j=u.change_facial_hair,U=u.facial_hair_styles,K=u.facial_hair_style,Y=u.change_head_markings,ne=u.head_marking_styles,$=u.head_marking_style,le=u.change_body_markings,de=u.body_marking_styles,oe=u.body_marking_style,re=u.change_tail_markings,Z=u.tail_marking_styles,ae=u.tail_marking_style,J=u.change_body_accessory,X=u.body_accessory_styles,Q=u.body_accessory_style,q=u.change_alt_head,te=u.alt_head_styles,fe=u.alt_head_style,ye=!1;return(V||v||p||g||N||x||B||L||I||A||T)&&(ye=!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:l.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.specimen,selected:pe.specimen===d,onClick:function(){function Le(){return c("race",{race:pe.specimen})}return Le}()},pe.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function pe(){return c("gender",{gender:"male"})}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function pe(){return c("gender",{gender:"female"})}return pe}()}),!C&&(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function pe(){return c("gender",{gender:"plural"})}return pe}()})]}),!!ye&&(0,e.createComponentVNode)(2,k),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:P.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.headaccessorystyle,selected:pe.headaccessorystyle===M,onClick:function(){function Le(){return c("head_accessory",{head_accessory:pe.headaccessorystyle})}return Le}()},pe.headaccessorystyle)})}),!!O&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:R.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.hairstyle,selected:pe.hairstyle===F,onClick:function(){function Le(){return c("hair",{hair:pe.hairstyle})}return Le}()},pe.hairstyle)})}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function pe(){return c("hair_gradient")}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function pe(){return c("hair_gradient_offset")}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function pe(){return c("hair_gradient_colour")}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function pe(){return c("hair_gradient_alpha")}return pe}()})]}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.facialhairstyle,selected:pe.facialhairstyle===K,onClick:function(){function Le(){return c("facial_hair",{facial_hair:pe.facialhairstyle})}return Le}()},pe.facialhairstyle)})}),!!Y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:ne.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.headmarkingstyle,selected:pe.headmarkingstyle===$,onClick:function(){function Le(){return c("head_marking",{head_marking:pe.headmarkingstyle})}return Le}()},pe.headmarkingstyle)})}),!!le&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:de.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.bodymarkingstyle,selected:pe.bodymarkingstyle===oe,onClick:function(){function Le(){return c("body_marking",{body_marking:pe.bodymarkingstyle})}return Le}()},pe.bodymarkingstyle)})}),!!re&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:Z.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.tailmarkingstyle,selected:pe.tailmarkingstyle===ae,onClick:function(){function Le(){return c("tail_marking",{tail_marking:pe.tailmarkingstyle})}return Le}()},pe.tailmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:X.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.bodyaccessorystyle,selected:pe.bodyaccessorystyle===Q,onClick:function(){function Le(){return c("body_accessory",{body_accessory:pe.bodyaccessorystyle})}return Le}()},pe.bodyaccessorystyle)})}),!!q&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:te.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.altheadstyle,selected:pe.altheadstyle===fe,onClick:function(){function Le(){return c("alt_head",{alt_head:pe.altheadstyle})}return Le}()},pe.altheadstyle)})})]})})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=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(l){return!!u[l.key]&&(0,e.createComponentVNode)(2,t.Button,{content:l.text,onClick:function(){function d(){return c(l.action)}return d}()},l.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.priority||[],m=c.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,[u.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),u.map(function(l){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:l,color:"bad",onClick:function(){function d(){return h("clear",{zone:l})}return d}()}),2,null,l)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(l){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:l,color:"average",onClick:function(){function d(){return h("clear",{zone:l})}return d}()}),2,null,l)})],0)})})})}return k}()},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),k=function(u){if(u===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(u===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(u===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(u){if(u===0)return"green";if(u===1)return"orange";if(u===2)return"red"},S=r.AtmosControl=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=(0,a.useLocalState)(m,"tabIndex",0),C=i[0],V=i[1],v=function(){function p(g){switch(g){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 V(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 V(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(C)]})})})}return c}(),b=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(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:k(C.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function V(){return d("open_alarm",{aref:C.ref})}return V}()})})]},C.name)})]})})},h=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.alarms,C=s.stationLevelNum,V=s.stationLevelName,v=(0,a.useLocalState)(m,"zoom",1),p=v[0],g=v[1],N=(0,a.useLocalState)(m,"z_current",C[0]),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function L(I){return g(I)}return L}(),zLevels:C,zNames:V,z_current:x,setZCurrent:B,children:i.map(function(L){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:L.x,y:L.y,z:L.z,z_current:x,zoom:p,icon:"circle",tooltip:L.name,color:y(L.danger),onClick:function(){function I(){return d("open_alarm",{aref:L.ref})}return I}()},L.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.on,m=c.pressure,l=c.max_pressure,d=c.filter_type,s=c.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:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:l,value:m,onDrag:function(){function i(C,V){return h("custom_pressure",{pressure:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===l,width:2.2,onClick:function(){function i(){return h("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===d,content:i.label,onClick:function(){function C(){return h("set_filter",{filter:i.gas_type})}return C}()},i.label)})})]})})})})}return k}()},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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.on,l=u.pressure,d=u.max_pressure,s=u.node1_concentration,i=u.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 c("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:l===0,width:2.2,onClick:function(){function C(){return c("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:d,value:l,onDrag:function(){function C(V,v){return c("custom_pressure",{pressure:v})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:l===d,width:2.2,onClick:function(){function C(){return c("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,k,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,k,{node_name:"Node 2",node_ref:i})]})})})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=S.node_name,l=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:l===0,onClick:function(){function d(){return c("set_node",{node_name:m,concentration:(l-10)/100})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:l,onChange:function(){function d(s,i){return c("set_node",{node_name:m,concentration:i/100})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:l===100,onClick:function(){function d(){return c("set_node",{node_name:m,concentration:(l+10)/100})}return d}()})]})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.on,m=c.rate,l=c.max_rate,d=c.gas_unit,s=c.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:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:l,value:m,onDrag:function(){function i(C,V){return h("custom_rate",{rate:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===l,width:2.2,onClick:function(){function i(){return h("max_rate")}return i}()})]})]})})})})}return k}()},76511:function(w,r,n){"use strict";r.__esModule=!0,r.AutoDoc=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(39473),k=r.AutoDoc=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.HasTray,l=u.TguiIcons,d=u.occupant,s=u.isHealing,i=u.fixtimer,C=u.healtimer,V=(0,a.useLocalState)(b,"ChoosePart","chest"),v=V[0],p=V[1];return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",resizable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{width:"100%",children:[(0,e.createComponentVNode)(2,f.FlexItem,{basis:"30%",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+l.human,style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+l[v],style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})]}),(0,e.createComponentVNode)(2,f.FlexItem,{basis:"70%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Info",buttons:(0,e.createFragment)([Object.keys(l).map(function(g){return g!=="human"&&(0,e.createComponentVNode)(2,t.Button,{content:g,selected:g===v,onClick:function(){function N(){return p(g)}return N}(),z:!0},g)}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:m?"Eject Tray":"Reject Tray",locked:s,onClick:function(){function g(){return c("ChangeTrayState")}return g}()})],0),children:(0,e.createComponentVNode)(2,t.Box,{children:[!!(d[v]&&d[v].extOrgan)&&d[v].extOrgan.map(function(g){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,g.name,0),(0,e.createVNode)(1,"br"),g.open?"opened":"",g.broken?"broken":"",!!g.broken&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"fracture"})}return N}()}),(0,e.createVNode)(1,"br")],4),g.internalBleeding?"bleeding":"",!!g.internalBleeding&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"bleeding"})}return N}()}),(0,e.createVNode)(1,"br")],4),(0,e.createTextVNode)("Internals:"),(0,e.createComponentVNode)(2,t.Button,{content:"Complete",style:{"margin-left":"10px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"completeInternal"})}return N}()}),(0,e.createVNode)(1,"br"),g.dead?"dead":"",!!g.dead&&(0,e.createVNode)(1,"br"),g.germ_level?"Germ level is "+g.germ_level:"",!!g.germ_level&&(0,e.createVNode)(1,"br"),g.totalLoss?"Total damage is "+g.totalLoss:"",(0,e.createVNode)(1,"br")],0,g.name)}),!!(d[v]&&d[v].intOrgan)&&d[v].intOrgan.map(function(g){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,g.name,0),(0,e.createComponentVNode)(2,t.Button,{content:"Remove",style:{"margin-left":"1.5rem"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"remove"})}return N}()}),(0,e.createVNode)(1,"br"),g.dead?"dead":"",!!g.dead&&(0,e.createVNode)(1,"br"),g.germ_level?"Germ level is "+g.germ_level:"",!!g.germ_level&&(0,e.createVNode)(1,"br"),g.totalLoss?"Total damage is "+g.damage:"",!!g.totalLoss&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Heal",style:{"margin-left":"30px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"damage"})}return N}()}),(0,e.createVNode)(1,"br")],4)],0,g.name)}),!!d.TotalBruteBurn&&(0,e.createFragment)([(0,e.createTextVNode)("Total external damage is "),d.TotalBruteBurn,(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Start Healing",onClick:function(){function g(){return c("HealBruteBurn")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Reattach externals",onClick:function(){function g(){return c("CompleteExternal")}return g}()})],0),(0,e.createVNode)(1,"br"),!!i&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Fixing organ: "),i],0),!!C&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Healing external damage: "),C],0)]})})})]})})})}return y}()},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),k=n(98595),y=n(25328),S=function(c,u,m,l){return c.requirements===null?!0:!(c.requirements.metal*l>u||c.requirements.glass*l>m)},b=r.Autolathe=function(){function h(c,u){var m=(0,o.useBackend)(u),l=m.act,d=m.data,s=d.total_amount,i=d.max_amount,C=d.metal_amount,V=d.glass_amount,v=d.busyname,p=d.busyamt,g=d.showhacked,N=d.buildQueue,x=d.buildQueueLen,B=d.recipes,L=d.categories,I=(0,o.useSharedState)(u,"category",0),A=I[0],T=I[1];A===0&&(A="Tools");var E=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=V.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=(0,o.useSharedState)(u,"search_text",""),R=O[0],F=O[1],W=(0,y.createSearch)(R,function(Y){return Y.name}),j="";x>0&&(j=N.map(function(Y,ne){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:N[ne][0],onClick:function(){function $(){return l("remove_from_queue",{remove_from_queue:N.indexOf(Y)+1})}return $}()},Y)},ne)}));var U=(0,a.flow)([(0,t.filter)(function(Y){return(Y.category.indexOf(A)>-1||R)&&(d.showhacked||!Y.hacked)}),R&&(0,t.filter)(W),(0,t.sortBy)(function(Y){return Y.name.toLowerCase()})])(B),K="Build";return R?K="Results for: '"+R+"':":A&&(K="Build ("+A+")"),(0,e.createComponentVNode)(2,k.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,k.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(ne){return T(ne)}return Y}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Y(ne,$){return F($)}return Y}(),mb:1}),U.map(function(Y){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.DmIcon,{icon:Y.icon,icon_state:Y.icon_state,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===1,disabled:!S(Y,d.metal_amount,d.glass_amount,1),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:1})}return ne}(),children:(0,y.toTitleCase)(Y.name)}),Y.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===10,disabled:!S(Y,d.metal_amount,d.glass_amount,10),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:10})}return ne}(),children:"10x"}),Y.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===25,disabled:!S(Y,d.metal_amount,d.glass_amount,25),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:25})}return ne}(),children:"25x"}),Y.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===Y.max_multiplier,disabled:!S(Y,d.metal_amount,d.glass_amount,Y.max_multiplier),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:Y.max_multiplier})}return ne}(),children:[Y.max_multiplier,"x"]}),Y.requirements&&Object.keys(Y.requirements).map(function(ne){return(0,y.toTitleCase)(ne)+": "+Y.requirements[ne]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},Y.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:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[d.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:[j,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!d.buildQueueLen,onClick:function(){function Y(){return l("clear_queue")}return Y}()})]})]})]})})})}return h}()},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),k=r.Biogenerator=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.data,d=m.config,s=l.container,i=l.processing,C=d.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:i,name:C}),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),y=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.biomass,i=d.container,C=d.container_curr_reagents,V=d.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:s}),(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:"}),i?(0,e.createComponentVNode)(2,t.ProgressBar,{value:C,maxValue:V,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:C+" / "+V+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.has_plants,i=d.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:!s,tooltip:s?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function C(){return l("activate")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!i,tooltip:i?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function C(){return l("detach_container")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!s,tooltip:s?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function C(){return l("eject_plants")}return C}()})})]})})},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.biomass,i=d.product_list,C=d.container,V=(0,a.useSharedState)(u,"vendAmount",1),v=V[0],p=V[1],g=Object.entries(i).map(function(N,x){var B=Object.entries(N[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:N[0],open:!0,children:B.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:L.needs_container&&!C?(0,e.createComponentVNode)(2,t.Button,{content:"No container",disabled:!0,icon:"flask",tooltip:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438"}):(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:s0?Math.floor(A/l):0,M=m?"@?%%!\u2116@"+l:l,O=A>=l,R=d-d%5+(d%5>0?5:0);return(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u0420\u0430\u0437\u043B\u043E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{color:"silver",bold:!0,children:B}),(0,e.createComponentVNode)(2,t.ProgressBar,{color:E===0?"bad":E<100?"average":"good",value:I,maxValue:L,mt:1,mb:2,children:[E<=100?E:100," %"]}),(0,e.createComponentVNode)(2,t.Box,{children:["\u0414\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0437\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F: ",(0,e.createComponentVNode)(2,t.Box,{color:A?O?"good":"average":"bad",as:"span",children:Math.floor(A)}),(0,e.createComponentVNode)(2,t.Button,{icon:"atom",tooltip:"\u0414\u043B\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0437\u043E\u043D\u0434\u0438\u0440\u0443\u044E\u0449\u0435\u0433\u043E \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u0430 \u043D\u0443\u0436\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C "+M+" \u0434\u0430\u043D\u043D\u044B\u0445.",content:d>0?"\u041F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0430 "+R+" \u0441\u0435\u043A\u0443\u043D\u0434":"\u0417\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C ("+P+")",disabled:!O||d>0,onClick:function(){function F(){return c("probe",{rift_id:x})}return F}(),mx:2}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:T?"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D":"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",disabled:T||E<100,onClick:function(){function F(){return c("reward",{rift_id:x})}return F}(),mt:1.4})]})]})}return g}(),v=function(){function g(N){var x=N.servName,B=N.servData;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x,children:B.length?B.map(function(L,I){return(0,e.createComponentVNode)(2,t.Box,{children:[L.riftName," \u2014 ",Math.floor(L.probePoints)," ","\u0434\u0430\u043D\u043D\u044B\u0445."]},I)}):(0,e.createComponentVNode)(2,t.Box,{children:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"})})}return g}(),p=function(){function g(N){var x=N.scannerId,B=N.scannerName,L=N.scanStatus,I=N.canSwitch,A=N.switching,T=f[L],E=function(){function M(){if(T==="OFF")return[" ","silver"];if(T==="NO_RIFTS")return["\u041D\u0435\u0442 \u0440\u0430\u0437\u043B\u043E\u043C\u043E\u0432","silver"];if(T==="SOME_RIFTS")return["\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442","good"];if(T==="DANGER")return["\u041E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C! \u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0441\u043A\u0430\u043D\u0435\u0440!","bad"]}return M}(),P=E();return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B,py:0,children:[A?(0,e.createComponentVNode)(2,t.Icon,{name:"circle-notch",color:"silver",spin:!0,ml:1.85,mr:1.79,my:.84}):I?(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",color:T==="OFF"?"bad":"good",onClick:function(){function M(){return c("toggle_scanner",{scanner_id:x})}return M}(),ml:1,mr:1}):(0,e.createComponentVNode)(2,t.Icon,{name:"power-off",color:T==="OFF"?"bad":"good",ml:1.85,mr:1.79,my:.84}),T!=="OFF"&&(0,e.createComponentVNode)(2,t.Box,{as:"span",color:P[1],children:P[0]})]})}return g}();return(0,e.createComponentVNode)(2,o.Window,{width:570,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s&&s.map(function(g){return V(g)}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043A\u0430\u043D\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C&&C.map(function(g){return p(g)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0435\u0440\u0432\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:i&&i.map(function(g){return v(g)})})})]})})}return y}()},27629:function(w,r,n){"use strict";r.__esModule=!0,r.BluespaceTap=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49968),k=r.BluespaceTap=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.product||[],l=u.desiredLevel,d=u.inputLevel,s=u.points,i=u.totalPoints,C=u.powerUse,V=u.availablePower,v=u.maxLevel,p=u.emagged,g=u.safeLevels,N=u.nextLevelPower,x=l>d&&"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"}),d>g&&(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:d}),(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:l===0,tooltip:"Set to 0",onClick:function(){function B(){return c("set",{set_level:0})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:l===0,onClick:function(){function B(){return c("set",{set_level:d})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:l===0,tooltip:"Decrease one step",onClick:function(){function B(){return c("decrease")}return B}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:l,fillValue:d,minValue:0,color:x,maxValue:v,stepPixelSize:20,step:1,onChange:function(){function B(L,I){return c("set",{set_level:I})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:l===v,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function B(){return c("increase")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l===v,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function B(){return c("set",{set_level:v})}return B}()})]})]})}),(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)(N)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(V)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:i})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(B){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:B.price>=s,onClick:function(){function L(){return c("vend",{target:B.key})}return L}(),content:B.price})},B.key)})})})})]})})]})})})}return y}()},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),k=n(98595),y=[["good","\u041D\u043E\u0440\u043C\u0430"],["average","\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],S=[["hasBorer","bad","\u0412 \u043B\u043E\u0431\u043D\u043E\u0439 \u0434\u043E\u043B\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u043A\u0440\u0443\u043F\u043D\u043E\u0435 \u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u0437\u043B\u043E\u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435. \u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0445\u0438\u0440\u0443\u0440\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435."],["hasVirus","bad","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D \u0432\u0438\u0440\u0443\u0441 \u0432 \u043A\u0440\u043E\u0432\u043E\u0442\u043E\u043A\u0435 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430."],["blind","average","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0430 \u043A\u0430\u0442\u0430\u0440\u0430\u043A\u0442\u0430."],["colourblind","average","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B \u043D\u0430\u0440\u0443\u0448\u0435\u043D\u0438\u044F \u0432 \u0440\u0430\u0431\u043E\u0442\u0435 \u0444\u043E\u0442\u043E\u0440\u0435\u0446\u0435\u043F\u0442\u043E\u0440\u043E\u0432"],["nearsighted","average","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u0441\u0435\u0442\u0447\u0430\u0442\u043A\u0438."]],b=[["\u0423\u0434\u0443\u0448\u0435\u043D\u0438\u0435","oxyLoss"],["\u041F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043C\u043E\u0437\u0433\u0430","brainLoss"],["\u0422\u043E\u043A\u0441\u0438\u043D\u044B","toxLoss"],["\u0420\u0430\u0434\u0438\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u043F\u043E\u0440\u0430\u0436\u0435\u043D\u0438\u0435","radLoss"],["\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","bruteLoss"],["\u0413\u0435\u043D\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","cloneLoss"],["\u041E\u0436\u043E\u0433\u0438","fireLoss"],["\u041F\u0430\u0440\u0430\u043B\u0438\u0447 \u0442\u0435\u043B\u0430","paralysis"]],h={average:[.25,.5],bad:[.5,1/0]},c=function(x,B){for(var L=[],I=0;I0?x.filter(function(B){return!!B}).reduce(function(B,L){return(0,e.createFragment)([B,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(x){if(x>100){if(x<300)return"\u041B\u0451\u0433\u043A\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F";if(x<400)return"\u041B\u0451\u0433\u043A\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F+";if(x<500)return"\u041B\u0451\u0433\u043A\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F++";if(x<700)return"\u041E\u0441\u0442\u0440\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F";if(x<800)return"\u041E\u0441\u0442\u0440\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F+";if(x<900)return"\u041E\u0441\u0442\u0440\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F++";if(x>=900)return"\u0421\u0435\u043F\u0441\u0438\u0441"}return""},l=r.BodyScanner=function(){function N(x,B){var L=(0,o.useBackend)(B),I=L.data,A=I.occupied,T=I.occupant,E=T===void 0?{}:T,P=A?(0,e.createComponentVNode)(2,d,{occupant:E}):(0,e.createComponentVNode)(2,g);return(0,e.createComponentVNode)(2,k.Window,{width:700,height:600,title:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0439 \u0441\u043A\u0430\u043D\u0435\u0440",children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:P})})}return N}(),d=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:B}),(0,e.createComponentVNode)(2,i,{occupant:B}),(0,e.createComponentVNode)(2,C,{occupant:B}),(0,e.createComponentVNode)(2,v,{organs:B.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:B.intOrgan})]})},s=function(x,B){var L=(0,o.useBackend)(B),I=L.act,A=L.data,T=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return I("print_p")}return E}(),children:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u043E\u0442\u0447\u0451\u0442"}),(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return I("insurance")}return E}(),children:"\u0421\u043F\u0438\u0441\u0430\u0442\u044C \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u043A\u0443"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return I("eject_id")}return E}(),children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043A\u0430\u0440\u0442\u0443"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return I("ejectify")}return E}(),children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0418\u043C\u044F",children:T.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:y[T.stat][0],children:y[T.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0442\u0435\u043B\u0430",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(T.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(T.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0418\u043C\u043F\u043B\u0430\u043D\u0442\u044B",children:T.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:T.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442"})})]})})},i=function(x){var B=x.occupant;return B.hasBorer||B.blind||B.colourblind||B.nearsighted||B.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F",children:S.map(function(L,I){if(B[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:"\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041D\u0438\u043A\u0430\u043A\u0438\u0445 \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u0439 \u043E\u0442 \u043D\u043E\u0440\u043C\u044B \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E."})})},C=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D",children:(0,e.createComponentVNode)(2,f.Table,{children:c(b,function(L,I,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:!!I&&I[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,V,{value:B[L[1]],marginBottom:A100)&&"average"||!!B.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:B.maxHealth,mt:L>0&&"0.5rem",value:B.totalLoss/B.maxHealth,ranges:h,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(B.totalLoss)]})}),!!B.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(B.bruteLoss)]})}),!!B.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"\u041E\u0436\u043E\u0433\u0438",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(B.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:u([!!B.internalBleeding&&"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0435\u0435 \u043A\u0440\u043E\u0432\u043E\u0442\u0435\u0447\u0435\u043D\u0438\u0435",!!B.burnWound&&"\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043E\u0436\u043E\u0433\u0438 \u0442\u043A\u0430\u043D\u0435\u0439",!!B.lungRuptured&&"\u041F\u0440\u043E\u0431\u0438\u0442\u043E \u043B\u0451\u0433\u043A\u043E\u0435",!!B.status.broken&&B.status.broken,m(B.germ_level),!!B.open&&"\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0439 \u0440\u0430\u0437\u0440\u0435\u0437"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[u([!!B.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"\u041D\u0430\u043B\u043E\u0436\u0435\u043D\u0430 \u0448\u0438\u043D\u0430"}),!!B.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u0421\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435"}),!!B.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"\u041C\u0435\u0440\u0442\u0432\u043E"})]),u(B.shrapnel.map(function(I){return I.known?I.name:"\u0418\u043D\u043E\u0440\u043E\u0434\u043D\u043E\u0435 \u0442\u0435\u043B\u043E"}))]})]})]},L)})]})})},p=function(x){return x.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u044B",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041D/\u0414"})}):(0,e.createComponentVNode)(2,f.Section,{title:"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u044B",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:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"\u0422\u0440\u0430\u0432\u043C\u044B"})]}),x.organs.map(function(B,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!B.dead&&"bad"||B.germ_level>100&&"average"||B.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:B.maxHealth,value:B.damage/B.maxHealth,mt:L>0&&"0.5rem",ranges:h,children:(0,a.round)(B.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:u([m(B.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:u([B.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u0421\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435"}),B.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u0421\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435"}),!!B.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"\u041C\u0435\u0440\u0442\u0432\u043E"})])})]})]},L)})]})})},g=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"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u0432\u043D\u0443\u0442\u0440\u0438 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}},42570:function(w,r,n){"use strict";r.__esModule=!0,r.BorgPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BorgPanel=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.borg||{},m=c.cell||{},l=m.charge/m.maxcharge,d=c.channels||[],s=c.modules||[],i=c.upgrades||[],C=c.ais||[],V=c.laws||[];return(0,e.createComponentVNode)(2,o.Window,{title:"Borg Panel",width:700,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:u.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function v(){return h("rename")}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u.emagged?"check-square-o":"square-o",content:"Emagged",selected:u.emagged,onClick:function(){function v(){return h("toggle_emagged")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:u.lockdown?"check-square-o":"square-o",content:"Locked Down",selected:u.lockdown,onClick:function(){function v(){return h("toggle_lockdown")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:u.scrambledcodes?"check-square-o":"square-o",content:"Scrambled Codes",selected:u.scrambledcodes,onClick:function(){function v(){return h("toggle_scrambledcodes")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset Module",onClick:function(){function v(){return h("reset_module")}return v}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge",children:[m.missing?(0,e.createVNode)(1,"span","color-bad","No cell installed",16):(0,e.createComponentVNode)(2,t.ProgressBar,{value:l,children:m.charge+" / "+m.maxcharge}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Set",onClick:function(){function v(){return h("set_charge")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Change",onClick:function(){function v(){return h("change_cell")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",content:"Remove",color:"bad",onClick:function(){function v(){return h("remove_cell")}return v}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radio Channels",children:d.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:v.installed?"check-square-o":"square-o",content:v.name,selected:v.installed,onClick:function(){function p(){return h("toggle_radio",{channel:v.name})}return p}()},v.name)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Model",children:s.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:u.active_module===v.name?"check-square-o":"square-o",content:v.name+" module",selected:u.active_module===v.name,onClick:function(){function p(){return h("setmodule",{module:v.name})}return p}()},v.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Upgrades",children:i.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:v.installed?"check-square-o":"square-o",content:v.name,selected:v.installed,onClick:function(){function p(){return h("toggle_upgrade",{upgrade:v.type})}return p}()},v.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:C.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:v.connected?"check-square-o":"square-o",content:v.name,selected:v.connected,onClick:function(){function p(){return h("slavetoai",{slavetoai:v.ref})}return p}()},v.ref)})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Laws",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Law Manager",selected:u.lawmanager,onClick:function(){function v(){return h("lawmanager")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:u.lawupdate?"check-square-o":"square-o",content:"Lawsync",selected:u.lawupdate,onClick:function(){function v(){return h("toggle_lawupdate")}return v}()})],4),children:V.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:v},v)})})]})})}return k}()},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=r.BotClean=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.locked,m=c.noaccess,l=c.maintpanel,d=c.on,s=c.autopatrol,i=c.canhack,C=c.emagged,V=c.remote_disabled,v=c.painame,p=c.cleanblood;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.NoticeBox,{children:["\u041F\u0440\u043E\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0435\u0439 ID-\u043A\u0430\u0440\u0442\u043E\u0439, \u0447\u0442\u043E\u0431\u044B",u?"\u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C":"\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C"," \u044D\u0442\u043E\u0442 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441."]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",selected:d,disabled:m,onClick:function(){function g(){return h("power")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",disabled:m,onClick:function(){function g(){return h("autopatrol")}return g}()})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0430\u043D\u0435\u043B\u044C \u0442\u0435\u0445\u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"\u041F\u0430\u043D\u0435\u043B\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u0430"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:C?"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B":"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u044B"})}),!!i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0437\u043B\u043E\u043C",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:C?"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438":"\u0412\u0437\u043B\u043E\u043C\u0430\u0442\u044C",disabled:m,color:"bad",onClick:function(){function g(){return h("hack")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!V,content:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u0441\u043E \u0441\u0442\u043E\u0440\u043E\u043D\u044B \u0418\u0418",disabled:m,onClick:function(){function g(){return h("disableremote")}return g}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0443\u0431\u043E\u0440\u043A\u0438",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"\u0423\u0431\u0438\u0440\u0430\u0442\u044C \u043A\u0440\u043E\u0432\u044C",disabled:m,onClick:function(){function g(){return h("blood")}return g}()})}),v&&(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0418\u0418",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:v,disabled:m,onClick:function(){function g(){return h("ejectpai")}return g}()})})]})})}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=r.BotSecurity=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.locked,m=c.noaccess,l=c.maintpanel,d=c.on,s=c.autopatrol,i=c.canhack,C=c.emagged,V=c.remote_disabled,v=c.painame,p=c.check_id,g=c.check_weapons,N=c.check_warrant,x=c.arrest_mode,B=c.arrest_declare;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.NoticeBox,{children:["\u041F\u0440\u043E\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0435\u0439 ID-\u043A\u0430\u0440\u0442\u043E\u0439, \u0447\u0442\u043E\u0431\u044B",u?"\u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C":"\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C"," \u044D\u0442\u043E\u0442 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441."]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",selected:d,disabled:m,onClick:function(){function L(){return h("power")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",disabled:m,onClick:function(){function L(){return h("autopatrol")}return L}()})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0430\u043D\u0435\u043B\u044C \u0442\u0435\u0445\u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"\u041F\u0430\u043D\u0435\u043B\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u0430"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:C?"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B":"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u044B"})}),!!i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0437\u043B\u043E\u043C",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:C?"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438":"\u0412\u0437\u043B\u043E\u043C\u0430\u0442\u044C",disabled:m,color:"bad",onClick:function(){function L(){return h("hack")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!V,content:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u0441\u043E \u0441\u0442\u043E\u0440\u043E\u043D\u044B \u0418\u0418",disabled:m,onClick:function(){function L(){return h("disableremote")}return L}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0417\u0430\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0446\u0435\u043B\u0438",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"\u041D\u0435\u043E\u043F\u043E\u0437\u043D\u0430\u043D\u043D\u044B\u0435 \u043B\u0438\u0447\u043D\u043E\u0441\u0442\u0438",disabled:m,onClick:function(){function L(){return h("authid")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"\u0418\u043C\u0435\u044E\u0449\u0438\u0435 \u043D\u0435\u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435",disabled:m,onClick:function(){function L(){return h("authweapon")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"\u0420\u0430\u0437\u044B\u0441\u043A\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043D\u0438\u043A\u0438",disabled:m,onClick:function(){function L(){return h("authwarrant")}return L}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430 \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:x,content:"\u0411\u0435\u0441\u0441\u0440\u043E\u0447\u043D\u043E\u0435 \u043E\u0433\u043B\u0443\u0448\u0435\u043D\u0438\u0435 \u0446\u0435\u043B\u0435\u0439 \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F",disabled:m,onClick:function(){function L(){return h("arrtype")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:B,content:"\u0421\u043E\u043E\u0431\u0449\u0430\u0442\u044C \u043E \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0438 \u043F\u043E \u0440\u0430\u0434\u0438\u043E\u0441\u0432\u044F\u0437\u0438",disabled:m,onClick:function(){function L(){return h("arrdeclare")}return L}()})]}),v&&(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0418\u0418",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:v,disabled:m,onClick:function(){function L(){return h("ejectpai")}return L}()})})]})})}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 c=b.cell,u=(0,o.useBackend)(h),m=u.act,l=c.cell_id,d=c.occupant,s=c.crimes,i=c.brigged_by,C=c.time_left_seconds,V=c.time_set_seconds,v=c.ref,p="";C>0&&(p+=" BrigCells__listRow--active");var g=function(){m("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:V})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:C})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:g,children:"Release"})})]})},k=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(c){return(0,e.createComponentVNode)(2,f,{cell:c},c.ref)})]})},y=r.BrigCells=function(){function S(b,h){var c=(0,o.useBackend)(h),u=c.act,m=c.data,l=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,k,{cells:l})})})})})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;c.nameText=c.occupant,c.timing&&(c.prisoner_hasrec?c.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:c.occupant}):c.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:c.occupant}));var u="pencil-alt";c.prisoner_name&&(c.prisoner_hasrec||(u="exclamation-triangle"));var m=[],l=0;for(l=0;l60||!c.isAllowed,onClick:function(){function d(){return h("start")}return d}()})})]})})]})})}return k}()},26300:function(w,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsoleListContent=r.CameraConsole=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(35840),f=n(25328),k=n(72253),y=n(36036),S=n(98595);String.prototype.trimLongStr=function(d){return this.length>d?this.substring(0,d)+"...":this};var b=function(s,i){var C,V;if(!i)return[];var v=s.findIndex(function(p){return p.name===i.name});return[(C=s[v-1])==null?void 0:C.name,(V=s[v+1])==null?void 0:V.name]},h=function(s,i){i===void 0&&(i="");var C=(0,f.createSearch)(i,function(V){return V.name});return(0,t.flow)([(0,a.filter)(function(V){return V==null?void 0:V.name}),i&&(0,a.filter)(C),(0,a.sortBy)(function(V){return V.name})])(s)},c=r.CameraConsole=function(){function d(s,i){var C=(0,k.useLocalState)(i,"tabIndex",0),V=C[0],v=C[1],p=function(){function g(N){switch(N){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return g}();return(0,e.createComponentVNode)(2,S.Window,{width:1250,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,y.Tabs,{children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:V===0,onClick:function(){function g(){return v(0)}return g}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," Map"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:V===1,onClick:function(){function g(){return v(1)}return g}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," List"]},"List")]}),p(V)]})})})}return d}(),u=r.CameraConsoleMapContent=function(){function d(s,i){var C=(0,k.useBackend)(i),V=C.act,v=C.data,p=h(v.cameras),g=(0,k.useLocalState)(i,"zoom",1),N=g[0],x=g[1],B=v.mapRef,L=v.activeCamera,I=v.stationLevelNum,A=v.stationLevelName,T=(0,k.useLocalState)(i,"z_current",I[0]),E=T[0],P=T[1],M=b(p,L),O=M[0],R=M[1];return(0,e.createComponentVNode)(2,y.Box,{height:"100%",display:"flex",children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,y.Box,{height:"100%",display:"flex",children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function F(W){return x(W)}return F}(),zLevels:I,zNames:A,z_current:E,setZCurrent:P,children:p.map(function(F){return(0,e.createComponentVNode)(2,y.NanoMap.Marker,{x:F.x,y:F.y,z:F.z,z_current:E,zoom:N,icon:"box",tooltip:F.name,color:F.status?"blue":"red",bordered:!0,onClick:function(){function W(){return V("switch_camera",{name:F.name})}return W}()},F.ref)})})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),L&&L.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!O,onClick:function(){function F(){return V("switch_camera",{name:O})}return F}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!R,onClick:function(){function F(){return V("switch_camera",{name:R})}return F}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:B,type:"map"}})],4)]})}return d}(),m=r.CameraConsoleOldContent=function(){function d(s,i){var C=(0,k.useBackend)(i),V=C.act,v=C.data,p=C.config,g=v.mapRef,N=v.activeCamera,x=(0,k.useLocalState)(i,"searchText",""),B=x[0],L=h(v.cameras,B),I=b(L,N),A=I[0],T=I[1];return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,l)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),N&&N.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return V("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!T,onClick:function(){function E(){return V("switch_camera",{name:T})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return d}(),l=r.CameraConsoleListContent=function(){function d(s,i){var C=(0,k.useBackend)(i),V=C.act,v=C.data,p=(0,k.useLocalState)(i,"searchText",""),g=p[0],N=p[1],x=v.activeCamera,B=h(v.cameras,g);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function L(I,A){return N(A)}return L}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:B.map(function(L){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",x&&L.name===x.name&&"Button--selected"]),L.name,0,{title:L.name,onClick:function(){function I(){return V("switch_camera",{name:L.name})}return I}()},L.name)})})})]})}return d}()},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),k=n(98595),y=r.Canister=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.portConnected,d=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,C=m.minReleasePressure,V=m.maxReleasePressure,v=m.valveOpen,p=m.name,g=m.canLabel,N=m.colorContainer,x=m.color_index,B=m.hasHoldingTank,L=m.holdingTank,I="";x.prim&&(I=N.prim.options[x.prim].name);var A="";x.sec&&(A=N.sec.options[x.sec].name);var T="";x.ter&&(T=N.ter.options[x.ter].name);var E="";x.quart&&(E=N.quart.options[x.quart].name);var P=[],M=[],O=[],R=[],F=0;for(F=0;Fp.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:i.cooldown_time||!p.can_close,onClick:function(){function g(){return s("make_job_unavailable",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!p.can_open,onClick:function(){function g(){return s("make_job_available",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:i.cooldown_time||!p.can_prioritize,onClick:function(){function g(){return s("prioritize_job",{job:p.title})}return g}()})})]},p.title)})]})})]}):v=(0,e.createComponentVNode)(2,S);break;case 2:!i.authenticated||!i.scan_name?v=(0,e.createComponentVNode)(2,S):i.modify_name?v=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function p(g){return s("set",{access:g})}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(g){return s("grant_region",{region:g})}return p}(),denyDep:function(){function p(g){return s("deny_region",{region:g})}return p}()}):v=(0,e.createComponentVNode)(2,b);break;case 3:i.authenticated?i.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:!i.authenticated||i.records.length===0||i.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"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.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}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):v=(0,e.createComponentVNode)(2,h):v=(0,e.createComponentVNode)(2,S);break;case 4:!i.authenticated||!i.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"})]}),i.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 g(){return s("remote_demote",{remote_demote:p.name})}return g}()})})]},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:V}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:C}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v})]})})})}return u}()},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),k=n(98595),y=n(25328),S=r.CargoConsole=function(){function m(l,d){return(0,e.createComponentVNode)(2,k.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,k.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,c),(0,e.createComponentVNode)(2,u)]})})})}return m}(),b=function(l,d){var s=(0,o.useLocalState)(d,"contentsModal",null),i=s[0],C=s[1],V=(0,o.useLocalState)(d,"contentsModalTitle",null),v=V[0],p=V[1];if(i!==null&&v!==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,[v,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:i.map(function(g){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",g]},g)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function g(){C(null),p(null)}return g}()})})]})},h=function(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=C.is_public,v=C.points,p=C.credits,g=C.timeleft,N=C.moving,x=C.at_station,B,L;return!N&&!x?(B="Docked off-station",L="Call Shuttle"):!N&&x?(B="Docked at the station",L="Return Shuttle"):N&&(L="In Transit...",g!==1?B="Shuttle is en route (ETA: "+g+" minutes)":B="Shuttle is en route (ETA: "+g+" 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:"Points Available",children:v}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Credits Available",children:p}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:B}),V===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:N,onClick:function(){function I(){return i("moveShuttle")}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function I(){return i("showMessages")}return I}()})]})]})})})},c=function(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=C.categories,v=C.supply_packs,p=(0,o.useSharedState)(d,"category","Emergency"),g=p[0],N=p[1],x=(0,o.useSharedState)(d,"search_text",""),B=x[0],L=x[1],I=(0,o.useLocalState)(d,"contentsModal",null),A=I[0],T=I[1],E=(0,o.useLocalState)(d,"contentsModalTitle",null),P=E[0],M=E[1],O=(0,y.createSearch)(B,function(W){return W.name}),R=(0,a.flow)([(0,t.filter)(function(W){return W.cat===V.filter(function(j){return j.name===g})[0].category||B}),B&&(0,t.filter)(O),(0,t.sortBy)(function(W){return W.name.toLowerCase()})])(v),F="Crate Catalogue";return B?F="Results for '"+B+"':":g&&(F="Browsing "+g),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:F,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:V.map(function(W){return W.name}),selected:g,onSelected:function(){function W(j){return N(j)}return W}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function W(j,U){return L(U)}return W}(),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:R.map(function(W){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,f.Box,{color:W.has_sale?"good":"default",children:[W.name," (",W.cost?W.cost+" Points":"",W.creditsCost&&W.cost?" ":"",W.creditsCost?W.creditsCost+" 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",onClick:function(){function j(){return i("order",{crate:W.ref,multiple:0})}return j}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function j(){return i("order",{crate:W.ref,multiple:1})}return j}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function j(){T(W.contents),M(W.name)}return j}()})]})]},W.name)})})})]})})},u=function(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=C.requests,v=C.canapprove,p=C.orders;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Details",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:V.map(function(g){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",g.ordernum,": ",g.supply_type," for ",(0,e.createVNode)(1,"b",null,g.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",g.comment]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Required Techs: ",g.pack_techs]})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!v,onClick:function(){function N(){return i("approve",{ordernum:g.ordernum})}return N}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",onClick:function(){function N(){return i("deny",{ordernum:g.ordernum})}return N}()})]})]},g.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:p.map(function(g){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",g.ordernum,": ",g.supply_type," for ",(0,e.createVNode)(1,"b",null,g.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",g.comment]})]})},g.ordernum)})})]})}},22794:function(w,r,n){"use strict";r.__esModule=!0,r.DelayHelper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.DelayHelper=function(){function k(y,S){var b=(0,t.useBackend)(S),h=b.act,c=b.data,u=c.delays,m=c.rev_delays,l=y.delay_list,d=y.reverse,s=d===void 0?!1:d;return(0,e.createComponentVNode)(2,o.LabeledControls,{wrap:!0,style:{"flex-direction":"column","flex-wrap":"wrap",height:"7.5em","justify-content":"start"},children:l.map(function(i,C){return(0,e.createComponentVNode)(2,o.LabeledControls.Item,{label:i.title,style:{"flex-direction":"column","min-width":"0"},children:(0,e.createComponentVNode)(2,o.Knob,{color:(s?m[C+1]:u[C+1])/10>10?"orange":"default",format:function(){function V(v){return(0,a.toFixed)(v,2)}return V}(),maxValue:10,minValue:0,inline:!0,onDrag:function(){function V(v,p){h("editTiming",{reverse:s,timer:""+(C+1),value:Math.max(p,0)})}return V}(),size:1,step:.02,unclamped:!0,unit:"s",value:(s?m[C+1]:u[C+1])/10})},C)})})}return k}()},23749:function(w,r,n){"use strict";r.__esModule=!0,r.PodBays=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=r.PodBays=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.bayNumber;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",onClick:function(){function m(){return h("clearBay")}return m}(),tooltip:"\n \u041E\u0447\u0438\u0449\u0430\u0435\u0442 \u0432\u0441\u0451\n\u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0430\u043D\u0433\u0430\u0440\u0430.",tooltipPosition:"top-end"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"question",tooltip:"\n \u041A\u0430\u0436\u0434\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442\n\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0439 \u0437\u043E\u043D\u0435 \u043D\u0430 \u0426\u041A.\n\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u043A\u0430\u043F\u0441\u0443\u043B\u044B \u0431\u0443\u0434\u0443\u0442\n\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u044B \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u0430\u043C\u0438 \u0438\u0437 \u044D\u0442\u0438\u0445 \u0437\u043E\u043D\n\u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043E\u043F\u0446\u0438\u0435\u0439\n\xAB\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0438\u0437 \u0430\u043D\u0433\u0430\u0440\u0430\xBB \u0432 \u043B\u0435\u0432\u043E\u043C \u0432\u0435\u0440\u0445\u043D\u0435\u043C \u0443\u0433\u043B\u0443.",tooltipPosition:"top-end"})],4),fill:!0,title:"\u0410\u043D\u0433\u0430\u0440",children:o.BAYS.map(function(m,l){return(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function d(){return h("switchBay",{bayNumber:""+(l+1)})}return d}(),selected:u===""+(l+1),tooltipPosition:"bottom-end",children:m.title},l)})})}return k}()},8507:function(w,r,n){"use strict";r.__esModule=!0,r.PodLaunch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(20345),f=r.PodLaunch=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.giveLauncher,m=(0,o.useCompact)(S),l=m[0];return(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function d(){return h("giveLauncher")}return d}(),selected:u,textAlign:"center",tooltip:"\n \u0412\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0437\u043D\u0430\u0442\u044C, \u0447\u0442\u043E\n \u041E\u0431 \u044D\u0442\u043E\u043C \u0433\u043E\u0432\u043E\u0440\u0438\u0442 \u041A\u043E\u0434\u0435\u043A\u0441 \u0410\u0441\u0442\u0430\u0440\u0442\u0435\u0441",tooltipPosition:"top",children:(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"1.4em",lineHeight:l?1.5:3,children:"\u0417\u0410\u041F\u0423\u0421\u041A"})})}return k}()},15802:function(w,r,n){"use strict";r.__esModule=!0,r.PodSounds=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=r.PodSounds=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.defaultSoundVolume,m=c.soundVolume;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"volume-up",onClick:function(){function l(){return h("soundVolume")}return l}(),selected:m!==u,tooltip:"\n \u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0417\u0443\u043A\u0430:"+m}),fill:!0,title:"\u0417\u0432\u0443\u043A\u0438",children:o.SOUNDS.map(function(l,d){return(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function s(){return h(l.act)}return s}(),selected:c[l.act],tooltip:l.tooltip,tooltipPosition:"top-end",children:l.title},d)})})}return k}()},94577:function(w,r,n){"use strict";r.__esModule=!0,r.PodStatusPage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=n(20345),k=r.PodStatusPage=function(){function b(h,c){var u=(0,f.useCompact)(c),m=u[0];return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:o.EFFECTS_ALL.map(function(l,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"label",mb:1,children:[!m&&(l.alt_label||l.label),":"]}),(0,e.createComponentVNode)(2,t.Box,{children:l.list.map(function(s,i){return(0,e.createComponentVNode)(2,y,{effect:s,hasMargin:l.list.length>1,index:i},i)})})]}),d=0;--J){var X=this.tryEntries[J],Q=X.completion;if(X.tryLoc==="root")return ae("end");if(X.tryLoc<=this.prev){var q=s.call(X,"catchLoc"),te=s.call(X,"finallyLoc");if(q&&te){if(this.prev=0;--ae){var J=this.tryEntries[ae];if(J.tryLoc<=this.prev&&s.call(J,"finallyLoc")&&this.prev=0;--Z){var ae=this.tryEntries[Z];if(ae.finallyLoc===re)return this.complete(ae.completion,ae.afterLoc),$(ae),T}}return oe}(),catch:function(){function oe(re){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var ae=this.tryEntries[Z];if(ae.tryLoc===re){var J=ae.completion;if(J.type==="throw"){var X=J.arg;$(ae)}return X}}throw Error("illegal catch attempt")}return oe}(),delegateYield:function(){function oe(re,Z,ae){return this.delegate={iterator:de(re),resultName:Z,nextLoc:ae},this.method==="next"&&(this.arg=m),T}return oe}()},l}function S(m,l,d,s,i,C,V){try{var v=m[C](V),p=v.value}catch(g){return void d(g)}v.done?l(p):Promise.resolve(p).then(s,i)}function b(m){return function(){var l=this,d=arguments;return new Promise(function(s,i){var C=m.apply(l,d);function V(p){S(C,s,i,V,v,"next",p)}function v(p){S(C,s,i,V,v,"throw",p)}V(void 0)})}}var h=function(){var m=b(y().mark(function(){function l(d,s){return y().wrap(function(){function i(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,a.storage.set("podlauncher_preset_"+d,s);case 2:case"end":return C.stop()}}return i}(),l)}return l}()));return function(){function l(d,s){return m.apply(this,arguments)}return l}()}(),c=function(l,d){var s=(0,o.useBackend)(d),i=s.data,C=l.editing,V=l.deletePreset,v=l.loadPreset,p=l.presetIndex,g=l.setEditing,N=l.getPresets;return(0,e.createFragment)([!C&&(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"plus",onClick:function(){function x(){return g(!C)}return x}(),tooltip:"\u041D\u043E\u0432\u044B\u0439 \u043F\u0440\u0435\u0441\u0435\u0442"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"download",inline:!0,onClick:function(){function x(){return h(p.toString(),i)}return x}(),tooltip:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0435\u0442",tooltipPosition:"bottom"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"upload",inline:!0,onClick:function(){function x(){v(p)}return x}(),tooltip:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0435\u0442"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"trash",inline:!0,onClick:function(){function x(){return V(p)}return x}(),tooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u044B\u0439 \u043F\u0440\u0435\u0441\u0435\u0442",tooltipPosition:"bottom-start"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"refresh",inline:!0,onClick:function(){function x(){return N()}return x}(),tooltip:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0440\u0435\u0441\u0435\u0442\u043E\u0432",tooltipPosition:"bottom-start"})],0)},u=r.PresetsPage=function(){function m(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=(0,o.useLocalState)(d,"editing",!1),v=V[0],p=V[1],g=(0,o.useLocalState)(d,"hue",0),N=g[0],x=g[1],B=(0,o.useLocalState)(d,"name",""),L=B[0],I=B[1],A=(0,o.useLocalState)(d,"presetID",0),T=A[0],E=A[1],P=(0,o.useLocalState)(d,"presets",[]),M=P[0],O=P[1],R=function(){var U=b(y().mark(function(){function K(Y){var ne,$;return y().wrap(function(){function le(de){for(;;)switch(de.prev=de.next){case 0:ne=[].concat(M),$=0;case 2:if(!($=l.length-2?s%2===1?"top-start":"top-end":s%2===1?"bottom-start":"bottom-end",tooltip:d.title,width:"45px",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["supplypods64x64","pod_asset"+d.id]),style:{"pointer-events":"none",transform:"rotate(45deg) translate(-25%,-10%)"}})},d.id)})})}return k}()},8179:function(w,r,n){"use strict";r.__esModule=!0,r.TabPod=r.TabDrop=r.TabBay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TabPod=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.oldArea;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:!0,icon:"street-view",children:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,icon:"undo-alt",children:m?m.substring(0,17):"\u041D\u0430\u0437\u0430\u0434"})],4)}return y}(),f=r.TabBay=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=(0,a.useLocalState)(b,"teleported",!1),l=m[0],d=m[1],s=u.oldArea;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"street-view",onClick:function(){function i(){c("teleportCentcom"),d(!0)}return i}(),children:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s||!l,icon:"undo-alt",onClick:function(){function i(){c("teleportBack"),d(!1)}return i}(),children:s?s.substring(0,17):"\u041D\u0430\u0437\u0430\u0434"})],4)}return y}(),k=r.TabDrop=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=(0,a.useLocalState)(b,"teleported",!1),l=m[0],d=m[1],s=u.oldArea;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"street-view",onClick:function(){function i(){c("teleportDropoff"),d(!0)}return i}(),children:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s||!l,icon:"undo-alt",onClick:function(){function i(){c("teleportBack"),d(!1)}return i}(),children:s?s.substring(0,17):"\u041D\u0430\u0437\u0430\u0434"})],4)}return y}()},18885:function(w,r,n){"use strict";r.__esModule=!0,r.Timing=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=n(22794),k=r.Timing=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.custom_rev_delay,l=u.effectReverse;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"undo",onClick:function(){function d(){return c("resetTiming")}return d}(),tooltip:"\n \u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0442\u0430\u0439\u043C\u0438\u043D\u0433\u0438\n /\u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u043A\u0430\u043F\u0441\u0443\u043B",tooltipPosition:"bottom-end"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",disabled:!l,icon:m===1?"toggle-on":"toggle-off",onClick:function(){function d(){return c("toggleRevDelays")}return d}(),selected:m,tooltip:"\n \u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\n \u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435: \u043F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u0438\n \u043E\u0431\u0440\u0430\u0449\u0430\u044E\u0442 \u0432\u0441\u043F\u044F\u0442\u044C \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u043A\u0430\u043F\u0441\u0443\u043B",tooltipPosition:"bottom-end"})],4),title:"\u0412\u0440\u0435\u043C\u044F",children:m?(0,e.createComponentVNode)(2,f.DelayHelper,{delay_list:o.REV_DELAYS,reverse:!0}):(0,e.createComponentVNode)(2,f.DelayHelper,{delay_list:o.DELAYS})})}return y}()},76417:function(w,r,n){"use strict";r.__esModule=!0,r.ViewTabHolder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=n(20345),k=r.ViewTabHolder=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mapRef,l=u.customDropoff,d=u.effectReverse,s=u.renderLighting,i=(0,f.useTab)(b),C=i[0],V=i[1],v=o.TABPAGES[C].component;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createFragment)([!!l&&!!d&&(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"arrow-circle-down",inline:!0,onClick:function(){function p(){V(2),c("tabSwitch",{tabIndex:2})}return p}(),selected:C===2,tooltip:"\u041C\u0435\u0441\u0442\u043E \u0412\u044B\u0441\u0430\u0434\u043A\u0438"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"rocket",inline:!0,onClick:function(){function p(){V(0),c("tabSwitch",{tabIndex:0})}return p}(),selected:C===0,tooltip:"\u041A\u0430\u043F\u0441\u0443\u043B\u0430"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"th",inline:!0,onClick:function(){function p(){V(1),c("tabSwitch",{tabIndex:1})}return p}(),selected:C===1,tooltip:"\u0410\u043D\u0433\u0430\u0440 \u041F\u043E\u0433\u0440\u0443\u0437\u043A\u0438"}),(0,e.createVNode)(1,"span",null,"|",16,{style:o.POD_GREY}),!!l&&!!d&&(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",inline:!0,onClick:function(){function p(){c("renderLighting"),c("refreshView")}return p}(),selected:s,tooltip:"\u0420\u0435\u043D\u0434\u0435\u0440\u0438\u043D\u0433 \u043E\u0441\u0432\u0435\u0449\u0435\u043D\u0438\u044F"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"sync-alt",inline:!0,onClick:function(){function p(){V(C),c("refreshView")}return p}(),tooltip:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u043A\u043D\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430"})],0),fill:!0,title:"\u041E\u0441\u043C\u043E\u0442\u0440",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(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,t.ByondUi,{height:"100%",params:{id:m,type:"map",zoom:0}})})]})})}return y}()},7144:function(w,r,n){"use strict";r.__esModule=!0,r.TABPAGES=r.SOUNDS=r.REV_DELAYS=r.REVERSE_OPTIONS=r.POD_GREY=r.EFFECTS_NORMAL=r.EFFECTS_LOAD=r.EFFECTS_HARM=r.EFFECTS_ALL=r.DELAYS=r.BAYS=void 0;var e=n(8179),a=r.POD_GREY={color:"grey"},t=r.TABPAGES=[{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043A\u0430\u043F\u0441\u0443\u043B\u044B",component:e.TabPod},{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0430\u043D\u0433\u0430\u0440\u0430",component:e.TabBay},{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043C\u0435\u0441\u0442\u0430 \u0432\u044B\u0433\u0440\u0443\u0437\u043A\u0438.",component:e.TabDrop}],o=r.REVERSE_OPTIONS=[{title:"\u041C\u043E\u0431\u044B",key:"Mobs",icon:"user"},{title:"\u041D\u0435 \u0437\u0430\u043A\u0440\u0435\u043F\u043B\u0451\u043D\u043D\u044B\u0435\n\u041E\u0431\u044A\u0435\u043A\u0442\u044B",key:"Unanchored",icon:"cube"},{title:"\u0417\u0430\u043A\u0440\u0435\u043F\u043B\u0451\u043D\u043D\u044B\u0435\n\u041E\u0431\u044A\u0435\u043A\u0442\u044B",key:"Anchored",icon:"anchor"},{title:"\u041C\u0435\u0445\u0438",key:"Mecha",icon:"truck"}],f=r.DELAYS=[{title:"Pre",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043F\u0440\u0438\u0431\u044B\u0442\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B\u044B \u043D\u0430 \u0441\u0442\u0430\u043D\u0446\u0438\u044E"},{title:"Fall",tooltip:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438\n \u043F\u0430\u0434\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B"},{title:"Open",tooltip:"\u0412\u0440\u0435\u043C\u044F, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0435 \u043A\u0430\u043F\u0441\u0443\u043B\u0435 \u0434\u043B\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u0435\u043D\u0438\u044F"},{title:"Exit",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043E\u0442\u043B\u0435\u0442\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u044B\n\u043F\u043E\u0441\u043B\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F"}],k=r.REV_DELAYS=[{title:"Pre",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043F\u043E\u044F\u0432\u043B\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B\u044B \u043D\u0430\u0434 \u0442\u043E\u0447\u043A\u043E\u0439 \u0432\u044B\u0441\u0430\u0434\u043A\u0438"},{title:"Fall",tooltip:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438\n \u043F\u0430\u0434\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B"},{title:"Open",tooltip:"\u0412\u0440\u0435\u043C\u044F, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0435 \u043A\u0430\u043F\u0441\u0443\u043B\u0435 \u0434\u043B\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u0435\u043D\u0438\u044F"},{title:"Exit",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043E\u0442\u043B\u0435\u0442\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u044B\n\u043F\u043E\u0441\u043B\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F"}],y=r.SOUNDS=[{title:"Fall",act:"fallingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F, \u043F\u043E\u043A\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u0430 \u043F\u0430\u0434\u0430\u0435\u0442, \u0438 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F\n\u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u0430 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u044F\u0435\u0442\u0441\u044F"},{title:"Land",act:"landingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B\u044B"},{title:"Open",act:"openingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u043A\u0430\u043F\u0441\u0443\u043B\u044B"},{title:"Exit",act:"leavingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F, \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u0430 \u0443\u043B\u0435\u0442\u0430\u0435\u0442"}],S=r.BAYS=[{title:"1"},{title:"2"},{title:"3"},{title:"4"},{title:"\u0415\u0420\u0422"}],b=r.EFFECTS_LOAD=[{act:"launchAll",choiceNumber:0,icon:"globe",selected:"launchChoice",title:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u043E \u0432\u0441\u0435\u0445 \u0442\u0443\u0440\u0444\u043E\u0432"},{act:"launchOrdered",choiceNumber:1,icon:"sort-amount-down-alt",selected:"launchChoice",title:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441 \u0442\u0443\u0440\u0444\u043E\u0432 \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443"},{act:"launchRandomTurf",choiceNumber:2,icon:"dice",selected:"launchChoice",title:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0440\u0430\u043D\u0434\u043E\u043C\u043D\u044B\u0439 \u0442\u0443\u0440\u0444"},{divider:!0},{act:"launchWholeTurf",choiceNumber:0,icon:"expand",selected:"launchRandomItem",title:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0442\u0443\u0440\u0444\u0430"},{act:"launchRandomItem",choiceNumber:1,icon:"dice",selected:"launchRandomItem",title:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u043E\u0431\u044A\u0435\u043A\u0442"},{divider:!0},{act:"launchClone",icon:"clone",soloSelected:"launchClone",title:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u044A\u0435\u043A\u0442"}],h=r.EFFECTS_NORMAL=[{act:"effectTarget",icon:"user-check",soloSelected:"effectTarget",title:"\u041E\u0441\u043E\u0431\u0430\u044F \u0446\u0435\u043B\u044C"},{act:"effectBluespace",choiceNumber:0,icon:"hand-paper",selected:"effectBluespace",title:"\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u043E\u0441\u0442\u0430\u0435\u0442\u0441\u044F"},{act:"effectStealth",icon:"user-ninja",soloSelected:"effectStealth",title:"\u0421\u043A\u0440\u044B\u0442\u043D\u043E"},{act:"effectQuiet",icon:"volume-mute",soloSelected:"effectQuiet",title:"\u0422\u0438\u0445\u043E"},{act:"effectMissile",icon:"rocket",soloSelected:"effectMissile",title:"\u0420\u0435\u0436\u0438\u043C \u0440\u0430\u043A\u0435\u0442\u044B"},{act:"effectBurst",icon:"certificate",soloSelected:"effectBurst",title:"\u0417\u0430\u043F\u0443\u0441\u043A \u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0430"},{act:"effectCircle",icon:"ruler-combined",soloSelected:"effectCircle",title:"\u041B\u044E\u0431\u043E\u0439 \u0443\u0433\u043E\u043B \u0441\u043F\u0443\u0441\u043A\u0430"},{act:"effectAnnounce",choiceNumber:0,icon:"ghost",selected:"effectAnnounce",title:"\u041D\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u0437\u0440\u0430\u043A\u043E\u0432\n(\u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435 \u0445\u043E\u0442\u0438\u0442\u0435\n\u0440\u0430\u0437\u0432\u043B\u0435\u043A\u0430\u0442\u044C \u0441\u043A\u0443\u0447\u0430\u044E\u0449\u0438\u0445 \u043F\u0440\u0438\u0437\u0440\u0430\u043A\u043E\u0432)"}],c=r.EFFECTS_HARM=[{act:"explosionCustom",choiceNumber:1,icon:"bomb",selected:"explosionChoice",title:"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u0432\u0437\u0440\u044B\u0432"},{act:"explosionBus",choiceNumber:2,icon:"bomb",selected:"explosionChoice",title:"\u0410\u0434\u043C\u0438\u043D\u0430\u0431\u0443\u0437-\u0432\u0437\u0440\u044B\u0432\n\u0418 \u0447\u0442\u043E \u043E\u043D\u0438 \u0441\u0434\u0435\u043B\u0430\u044E\u0442, \u0437\u0430\u0431\u0430\u043D\u044F\u0442 \u0442\u0435\u0431\u044F?"},{divider:!0},{act:"damageCustom",choiceNumber:1,icon:"skull",selected:"damageChoice",title:"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u0443\u0440\u043E\u043D"},{act:"damageGib",choiceNumber:2,icon:"skull-crossbones",selected:"damageChoice",title:"\u0413\u0438\u0431"},{divider:!0},{act:"effectShrapnel",details:!0,icon:"cloud-meatball",soloSelected:"effectShrapnel",title:"\u041E\u0431\u043B\u0430\u043A\u043E \u0441\u043D\u0430\u0440\u044F\u0434\u043E\u0432"},{act:"effectStun",icon:"sun",soloSelected:"effectStun",title:"\u0421\u0442\u0430\u043D"},{act:"effectLimb",icon:"socks",soloSelected:"effectLimb",title:"\u041F\u043E\u0442\u0435\u0440\u044F \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438"},{act:"effectOrgans",icon:"book-dead",soloSelected:"effectOrgans",title:"\u0420\u0430\u0437\u043B\u0435\u0442 \u0432\u0441\u0435\u0445 \u043E\u0440\u0433\u0430\u043D\u043E\u0432"}],u=r.EFFECTS_ALL=[{list:b,label:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0437",alt_label:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",tooltipPosition:"right"},{list:h,label:"\u041E\u0431\u044B\u0447\u043D\u044B\u0435 \u042D\u0444\u0444\u0435\u043A\u0442\u044B",tooltipPosition:"bottom"},{list:c,label:"\u0412\u0440\u0435\u0434\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B",tooltipPosition:"bottom"}]},20345:function(w,r,n){"use strict";r.__esModule=!0,r.useTab=r.useCompact=void 0;var e=n(72253),a=r.useCompact=function(){function o(f){return(0,e.useLocalState)(f,"compact",!1)}return o}(),t=r.useTab=function(){function o(f){return(0,e.useLocalState)(f,"tab",1)}return o}()},65875:function(w,r,n){"use strict";r.__esModule=!0,r.CentcomPodLauncher=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(20345),f=n(23749),k=n(8507),y=n(15802),S=n(94577),b=n(30590),h=n(72932),c=n(68569),u=n(18885),m=n(76417),l=r.CentcomPodLauncher=function(){function d(s,i){var C=(0,o.useCompact)(i),V=C[0];return(0,e.createComponentVNode)(2,t.Window,{height:V?360:440,title:"\u041C\u0435\u043D\u044E \u043A\u0430\u043F\u0441\u0443\u043B \u0441\u043D\u0430\u0431\u0436\u0435\u043D\u0438\u044F",width:V?460:750,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,a.Stack.Item,{shrink:0,children:(0,e.createComponentVNode)(2,S.PodStatusPage)}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,shrink:0,basis:"14.1em",children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.PresetsPage)}),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,h.ReverseMenu)}),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,k.PodLaunch)})})]})}),!V&&(0,e.createComponentVNode)(2,a.Stack.Item,{grow:3,children:(0,e.createComponentVNode)(2,m.ViewTabHolder)}),(0,e.createComponentVNode)(2,a.Stack.Item,{basis:"9em",children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,direction:"column",children:[(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,f.PodBays)}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u.Timing)}),!V&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,y.PodSounds,{fill:!0})})]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{basis:"11em",children:(0,e.createComponentVNode)(2,c.StylePage)})]})})]})})})}return d}()},16780:function(){"use strict"},12226:function(w,r,n){"use strict";r.__esModule=!0,r.Changelog=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=n(79140),y=b(n(83331)),S=b(n(52754));function b(i){return i&&i.__esModule?i:{default:i}}function h(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return C};var i,C={},V=Object.prototype,v=V.hasOwnProperty,p=Object.defineProperty||function(J,X,Q){J[X]=Q.value},g=typeof Symbol=="function"?Symbol:{},N=g.iterator||"@@iterator",x=g.asyncIterator||"@@asyncIterator",B=g.toStringTag||"@@toStringTag";function L(J,X,Q){return Object.defineProperty(J,X,{value:Q,enumerable:!0,configurable:!0,writable:!0}),J[X]}try{L({},"")}catch(J){L=function(Q,q,te){return Q[q]=te}}function I(J,X,Q,q){var te=X&&X.prototype instanceof R?X:R,fe=Object.create(te.prototype),ye=new Z(q||[]);return p(fe,"_invoke",{value:le(J,Q,ye)}),fe}function A(J,X,Q){try{return{type:"normal",arg:J.call(X,Q)}}catch(q){return{type:"throw",arg:q}}}C.wrap=I;var T="suspendedStart",E="suspendedYield",P="executing",M="completed",O={};function R(){}function F(){}function W(){}var j={};L(j,N,function(){return this});var U=Object.getPrototypeOf,K=U&&U(U(ae([])));K&&K!==V&&v.call(K,N)&&(j=K);var Y=W.prototype=R.prototype=Object.create(j);function ne(J){["next","throw","return"].forEach(function(X){L(J,X,function(Q){return this._invoke(X,Q)})})}function $(J,X){function Q(te,fe,ye,pe){var Le=A(J[te],J,fe);if(Le.type!=="throw"){var D=Le.arg,ie=D.value;return ie&&typeof ie=="object"&&v.call(ie,"__await")?X.resolve(ie.__await).then(function(se){Q("next",se,ye,pe)},function(se){Q("throw",se,ye,pe)}):X.resolve(ie).then(function(se){D.value=se,ye(D)},function(se){return Q("throw",se,ye,pe)})}pe(Le.arg)}var q;p(this,"_invoke",{value:function(){function te(fe,ye){function pe(){return new X(function(Le,D){Q(fe,ye,Le,D)})}return q=q?q.then(pe,pe):pe()}return te}()})}function le(J,X,Q){var q=T;return function(te,fe){if(q===P)throw Error("Generator is already running");if(q===M){if(te==="throw")throw fe;return{value:i,done:!0}}for(Q.method=te,Q.arg=fe;;){var ye=Q.delegate;if(ye){var pe=de(ye,Q);if(pe){if(pe===O)continue;return pe}}if(Q.method==="next")Q.sent=Q._sent=Q.arg;else if(Q.method==="throw"){if(q===T)throw q=M,Q.arg;Q.dispatchException(Q.arg)}else Q.method==="return"&&Q.abrupt("return",Q.arg);q=P;var Le=A(J,X,Q);if(Le.type==="normal"){if(q=Q.done?M:E,Le.arg===O)continue;return{value:Le.arg,done:Q.done}}Le.type==="throw"&&(q=M,Q.method="throw",Q.arg=Le.arg)}}}function de(J,X){var Q=X.method,q=J.iterator[Q];if(q===i)return X.delegate=null,Q==="throw"&&J.iterator.return&&(X.method="return",X.arg=i,de(J,X),X.method==="throw")||Q!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+Q+"' method")),O;var te=A(q,J.iterator,X.arg);if(te.type==="throw")return X.method="throw",X.arg=te.arg,X.delegate=null,O;var fe=te.arg;return fe?fe.done?(X[J.resultName]=fe.value,X.next=J.nextLoc,X.method!=="return"&&(X.method="next",X.arg=i),X.delegate=null,O):fe:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,O)}function oe(J){var X={tryLoc:J[0]};1 in J&&(X.catchLoc=J[1]),2 in J&&(X.finallyLoc=J[2],X.afterLoc=J[3]),this.tryEntries.push(X)}function re(J){var X=J.completion||{};X.type="normal",delete X.arg,J.completion=X}function Z(J){this.tryEntries=[{tryLoc:"root"}],J.forEach(oe,this),this.reset(!0)}function ae(J){if(J||J===""){var X=J[N];if(X)return X.call(J);if(typeof J.next=="function")return J;if(!isNaN(J.length)){var Q=-1,q=function(){function te(){for(;++Q=0;--te){var fe=this.tryEntries[te],ye=fe.completion;if(fe.tryLoc==="root")return q("end");if(fe.tryLoc<=this.prev){var pe=v.call(fe,"catchLoc"),Le=v.call(fe,"finallyLoc");if(pe&&Le){if(this.prev=0;--q){var te=this.tryEntries[q];if(te.tryLoc<=this.prev&&v.call(te,"finallyLoc")&&this.prev=0;--Q){var q=this.tryEntries[Q];if(q.finallyLoc===X)return this.complete(q.completion,q.afterLoc),re(q),O}}return J}(),catch:function(){function J(X){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var q=this.tryEntries[Q];if(q.tryLoc===X){var te=q.completion;if(te.type==="throw"){var fe=te.arg;re(q)}return fe}}throw Error("illegal catch attempt")}return J}(),delegateYield:function(){function J(X,Q,q){return this.delegate={iterator:ae(X),resultName:Q,nextLoc:q},this.method==="next"&&(this.arg=i),O}return J}()},C}function c(i,C,V,v,p,g,N){try{var x=i[g](N),B=x.value}catch(L){return void V(L)}x.done?C(B):Promise.resolve(B).then(v,p)}function u(i){return function(){var C=this,V=arguments;return new Promise(function(v,p){var g=i.apply(C,V);function N(B){c(g,v,p,N,x,"next",B)}function x(B){c(g,v,p,N,x,"throw",B)}N(void 0)})}}function m(i,C){i.prototype=Object.create(C.prototype),i.prototype.constructor=i,l(i,C)}function l(i,C){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(V,v){return V.__proto__=v,V},l(i,C)}var d={add:{icon:"check-circle",color:"green"},admin:{icon:"user-shield",color:"purple"},balance:{icon:"balance-scale-right",color:"yellow"},bugfix:{icon:"bug",color:"green"},code_imp:{icon:"code",color:"green"},config:{icon:"cogs",color:"purple"},del:{icon:"minus",color:"red"},expansion:{icon:"check-circle",color:"green"},experiment:{icon:"radiation",color:"yellow"},image:{icon:"image",color:"green"},imageadd:{icon:"tg-image-plus",color:"green"},imagedel:{icon:"tg-image-minus",color:"red"},map:{icon:"map-location-dot",color:"green"},qol:{icon:"hand-holding-heart",color:"green"},refactor:{icon:"tools",color:"green"},rscadd:{icon:"check-circle",color:"green"},rscdel:{icon:"times-circle",color:"red"},server:{icon:"server",color:"purple"},sound:{icon:"volume-high",color:"green"},soundadd:{icon:"tg-sound-plus",color:"green"},sounddel:{icon:"tg-sound-minus",color:"red"},spellcheck:{icon:"spell-check",color:"green"},tgs:{icon:"toolbox",color:"purple"},tweak:{icon:"wrench",color:"green"},unknown:{icon:"info-circle",color:"label"},wip:{icon:"hammer",color:"orange"}},s=r.Changelog=function(i){function C(){var v;return v=i.call(this)||this,v.getData=function(p,g){g===void 0&&(g=1);var N=(0,t.useBackend)(v.context),x=N.act,B=v,L=6;if(g>L)return v.setData("Failed to load data after "+L+" attempts");x("get_month",{date:p}),fetch((0,k.resolveAsset)(p+".yml")).then(function(){var I=u(h().mark(function(){function A(T){var E,P,M;return h().wrap(function(){function O(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,T.text();case 2:E=R.sent,P=/^Cannot find/,P.test(E)?(M=50+g*50,B.setData("Loading changelog data"+".".repeat(g+3)),setTimeout(function(){B.getData(p,g+1)},M)):B.setData(S.default.load(E,{schema:S.default.CORE_SCHEMA}));case 5:case"end":return R.stop()}}return O}(),A)}return A}()));return function(A){return I.apply(this,arguments)}}())},v.state={data:"Loading changelog data...",selectedDate:"",selectedIndex:0},v.dateChoices=[],v}m(C,i);var V=C.prototype;return V.setData=function(){function v(p){this.setState({data:p})}return v}(),V.setSelectedDate=function(){function v(p){this.setState({selectedDate:p})}return v}(),V.setSelectedIndex=function(){function v(p){this.setState({selectedIndex:p})}return v}(),V.componentDidMount=function(){function v(){var p=this,g=(0,t.useBackend)(this.context),N=g.data.dates,x=N===void 0?[]:N;x&&(x.forEach(function(B){return p.dateChoices.push((0,y.default)(B,"mmmm yyyy",!0))}),this.setSelectedDate(this.dateChoices[0]),this.getData(x[0]))}return v}(),V.render=function(){function v(){var p=this,g=this.state,N=g.data,x=g.selectedDate,B=g.selectedIndex,L=(0,t.useBackend)(this.context),I=L.data.dates,A=this.dateChoices,T=A.length>0&&(0,e.createComponentVNode)(2,o.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===0,icon:"chevron-left",onClick:function(){function R(){var F=B-1;return p.setData("Loading changelog data..."),p.setSelectedIndex(F),p.setSelectedDate(A[F]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),p.getData(I[F])}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{displayText:x,options:A,onSelected:function(){function R(F){var W=A.indexOf(F);return p.setData("Loading changelog data..."),p.setSelectedIndex(W),p.setSelectedDate(F),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),p.getData(I[W])}return R}(),selected:x,width:"150px"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===A.length-1,icon:"chevron-right",onClick:function(){function R(){var F=B+1;return p.setData("Loading changelog data..."),p.setSelectedIndex(F),p.setSelectedDate(A[F]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),p.getData(I[F])}return R}()})})]}),E=(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createVNode)(1,"h1",null,"Paradise Station",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thanks to: ",16),(0,e.createTextVNode)("Baystation 12, /tg/station, /vg/station, NTstation, CDK Station devs, FacepunchStation, GoonStation devs, the original SpaceStation developers and Radithor for the title image. Also a thanks to anybody who has contributed who is not listed here :( Ask to be added here on irc.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Recent GitHub contributors can be found "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://github.com/ss220-space/Paradise/pulse/monthly"}),(0,e.createTextVNode)(".")],0),T]}),P=(0,e.createComponentVNode)(2,o.Section,{children:[T,(0,e.createVNode)(1,"h3",null,"GoonStation 13 Development Team",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Coders: ",16),(0,e.createTextVNode)("Stuntwaffle, Showtime, Pantaloons, Nannek, Keelin, Exadv1, hobnob, Justicefries, 0staf, sniperchance, AngriestIBM, BrianOBlivion")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Spriters: ",16),(0,e.createTextVNode)("Supernorn, Haruhi, Stuntwaffle, Pantaloons, Rho, SynthOrange, I Said No")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Traditional Games Space Station 13 is thankful to the GoonStation 13 Development Team for its work on the game up to the"),(0,e.createTextVNode)(" r4407 release. The changelog for changes up to r4407 can be seen "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://wiki.ss13.co/Pre-2016_Changelog#April_2010"}),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,["Except where otherwise noted, Goon Station 13 is licensed under a ",(0,e.createVNode)(1,"a",null,"Creative Commons Attribution-Noncommercial-Share Alike 3.0 License",16,{href:"https://creativecommons.org/licenses/by-nc-sa/3.0/"}),". Rights are currently extended to ",(0,e.createVNode)(1,"a",null,"SomethingAwful Goons",16,{href:"http://forums.somethingawful.com/"})," only."],0),(0,e.createVNode)(1,"h3",null,"Traditional Games Space Station 13 License",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Some icons by"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Yusuke Kamiyamane",16,{href:"http://p.yusukekamiyamane.com/"}),(0,e.createTextVNode)(". All rights reserved. Licensed under a"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Creative Commons Attribution 3.0 License",16,{href:"http://creativecommons.org/licenses/by/3.0/"}),(0,e.createTextVNode)(".")],0)]}),M=/#\d+/,O=typeof N=="object"&&Object.keys(N).length>0&&Object.entries(N).reverse().map(function(R){var F=R[0],W=R[1];return(0,e.createComponentVNode)(2,o.Section,{title:(0,y.default)(F,"d mmmm yyyy",!0),children:(0,e.createComponentVNode)(2,o.Box,{ml:3,children:Object.entries(W).map(function(j){var U=j[0],K=j[1];return(0,e.createFragment)([(0,e.createVNode)(1,"h4",null,[U,(0,e.createTextVNode)(" changed:")],0),(0,e.createComponentVNode)(2,o.Box,{ml:3,children:(0,e.createComponentVNode)(2,o.Table,{children:K.map(function(Y){var ne=Object.keys(Y)[0],$=Y[ne],le=$.match(M),de=(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)(["Changelog__Cell","Changelog__Cell--Icon"]),children:(0,e.createComponentVNode)(2,o.Icon,{color:d[ne]?d[ne].color:d.unknown.color,name:d[ne]?d[ne].icon:d.unknown.icon})});return le!==null&&(0,e.createComponentVNode)(2,o.Table.Row,{children:[de,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:(0,e.createVNode)(1,"a",null,[" ",$.charAt(0).toUpperCase()+$.slice(1)," "],0,{href:"https://github.com/ss220-space/Paradise/pull/"+le[0].substring(1)})})]},ne+$)||(0,e.createComponentVNode)(2,o.Table.Row,{children:[de,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:$})]},ne+$)})})})],4,U)})})},F)});return(0,e.createComponentVNode)(2,f.Window,{title:"Changelog",width:675,height:650,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[E,O,typeof N=="string"&&(0,e.createVNode)(1,"p",null,N,0),P]})})}return v}(),C}(e.Component)},91360:function(w,r,n){"use strict";r.__esModule=!0,r.CheckboxListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),f=n(72253),k=n(98595),y=r.CheckboxListInputModal=function(){function b(h,c){var u=(0,f.useBackend)(c),m=u.act,l=u.data,d=l.items,s=d===void 0?[]:d,i=l.message,C=i===void 0?"":i,V=l.init_value,v=l.timeout,p=l.title,g=(0,f.useLocalState)(c,"edittedItems",s),N=g[0],x=g[1],B=330+Math.ceil(C.length/3),L=function(){function I(A){A===void 0&&(A=null);var T=[].concat(N);T=T.map(function(E){return E.key===A.key?Object.assign({},E,{checked:!A.checked}):E}),x(T)}return I}();return(0,e.createComponentVNode)(2,k.Window,{title:p,width:325,height:B,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{className:"ListInput__Section",fill:!0,title:C,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,S,{filteredItems:N,onClick:L})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:N})})]})})})]})}return b}(),S=function(h,c){var u=h.filteredItems,m=h.onClick;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:u.map(function(l,d){return(0,e.createComponentVNode)(2,o.Button.Checkbox,{fluid:!0,id:d,onClick:function(){function s(){return m(l)}return s}(),checked:l.checked,style:{animation:"none",transition:"none"},children:l.key.replace(/^\w/,function(s){return s.toUpperCase()})},d)})})}},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),k=[1,5,10,20,30,50,100],y=[1,5,10],S=r.ChemDispenser=function(){function u(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:580,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,c)]})})})}return u}(),b=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.amount,V=i.energy,v=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042D\u043D\u0435\u0440\u0433\u0438\u044F",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:V,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[V," / ",v," \u0415\u0434\u0438\u043D\u0438\u0446"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0431\u044A\u0451\u043C \u0441\u0438\u043D\u0442\u0435\u0437\u0430",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:k.map(function(p,g){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 N(){return s("amount",{amount:p})}return N}()})},g)})})})]})})})},h=function(m,l){for(var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.chemicals,V=C===void 0?[]:C,v=[],p=0;p<(V.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:i.glass?"\u0421\u0438\u043D\u0442\u0435\u0437 \u043D\u0430\u043F\u0438\u0442\u043A\u043E\u0432":"\u0421\u0438\u043D\u0442\u0435\u0437 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u043E\u0432",children:[V.map(function(g,N){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:g.title,style:{"margin-left":"2px"},onClick:function(){function x(){return s("dispense",{reagent:g.id})}return x}()},N)}),v.map(function(g,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},N)})]})})},c=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.isBeakerLoaded,V=i.beakerCurrentVolume,v=i.beakerMaxVolume,p=i.beakerContents,g=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",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:[V," / ",v," \u0435\u0434\u0438\u043D\u0438\u0446"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",disabled:!C,onClick:function(){function N(){return s("ejectBeaker")}return N}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:C,beakerContents:g,buttons:function(){function N(x){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"\u0418\u0437\u043E\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C",icon:"compress-arrows-alt",onClick:function(){function B(){return s("remove",{reagent:x.id,amount:-1})}return B}()}),y.map(function(B,L){return(0,e.createComponentVNode)(2,t.Button,{content:B,onClick:function(){function I(){return s("remove",{reagent:x.id,amount:B})}return I}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0451",onClick:function(){function B(){return s("remove",{reagent:x.id,amount:x.volume})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u041E\u043A\u0440\u0443\u0433\u043B\u0438\u0442\u044C",tooltip:"\u0423\u0434\u0430\u043B\u044F\u0435\u0442 \u043B\u0438\u0448\u043D\u0435\u0435, \u043E\u043A\u0440\u0443\u0433\u043B\u044F\u044F \u043E\u0431\u044A\u0451\u043C \u0434\u043E "+Math.trunc(x.volume),icon:"arrow-circle-down",onClick:function(){function B(){return s("remove",{reagent:x.id,amount:-2})}return B}()})],0)}return N}()})})})}},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),k=n(98595),y=r.ChemHeater=function(){function h(c,u){return(0,e.createComponentVNode)(2,k.Window,{width:450,height:275,children:(0,e.createComponentVNode)(2,k.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(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.targetTemp,i=d.targetTempReached,C=d.autoEject,V=d.isActive,v=d.currentTemp,p=d.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u0410\u0432\u0442\u043E-\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435",icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){function g(){return l("toggle_autoeject")}return g}()}),(0,e.createComponentVNode)(2,o.Button,{content:V?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",icon:"power-off",selected:V,disabled:!p,onClick:function(){function g(){return l("toggle_on")}return g}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0426\u0435\u043B\u0435\u0432\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",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 g(N,x){return l("adjust_temperature",{target:x})}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",color:i?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function g(N){return(0,a.toFixed)(N)+" K"}return g}()})||"\u2014"})]})})})},b=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.isBeakerLoaded,i=d.beakerCurrentVolume,C=d.beakerMaxVolume,V=d.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",C," \u0435\u0434\u0438\u043D\u0438\u0446"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",onClick:function(){function v(){return l("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:V})})})}},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),k=n(3939),y=n(35840),S=["icon"];function b(B,L){if(B==null)return{};var I={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;I[A]=B[A]}return I}function h(B,L){B.prototype=Object.create(L.prototype),B.prototype.constructor=B,c(B,L)}function c(B,L){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,A){return I.__proto__=A,I},c(B,L)}var u=[1,5,10],m=function(L,I){var A=(0,a.useBackend)(I),T=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?"\u0410\u043D\u0430\u043B\u0438\u0437 \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430":"\u0410\u043D\u0430\u043B\u0438\u0437 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",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:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",children:P.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:(P.desc||"").length>0?P.desc:"\u041D/\u0414"}),P.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0413\u0440\u0443\u043F\u043F\u0430 \u043A\u0440\u043E\u0432\u0438",children:P.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u041D\u041A-\u043A\u043E\u0434",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:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function M(){return T("print",{idx:P.idx,beaker:L.args.beaker})}return M}()})]})})})})},l=function(B){return B[B.ToDisposals=0]="ToDisposals",B[B.ToBeaker=1]="ToBeaker",B}(l||{}),d=r.ChemMaster=function(){function B(L,I){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,k.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,x)]})})]})}return B}(),s=function(L,I){var A=(0,a.useBackend)(I),T=A.act,E=A.data,P=E.beaker,M=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:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!P,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C \u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0431\u0443\u0444\u0435\u0440",onClick:function(){function F(){return T("eject")}return F}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C \u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0431\u0443\u0444\u0435\u0440",onClick:function(){function F(){return T("eject")}return F}()}),children:P?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:M,buttons:function(){function F(W,j){return(0,e.createComponentVNode)(2,t.Box,{mb:j0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:M,buttons:function(){function O(R,F){return(0,e.createComponentVNode)(2,t.Box,{mb:F0&&(R=O.map(function(F){var W=F.id,j=F.sprite;return(0,e.createComponentVNode)(2,g,{icon:j,color:"translucent",onClick:function(){function U(){return T("set_sprite_style",{production_mode:P,style:W})}return U}(),selected:M===W},W)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F",children:R})})},x=function(L,I){var A=(0,a.useBackend)(I),T=A.act,E=A.data,P=E.loaded_pill_bottle_style,M=E.containerstyles,O=E.loaded_pill_bottle,R={width:"20px",height:"20px"},F=M.map(function(W){var j=W.color,U=W.name,K=P===j;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function Y(){return T("set_container_style",{style:j})}return Y}(),icon:K&&"check",iconStyle:{position:"relative","z-index":1},tooltip:U,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":j,opacity:.6,filter:"alpha(opacity=60)"}})]},j)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u041A\u0430\u0441\u0442\u043E\u043C\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u0430",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!O,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440",onClick:function(){function W(){return T("ejectp")}return W}()}),children:O?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function W(){return T("clear_container_style")}return W}(),selected:!P,tooltip:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",tooltipPosition:"top"}),F]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"\u041A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442."})})})};(0,k.modalRegisterBodyOverride)("analyze",m)},37173:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(76910),k=n(3939),y=n(98595),S=n(79140),b=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=C.args,x=N.activerecord,B=N.realname,L=N.health,I=N.unidentity,A=N.strucenzymes,T=L.split(" - ");return(0,e.createComponentVNode)(2,o.Section,{level:2,m:"-1rem",pb:"1rem",title:"\u0417\u0430\u043F\u0438\u0441\u0438 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",children:T.length>1?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.oxy,inline:!0,children:T[0]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.toxin,inline:!0,children:T[2]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.brute,inline:!0,children:T[3]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.burn,inline:!0,children:T[1]})],4):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0423\u0418",className:"LabeledList__breakContents",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0424",className:"LabeledList__breakContents",children:A}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Disk",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!g.disk,icon:"arrow-circle-down",content:"\u0418\u043C\u043F\u043E\u0440\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",onClick:function(){function E(){return p("disk",{option:"load"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.disk,icon:"arrow-circle-up",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0423\u0418",onClick:function(){function E(){return p("disk",{option:"save",savetype:"ui"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.disk,icon:"arrow-circle-up",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0423\u0418 \u0438 \u0423\u0424",onClick:function(){function E(){return p("disk",{option:"save",savetype:"ue"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.disk,icon:"arrow-circle-up",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0421\u0424",onClick:function(){function E(){return p("disk",{option:"save",savetype:"se"})}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!g.podready,icon:"user-plus",content:"\u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C",onClick:function(){function E(){return p("clone",{ref:x})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",onClick:function(){function E(){return p("del_rec")}return E}()})]})]})})},h=r.CloningConsole=function(){function i(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.menu;return(0,k.modalRegisterBodyOverride)("view_rec",b),(0,e.createComponentVNode)(2,y.Window,{width:640,height:520,children:[(0,e.createComponentVNode)(2,k.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,e.createComponentVNode)(2,y.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,flexGrow:"1",children:(0,e.createComponentVNode)(2,u)})]})]})}return i}(),c=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.menu;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:N===1,icon:"home",onClick:function(){function x(){return p("menu",{num:1})}return x}(),children:"\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:N===2,icon:"folder",onClick:function(){function x(){return p("menu",{num:2})}return x}(),children:"\u0417\u0430\u043F\u0438\u0441\u0438"})]})},u=function(C,V){var v=(0,t.useBackend)(V),p=v.data,g=p.menu,N;return g===1?N=(0,e.createComponentVNode)(2,m):g===2&&(N=(0,e.createComponentVNode)(2,l)),N},m=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.loading,x=g.scantemp,B=g.occupant,L=g.locked,I=g.can_brainscan,A=g.scan_mode,T=g.numberofpods,E=g.pods,P=g.selected_pod,M=L&&!!B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"\u0421\u043A\u0430\u043D\u0435\u0440",level:"2",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"\u0411\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0441\u043A\u0430\u043D\u0435\u0440\u0430:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,selected:M,icon:M?"toggle-on":"toggle-off",content:M?"\u0410\u043A\u0442\u0438\u0432\u043D\u0430":"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0430",onClick:function(){function O(){return p("lock")}return O}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:M||!B,icon:"user-slash",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0441\u0443\u0431\u044A\u0435\u043A\u0442",onClick:function(){function O(){return p("eject")}return O}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",children:N?(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"spinner",spin:!0}),"\xA0 \u0421\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435..."]}):(0,e.createComponentVNode)(2,o.Box,{color:x.color,children:x.text})}),!!I&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,o.Button,{icon:A?"brain":"male",content:A?"\u041C\u043E\u0437\u0433":"\u0422\u0435\u043B\u043E",onClick:function(){function O(){return p("toggle_mode")}return O}()})})]}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B||N,icon:"user",content:"\u0421\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0443\u0431\u044A\u0435\u043A\u0442",mt:"0.5rem",mb:"0",onClick:function(){function O(){return p("scan")}return O}()})]}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0430\u043F\u0441\u0443\u043B\u044B",level:"2",children:T?E.map(function(O,R){var F;return O.status==="cloning"?F=(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:O.progress/100,ranges:{good:[.75,1/0],average:[.25,.75],bad:[-1/0,.25]},mt:"0.5rem",children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,a.round)(O.progress,0)+"%"})}):O.status==="mess"?F=(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"\u041E\u0448\u0438\u0431\u043A\u0430"}):F=(0,e.createComponentVNode)(2,o.Button,{selected:P===O.pod,icon:P===O.pod&&"check",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",mt:"0.5rem",onClick:function(){function W(){return p("selectpod",{ref:O.pod})}return W}()}),(0,e.createComponentVNode)(2,o.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,S.resolveAsset)("pod_"+O.status+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u2116",R+1]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:O.biomass>=150?"good":"bad",inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:O.biomass>=150?"circle":"circle-o"}),"\xA0",O.biomass]}),F]},R)}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041A\u0430\u043F\u0441\u0443\u043B\u044B \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B. \u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E."})})],4)},l=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.records;return N.length?(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:N.map(function(x,B){return(0,e.createComponentVNode)(2,o.Button,{icon:"user",mb:"0.5rem",content:x.realname,onClick:function(){function L(){return p("view_rec",{ref:x.record})}return L}()},B)})}):(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u0417\u0430\u043F\u0438\u0441\u0438 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B."]})})},d=function(C,V){var v,p=(0,t.useBackend)(V),g=p.act,N=p.data,x=N.temp;if(!(!x||!x.text||x.text.length<=0)){var B=(v={},v[x.style]=!0,v);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.NoticeBox,Object.assign({},B,{children:[(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",children:x.text}),(0,e.createComponentVNode)(2,o.Button,{icon:"times-circle",float:"right",onClick:function(){function L(){return g("cleartemp")}return L}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"both"})]})))}},s=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.scanner,x=g.numberofpods,B=g.autoallowed,L=g.autoprocess,I=g.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",buttons:(0,e.createFragment)([!!B&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:L?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function A(){return p("autoprocess",{on:L?0:1})}return A}()})],4),(0,e.createComponentVNode)(2,o.Button,{disabled:!I,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0434\u0438\u0441\u043A\u0435\u0442\u0443",onClick:function(){function A(){return p("disk",{option:"eject"})}return A}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043A\u0430\u043D\u0435\u0440",children:N?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041A\u0430\u043F\u0441\u0443\u043B\u044B",children:x?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:["\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0445 \u043A\u0430\u043F\u0441\u0443\u043B - ",x]}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u044B"})})]})})}},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),k=r.CoinMint=function(){function y(S,b){var h=(0,t.useBackend)(b),c=h.act,u=h.data,m=u.materials,l=u.moneyBag,d=u.moneyBagContent,s=u.moneyBagMaxContent,i=(l?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:256,height:i,title:"\u041C\u043E\u043D\u0435\u0442\u043D\u044B\u0439 \u043F\u0440\u0435\u0441\u0441",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:["\u041F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u043E \u043C\u043E\u043D\u0435\u0442: ",u.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0422\u0438\u043F \u041C\u043E\u043D\u0435\u0442",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:u.active&&"bad",tooltip:!l&&"\u041D\u0443\u0436\u0435\u043D \u0434\u0435\u043D\u0435\u0436\u043D\u044B\u0439 \u043C\u0435\u0448\u043E\u043A",disabled:!l,onClick:function(){function C(){return c("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:u.maxMaterials,value:u.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"\u0418\u0437\u0432\u0432\u043B\u0435\u0447\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u044B\u0439 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B",onClick:function(){function C(){return c("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===u.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 V(){return c("selectMaterial",{material:C.id})}return V}()},C.id)})})]})})}),!!l&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0414\u0435\u043D\u0435\u0436\u043D\u044B\u0439 \u043C\u0435\u0448\u043E\u043A",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",disabled:u.active,onClick:function(){function C(){return c("ejectBag")}return C}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:d,children:[d," / ",s]})})})]})})})}return y}()},93858:function(w,r,n){"use strict";r.__esModule=!0,r.HexColorInput=r.ColorSelector=r.ColorPickerModal=r.ColorInput=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(36036),f=n(98595),k=n(44879),y=n(14448),S=n(4454),b=n(35840),h=n(9394),c=n(19203),u=["prefixed","alpha","color","fluid","onChange"];/** + */var k=(0,t.createLogger)("hotkeys"),y={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],b={},h=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},c=function(i){var C=String(i);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||S.includes(i.code))){C==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var V=h(i.code);if(V){var v=y[V];if(v)return k.debug("macro",v),Byond.command(v);if(i.isDown()&&!b[V]){b[V]=!0;var p='KeyDown "'+V+'"';return k.debug(p),Byond.command(p)}if(i.isUp()&&b[V]){b[V]=!1;var g='KeyUp "'+V+'"';return k.debug(g),Byond.command(g)}}}},u=r.acquireHotKey=function(){function s(i){S.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var C=S.indexOf(i);C>=0&&S.splice(C,1)}return s}(),l=r.releaseHeldKeys=function(){function s(){for(var i=0,C=Object.keys(b);i0||(0,a.fetchRetry)((0,e.resolveAsset)("icon_ref_map.json")).then(function(k){return k.json()}).then(function(k){return Byond.iconRefMap=k}).catch(function(k){return t.logger.log(k)})}return f}()},1090:function(w,r,n){"use strict";r.__esModule=!0,r.AICard=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AICard=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;if(c.has_ai===0)return(0,e.createComponentVNode)(2,o.Window,{width:250,height:120,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var u=null;return c.integrity>=75?u="green":c.integrity>=25?u="yellow":u="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:c.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:u,value:c.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,c.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:!!c.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:c.laws.map(function(m,l){return(0,e.createComponentVNode)(2,t.Box,{children:m},l)})})||(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:c.wireless?"check":"times",content:c.wireless?"Enabled":"Disabled",color:c.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:c.radio?"check":"times",content:c.radio?"Enabled":"Disabled",color:c.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:c.flushing||c.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return h("wipe")}return m}()})})]})})})]})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;if(c.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 u=!0;(c.stat===2||c.stat===null)&&(u=!1);var m=null;c.integrity>=75?m="green":c.integrity>=25?m="yellow":m="red";var l=!0;return c.integrity>=100&&c.stat!==2&&(l=!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:c.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:c.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:u?"green":"red",children:u?"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:!!c.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:c.laws.map(function(d,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d},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:c.wireless?"times":"check",content:c.wireless?"Disabled":"Enabled",color:c.wireless?"red":"green",onClick:function(){function d(){return h("wireless")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.radio?"times":"check",content:c.radio?"Disabled":"Enabled",color:c.radio?"red":"green",onClick:function(){function d(){return h("radio")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!l||c.active,content:!l||c.active?"Already Repaired":"Repair",onClick:function(){function d(){return h("fix")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:c.active?"Reconstruction in progress.":""})]})})]})})})}return k}()},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),k=r.APC=function(){function h(c,u){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}(),y={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},S={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.locked&&!d.siliconUser,i=d.normallyLocked,C=y[d.externalPower]||y[0],V=y[d.chargingStatus]||y[0],v=d.powerChannels||[],p=S[d.malfStatus]||S[0],g=d.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:d.isOperating?"power-off":"times",content:d.isOperating?"On":"Off",selected:d.isOperating&&!s,color:d.isOperating?"":"bad",disabled:s,onClick:function(){function N(){return l("breaker")}return N}()}),children:["[ ",C.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:g})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:V.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.chargeMode?"sync":"times",content:d.chargeMode?"Auto":"Off",selected:d.chargeMode,disabled:s,onClick:function(){function N(){return l("charge")}return N}()}),children:["[ ",V.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.map(function(N){var x=N.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:N.status>=2?"good":"bad",children:N.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(N.status===1||N.status===3),disabled:s,onClick:function(){function B(){return l("channel",x.auto)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&N.status===2,disabled:s,onClick:function(){function B(){return l("channel",x.on)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&N.status===0,disabled:s,onClick:function(){function B(){return l("channel",x.off)}return B}()})],4),children:[N.powerLoad," W"]},N.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[d.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!d.siliconUser&&(0,e.createFragment)([!!d.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:p.icon,content:p.content,color:"bad",onClick:function(){function N(){return l(p.action)}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function N(){return l("overload")}return N}()})],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:d.coverLocked?"lock":"unlock",content:d.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function N(){return l("cover")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:d.nightshiftLights?"Enabled":"Disabled",onClick:function(){function N(){return l("toggle_nightshift")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting Fallback",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:d.emergencyLights?"Engaged":"Disengaged",disabled:s,onClick:function(){function N(){return l("emergency_lighting")}return N}()})})]})})],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 l(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.view_screen,p=V.authenticated_account,g=V.ticks_left_locked_down,N=V.linked_db,x;if(g>0)x=(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)x=(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(p)switch(v){case 1:x=(0,e.createComponentVNode)(2,y);break;case 2:x=(0,e.createComponentVNode)(2,S);break;case 3:x=(0,e.createComponentVNode)(2,u);break;case 4:x=(0,e.createComponentVNode)(2,b);break;default:x=(0,e.createComponentVNode)(2,h)}else x=(0,e.createComponentVNode)(2,c);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Section,{children:x})]})})}return l}(),k=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.machine_id,p=V.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:p,icon:"eject",onClick:function(){function g(){return C("insert_card")}return g}()})})})]})},y=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function p(){return C("change_security_level",{new_security_level:0})}return p}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===1,onClick:function(){function p(){return C("change_security_level",{new_security_level:1})}return p}()})}),(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,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Card and Account Pin",icon:"unlock",selected:v===2,onClick:function(){function p(){return C("change_security_level",{new_security_level:2})}return p}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number, pin and card are required to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,m)]})},S=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=(0,a.useLocalState)(s,"targetAccNumber",0),p=v[0],g=v[1],N=(0,a.useLocalState)(s,"fundsAmount",0),x=N[0],B=N[1],L=(0,a.useLocalState)(s,"purpose",0),I=L[0],A=L[1],T=V.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:["$",T]}),(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 E(P,M){return g(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function E(P,M){return B(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function E(P,M){return A(M)}return E}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function E(){return C("transfer",{target_acc_number:p,funds_amount:x,purpose:I})}return E}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,m)]})},b=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.insurance_type;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u0442\u0438\u043F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u043A\u0438",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F",children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u041D\u0435\u0442 (0)",icon:"unlock",selected:v==="None",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"None"})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0411\u044E\u0434\u0436\u0435\u0442\u043D\u0430\u044F (0)",icon:"unlock",selected:v==="Bugetary",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"Bugetary"})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F (500)",icon:"unlock",selected:v==="Standart",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"Standart"})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0414\u0435\u043B\u044E\u043A\u0441 (2000)",icon:"unlock",selected:v==="Deluxe",onClick:function(){function p(){return C("change_insurance_type",{new_insurance_type:"Deluxe"})}return p}()})]})}),(0,e.createComponentVNode)(2,m)]})},h=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=(0,a.useLocalState)(s,"fundsAmount",0),p=v[0],g=v[1],N=(0,a.useLocalState)(s,"insuranceAmount",0),x=N[0],B=N[1],L=V.owner_name,I=V.money,A=V.insurance;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+L,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function T(){return C("logout")}return T}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",I]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function T(E,P){return g(P)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function T(){return C("withdrawal",{funds_amount:p})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Insurance Points",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Adding Insurance",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function T(E,P){return B(P)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Add insurance points",icon:"sign-out-alt",onClick:function(){function T(){return C("insurance",{insurance_amount:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Toggle auto-replenishment of insurance",icon:"sign-out-alt",onClick:function(){function T(){return C("insurance_replenishment",{})}return T}()})})]})}),(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 T(){return C("view_screen",{view_screen:1})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function T(){return C("view_screen",{view_screen:2})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function T(){return C("view_screen",{view_screen:3})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change type of insurance",icon:"lock",onClick:function(){function T(){return C("view_screen",{view_screen:4})}return T}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function T(){return C("balance_statement")}return T}()})})]})],4)},c=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=(0,a.useLocalState)(s,"accountID",null),p=v[0],g=v[1],N=(0,a.useLocalState)(s,"accountPin",null),x=N[0],B=N[1],L=V.machine_id,I=V.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 A(T,E){return g(E)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function A(T,E){return B(E)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function A(){return C("attempt_auth",{account_num:p,account_pin:x})}return A}()})})]})})},u=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:p.is_deposit?"green":"red",children:["$",p.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.target_name})]},p)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,m)]})},m=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return C("view_screen",{view_screen:0})}return v}()})}},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),k=n(98595),y=n(321),S=n(5485),b=r.AccountsUplinkTerminal=function(){function d(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.loginState,g=v.currentPage,N;if(p.logged_in)g===1?N=(0,e.createComponentVNode)(2,h):g===2?N=(0,e.createComponentVNode)(2,m):g===3&&(N=(0,e.createComponentVNode)(2,l));else return(0,e.createComponentVNode)(2,k.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,k.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,k.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:N})]})})})}return d}(),h=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.accounts,g=(0,t.useLocalState)(i,"searchText",""),N=g[0],x=g[1],B=(0,t.useLocalState)(i,"sortId","owner_name"),L=B[0],I=B[1],A=(0,t.useLocalState)(i,"sortOrder",!0),T=A[0],E=A[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,c,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,c,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,c,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,c,{id:"money",children:"Account Balance"})]}),p.filter((0,a.createSearch)(N,function(P){return P.owner_name+"|"+P.account_number+"|"+P.suspended+"|"+P.money})).sort(function(P,M){var O=T?1:-1;return P[L].localeCompare(M[L])*O}).map(function(P){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+P.suspended,onClick:function(){function M(){return V("view_account_detail",{index:P.account_index})}return M}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",P.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",P.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.money})]},P.account_number)})]})})})]})},c=function(s,i){var C=(0,t.useLocalState)(i,"sortId","name"),V=C[0],v=C[1],p=(0,t.useLocalState)(i,"sortOrder",!0),g=p[0],N=p[1],x=s.id,B=s.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:V!==x&&"transparent",width:"100%",onClick:function(){function L(){V===x?N(!g):(v(x),N(!0))}return L}(),children:[B,V===x&&(0,e.createComponentVNode)(2,o.Icon,{name:g?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.is_printing,g=(0,t.useLocalState)(i,"searchText",""),N=g[0],x=g[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 B(){return V("create_new_account")}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"print",content:"Print Account List",disabled:p,ml:"0.25rem",onClick:function(){function B(){return V("print_records")}return B}()})]}),(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 B(L,I){return x(I)}return B}()})})]})},m=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=v.account_number,g=v.owner_name,N=v.money,x=v.suspended,B=v.transactions;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:"#"+p+" / "+g,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function L(){return V("back")}return L}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",p]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:g}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:N}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:x?"red":"green",children:[x?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:x?"Unsuspend":"Suspend",icon:x?"unlock":"lock",onClick:function(){function L(){return V("toggle_suspension")}return L}()})]})]})})}),(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"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:L.is_deposit?"green":"red",children:["$",L.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.target_name})]},L)})]})})})]})},l=function(s,i){var C=(0,t.useBackend)(i),V=C.act,v=C.data,p=(0,t.useLocalState)(i,"accName",""),g=p[0],N=p[1],x=(0,t.useLocalState)(i,"accDeposit",""),B=x[0],L=x[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 I(){return V("back")}return I}()}),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 I(A,T){return N(T)}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function I(A,T){return L(T)}return I}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function I(){return V("finalise_create_account",{holder_name:g,starting_funds:B})}return I}()})]})}},23001:function(w,r,n){"use strict";r.__esModule=!0,r.AdminAntagMenu=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(36352),k=n(98595),y=n(321),S=n(5485),b={0:"\u0410\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u044B",1:"\u0426\u0435\u043B\u0438",2:"\u0421\u0411",3:"\u041E\u0441\u043E\u0431\u043E \u0446\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u044B",default:"\u0427\u0442\u043E-\u0442\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0440\u0430 \u043F\u0438\u0441\u0430\u0442\u044C \u0431\u0430\u0433 \u0440\u0435\u043F\u043E\u0440\u0442!"},h={0:function(){function V(){return(0,e.createComponentVNode)(2,l)}return V}(),1:function(){function V(){return(0,e.createComponentVNode)(2,d)}return V}(),2:function(){function V(){return(0,e.createComponentVNode)(2,s)}return V}(),3:function(){function V(){return(0,e.createComponentVNode)(2,i)}return V}(),default:function(){function V(){return"\u0427\u0442\u043E-\u0442\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0440\u0430 \u043F\u0438\u0441\u0430\u0442\u044C \u0431\u0430\u0433 \u0440\u0435\u043F\u043E\u0440\u0442!"}return V}()},c=function(v){return b[v]||b.default},u=function(v){return h[v]||h.default},m=r.AdminAntagMenu=function(){function V(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.loginState,L=x.currentPage,I=(0,t.useLocalState)(p,"tabIndex",0),A=I[0],T=I[1],E=(0,t.useLocalState)(p,"searchText",""),P=E[0],M=E[1];return(0,e.createComponentVNode)(2,k.Window,{width:800,height:600,title:"\u041C\u0435\u043D\u044E \u0441\u043F\u0435\u0446-\u0440\u043E\u043B\u0435\u0439",children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,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.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===0,onClick:function(){function O(){T(0)}return O}(),icon:"user",children:"\u0410\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u044B"},"Antagonists"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===1,onClick:function(){function O(){T(1)}return O}(),icon:"people-robbery",children:"\u0426\u0435\u043B\u0438"},"Objectives"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===2,onClick:function(){function O(){T(2)}return O}(),icon:"handcuffs",children:"\u0421\u0411"},"Security"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:A===3,onClick:function(){function O(){T(3)}return O}(),icon:"lock",children:"\u041E\u0441\u043E\u0431\u043E \u0446\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u044B"},"HighValueItems")]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:c(A),fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C...",width:"300px",onInput:function(){function O(R,F){return M(F)}return O}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",onClick:function(){function O(){return N("refresh")}return O}(),children:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"})]}),children:u(A)()})})]})})})}return V}(),l=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.antagonists,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId","antag_names"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1],F=Object.keys(B);if(!F||F.length===0)return(0,e.createVNode)(1,"div",null,"\u041D\u0435\u0442 \u0430\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u043E\u0432.",16);var W=F.map(function(j){return Object.assign({key:j},B[j])});return(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{id:"name",children:"\u0418\u043C\u044F \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0430"}),(0,e.createComponentVNode)(2,C,{id:"",children:"\u041A\u043D\u043E\u043F\u043A\u0438"}),(0,e.createComponentVNode)(2,C,{id:"antag_names",children:"\u0422\u0438\u043F(-\u044B) \u0430\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442\u043E\u0432"}),(0,e.createComponentVNode)(2,C,{id:"status",children:"\u0421\u0442\u0430\u0442\u0443\u0441"})]}),W.filter((0,a.createSearch)(I,function(j){var U=j.key,K=j.name,Y=j.status,ne=j.antag_names;return K+"|"+Y+"|"+ne.join(", ")})).sort(function(j,U){var K=O?1:-1;if(j[E]===void 0||j[E]===null)return K;if(U[E]===void 0||U[E]===null)return-1*K;if(typeof j[E]=="number")return(j[E]-U[E])*K;var Y=j[E],ne=U[E];return E==="antag_names"&&(Y=j[E].join(", "),ne=U[E].join(", ")),Y.localeCompare(ne)*K}).map(function(j,U){var K=j.key,Y=j.name,ne=j.body_destroyed,$=j.is_hijacker,le=j.antag_mind_uid,de=j.ckey,oe=j.status,re=j.antag_names;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:ne?Y:(0,e.createComponentVNode)(2,o.Button,{color:$||!Y?"red":"",tooltip:$?"\u0423\u0433\u043E\u043D\u0449\u0438\u043A \u0448\u0430\u0442\u0442\u043B\u0430":"",onClick:function(){function Z(){return N("show_player_panel",{mind_uid:le})}return Z}(),children:Y||"??? (\u041D\u0415\u0422 \u0418\u041C\u0415\u041D\u0418)"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("pm",{ckey:de})}return Z}(),children:"PM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("follow",{datum_uid:le})}return Z}(),children:"FLW"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("obs",{mind_uid:le})}return Z}(),children:"OBS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function Z(){N("tp",{mind_uid:le})}return Z}(),children:"TP"})]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:re.join(", ")}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:oe?"red":"grey",children:oe||"\u0416\u0438\u0432"})})]},U)})]})},d=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.objectives,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId2","target_name"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1];return B.length?(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"obj_name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"target_name",children:"\u0426\u0435\u043B\u044C"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"status",children:"\u0421\u0442\u0430\u0442\u0443\u0441"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId2",id:"owner_name",children:"\u0425\u043E\u0437\u044F\u0438\u043D"})]}),B.filter((0,a.createSearch)(I,function(F){return F.obj_name+"|"+F.target_name+"|"+(F.status?"success":"incompleted")+"|"+F.owner_name})).sort(function(F,W){var j=O?1:-1;return F[E]===void 0||F[E]===null||E==="target_name"&&F.no_target?j:W[E]===void 0||W[E]===null||E==="target_name"&&W.no_target?-1*j:typeof F[E]=="number"?(F[E]-W[E])*j:F[E].localeCompare(W[E])*j}).map(function(F,W){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{tooltip:F.obj_desc,onClick:function(){function j(){return N("vv",{uid:F.obj_uid})}return j}(),children:F.obj_name})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.no_target?"":F.track.length?F.track.map(function(j,U){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){return N("follow",{datum_uid:j})}return K}(),children:[F.target_name," ",F.track.length>1?"("+(parseInt(U,10)+1)+")":""]},U)}):F.target_name+" (\u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E)"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:F.status?"green":"grey",children:F.status?"\u0423\u0441\u043F\u0435\u0448\u043D\u043E":"\u041D\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function j(){N("obj_owner",{owner_uid:F.owner_uid})}return j}(),children:F.owner_name})})]},W)})]}):"\u041D\u0435\u0442 \u0446\u0435\u043B\u0435\u0439!"},s=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.security,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId3","health"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1],F=function(U){return U.status===2?"red":U.status===1?"orange":U.broken_bone||U.internal_bleeding?"yellow":"grey"},W=function(U){return U.status===2?"\u041C\u0451\u0440\u0442\u0432":U.status===1?"\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F":U.broken_bone&&U.internal_bleeding?"\u0421\u043B\u043E\u043C\u0430\u043D\u0430 \u043A\u043E\u0441\u0442\u044C, \u0412\u041A":U.broken_bone?"\u0421\u043B\u043E\u043C\u0430\u043D\u0430 \u043A\u043E\u0441\u0442\u044C":U.internal_bleeding?"\u0412\u041A":"\u0416\u0438\u0432"};return B.length?(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"role",children:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"status",children:"\u0421\u0442\u0430\u0442\u0443\u0441"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"antag",children:"\u0410\u043D\u0442\u0430\u0433\u043E\u043D\u0438\u0441\u0442"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId3",id:"health",children:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435"})]}),B.filter((0,a.createSearch)(I,function(j){return j.name+"|"+j.role+"|"+W(j)+"|"+j.antag})).sort(function(j,U){var K=O?1:-1;return j[E]===void 0||j[E]===null?K:U[E]===void 0||U[E]===null?-1*K:typeof j[E]=="number"?(j[E]-U[E])*K:j[E].localeCompare(U[E])*K}).map(function(j,U){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){return N("show_player_panel",{mind_uid:j.mind_uid})}return K}(),children:j.name})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:j.role}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:F(j),children:W(j)})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:j.antag?(0,e.createComponentVNode)(2,o.Button,{textColor:"red",translucent:!0,onClick:function(){function K(){N("tp",{mind_uid:j.mind_uid})}return K}(),children:j.antag}):""}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,value:j.health/j.max_health,maxValue:1,ranges:{good:[.6,1/0],average:[0,.6],bad:[-1/0,0]},children:j.health})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){N("pm",{ckey:j.ckey})}return K}(),children:"PM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){N("follow",{datum_uid:j.mind_uid})}return K}(),children:"FLW"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function K(){N("obs",{mind_uid:j.mind_uid})}return K}(),children:"OBS"})]})]},U)})]}):"\u041D\u0435\u0442\u0443 \u0421\u0411!"},i=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.high_value_items,L=(0,t.useLocalState)(p,"searchText",""),I=L[0],A=L[1],T=(0,t.useLocalState)(p,"sortId4","person"),E=T[0],P=T[1],M=(0,t.useLocalState)(p,"sortOrder",!0),O=M[0],R=M[1];return B.length?(0,e.createComponentVNode)(2,o.Table,{className:"AdminAntagMenu__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"person",children:"\u041D\u043E\u0441\u0438\u0442\u0435\u043B\u044C"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"loc",children:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,C,{sort_group:"sortId4",id:"admin_z",children:"\u0410\u0434\u043C\u0438\u043D\u0441\u043A\u0438\u0439 Z-\u0443\u0440\u043E\u0432\u0435\u043D\u044C"})]}),B.filter((0,a.createSearch)(I,function(F){return F.name+"|"+F.loc})).sort(function(F,W){var j=O?1:-1;return F[E]===void 0||F[E]===null?j:W[E]===void 0||W[E]===null?-1*j:typeof F[E]=="number"?(F[E]-W[E])*j:F[E].localeCompare(W[E])*j}).map(function(F,W){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{tooltip:F.obj_desc,translucent:F.admin_z,onClick:function(){function j(){return N("vv",{uid:F.uid})}return j}(),children:F.name})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:F.admin_z?"grey":"",children:F.person})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:F.admin_z?"grey":"",children:F.loc})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Box,{color:"grey",children:F.admin_z?"\u0414\u0430":"\u041D\u0435\u0442"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function j(){N("follow",{datum_uid:F.uid})}return j}(),children:"FLW"})})]},W)})]}):"\u041D\u0435\u0442 \u043E\u0441\u043E\u0431\u043E \u0446\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u0432!"},C=function(v,p){var g=v.id,N=v.sort_group,x=N===void 0?"sortId":N,B=v.default_sort,L=B===void 0?"antag_names":B,I=v.children,A=(0,t.useLocalState)(p,x,L),T=A[0],E=A[1],P=(0,t.useLocalState)(p,"sortOrder",!0),M=P[0],O=P[1];return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:T!==g&&"transparent",width:"100%",onClick:function(){function R(){T===g?O(!M):(E(g),O(!0))}return R}(),children:[I,T===g&&(0,e.createComponentVNode)(2,o.Icon,{name:M?"sort-up":"sort-down",ml:"0.25rem;"})]})})}},79571:function(w,r,n){"use strict";r.__esModule=!0,r.AgentCardSLSlots=r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=r.AgentCard=function(){function h(c,u){var m=(0,t.useLocalState)(u,"tabIndex",0),l=m[0],d=m[1],s=function(){function i(C){switch(C){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);default:return(0,e.createComponentVNode)(2,y)}}return i}();return(0,e.createComponentVNode)(2,f.Window,{width:500,height:475,theme:"syndicate",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:l===0,onClick:function(){function i(){return d(0)}return i}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:l===1,onClick:function(){function i(){return d(1)}return i}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"id-card"})," Appearance"]},"Appearance"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:l===2,onClick:function(){function i(){return d(2)}return i}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"arrow-down"})," Save/Load Card Info"]},"Save/Load Card Info")]}),s(l)]})})})}return h}(),y=r.AgentCardInfo=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.registered_name,i=d.sex,C=d.age,V=d.assignment,v=d.associated_account_number,p=d.blood_type,g=d.dna_hash,N=d.fingerprint_hash,x=d.photo,B=d.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Button,{content:s||"[UNSET]",onClick:function(){function L(){return l("change_name")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,o.Button,{iconRight:!1,content:i||"[UNSET]",onClick:function(){function L(){return l("change_sex")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,o.Button,{content:C||"[UNSET]",onClick:function(){function L(){return l("change_age")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,o.Button,{content:V||"[UNSET]",onClick:function(){function L(){return l("change_occupation")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,o.Button,{content:N||"[UNSET]",onClick:function(){function L(){return l("change_fingerprints")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,o.Button,{content:p||"[UNSET]",onClick:function(){function L(){return l("change_blood_type")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,o.Button,{content:g||"[UNSET]",onClick:function(){function L(){return l("change_dna_hash")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,o.Button,{content:v||"[UNSET]",onClick:function(){function L(){return l("change_money_account")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,o.Button,{content:x?"Update":"[UNSET]",onClick:function(){function L(){return l("change_photo")}return L}()})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Card Settings",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,o.Button,{content:"Delete Card Info",onClick:function(){function L(){return l("delete_info")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,o.Button,{content:"Reset Access",onClick:function(){function L(){return l("clear_access")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,o.Button,{content:B?"Untrackable":"Trackable",onClick:function(){function L(){return l("change_ai_tracking")}return L}()})})]})})],4)}return h}(),S=r.AgentCardAppearances=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.appearances;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Card Appearance",children:s.map(function(i){return(0,e.createComponentVNode)(2,o.ImageButton,{tooltip:i,vertical:!0,asset:!0,style:{margin:"1px"},image:i,imageAsset:"id_card64x64",onclick:function(){function C(){return l("change_appearance_new",{new_appearance:i})}return C}()},i)})})}return h}(),b=r.AgentCardSLSlots=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.saved_info;return(0,e.createComponentVNode)(2,o.Section,{title:"Save/Load Manager",style:{"line-height":"25px"},children:(0,e.createComponentVNode)(2,o.LabeledList,{children:s.map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.registered_name?i.registered_name+", "+i.assignment:"Slot "+i.id,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Clear",onClick:function(){function C(){return l("clear_slot",{slot:i.id})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Save",onClick:function(){function C(){return l("save_slot",{slot:i.id})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Load",disabled:!i.registered_name,onClick:function(){function C(){return l("load_slot",{slot:i.id})}return C}()})],4)},i.id)})})})}return h}()},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"}},k=r.AiAirlock=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=f[u.power.main]||f[0],l=f[u.power.backup]||f[0],d=f[u.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:!u.power.main,content:"Disrupt",onClick:function(){function s(){return c("disrupt-main")}return s}()}),children:[u.power.main?"Online":"Offline"," ",!u.wires.main_power&&"[Wires have been cut!]"||u.power.main_timeleft>0&&"["+u.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:l.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!u.power.backup,content:"Disrupt",onClick:function(){function s(){return c("disrupt-backup")}return s}()}),children:[u.power.backup?"Online":"Offline"," ",!u.wires.backup_power&&"[Wires have been cut!]"||u.power.backup_timeleft>0&&"["+u.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:d.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(u.wires.shock&&u.shock!==2),content:"Restore",onClick:function(){function s(){return c("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!u.wires.shock,content:"Temporary",onClick:function(){function s(){return c("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!u.wires.shock||u.shock===0,content:"Permanent",onClick:function(){function s(){return c("shock-perm")}return s}()})],4),children:[u.shock===2?"Safe":"Electrified"," ",!u.wires.shock&&"[Wires have been cut!]"||u.shock_timeleft>0&&"["+u.shock_timeleft+"s]"||u.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:u.id_scanner?"power-off":"times",content:u.id_scanner?"Enabled":"Disabled",selected:u.id_scanner,disabled:!u.wires.id_scanner,onClick:function(){function s(){return c("idscan-toggle")}return s}()}),children:!u.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:u.emergency?"power-off":"times",content:u.emergency?"Enabled":"Disabled",selected:u.emergency,onClick:function(){function s(){return c("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:u.locked?"lock":"unlock",content:u.locked?"Lowered":"Raised",selected:u.locked,disabled:!u.wires.bolts,onClick:function(){function s(){return c("bolt-toggle")}return s}()}),children:!u.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:u.lights?"power-off":"times",content:u.lights?"Enabled":"Disabled",selected:u.lights,disabled:!u.wires.lights,onClick:function(){function s(){return c("light-toggle")}return s}()}),children:!u.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:u.safe?"power-off":"times",content:u.safe?"Enabled":"Disabled",selected:u.safe,disabled:!u.wires.safe,onClick:function(){function s(){return c("safe-toggle")}return s}()}),children:!u.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:u.speed?"power-off":"times",content:u.speed?"Enabled":"Disabled",selected:u.speed,disabled:!u.wires.timing,onClick:function(){function s(){return c("speed-toggle")}return s}()}),children:!u.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:u.opened?"sign-out-alt":"sign-in-alt",content:u.opened?"Open":"Closed",selected:u.opened,disabled:u.locked||u.welded,onClick:function(){function s(){return c("open-close")}return s}()}),children:!!(u.locked||u.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),u.locked?"bolted":"",u.locked&&u.welded?" and ":"",u.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},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),k=r.AirAlarm=function(){function d(s,i){var C=(0,a.useBackend)(i),V=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 d}(),y=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.air,g=v.mode,N=v.atmos_alarm,x=v.locked,B=v.alarmActivated,L=v.rcon,I=v.target_temp,A;return p.danger.overall===0?N===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:y(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:g===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:g===3,icon:"exclamation-triangle",onClick:function(){function T(){return V("mode",{mode:g===3?1:3})}return T}()})],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:y(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:y(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:y(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:y(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:y(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:y(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(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:I+" C",onClick:function(){function T(){return V("temperature")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:p.thermostat_state?"On":"Off",selected:p.thermostat_state,icon:"power-off",onClick:function(){function T(){return V("thermostat_state")}return T}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.overall),children:[A,!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:B?"Reset Alarm":"Activate Alarm",selected:B,onClick:function(){function T(){return V(B?"atmos_reset":"atmos_alarm")}return T}()})],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 T(){return V("set_rcon",{rcon:1})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function T(){return V("set_rcon",{rcon:2})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function T(){return V("set_rcon",{rcon:3})}return T}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},b=function(s,i){var C=(0,a.useLocalState)(i,"tabIndex",0),V=C[0],v=C[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:V===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:V===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:V===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:V===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,i){var C=(0,a.useLocalState)(i,"tabIndex",0),V=C[0],v=C[1];switch(V){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,l);default:return"WE SHOULDN'T BE HERE!"}},c=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.vents;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.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:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function N(){return V("command",{cmd:"power",val:g.power===1?0:1,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.direction==="release"?"Blowing":"Siphoning",icon:g.direction==="release"?"sign-out-alt":"sign-in-alt",onClick:function(){function N(){return V("command",{cmd:"direction",val:g.direction==="release"?0:1,id_tag:g.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:g.checks===1,onClick:function(){function N(){return V("command",{cmd:"checks",val:1,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:g.checks===2,onClick:function(){function N(){return V("command",{cmd:"checks",val:2,id_tag:g.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function N(){return V("command",{cmd:"set_external_pressure",id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function N(){return V("command",{cmd:"set_external_pressure",val:101.325,id_tag:g.id_tag})}return N}()})]})]})},g.name)})},u=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.scrubbers;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.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:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function N(){return V("command",{cmd:"power",val:g.power===1?0:1,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.scrubbing?"Scrubbing":"Siphoning",icon:g.scrubbing?"filter":"sign-in-alt",onClick:function(){function N(){return V("command",{cmd:"scrubbing",val:g.scrubbing===0?1:0,id_tag:g.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:g.widenet?"Extended":"Normal",selected:g.widenet,icon:"expand-arrows-alt",onClick:function(){function N(){return V("command",{cmd:"widenet",val:g.widenet===0?1:0,id_tag:g.id_tag})}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:g.filter_co2,onClick:function(){function N(){return V("command",{cmd:"co2_scrub",val:g.filter_co2===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:g.filter_toxins,onClick:function(){function N(){return V("command",{cmd:"tox_scrub",val:g.filter_toxins===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:g.filter_n2o,onClick:function(){function N(){return V("command",{cmd:"n2o_scrub",val:g.filter_n2o===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:g.filter_o2,onClick:function(){function N(){return V("command",{cmd:"o2_scrub",val:g.filter_o2===0?1:0,id_tag:g.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:g.filter_n2,onClick:function(){function N(){return V("command",{cmd:"n2_scrub",val:g.filter_n2===0?1:0,id_tag:g.id_tag})}return N}()})]})]})},g.name)})},m=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.modes,g=v.presets,N=v.emagged,x=v.mode,B=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&&!!N)&&(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===x,onClick:function(){function I(){return V("mode",{mode:L.id})}return I}()})}),(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:g.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===B,onClick:function(){function I(){return V("preset",{preset:L.id})}return I}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},l=function(s,i){var C=(0,a.useBackend)(i),V=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(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.name}),g.settings.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:N.selected===-1?"Off":N.selected,onClick:function(){function x(){return V("command",{cmd:"set_threshold",env:N.env,var:N.val})}return x}()})},N.val)})]},g.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.exterior_status,m=c.interior_status,l=c.processing,d,s;return u==="open"?d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:l,onClick:function(){function i(){return h("force_ext")}return i}()}):d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:l,onClick:function(){function i(){return h("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:l,color:m==="open"?"red":l?"yellow":null,onClick:function(){function i(){return h("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:l,onClick:function(){function i(){return h("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:u==="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:[d,s]})})]})})}return k}()},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),k=1,y=2,S=4,b=8,h=r.AirlockElectronics=function(){function m(l,d){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,c),(0,e.createComponentVNode)(2,u)]})})})}return m}(),c=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=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:V&S?"selected":null,onClick:function(){function v(){return i("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:V&y?"selected":null,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:y})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:V&b?"selected":null,onClick:function(){function v(){return i("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:V&k?"selected":null,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:k})}return v}()})})]})]})})},u=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=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 g(){return i("set_one_access",{access:"one"})}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function g(){return i("set_one_access",{access:"all"})}return g}()})],4),accesses:p,selectedList:V,accessMod:function(){function g(N){return i("set",{access:N})}return g}(),grantAll:function(){function g(){return i("grant_all")}return g}(),denyAll:function(){function g(){return i("clear_all")}return g}(),grantDep:function(){function g(N){return i("grant_region",{region:N})}return g}(),denyDep:function(){function g(N){return i("deny_region",{region:N})}return g}()})}},47365:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(70611),o=n(72253),f=n(36036),k=n(98595),y=function(c){return c[c.Increment=1]="Increment",c[c.Decrement=-1]="Decrement",c}(y||{}),S=r.AlertModal=function(){function c(u,m){var l=(0,o.useBackend)(m),d=l.act,s=l.data,i=s.autofocus,C=s.buttons,V=C===void 0?[]:C,v=s.large_buttons,p=s.message,g=p===void 0?"":p,N=s.timeout,x=s.title,B=(0,o.useLocalState)(m,"selected",0),L=B[0],I=B[1],A=V.some(function(R){return R.length>10}),T=A&&v?20:15,E=120+(A?T*V.length:0)+(g.length>40?Math.ceil(g.length/3):0)+(g.length&&v?5:0),P=345+(V.length>2?55:0),M=function(){function R(F){switch(F.key){case t.KEY.Space:case t.KEY.Enter:d("choose",{choice:V[L]});return;case t.KEY.Escape:d("cancel");return;case t.KEY.Left:F.preventDefault(),O(y.Decrement);return;case t.KEY.Tab:case t.KEY.Right:F.preventDefault(),O(y.Increment);return}}return R}(),O=function(){function R(F){var W=(L+F+V.length)%V.length;I(W)}return R}();return(0,e.createComponentVNode)(2,k.Window,{title:x,height:E,width:P,children:[!!N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:M,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:g})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[!!i&&(0,e.createComponentVNode)(2,f.Autofocus),A?(0,e.createComponentVNode)(2,h,{selected:L}):(0,e.createComponentVNode)(2,b,{selected:L})]})]})})})]})}return c}(),b=function(u,m){var l=(0,o.useBackend)(m),d=l.act,s=l.data,i=s.buttons,C=i===void 0?[]:i,V=s.large_buttons,v=s.swapped_buttons,p=u.selected;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,justify:"space-around",reverse:!v,children:C.map(function(g,N){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:V?1:void 0,children:(0,e.createComponentVNode)(2,f.Button,{fluid:!!V,minWidth:5,onClick:function(){function x(){return d("choose",{choice:g})}return x}(),overflowX:"hidden",px:2,py:V?.5:0,selected:p===N,textAlign:"center",children:V?g.toUpperCase():g})},N)})})},h=function(u,m){var l=(0,o.useBackend)(m),d=l.act,s=l.data,i=s.buttons,C=i===void 0?[]:i,V=s.large_buttons,v=s.swapped_buttons,p=u.selected;return(0,e.createComponentVNode)(2,f.Stack,{align:"center",fill:!0,justify:"space-around",reverse:!v,vertical:!0,children:C.map(function(g,N){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,width:V?"100%":void 0,m:0,mb:V?2.5:0,children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,minWidth:20,onClick:function(){function x(){return d("choose",{choice:g})}return x}(),overflowX:"hidden",px:2,py:V?.5:0,selected:p===N,textAlign:"center",children:V?g.toUpperCase():g})},N)})})}},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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.change_race,l=u.species,d=u.specimen,s=u.change_gender,i=u.gender,C=u.has_gender,V=u.change_eye_color,v=u.change_skin_tone,p=u.change_skin_color,g=u.change_head_accessory_color,N=u.change_hair_color,x=u.change_secondary_hair_color,B=u.change_facial_hair_color,L=u.change_secondary_facial_hair_color,I=u.change_head_marking_color,A=u.change_body_marking_color,T=u.change_tail_marking_color,E=u.change_head_accessory,P=u.head_accessory_styles,M=u.head_accessory_style,O=u.change_hair,R=u.hair_styles,F=u.hair_style,W=u.change_hair_gradient,j=u.change_facial_hair,U=u.facial_hair_styles,K=u.facial_hair_style,Y=u.change_head_markings,ne=u.head_marking_styles,$=u.head_marking_style,le=u.change_body_markings,de=u.body_marking_styles,oe=u.body_marking_style,re=u.change_tail_markings,Z=u.tail_marking_styles,ae=u.tail_marking_style,J=u.change_body_accessory,X=u.body_accessory_styles,Q=u.body_accessory_style,q=u.change_alt_head,te=u.alt_head_styles,fe=u.alt_head_style,ye=!1;return(V||v||p||g||N||x||B||L||I||A||T)&&(ye=!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:l.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.specimen,selected:pe.specimen===d,onClick:function(){function Le(){return c("race",{race:pe.specimen})}return Le}()},pe.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function pe(){return c("gender",{gender:"male"})}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function pe(){return c("gender",{gender:"female"})}return pe}()}),!C&&(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function pe(){return c("gender",{gender:"plural"})}return pe}()})]}),!!ye&&(0,e.createComponentVNode)(2,k),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:P.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.headaccessorystyle,selected:pe.headaccessorystyle===M,onClick:function(){function Le(){return c("head_accessory",{head_accessory:pe.headaccessorystyle})}return Le}()},pe.headaccessorystyle)})}),!!O&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:R.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.hairstyle,selected:pe.hairstyle===F,onClick:function(){function Le(){return c("hair",{hair:pe.hairstyle})}return Le}()},pe.hairstyle)})}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function pe(){return c("hair_gradient")}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function pe(){return c("hair_gradient_offset")}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function pe(){return c("hair_gradient_colour")}return pe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function pe(){return c("hair_gradient_alpha")}return pe}()})]}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.facialhairstyle,selected:pe.facialhairstyle===K,onClick:function(){function Le(){return c("facial_hair",{facial_hair:pe.facialhairstyle})}return Le}()},pe.facialhairstyle)})}),!!Y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:ne.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.headmarkingstyle,selected:pe.headmarkingstyle===$,onClick:function(){function Le(){return c("head_marking",{head_marking:pe.headmarkingstyle})}return Le}()},pe.headmarkingstyle)})}),!!le&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:de.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.bodymarkingstyle,selected:pe.bodymarkingstyle===oe,onClick:function(){function Le(){return c("body_marking",{body_marking:pe.bodymarkingstyle})}return Le}()},pe.bodymarkingstyle)})}),!!re&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:Z.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.tailmarkingstyle,selected:pe.tailmarkingstyle===ae,onClick:function(){function Le(){return c("tail_marking",{tail_marking:pe.tailmarkingstyle})}return Le}()},pe.tailmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:X.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.bodyaccessorystyle,selected:pe.bodyaccessorystyle===Q,onClick:function(){function Le(){return c("body_accessory",{body_accessory:pe.bodyaccessorystyle})}return Le}()},pe.bodyaccessorystyle)})}),!!q&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:te.map(function(pe){return(0,e.createComponentVNode)(2,t.Button,{content:pe.altheadstyle,selected:pe.altheadstyle===fe,onClick:function(){function Le(){return c("alt_head",{alt_head:pe.altheadstyle})}return Le}()},pe.altheadstyle)})})]})})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=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(l){return!!u[l.key]&&(0,e.createComponentVNode)(2,t.Button,{content:l.text,onClick:function(){function d(){return c(l.action)}return d}()},l.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.priority||[],m=c.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,[u.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),u.map(function(l){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:l,color:"bad",onClick:function(){function d(){return h("clear",{zone:l})}return d}()}),2,null,l)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(l){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:l,color:"average",onClick:function(){function d(){return h("clear",{zone:l})}return d}()}),2,null,l)})],0)})})})}return k}()},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),k=function(u){if(u===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(u===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(u===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(u){if(u===0)return"green";if(u===1)return"orange";if(u===2)return"red"},S=r.AtmosControl=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=(0,a.useLocalState)(m,"tabIndex",0),C=i[0],V=i[1],v=function(){function p(g){switch(g){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 V(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 V(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(C)]})})})}return c}(),b=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(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:k(C.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function V(){return d("open_alarm",{aref:C.ref})}return V}()})})]},C.name)})]})})},h=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.alarms,C=s.stationLevelNum,V=s.stationLevelName,v=(0,a.useLocalState)(m,"zoom",1),p=v[0],g=v[1],N=(0,a.useLocalState)(m,"z_current",C[0]),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function L(I){return g(I)}return L}(),zLevels:C,zNames:V,z_current:x,setZCurrent:B,children:i.map(function(L){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:L.x,y:L.y,z:L.z,z_current:x,zoom:p,icon:"circle",tooltip:L.name,color:y(L.danger),onClick:function(){function I(){return d("open_alarm",{aref:L.ref})}return I}()},L.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.on,m=c.pressure,l=c.max_pressure,d=c.filter_type,s=c.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:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:l,value:m,onDrag:function(){function i(C,V){return h("custom_pressure",{pressure:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===l,width:2.2,onClick:function(){function i(){return h("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===d,content:i.label,onClick:function(){function C(){return h("set_filter",{filter:i.gas_type})}return C}()},i.label)})})]})})})})}return k}()},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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.on,l=u.pressure,d=u.max_pressure,s=u.node1_concentration,i=u.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 c("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:l===0,width:2.2,onClick:function(){function C(){return c("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:d,value:l,onDrag:function(){function C(V,v){return c("custom_pressure",{pressure:v})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:l===d,width:2.2,onClick:function(){function C(){return c("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,k,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,k,{node_name:"Node 2",node_ref:i})]})})})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=S.node_name,l=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:l===0,onClick:function(){function d(){return c("set_node",{node_name:m,concentration:(l-10)/100})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:l,onChange:function(){function d(s,i){return c("set_node",{node_name:m,concentration:i/100})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:l===100,onClick:function(){function d(){return c("set_node",{node_name:m,concentration:(l+10)/100})}return d}()})]})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.on,m=c.rate,l=c.max_rate,d=c.gas_unit,s=c.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:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:l,value:m,onDrag:function(){function i(C,V){return h("custom_rate",{rate:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===l,width:2.2,onClick:function(){function i(){return h("max_rate")}return i}()})]})]})})})})}return k}()},76511:function(w,r,n){"use strict";r.__esModule=!0,r.AutoDoc=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(39473),k=r.AutoDoc=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.HasTray,l=u.TguiIcons,d=u.occupant,s=u.isHealing,i=u.fixtimer,C=u.healtimer,V=(0,a.useLocalState)(b,"ChoosePart","chest"),v=V[0],p=V[1];return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",resizable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{width:"100%",children:[(0,e.createComponentVNode)(2,f.FlexItem,{basis:"30%",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+l.human,style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+l[v],style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})]}),(0,e.createComponentVNode)(2,f.FlexItem,{basis:"70%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Info",buttons:(0,e.createFragment)([Object.keys(l).map(function(g){return g!=="human"&&(0,e.createComponentVNode)(2,t.Button,{content:g,selected:g===v,onClick:function(){function N(){return p(g)}return N}(),z:!0},g)}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:m?"Eject Tray":"Reject Tray",locked:s,onClick:function(){function g(){return c("ChangeTrayState")}return g}()})],0),children:(0,e.createComponentVNode)(2,t.Box,{children:[!!(d[v]&&d[v].extOrgan)&&d[v].extOrgan.map(function(g){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,g.name,0),(0,e.createVNode)(1,"br"),g.open?"opened":"",g.broken?"broken":"",!!g.broken&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"fracture"})}return N}()}),(0,e.createVNode)(1,"br")],4),g.internalBleeding?"bleeding":"",!!g.internalBleeding&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"bleeding"})}return N}()}),(0,e.createVNode)(1,"br")],4),(0,e.createTextVNode)("Internals:"),(0,e.createComponentVNode)(2,t.Button,{content:"Complete",style:{"margin-left":"10px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"completeInternal"})}return N}()}),(0,e.createVNode)(1,"br"),g.dead?"dead":"",!!g.dead&&(0,e.createVNode)(1,"br"),g.germ_level?"Germ level is "+g.germ_level:"",!!g.germ_level&&(0,e.createVNode)(1,"br"),g.totalLoss?"Total damage is "+g.totalLoss:"",(0,e.createVNode)(1,"br")],0,g.name)}),!!(d[v]&&d[v].intOrgan)&&d[v].intOrgan.map(function(g){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,g.name,0),(0,e.createComponentVNode)(2,t.Button,{content:"Remove",style:{"margin-left":"1.5rem"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"remove"})}return N}()}),(0,e.createVNode)(1,"br"),g.dead?"dead":"",!!g.dead&&(0,e.createVNode)(1,"br"),g.germ_level?"Germ level is "+g.germ_level:"",!!g.germ_level&&(0,e.createVNode)(1,"br"),g.totalLoss?"Total damage is "+g.damage:"",!!g.totalLoss&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Heal",style:{"margin-left":"30px"},locked:s,onClick:function(){function N(){return c("FixOrgan",{organ:g.name,type:"damage"})}return N}()}),(0,e.createVNode)(1,"br")],4)],0,g.name)}),!!d.TotalBruteBurn&&(0,e.createFragment)([(0,e.createTextVNode)("Total external damage is "),d.TotalBruteBurn,(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Start Healing",onClick:function(){function g(){return c("HealBruteBurn")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Reattach externals",onClick:function(){function g(){return c("CompleteExternal")}return g}()})],0),(0,e.createVNode)(1,"br"),!!i&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Fixing organ: "),i],0),!!C&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Healing external damage: "),C],0)]})})})]})})})}return y}()},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),k=n(98595),y=n(25328),S=function(c,u,m,l){return c.requirements===null?!0:!(c.requirements.metal*l>u||c.requirements.glass*l>m)},b=r.Autolathe=function(){function h(c,u){var m=(0,o.useBackend)(u),l=m.act,d=m.data,s=d.total_amount,i=d.max_amount,C=d.metal_amount,V=d.glass_amount,v=d.busyname,p=d.busyamt,g=d.showhacked,N=d.buildQueue,x=d.buildQueueLen,B=d.recipes,L=d.categories,I=(0,o.useSharedState)(u,"category",0),A=I[0],T=I[1];A===0&&(A="Tools");var E=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=V.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=(0,o.useSharedState)(u,"search_text",""),R=O[0],F=O[1],W=(0,y.createSearch)(R,function(Y){return Y.name}),j="";x>0&&(j=N.map(function(Y,ne){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:N[ne][0],onClick:function(){function $(){return l("remove_from_queue",{remove_from_queue:N.indexOf(Y)+1})}return $}()},Y)},ne)}));var U=(0,a.flow)([(0,t.filter)(function(Y){return(Y.category.indexOf(A)>-1||R)&&(d.showhacked||!Y.hacked)}),R&&(0,t.filter)(W),(0,t.sortBy)(function(Y){return Y.name.toLowerCase()})])(B),K="Build";return R?K="Results for: '"+R+"':":A&&(K="Build ("+A+")"),(0,e.createComponentVNode)(2,k.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,k.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(ne){return T(ne)}return Y}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Y(ne,$){return F($)}return Y}(),mb:1}),U.map(function(Y){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.DmIcon,{icon:Y.icon,icon_state:Y.icon_state,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===1,disabled:!S(Y,d.metal_amount,d.glass_amount,1),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:1})}return ne}(),children:(0,y.toTitleCase)(Y.name)}),Y.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===10,disabled:!S(Y,d.metal_amount,d.glass_amount,10),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:10})}return ne}(),children:"10x"}),Y.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===25,disabled:!S(Y,d.metal_amount,d.glass_amount,25),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:25})}return ne}(),children:"25x"}),Y.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:d.busyname===Y.name&&d.busyamt===Y.max_multiplier,disabled:!S(Y,d.metal_amount,d.glass_amount,Y.max_multiplier),onClick:function(){function ne(){return l("make",{make:Y.uid,multiplier:Y.max_multiplier})}return ne}(),children:[Y.max_multiplier,"x"]}),Y.requirements&&Object.keys(Y.requirements).map(function(ne){return(0,y.toTitleCase)(ne)+": "+Y.requirements[ne]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},Y.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:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[d.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:[j,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!d.buildQueueLen,onClick:function(){function Y(){return l("clear_queue")}return Y}()})]})]})]})})})}return h}()},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),k=r.Biogenerator=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.data,d=m.config,s=l.container,i=l.processing,C=d.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:i,name:C}),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),y=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.biomass,i=d.container,C=d.container_curr_reagents,V=d.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:s}),(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:"}),i?(0,e.createComponentVNode)(2,t.ProgressBar,{value:C,maxValue:V,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:C+" / "+V+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.has_plants,i=d.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:!s,tooltip:s?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function C(){return l("activate")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!i,tooltip:i?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function C(){return l("detach_container")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!s,tooltip:s?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function C(){return l("eject_plants")}return C}()})})]})})},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.biomass,i=d.product_list,C=d.container,V=(0,a.useSharedState)(u,"vendAmount",1),v=V[0],p=V[1],g=Object.entries(i).map(function(N,x){var B=Object.entries(N[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:N[0],open:!0,children:B.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:L.needs_container&&!C?(0,e.createComponentVNode)(2,t.Button,{content:"No container",disabled:!0,icon:"flask",tooltip:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438"}):(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:s0?Math.floor(A/l):0,M=m?"@?%%!\u2116@"+l:l,O=A>=l,R=d-d%5+(d%5>0?5:0);return(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u0420\u0430\u0437\u043B\u043E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{color:"silver",bold:!0,children:B}),(0,e.createComponentVNode)(2,t.ProgressBar,{color:E===0?"bad":E<100?"average":"good",value:I,maxValue:L,mt:1,mb:2,children:[E<=100?E:100," %"]}),(0,e.createComponentVNode)(2,t.Box,{children:["\u0414\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0437\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F: ",(0,e.createComponentVNode)(2,t.Box,{color:A?O?"good":"average":"bad",as:"span",children:Math.floor(A)}),(0,e.createComponentVNode)(2,t.Button,{icon:"atom",tooltip:"\u0414\u043B\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0437\u043E\u043D\u0434\u0438\u0440\u0443\u044E\u0449\u0435\u0433\u043E \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u0430 \u043D\u0443\u0436\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C "+M+" \u0434\u0430\u043D\u043D\u044B\u0445.",content:d>0?"\u041F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0430 "+R+" \u0441\u0435\u043A\u0443\u043D\u0434":"\u0417\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C ("+P+")",disabled:!O||d>0,onClick:function(){function F(){return c("probe",{rift_id:x})}return F}(),mx:2}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:T?"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D":"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",disabled:T||E<100,onClick:function(){function F(){return c("reward",{rift_id:x})}return F}(),mt:1.4})]})]})}return g}(),v=function(){function g(N){var x=N.servName,B=N.servData;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x,children:B.length?B.map(function(L,I){return(0,e.createComponentVNode)(2,t.Box,{children:[L.riftName," \u2014 ",Math.floor(L.probePoints)," ","\u0434\u0430\u043D\u043D\u044B\u0445."]},I)}):(0,e.createComponentVNode)(2,t.Box,{children:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"})})}return g}(),p=function(){function g(N){var x=N.scannerId,B=N.scannerName,L=N.scanStatus,I=N.canSwitch,A=N.switching,T=f[L],E=function(){function M(){if(T==="OFF")return[" ","silver"];if(T==="NO_RIFTS")return["\u041D\u0435\u0442 \u0440\u0430\u0437\u043B\u043E\u043C\u043E\u0432","silver"];if(T==="SOME_RIFTS")return["\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442","good"];if(T==="DANGER")return["\u041E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C! \u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0441\u043A\u0430\u043D\u0435\u0440!","bad"]}return M}(),P=E();return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B,py:0,children:[A?(0,e.createComponentVNode)(2,t.Icon,{name:"circle-notch",color:"silver",spin:!0,ml:1.85,mr:1.79,my:.84}):I?(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",color:T==="OFF"?"bad":"good",onClick:function(){function M(){return c("toggle_scanner",{scanner_id:x})}return M}(),ml:1,mr:1}):(0,e.createComponentVNode)(2,t.Icon,{name:"power-off",color:T==="OFF"?"bad":"good",ml:1.85,mr:1.79,my:.84}),T!=="OFF"&&(0,e.createComponentVNode)(2,t.Box,{as:"span",color:P[1],children:P[0]})]})}return g}();return(0,e.createComponentVNode)(2,o.Window,{width:570,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s&&s.map(function(g){return V(g)}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043A\u0430\u043D\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C&&C.map(function(g){return p(g)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0435\u0440\u0432\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:i&&i.map(function(g){return v(g)})})})]})})}return y}()},27629:function(w,r,n){"use strict";r.__esModule=!0,r.BluespaceTap=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49968),k=r.BluespaceTap=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.product||[],l=u.desiredLevel,d=u.inputLevel,s=u.points,i=u.totalPoints,C=u.powerUse,V=u.availablePower,v=u.maxLevel,p=u.emagged,g=u.safeLevels,N=u.nextLevelPower,x=l>d&&"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"}),d>g&&(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:d}),(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:l===0,tooltip:"Set to 0",onClick:function(){function B(){return c("set",{set_level:0})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:l===0,onClick:function(){function B(){return c("set",{set_level:d})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:l===0,tooltip:"Decrease one step",onClick:function(){function B(){return c("decrease")}return B}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:l,fillValue:d,minValue:0,color:x,maxValue:v,stepPixelSize:20,step:1,onChange:function(){function B(L,I){return c("set",{set_level:I})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:l===v,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function B(){return c("increase")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l===v,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function B(){return c("set",{set_level:v})}return B}()})]})]})}),(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)(N)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(V)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:i})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(B){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:B.price>=s,onClick:function(){function L(){return c("vend",{target:B.key})}return L}(),content:B.price})},B.key)})})})})]})})]})})})}return y}()},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),k=n(98595),y=[["good","\u041D\u043E\u0440\u043C\u0430"],["average","\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],S=[["hasBorer","bad","\u0412 \u043B\u043E\u0431\u043D\u043E\u0439 \u0434\u043E\u043B\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u043A\u0440\u0443\u043F\u043D\u043E\u0435 \u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u0437\u043B\u043E\u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435. \u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0445\u0438\u0440\u0443\u0440\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435."],["hasVirus","bad","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D \u0432\u0438\u0440\u0443\u0441 \u0432 \u043A\u0440\u043E\u0432\u043E\u0442\u043E\u043A\u0435 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430."],["blind","average","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0430 \u043A\u0430\u0442\u0430\u0440\u0430\u043A\u0442\u0430."],["colourblind","average","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B \u043D\u0430\u0440\u0443\u0448\u0435\u043D\u0438\u044F \u0432 \u0440\u0430\u0431\u043E\u0442\u0435 \u0444\u043E\u0442\u043E\u0440\u0435\u0446\u0435\u043F\u0442\u043E\u0440\u043E\u0432"],["nearsighted","average","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u0441\u0435\u0442\u0447\u0430\u0442\u043A\u0438."]],b=[["\u0423\u0434\u0443\u0448\u044C\u0435","oxyLoss"],["\u041F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043C\u043E\u0437\u0433\u0430","brainLoss"],["\u041E\u0442\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435","toxLoss"],["\u0420\u0430\u0434\u0438\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u043F\u043E\u0440\u0430\u0436\u0435\u043D\u0438\u0435","radLoss"],["\u041C\u0435\u0445\u0430\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","bruteLoss"],["\u0413\u0435\u043D\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","cloneLoss"],["\u0422\u0435\u0440\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","fireLoss"],["\u041F\u0430\u0440\u0430\u043B\u0438\u0447 \u0442\u0435\u043B\u0430","paralysis"]],h={average:[.25,.5],bad:[.5,1/0]},c=function(x,B){for(var L=[],I=0;I0?x.filter(function(B){return!!B}).reduce(function(B,L){return(0,e.createFragment)([B,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(x){if(x>100){if(x<300)return"\u041B\u0451\u0433\u043A\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F";if(x<400)return"\u041B\u0451\u0433\u043A\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F+";if(x<500)return"\u041B\u0451\u0433\u043A\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F++";if(x<700)return"\u041E\u0441\u0442\u0440\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F";if(x<800)return"\u041E\u0441\u0442\u0440\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F+";if(x<900)return"\u041E\u0441\u0442\u0440\u0430\u044F \u0438\u043D\u0444\u0435\u043A\u0446\u0438\u044F++";if(x>=900)return"\u0421\u0435\u043F\u0441\u0438\u0441"}return""},l=r.BodyScanner=function(){function N(x,B){var L=(0,o.useBackend)(B),I=L.data,A=I.occupied,T=I.occupant,E=T===void 0?{}:T,P=A?(0,e.createComponentVNode)(2,d,{occupant:E}):(0,e.createComponentVNode)(2,g);return(0,e.createComponentVNode)(2,k.Window,{width:700,height:600,title:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0439 \u0441\u043A\u0430\u043D\u0435\u0440",children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:P})})}return N}(),d=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:B}),(0,e.createComponentVNode)(2,i,{occupant:B}),(0,e.createComponentVNode)(2,C,{occupant:B}),(0,e.createComponentVNode)(2,v,{organs:B.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:B.intOrgan})]})},s=function(x,B){var L=(0,o.useBackend)(B),I=L.act,A=L.data,T=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return I("print_p")}return E}(),children:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u043E\u0442\u0447\u0451\u0442"}),(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return I("insurance")}return E}(),children:"\u0421\u043F\u0438\u0441\u0430\u0442\u044C \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u043A\u0443"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return I("eject_id")}return E}(),children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043A\u0430\u0440\u0442\u0443"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return I("ejectify")}return E}(),children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0418\u043C\u044F",children:T.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:y[T.stat][0],children:y[T.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0442\u0435\u043B\u0430",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(T.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(T.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0418\u043C\u043F\u043B\u0430\u043D\u0442\u044B",children:T.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:T.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442"})})]})})},i=function(x){var B=x.occupant;return B.hasBorer||B.blind||B.colourblind||B.nearsighted||B.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F",children:S.map(function(L,I){if(B[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:"\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041D\u0438\u043A\u0430\u043A\u0438\u0445 \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u0439 \u043E\u0442 \u043D\u043E\u0440\u043C\u044B \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E."})})},C=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D",children:(0,e.createComponentVNode)(2,f.Table,{children:c(b,function(L,I,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:!!I&&I[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,V,{value:B[L[1]],marginBottom:A100)&&"average"||!!B.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:B.maxHealth,mt:L>0&&"0.5rem",value:B.totalLoss/B.maxHealth,ranges:h,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(B.totalLoss)]})}),!!B.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"\u041C\u0435\u0445\u0430\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(B.bruteLoss)]})}),!!B.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"\u0422\u0435\u0440\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(B.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:u([!!B.internalBleeding&&"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0435\u0435 \u043A\u0440\u043E\u0432\u043E\u0442\u0435\u0447\u0435\u043D\u0438\u0435",!!B.burnWound&&"\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043E\u0436\u043E\u0433\u0438 \u0442\u043A\u0430\u043D\u0435\u0439",!!B.lungRuptured&&"\u041F\u0440\u043E\u0431\u0438\u0442\u043E \u043B\u0451\u0433\u043A\u043E\u0435",!!B.status.broken&&B.status.broken,m(B.germ_level),!!B.open&&"\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0439 \u0440\u0430\u0437\u0440\u0435\u0437"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[u([!!B.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"\u041D\u0430\u043B\u043E\u0436\u0435\u043D\u0430 \u0448\u0438\u043D\u0430"}),!!B.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u0421\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435"}),!!B.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"\u041C\u0435\u0440\u0442\u0432\u043E"})]),u(B.shrapnel.map(function(I){return I.known?I.name:"\u0418\u043D\u043E\u0440\u043E\u0434\u043D\u043E\u0435 \u0442\u0435\u043B\u043E"}))]})]})]},L)})]})})},p=function(x){return x.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u044B",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041D/\u0414"})}):(0,e.createComponentVNode)(2,f.Section,{title:"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u044B",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:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"\u0422\u0440\u0430\u0432\u043C\u044B"})]}),x.organs.map(function(B,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!B.dead&&"bad"||B.germ_level>100&&"average"||B.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:B.maxHealth,value:B.damage/B.maxHealth,mt:L>0&&"0.5rem",ranges:h,children:(0,a.round)(B.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:u([m(B.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:u([B.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u0421\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435"}),B.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u0421\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435"}),!!B.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"\u041C\u0435\u0440\u0442\u0432\u043E"})])})]})]},L)})]})})},g=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"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u0432\u043D\u0443\u0442\u0440\u0438 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}},42570:function(w,r,n){"use strict";r.__esModule=!0,r.BorgPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BorgPanel=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.borg||{},m=c.cell||{},l=m.charge/m.maxcharge,d=c.channels||[],s=c.modules||[],i=c.upgrades||[],C=c.ais||[],V=c.laws||[];return(0,e.createComponentVNode)(2,o.Window,{title:"Borg Panel",width:700,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:u.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function v(){return h("rename")}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u.emagged?"check-square-o":"square-o",content:"Emagged",selected:u.emagged,onClick:function(){function v(){return h("toggle_emagged")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:u.lockdown?"check-square-o":"square-o",content:"Locked Down",selected:u.lockdown,onClick:function(){function v(){return h("toggle_lockdown")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:u.scrambledcodes?"check-square-o":"square-o",content:"Scrambled Codes",selected:u.scrambledcodes,onClick:function(){function v(){return h("toggle_scrambledcodes")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset Module",onClick:function(){function v(){return h("reset_module")}return v}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge",children:[m.missing?(0,e.createVNode)(1,"span","color-bad","No cell installed",16):(0,e.createComponentVNode)(2,t.ProgressBar,{value:l,children:m.charge+" / "+m.maxcharge}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Set",onClick:function(){function v(){return h("set_charge")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Change",onClick:function(){function v(){return h("change_cell")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",content:"Remove",color:"bad",onClick:function(){function v(){return h("remove_cell")}return v}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radio Channels",children:d.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:v.installed?"check-square-o":"square-o",content:v.name,selected:v.installed,onClick:function(){function p(){return h("toggle_radio",{channel:v.name})}return p}()},v.name)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Model",children:s.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:u.active_module===v.name?"check-square-o":"square-o",content:v.name+" module",selected:u.active_module===v.name,onClick:function(){function p(){return h("setmodule",{module:v.name})}return p}()},v.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Upgrades",children:i.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:v.installed?"check-square-o":"square-o",content:v.name,selected:v.installed,onClick:function(){function p(){return h("toggle_upgrade",{upgrade:v.type})}return p}()},v.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:C.map(function(v){return(0,e.createComponentVNode)(2,t.Button,{icon:v.connected?"check-square-o":"square-o",content:v.name,selected:v.connected,onClick:function(){function p(){return h("slavetoai",{slavetoai:v.ref})}return p}()},v.ref)})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Laws",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Law Manager",selected:u.lawmanager,onClick:function(){function v(){return h("lawmanager")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:u.lawupdate?"check-square-o":"square-o",content:"Lawsync",selected:u.lawupdate,onClick:function(){function v(){return h("toggle_lawupdate")}return v}()})],4),children:V.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:v},v)})})]})})}return k}()},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=r.BotClean=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.locked,m=c.noaccess,l=c.maintpanel,d=c.on,s=c.autopatrol,i=c.canhack,C=c.emagged,V=c.remote_disabled,v=c.painame,p=c.cleanblood;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.NoticeBox,{children:["\u041F\u0440\u043E\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0435\u0439 ID-\u043A\u0430\u0440\u0442\u043E\u0439, \u0447\u0442\u043E\u0431\u044B",u?"\u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C":"\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C"," \u044D\u0442\u043E\u0442 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441."]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",selected:d,disabled:m,onClick:function(){function g(){return h("power")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",disabled:m,onClick:function(){function g(){return h("autopatrol")}return g}()})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0430\u043D\u0435\u043B\u044C \u0442\u0435\u0445\u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"\u041F\u0430\u043D\u0435\u043B\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u0430"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:C?"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B":"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u044B"})}),!!i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0437\u043B\u043E\u043C",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:C?"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438":"\u0412\u0437\u043B\u043E\u043C\u0430\u0442\u044C",disabled:m,color:"bad",onClick:function(){function g(){return h("hack")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!V,content:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u0441\u043E \u0441\u0442\u043E\u0440\u043E\u043D\u044B \u0418\u0418",disabled:m,onClick:function(){function g(){return h("disableremote")}return g}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0443\u0431\u043E\u0440\u043A\u0438",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"\u0423\u0431\u0438\u0440\u0430\u0442\u044C \u043A\u0440\u043E\u0432\u044C",disabled:m,onClick:function(){function g(){return h("blood")}return g}()})}),v&&(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0418\u0418",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:v,disabled:m,onClick:function(){function g(){return h("ejectpai")}return g}()})})]})})}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=r.BotSecurity=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.locked,m=c.noaccess,l=c.maintpanel,d=c.on,s=c.autopatrol,i=c.canhack,C=c.emagged,V=c.remote_disabled,v=c.painame,p=c.check_id,g=c.check_weapons,N=c.check_warrant,x=c.arrest_mode,B=c.arrest_declare;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.NoticeBox,{children:["\u041F\u0440\u043E\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0435\u0439 ID-\u043A\u0430\u0440\u0442\u043E\u0439, \u0447\u0442\u043E\u0431\u044B",u?"\u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C":"\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C"," \u044D\u0442\u043E\u0442 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441."]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",selected:d,disabled:m,onClick:function(){function L(){return h("power")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u0430\u0442\u0440\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",disabled:m,onClick:function(){function L(){return h("autopatrol")}return L}()})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0430\u043D\u0435\u043B\u044C \u0442\u0435\u0445\u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"\u041F\u0430\u043D\u0435\u043B\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u0430"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:C?"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B":"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u044B"})}),!!i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0437\u043B\u043E\u043C",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:C?"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u044B \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438":"\u0412\u0437\u043B\u043E\u043C\u0430\u0442\u044C",disabled:m,color:"bad",onClick:function(){function L(){return h("hack")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!V,content:"\u0423\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u0441\u043E \u0441\u0442\u043E\u0440\u043E\u043D\u044B \u0418\u0418",disabled:m,onClick:function(){function L(){return h("disableremote")}return L}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0417\u0430\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0446\u0435\u043B\u0438",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"\u041D\u0435\u043E\u043F\u043E\u0437\u043D\u0430\u043D\u043D\u044B\u0435 \u043B\u0438\u0447\u043D\u043E\u0441\u0442\u0438",disabled:m,onClick:function(){function L(){return h("authid")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"\u0418\u043C\u0435\u044E\u0449\u0438\u0435 \u043D\u0435\u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435",disabled:m,onClick:function(){function L(){return h("authweapon")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"\u0420\u0430\u0437\u044B\u0441\u043A\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043D\u0438\u043A\u0438",disabled:m,onClick:function(){function L(){return h("authwarrant")}return L}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430 \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:x,content:"\u0411\u0435\u0441\u0441\u0440\u043E\u0447\u043D\u043E\u0435 \u043E\u0433\u043B\u0443\u0448\u0435\u043D\u0438\u0435 \u0446\u0435\u043B\u0435\u0439 \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F",disabled:m,onClick:function(){function L(){return h("arrtype")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:B,content:"\u0421\u043E\u043E\u0431\u0449\u0430\u0442\u044C \u043E \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0438 \u043F\u043E \u0440\u0430\u0434\u0438\u043E\u0441\u0432\u044F\u0437\u0438",disabled:m,onClick:function(){function L(){return h("arrdeclare")}return L}()})]}),v&&(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0418\u0418",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:v,disabled:m,onClick:function(){function L(){return h("ejectpai")}return L}()})})]})})}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 c=b.cell,u=(0,o.useBackend)(h),m=u.act,l=c.cell_id,d=c.occupant,s=c.crimes,i=c.brigged_by,C=c.time_left_seconds,V=c.time_set_seconds,v=c.ref,p="";C>0&&(p+=" BrigCells__listRow--active");var g=function(){m("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:V})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:C})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:g,children:"Release"})})]})},k=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(c){return(0,e.createComponentVNode)(2,f,{cell:c},c.ref)})]})},y=r.BrigCells=function(){function S(b,h){var c=(0,o.useBackend)(h),u=c.act,m=c.data,l=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,k,{cells:l})})})})})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;c.nameText=c.occupant,c.timing&&(c.prisoner_hasrec?c.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:c.occupant}):c.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:c.occupant}));var u="pencil-alt";c.prisoner_name&&(c.prisoner_hasrec||(u="exclamation-triangle"));var m=[],l=0;for(l=0;l60||!c.isAllowed,onClick:function(){function d(){return h("start")}return d}()})})]})})]})})}return k}()},26300:function(w,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsoleListContent=r.CameraConsole=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(35840),f=n(25328),k=n(72253),y=n(36036),S=n(98595);String.prototype.trimLongStr=function(d){return this.length>d?this.substring(0,d)+"...":this};var b=function(s,i){var C,V;if(!i)return[];var v=s.findIndex(function(p){return p.name===i.name});return[(C=s[v-1])==null?void 0:C.name,(V=s[v+1])==null?void 0:V.name]},h=function(s,i){i===void 0&&(i="");var C=(0,f.createSearch)(i,function(V){return V.name});return(0,t.flow)([(0,a.filter)(function(V){return V==null?void 0:V.name}),i&&(0,a.filter)(C),(0,a.sortBy)(function(V){return V.name})])(s)},c=r.CameraConsole=function(){function d(s,i){var C=(0,k.useLocalState)(i,"tabIndex",0),V=C[0],v=C[1],p=function(){function g(N){switch(N){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return g}();return(0,e.createComponentVNode)(2,S.Window,{width:1250,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,y.Tabs,{children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:V===0,onClick:function(){function g(){return v(0)}return g}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," Map"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:V===1,onClick:function(){function g(){return v(1)}return g}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," List"]},"List")]}),p(V)]})})})}return d}(),u=r.CameraConsoleMapContent=function(){function d(s,i){var C=(0,k.useBackend)(i),V=C.act,v=C.data,p=h(v.cameras),g=(0,k.useLocalState)(i,"zoom",1),N=g[0],x=g[1],B=v.mapRef,L=v.activeCamera,I=v.stationLevelNum,A=v.stationLevelName,T=(0,k.useLocalState)(i,"z_current",I[0]),E=T[0],P=T[1],M=b(p,L),O=M[0],R=M[1];return(0,e.createComponentVNode)(2,y.Box,{height:"100%",display:"flex",children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,y.Box,{height:"100%",display:"flex",children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function F(W){return x(W)}return F}(),zLevels:I,zNames:A,z_current:E,setZCurrent:P,children:p.map(function(F){return(0,e.createComponentVNode)(2,y.NanoMap.Marker,{x:F.x,y:F.y,z:F.z,z_current:E,zoom:N,icon:"box",tooltip:F.name,color:F.status?"blue":"red",bordered:!0,onClick:function(){function W(){return V("switch_camera",{name:F.name})}return W}()},F.ref)})})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),L&&L.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!O,onClick:function(){function F(){return V("switch_camera",{name:O})}return F}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!R,onClick:function(){function F(){return V("switch_camera",{name:R})}return F}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:B,type:"map"}})],4)]})}return d}(),m=r.CameraConsoleOldContent=function(){function d(s,i){var C=(0,k.useBackend)(i),V=C.act,v=C.data,p=C.config,g=v.mapRef,N=v.activeCamera,x=(0,k.useLocalState)(i,"searchText",""),B=x[0],L=h(v.cameras,B),I=b(L,N),A=I[0],T=I[1];return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,l)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),N&&N.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return V("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!T,onClick:function(){function E(){return V("switch_camera",{name:T})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return d}(),l=r.CameraConsoleListContent=function(){function d(s,i){var C=(0,k.useBackend)(i),V=C.act,v=C.data,p=(0,k.useLocalState)(i,"searchText",""),g=p[0],N=p[1],x=v.activeCamera,B=h(v.cameras,g);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function L(I,A){return N(A)}return L}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:B.map(function(L){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",x&&L.name===x.name&&"Button--selected"]),L.name,0,{title:L.name,onClick:function(){function I(){return V("switch_camera",{name:L.name})}return I}()},L.name)})})})]})}return d}()},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),k=n(98595),y=r.Canister=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.portConnected,d=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,C=m.minReleasePressure,V=m.maxReleasePressure,v=m.valveOpen,p=m.name,g=m.canLabel,N=m.colorContainer,x=m.color_index,B=m.hasHoldingTank,L=m.holdingTank,I="";x.prim&&(I=N.prim.options[x.prim].name);var A="";x.sec&&(A=N.sec.options[x.sec].name);var T="";x.ter&&(T=N.ter.options[x.ter].name);var E="";x.quart&&(E=N.quart.options[x.quart].name);var P=[],M=[],O=[],R=[],F=0;for(F=0;Fp.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:i.cooldown_time||!p.can_close,onClick:function(){function g(){return s("make_job_unavailable",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!p.can_open,onClick:function(){function g(){return s("make_job_available",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:i.cooldown_time||!p.can_prioritize,onClick:function(){function g(){return s("prioritize_job",{job:p.title})}return g}()})})]},p.title)})]})})]}):v=(0,e.createComponentVNode)(2,S);break;case 2:!i.authenticated||!i.scan_name?v=(0,e.createComponentVNode)(2,S):i.modify_name?v=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function p(g){return s("set",{access:g})}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(g){return s("grant_region",{region:g})}return p}(),denyDep:function(){function p(g){return s("deny_region",{region:g})}return p}()}):v=(0,e.createComponentVNode)(2,b);break;case 3:i.authenticated?i.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:!i.authenticated||i.records.length===0||i.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"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.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}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):v=(0,e.createComponentVNode)(2,h):v=(0,e.createComponentVNode)(2,S);break;case 4:!i.authenticated||!i.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"})]}),i.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 g(){return s("remote_demote",{remote_demote:p.name})}return g}()})})]},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:V}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:C}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v})]})})})}return u}()},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),k=n(98595),y=n(25328),S=r.CargoConsole=function(){function m(l,d){return(0,e.createComponentVNode)(2,k.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,k.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,c),(0,e.createComponentVNode)(2,u)]})})})}return m}(),b=function(l,d){var s=(0,o.useLocalState)(d,"contentsModal",null),i=s[0],C=s[1],V=(0,o.useLocalState)(d,"contentsModalTitle",null),v=V[0],p=V[1];if(i!==null&&v!==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,[v,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:i.map(function(g){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",g]},g)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function g(){C(null),p(null)}return g}()})})]})},h=function(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=C.is_public,v=C.points,p=C.credits,g=C.timeleft,N=C.moving,x=C.at_station,B,L;return!N&&!x?(B="Docked off-station",L="Call Shuttle"):!N&&x?(B="Docked at the station",L="Return Shuttle"):N&&(L="In Transit...",g!==1?B="Shuttle is en route (ETA: "+g+" minutes)":B="Shuttle is en route (ETA: "+g+" 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:"Points Available",children:v}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Credits Available",children:p}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:B}),V===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:N,onClick:function(){function I(){return i("moveShuttle")}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function I(){return i("showMessages")}return I}()})]})]})})})},c=function(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=C.categories,v=C.supply_packs,p=(0,o.useSharedState)(d,"category","Emergency"),g=p[0],N=p[1],x=(0,o.useSharedState)(d,"search_text",""),B=x[0],L=x[1],I=(0,o.useLocalState)(d,"contentsModal",null),A=I[0],T=I[1],E=(0,o.useLocalState)(d,"contentsModalTitle",null),P=E[0],M=E[1],O=(0,y.createSearch)(B,function(W){return W.name}),R=(0,a.flow)([(0,t.filter)(function(W){return W.cat===V.filter(function(j){return j.name===g})[0].category||B}),B&&(0,t.filter)(O),(0,t.sortBy)(function(W){return W.name.toLowerCase()})])(v),F="Crate Catalogue";return B?F="Results for '"+B+"':":g&&(F="Browsing "+g),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:F,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:V.map(function(W){return W.name}),selected:g,onSelected:function(){function W(j){return N(j)}return W}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function W(j,U){return L(U)}return W}(),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:R.map(function(W){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,f.Box,{color:W.has_sale?"good":"default",children:[W.name," (",W.cost?W.cost+" Points":"",W.creditsCost&&W.cost?" ":"",W.creditsCost?W.creditsCost+" 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",onClick:function(){function j(){return i("order",{crate:W.ref,multiple:0})}return j}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function j(){return i("order",{crate:W.ref,multiple:1})}return j}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function j(){T(W.contents),M(W.name)}return j}()})]})]},W.name)})})})]})})},u=function(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=C.requests,v=C.canapprove,p=C.orders;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Details",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:V.map(function(g){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",g.ordernum,": ",g.supply_type," for ",(0,e.createVNode)(1,"b",null,g.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",g.comment]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Required Techs: ",g.pack_techs]})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!v,onClick:function(){function N(){return i("approve",{ordernum:g.ordernum})}return N}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",onClick:function(){function N(){return i("deny",{ordernum:g.ordernum})}return N}()})]})]},g.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:p.map(function(g){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",g.ordernum,": ",g.supply_type," for ",(0,e.createVNode)(1,"b",null,g.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",g.comment]})]})},g.ordernum)})})]})}},22794:function(w,r,n){"use strict";r.__esModule=!0,r.DelayHelper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.DelayHelper=function(){function k(y,S){var b=(0,t.useBackend)(S),h=b.act,c=b.data,u=c.delays,m=c.rev_delays,l=y.delay_list,d=y.reverse,s=d===void 0?!1:d;return(0,e.createComponentVNode)(2,o.LabeledControls,{wrap:!0,style:{"flex-direction":"column","flex-wrap":"wrap",height:"7.5em","justify-content":"start"},children:l.map(function(i,C){return(0,e.createComponentVNode)(2,o.LabeledControls.Item,{label:i.title,style:{"flex-direction":"column","min-width":"0"},children:(0,e.createComponentVNode)(2,o.Knob,{color:(s?m[C+1]:u[C+1])/10>10?"orange":"default",format:function(){function V(v){return(0,a.toFixed)(v,2)}return V}(),maxValue:10,minValue:0,inline:!0,onDrag:function(){function V(v,p){h("editTiming",{reverse:s,timer:""+(C+1),value:Math.max(p,0)})}return V}(),size:1,step:.02,unclamped:!0,unit:"s",value:(s?m[C+1]:u[C+1])/10})},C)})})}return k}()},23749:function(w,r,n){"use strict";r.__esModule=!0,r.PodBays=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=r.PodBays=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.bayNumber;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",onClick:function(){function m(){return h("clearBay")}return m}(),tooltip:"\n \u041E\u0447\u0438\u0449\u0430\u0435\u0442 \u0432\u0441\u0451\n\u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0430\u043D\u0433\u0430\u0440\u0430.",tooltipPosition:"top-end"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"question",tooltip:"\n \u041A\u0430\u0436\u0434\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442\n\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0439 \u0437\u043E\u043D\u0435 \u043D\u0430 \u0426\u041A.\n\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u043A\u0430\u043F\u0441\u0443\u043B\u044B \u0431\u0443\u0434\u0443\u0442\n\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u044B \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u0430\u043C\u0438 \u0438\u0437 \u044D\u0442\u0438\u0445 \u0437\u043E\u043D\n\u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043E\u043F\u0446\u0438\u0435\u0439\n\xAB\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0438\u0437 \u0430\u043D\u0433\u0430\u0440\u0430\xBB \u0432 \u043B\u0435\u0432\u043E\u043C \u0432\u0435\u0440\u0445\u043D\u0435\u043C \u0443\u0433\u043B\u0443.",tooltipPosition:"top-end"})],4),fill:!0,title:"\u0410\u043D\u0433\u0430\u0440",children:o.BAYS.map(function(m,l){return(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function d(){return h("switchBay",{bayNumber:""+(l+1)})}return d}(),selected:u===""+(l+1),tooltipPosition:"bottom-end",children:m.title},l)})})}return k}()},8507:function(w,r,n){"use strict";r.__esModule=!0,r.PodLaunch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(20345),f=r.PodLaunch=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.giveLauncher,m=(0,o.useCompact)(S),l=m[0];return(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function d(){return h("giveLauncher")}return d}(),selected:u,textAlign:"center",tooltip:"\n \u0412\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0437\u043D\u0430\u0442\u044C, \u0447\u0442\u043E\n \u041E\u0431 \u044D\u0442\u043E\u043C \u0433\u043E\u0432\u043E\u0440\u0438\u0442 \u041A\u043E\u0434\u0435\u043A\u0441 \u0410\u0441\u0442\u0430\u0440\u0442\u0435\u0441",tooltipPosition:"top",children:(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"1.4em",lineHeight:l?1.5:3,children:"\u0417\u0410\u041F\u0423\u0421\u041A"})})}return k}()},15802:function(w,r,n){"use strict";r.__esModule=!0,r.PodSounds=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=r.PodSounds=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.defaultSoundVolume,m=c.soundVolume;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"volume-up",onClick:function(){function l(){return h("soundVolume")}return l}(),selected:m!==u,tooltip:"\n \u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0417\u0443\u043A\u0430:"+m}),fill:!0,title:"\u0417\u0432\u0443\u043A\u0438",children:o.SOUNDS.map(function(l,d){return(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function s(){return h(l.act)}return s}(),selected:c[l.act],tooltip:l.tooltip,tooltipPosition:"top-end",children:l.title},d)})})}return k}()},94577:function(w,r,n){"use strict";r.__esModule=!0,r.PodStatusPage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=n(20345),k=r.PodStatusPage=function(){function b(h,c){var u=(0,f.useCompact)(c),m=u[0];return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:o.EFFECTS_ALL.map(function(l,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"label",mb:1,children:[!m&&(l.alt_label||l.label),":"]}),(0,e.createComponentVNode)(2,t.Box,{children:l.list.map(function(s,i){return(0,e.createComponentVNode)(2,y,{effect:s,hasMargin:l.list.length>1,index:i},i)})})]}),d=0;--J){var X=this.tryEntries[J],Q=X.completion;if(X.tryLoc==="root")return ae("end");if(X.tryLoc<=this.prev){var q=s.call(X,"catchLoc"),te=s.call(X,"finallyLoc");if(q&&te){if(this.prev=0;--ae){var J=this.tryEntries[ae];if(J.tryLoc<=this.prev&&s.call(J,"finallyLoc")&&this.prev=0;--Z){var ae=this.tryEntries[Z];if(ae.finallyLoc===re)return this.complete(ae.completion,ae.afterLoc),$(ae),T}}return oe}(),catch:function(){function oe(re){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var ae=this.tryEntries[Z];if(ae.tryLoc===re){var J=ae.completion;if(J.type==="throw"){var X=J.arg;$(ae)}return X}}throw Error("illegal catch attempt")}return oe}(),delegateYield:function(){function oe(re,Z,ae){return this.delegate={iterator:de(re),resultName:Z,nextLoc:ae},this.method==="next"&&(this.arg=m),T}return oe}()},l}function S(m,l,d,s,i,C,V){try{var v=m[C](V),p=v.value}catch(g){return void d(g)}v.done?l(p):Promise.resolve(p).then(s,i)}function b(m){return function(){var l=this,d=arguments;return new Promise(function(s,i){var C=m.apply(l,d);function V(p){S(C,s,i,V,v,"next",p)}function v(p){S(C,s,i,V,v,"throw",p)}V(void 0)})}}var h=function(){var m=b(y().mark(function(){function l(d,s){return y().wrap(function(){function i(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,a.storage.set("podlauncher_preset_"+d,s);case 2:case"end":return C.stop()}}return i}(),l)}return l}()));return function(){function l(d,s){return m.apply(this,arguments)}return l}()}(),c=function(l,d){var s=(0,o.useBackend)(d),i=s.data,C=l.editing,V=l.deletePreset,v=l.loadPreset,p=l.presetIndex,g=l.setEditing,N=l.getPresets;return(0,e.createFragment)([!C&&(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"plus",onClick:function(){function x(){return g(!C)}return x}(),tooltip:"\u041D\u043E\u0432\u044B\u0439 \u043F\u0440\u0435\u0441\u0435\u0442"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"download",inline:!0,onClick:function(){function x(){return h(p.toString(),i)}return x}(),tooltip:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0435\u0442",tooltipPosition:"bottom"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"upload",inline:!0,onClick:function(){function x(){v(p)}return x}(),tooltip:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0435\u0442"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"trash",inline:!0,onClick:function(){function x(){return V(p)}return x}(),tooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u044B\u0439 \u043F\u0440\u0435\u0441\u0435\u0442",tooltipPosition:"bottom-start"}),(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"refresh",inline:!0,onClick:function(){function x(){return N()}return x}(),tooltip:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0440\u0435\u0441\u0435\u0442\u043E\u0432",tooltipPosition:"bottom-start"})],0)},u=r.PresetsPage=function(){function m(l,d){var s=(0,o.useBackend)(d),i=s.act,C=s.data,V=(0,o.useLocalState)(d,"editing",!1),v=V[0],p=V[1],g=(0,o.useLocalState)(d,"hue",0),N=g[0],x=g[1],B=(0,o.useLocalState)(d,"name",""),L=B[0],I=B[1],A=(0,o.useLocalState)(d,"presetID",0),T=A[0],E=A[1],P=(0,o.useLocalState)(d,"presets",[]),M=P[0],O=P[1],R=function(){var U=b(y().mark(function(){function K(Y){var ne,$;return y().wrap(function(){function le(de){for(;;)switch(de.prev=de.next){case 0:ne=[].concat(M),$=0;case 2:if(!($=l.length-2?s%2===1?"top-start":"top-end":s%2===1?"bottom-start":"bottom-end",tooltip:d.title,width:"45px",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["supplypods64x64","pod_asset"+d.id]),style:{"pointer-events":"none",transform:"rotate(45deg) translate(-25%,-10%)"}})},d.id)})})}return k}()},8179:function(w,r,n){"use strict";r.__esModule=!0,r.TabPod=r.TabDrop=r.TabBay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TabPod=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.oldArea;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:!0,icon:"street-view",children:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,icon:"undo-alt",children:m?m.substring(0,17):"\u041D\u0430\u0437\u0430\u0434"})],4)}return y}(),f=r.TabBay=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=(0,a.useLocalState)(b,"teleported",!1),l=m[0],d=m[1],s=u.oldArea;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"street-view",onClick:function(){function i(){c("teleportCentcom"),d(!0)}return i}(),children:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s||!l,icon:"undo-alt",onClick:function(){function i(){c("teleportBack"),d(!1)}return i}(),children:s?s.substring(0,17):"\u041D\u0430\u0437\u0430\u0434"})],4)}return y}(),k=r.TabDrop=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=(0,a.useLocalState)(b,"teleported",!1),l=m[0],d=m[1],s=u.oldArea;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"street-view",onClick:function(){function i(){c("teleportDropoff"),d(!0)}return i}(),children:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s||!l,icon:"undo-alt",onClick:function(){function i(){c("teleportBack"),d(!1)}return i}(),children:s?s.substring(0,17):"\u041D\u0430\u0437\u0430\u0434"})],4)}return y}()},18885:function(w,r,n){"use strict";r.__esModule=!0,r.Timing=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=n(22794),k=r.Timing=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.custom_rev_delay,l=u.effectReverse;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"undo",onClick:function(){function d(){return c("resetTiming")}return d}(),tooltip:"\n \u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0442\u0430\u0439\u043C\u0438\u043D\u0433\u0438\n /\u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u043A\u0430\u043F\u0441\u0443\u043B",tooltipPosition:"bottom-end"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",disabled:!l,icon:m===1?"toggle-on":"toggle-off",onClick:function(){function d(){return c("toggleRevDelays")}return d}(),selected:m,tooltip:"\n \u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\n \u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435: \u043F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u0438\n \u043E\u0431\u0440\u0430\u0449\u0430\u044E\u0442 \u0432\u0441\u043F\u044F\u0442\u044C \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u043A\u0430\u043F\u0441\u0443\u043B",tooltipPosition:"bottom-end"})],4),title:"\u0412\u0440\u0435\u043C\u044F",children:m?(0,e.createComponentVNode)(2,f.DelayHelper,{delay_list:o.REV_DELAYS,reverse:!0}):(0,e.createComponentVNode)(2,f.DelayHelper,{delay_list:o.DELAYS})})}return y}()},76417:function(w,r,n){"use strict";r.__esModule=!0,r.ViewTabHolder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(7144),f=n(20345),k=r.ViewTabHolder=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mapRef,l=u.customDropoff,d=u.effectReverse,s=u.renderLighting,i=(0,f.useTab)(b),C=i[0],V=i[1],v=o.TABPAGES[C].component;return(0,e.createComponentVNode)(2,t.Section,{buttons:(0,e.createFragment)([!!l&&!!d&&(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"arrow-circle-down",inline:!0,onClick:function(){function p(){V(2),c("tabSwitch",{tabIndex:2})}return p}(),selected:C===2,tooltip:"\u041C\u0435\u0441\u0442\u043E \u0412\u044B\u0441\u0430\u0434\u043A\u0438"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"rocket",inline:!0,onClick:function(){function p(){V(0),c("tabSwitch",{tabIndex:0})}return p}(),selected:C===0,tooltip:"\u041A\u0430\u043F\u0441\u0443\u043B\u0430"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"th",inline:!0,onClick:function(){function p(){V(1),c("tabSwitch",{tabIndex:1})}return p}(),selected:C===1,tooltip:"\u0410\u043D\u0433\u0430\u0440 \u041F\u043E\u0433\u0440\u0443\u0437\u043A\u0438"}),(0,e.createVNode)(1,"span",null,"|",16,{style:o.POD_GREY}),!!l&&!!d&&(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",inline:!0,onClick:function(){function p(){c("renderLighting"),c("refreshView")}return p}(),selected:s,tooltip:"\u0420\u0435\u043D\u0434\u0435\u0440\u0438\u043D\u0433 \u043E\u0441\u0432\u0435\u0449\u0435\u043D\u0438\u044F"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"sync-alt",inline:!0,onClick:function(){function p(){V(C),c("refreshView")}return p}(),tooltip:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u043A\u043D\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430"})],0),fill:!0,title:"\u041E\u0441\u043C\u043E\u0442\u0440",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(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,t.ByondUi,{height:"100%",params:{id:m,type:"map",zoom:0}})})]})})}return y}()},7144:function(w,r,n){"use strict";r.__esModule=!0,r.TABPAGES=r.SOUNDS=r.REV_DELAYS=r.REVERSE_OPTIONS=r.POD_GREY=r.EFFECTS_NORMAL=r.EFFECTS_LOAD=r.EFFECTS_HARM=r.EFFECTS_ALL=r.DELAYS=r.BAYS=void 0;var e=n(8179),a=r.POD_GREY={color:"grey"},t=r.TABPAGES=[{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043A\u0430\u043F\u0441\u0443\u043B\u044B",component:e.TabPod},{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0430\u043D\u0433\u0430\u0440\u0430",component:e.TabBay},{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043C\u0435\u0441\u0442\u0430 \u0432\u044B\u0433\u0440\u0443\u0437\u043A\u0438.",component:e.TabDrop}],o=r.REVERSE_OPTIONS=[{title:"\u041C\u043E\u0431\u044B",key:"Mobs",icon:"user"},{title:"\u041D\u0435 \u0437\u0430\u043A\u0440\u0435\u043F\u043B\u0451\u043D\u043D\u044B\u0435\n\u041E\u0431\u044A\u0435\u043A\u0442\u044B",key:"Unanchored",icon:"cube"},{title:"\u0417\u0430\u043A\u0440\u0435\u043F\u043B\u0451\u043D\u043D\u044B\u0435\n\u041E\u0431\u044A\u0435\u043A\u0442\u044B",key:"Anchored",icon:"anchor"},{title:"\u041C\u0435\u0445\u0438",key:"Mecha",icon:"truck"}],f=r.DELAYS=[{title:"Pre",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043F\u0440\u0438\u0431\u044B\u0442\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B\u044B \u043D\u0430 \u0441\u0442\u0430\u043D\u0446\u0438\u044E"},{title:"Fall",tooltip:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438\n \u043F\u0430\u0434\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B"},{title:"Open",tooltip:"\u0412\u0440\u0435\u043C\u044F, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0435 \u043A\u0430\u043F\u0441\u0443\u043B\u0435 \u0434\u043B\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u0435\u043D\u0438\u044F"},{title:"Exit",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043E\u0442\u043B\u0435\u0442\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u044B\n\u043F\u043E\u0441\u043B\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F"}],k=r.REV_DELAYS=[{title:"Pre",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043F\u043E\u044F\u0432\u043B\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B\u044B \u043D\u0430\u0434 \u0442\u043E\u0447\u043A\u043E\u0439 \u0432\u044B\u0441\u0430\u0434\u043A\u0438"},{title:"Fall",tooltip:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438\n \u043F\u0430\u0434\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B"},{title:"Open",tooltip:"\u0412\u0440\u0435\u043C\u044F, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0435 \u043A\u0430\u043F\u0441\u0443\u043B\u0435 \u0434\u043B\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u0435\u043D\u0438\u044F"},{title:"Exit",tooltip:"\u0412\u0440\u0435\u043C\u044F \u0434\u043E \u043E\u0442\u043B\u0435\u0442\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u044B\n\u043F\u043E\u0441\u043B\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F"}],y=r.SOUNDS=[{title:"Fall",act:"fallingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F, \u043F\u043E\u043A\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u0430 \u043F\u0430\u0434\u0430\u0435\u0442, \u0438 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F\n\u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u0430 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u044F\u0435\u0442\u0441\u044F"},{title:"Land",act:"landingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u0437\u0435\u043C\u043B\u0435\u043D\u0438\u044F \u043A\u0430\u043F\u0441\u0443\u043B\u044B"},{title:"Open",act:"openingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u043A\u0430\u043F\u0441\u0443\u043B\u044B"},{title:"Exit",act:"leavingSound",tooltip:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F, \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043F\u0441\u0443\u043B\u0430 \u0443\u043B\u0435\u0442\u0430\u0435\u0442"}],S=r.BAYS=[{title:"1"},{title:"2"},{title:"3"},{title:"4"},{title:"\u0415\u0420\u0422"}],b=r.EFFECTS_LOAD=[{act:"launchAll",choiceNumber:0,icon:"globe",selected:"launchChoice",title:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u043E \u0432\u0441\u0435\u0445 \u0442\u0443\u0440\u0444\u043E\u0432"},{act:"launchOrdered",choiceNumber:1,icon:"sort-amount-down-alt",selected:"launchChoice",title:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441 \u0442\u0443\u0440\u0444\u043E\u0432 \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443"},{act:"launchRandomTurf",choiceNumber:2,icon:"dice",selected:"launchChoice",title:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0440\u0430\u043D\u0434\u043E\u043C\u043D\u044B\u0439 \u0442\u0443\u0440\u0444"},{divider:!0},{act:"launchWholeTurf",choiceNumber:0,icon:"expand",selected:"launchRandomItem",title:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0442\u0443\u0440\u0444\u0430"},{act:"launchRandomItem",choiceNumber:1,icon:"dice",selected:"launchRandomItem",title:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u043E\u0431\u044A\u0435\u043A\u0442"},{divider:!0},{act:"launchClone",icon:"clone",soloSelected:"launchClone",title:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u044A\u0435\u043A\u0442"}],h=r.EFFECTS_NORMAL=[{act:"effectTarget",icon:"user-check",soloSelected:"effectTarget",title:"\u041E\u0441\u043E\u0431\u0430\u044F \u0446\u0435\u043B\u044C"},{act:"effectBluespace",choiceNumber:0,icon:"hand-paper",selected:"effectBluespace",title:"\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u043E\u0441\u0442\u0430\u0435\u0442\u0441\u044F"},{act:"effectStealth",icon:"user-ninja",soloSelected:"effectStealth",title:"\u0421\u043A\u0440\u044B\u0442\u043D\u043E"},{act:"effectQuiet",icon:"volume-mute",soloSelected:"effectQuiet",title:"\u0422\u0438\u0445\u043E"},{act:"effectMissile",icon:"rocket",soloSelected:"effectMissile",title:"\u0420\u0435\u0436\u0438\u043C \u0440\u0430\u043A\u0435\u0442\u044B"},{act:"effectBurst",icon:"certificate",soloSelected:"effectBurst",title:"\u0417\u0430\u043F\u0443\u0441\u043A \u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0430"},{act:"effectCircle",icon:"ruler-combined",soloSelected:"effectCircle",title:"\u041B\u044E\u0431\u043E\u0439 \u0443\u0433\u043E\u043B \u0441\u043F\u0443\u0441\u043A\u0430"},{act:"effectAnnounce",choiceNumber:0,icon:"ghost",selected:"effectAnnounce",title:"\u041D\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u0437\u0440\u0430\u043A\u043E\u0432\n(\u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435 \u0445\u043E\u0442\u0438\u0442\u0435\n\u0440\u0430\u0437\u0432\u043B\u0435\u043A\u0430\u0442\u044C \u0441\u043A\u0443\u0447\u0430\u044E\u0449\u0438\u0445 \u043F\u0440\u0438\u0437\u0440\u0430\u043A\u043E\u0432)"}],c=r.EFFECTS_HARM=[{act:"explosionCustom",choiceNumber:1,icon:"bomb",selected:"explosionChoice",title:"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u0432\u0437\u0440\u044B\u0432"},{act:"explosionBus",choiceNumber:2,icon:"bomb",selected:"explosionChoice",title:"\u0410\u0434\u043C\u0438\u043D\u0430\u0431\u0443\u0437-\u0432\u0437\u0440\u044B\u0432\n\u0418 \u0447\u0442\u043E \u043E\u043D\u0438 \u0441\u0434\u0435\u043B\u0430\u044E\u0442, \u0437\u0430\u0431\u0430\u043D\u044F\u0442 \u0442\u0435\u0431\u044F?"},{divider:!0},{act:"damageCustom",choiceNumber:1,icon:"skull",selected:"damageChoice",title:"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u0443\u0440\u043E\u043D"},{act:"damageGib",choiceNumber:2,icon:"skull-crossbones",selected:"damageChoice",title:"\u0413\u0438\u0431"},{divider:!0},{act:"effectShrapnel",details:!0,icon:"cloud-meatball",soloSelected:"effectShrapnel",title:"\u041E\u0431\u043B\u0430\u043A\u043E \u0441\u043D\u0430\u0440\u044F\u0434\u043E\u0432"},{act:"effectStun",icon:"sun",soloSelected:"effectStun",title:"\u0421\u0442\u0430\u043D"},{act:"effectLimb",icon:"socks",soloSelected:"effectLimb",title:"\u041F\u043E\u0442\u0435\u0440\u044F \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438"},{act:"effectOrgans",icon:"book-dead",soloSelected:"effectOrgans",title:"\u0420\u0430\u0437\u043B\u0435\u0442 \u0432\u0441\u0435\u0445 \u043E\u0440\u0433\u0430\u043D\u043E\u0432"}],u=r.EFFECTS_ALL=[{list:b,label:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0437",alt_label:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",tooltipPosition:"right"},{list:h,label:"\u041E\u0431\u044B\u0447\u043D\u044B\u0435 \u042D\u0444\u0444\u0435\u043A\u0442\u044B",tooltipPosition:"bottom"},{list:c,label:"\u0412\u0440\u0435\u0434\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B",tooltipPosition:"bottom"}]},20345:function(w,r,n){"use strict";r.__esModule=!0,r.useTab=r.useCompact=void 0;var e=n(72253),a=r.useCompact=function(){function o(f){return(0,e.useLocalState)(f,"compact",!1)}return o}(),t=r.useTab=function(){function o(f){return(0,e.useLocalState)(f,"tab",1)}return o}()},65875:function(w,r,n){"use strict";r.__esModule=!0,r.CentcomPodLauncher=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(20345),f=n(23749),k=n(8507),y=n(15802),S=n(94577),b=n(30590),h=n(72932),c=n(68569),u=n(18885),m=n(76417),l=r.CentcomPodLauncher=function(){function d(s,i){var C=(0,o.useCompact)(i),V=C[0];return(0,e.createComponentVNode)(2,t.Window,{height:V?360:440,title:"\u041C\u0435\u043D\u044E \u043A\u0430\u043F\u0441\u0443\u043B \u0441\u043D\u0430\u0431\u0436\u0435\u043D\u0438\u044F",width:V?460:750,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,a.Stack.Item,{shrink:0,children:(0,e.createComponentVNode)(2,S.PodStatusPage)}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,shrink:0,basis:"14.1em",children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.PresetsPage)}),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,h.ReverseMenu)}),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,k.PodLaunch)})})]})}),!V&&(0,e.createComponentVNode)(2,a.Stack.Item,{grow:3,children:(0,e.createComponentVNode)(2,m.ViewTabHolder)}),(0,e.createComponentVNode)(2,a.Stack.Item,{basis:"9em",children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,direction:"column",children:[(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,f.PodBays)}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u.Timing)}),!V&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,y.PodSounds,{fill:!0})})]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{basis:"11em",children:(0,e.createComponentVNode)(2,c.StylePage)})]})})]})})})}return d}()},16780:function(){"use strict"},12226:function(w,r,n){"use strict";r.__esModule=!0,r.Changelog=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=n(79140),y=b(n(83331)),S=b(n(52754));function b(i){return i&&i.__esModule?i:{default:i}}function h(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return C};var i,C={},V=Object.prototype,v=V.hasOwnProperty,p=Object.defineProperty||function(J,X,Q){J[X]=Q.value},g=typeof Symbol=="function"?Symbol:{},N=g.iterator||"@@iterator",x=g.asyncIterator||"@@asyncIterator",B=g.toStringTag||"@@toStringTag";function L(J,X,Q){return Object.defineProperty(J,X,{value:Q,enumerable:!0,configurable:!0,writable:!0}),J[X]}try{L({},"")}catch(J){L=function(Q,q,te){return Q[q]=te}}function I(J,X,Q,q){var te=X&&X.prototype instanceof R?X:R,fe=Object.create(te.prototype),ye=new Z(q||[]);return p(fe,"_invoke",{value:le(J,Q,ye)}),fe}function A(J,X,Q){try{return{type:"normal",arg:J.call(X,Q)}}catch(q){return{type:"throw",arg:q}}}C.wrap=I;var T="suspendedStart",E="suspendedYield",P="executing",M="completed",O={};function R(){}function F(){}function W(){}var j={};L(j,N,function(){return this});var U=Object.getPrototypeOf,K=U&&U(U(ae([])));K&&K!==V&&v.call(K,N)&&(j=K);var Y=W.prototype=R.prototype=Object.create(j);function ne(J){["next","throw","return"].forEach(function(X){L(J,X,function(Q){return this._invoke(X,Q)})})}function $(J,X){function Q(te,fe,ye,pe){var Le=A(J[te],J,fe);if(Le.type!=="throw"){var D=Le.arg,ie=D.value;return ie&&typeof ie=="object"&&v.call(ie,"__await")?X.resolve(ie.__await).then(function(se){Q("next",se,ye,pe)},function(se){Q("throw",se,ye,pe)}):X.resolve(ie).then(function(se){D.value=se,ye(D)},function(se){return Q("throw",se,ye,pe)})}pe(Le.arg)}var q;p(this,"_invoke",{value:function(){function te(fe,ye){function pe(){return new X(function(Le,D){Q(fe,ye,Le,D)})}return q=q?q.then(pe,pe):pe()}return te}()})}function le(J,X,Q){var q=T;return function(te,fe){if(q===P)throw Error("Generator is already running");if(q===M){if(te==="throw")throw fe;return{value:i,done:!0}}for(Q.method=te,Q.arg=fe;;){var ye=Q.delegate;if(ye){var pe=de(ye,Q);if(pe){if(pe===O)continue;return pe}}if(Q.method==="next")Q.sent=Q._sent=Q.arg;else if(Q.method==="throw"){if(q===T)throw q=M,Q.arg;Q.dispatchException(Q.arg)}else Q.method==="return"&&Q.abrupt("return",Q.arg);q=P;var Le=A(J,X,Q);if(Le.type==="normal"){if(q=Q.done?M:E,Le.arg===O)continue;return{value:Le.arg,done:Q.done}}Le.type==="throw"&&(q=M,Q.method="throw",Q.arg=Le.arg)}}}function de(J,X){var Q=X.method,q=J.iterator[Q];if(q===i)return X.delegate=null,Q==="throw"&&J.iterator.return&&(X.method="return",X.arg=i,de(J,X),X.method==="throw")||Q!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+Q+"' method")),O;var te=A(q,J.iterator,X.arg);if(te.type==="throw")return X.method="throw",X.arg=te.arg,X.delegate=null,O;var fe=te.arg;return fe?fe.done?(X[J.resultName]=fe.value,X.next=J.nextLoc,X.method!=="return"&&(X.method="next",X.arg=i),X.delegate=null,O):fe:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,O)}function oe(J){var X={tryLoc:J[0]};1 in J&&(X.catchLoc=J[1]),2 in J&&(X.finallyLoc=J[2],X.afterLoc=J[3]),this.tryEntries.push(X)}function re(J){var X=J.completion||{};X.type="normal",delete X.arg,J.completion=X}function Z(J){this.tryEntries=[{tryLoc:"root"}],J.forEach(oe,this),this.reset(!0)}function ae(J){if(J||J===""){var X=J[N];if(X)return X.call(J);if(typeof J.next=="function")return J;if(!isNaN(J.length)){var Q=-1,q=function(){function te(){for(;++Q=0;--te){var fe=this.tryEntries[te],ye=fe.completion;if(fe.tryLoc==="root")return q("end");if(fe.tryLoc<=this.prev){var pe=v.call(fe,"catchLoc"),Le=v.call(fe,"finallyLoc");if(pe&&Le){if(this.prev=0;--q){var te=this.tryEntries[q];if(te.tryLoc<=this.prev&&v.call(te,"finallyLoc")&&this.prev=0;--Q){var q=this.tryEntries[Q];if(q.finallyLoc===X)return this.complete(q.completion,q.afterLoc),re(q),O}}return J}(),catch:function(){function J(X){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var q=this.tryEntries[Q];if(q.tryLoc===X){var te=q.completion;if(te.type==="throw"){var fe=te.arg;re(q)}return fe}}throw Error("illegal catch attempt")}return J}(),delegateYield:function(){function J(X,Q,q){return this.delegate={iterator:ae(X),resultName:Q,nextLoc:q},this.method==="next"&&(this.arg=i),O}return J}()},C}function c(i,C,V,v,p,g,N){try{var x=i[g](N),B=x.value}catch(L){return void V(L)}x.done?C(B):Promise.resolve(B).then(v,p)}function u(i){return function(){var C=this,V=arguments;return new Promise(function(v,p){var g=i.apply(C,V);function N(B){c(g,v,p,N,x,"next",B)}function x(B){c(g,v,p,N,x,"throw",B)}N(void 0)})}}function m(i,C){i.prototype=Object.create(C.prototype),i.prototype.constructor=i,l(i,C)}function l(i,C){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(V,v){return V.__proto__=v,V},l(i,C)}var d={add:{icon:"check-circle",color:"green"},admin:{icon:"user-shield",color:"purple"},balance:{icon:"balance-scale-right",color:"yellow"},bugfix:{icon:"bug",color:"green"},code_imp:{icon:"code",color:"green"},config:{icon:"cogs",color:"purple"},del:{icon:"minus",color:"red"},expansion:{icon:"check-circle",color:"green"},experiment:{icon:"radiation",color:"yellow"},image:{icon:"image",color:"green"},imageadd:{icon:"tg-image-plus",color:"green"},imagedel:{icon:"tg-image-minus",color:"red"},map:{icon:"map-location-dot",color:"green"},qol:{icon:"hand-holding-heart",color:"green"},refactor:{icon:"tools",color:"green"},rscadd:{icon:"check-circle",color:"green"},rscdel:{icon:"times-circle",color:"red"},server:{icon:"server",color:"purple"},sound:{icon:"volume-high",color:"green"},soundadd:{icon:"tg-sound-plus",color:"green"},sounddel:{icon:"tg-sound-minus",color:"red"},spellcheck:{icon:"spell-check",color:"green"},tgs:{icon:"toolbox",color:"purple"},tweak:{icon:"wrench",color:"green"},unknown:{icon:"info-circle",color:"label"},wip:{icon:"hammer",color:"orange"}},s=r.Changelog=function(i){function C(){var v;return v=i.call(this)||this,v.getData=function(p,g){g===void 0&&(g=1);var N=(0,t.useBackend)(v.context),x=N.act,B=v,L=6;if(g>L)return v.setData("Failed to load data after "+L+" attempts");x("get_month",{date:p}),fetch((0,k.resolveAsset)(p+".yml")).then(function(){var I=u(h().mark(function(){function A(T){var E,P,M;return h().wrap(function(){function O(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,T.text();case 2:E=R.sent,P=/^Cannot find/,P.test(E)?(M=50+g*50,B.setData("Loading changelog data"+".".repeat(g+3)),setTimeout(function(){B.getData(p,g+1)},M)):B.setData(S.default.load(E,{schema:S.default.CORE_SCHEMA}));case 5:case"end":return R.stop()}}return O}(),A)}return A}()));return function(A){return I.apply(this,arguments)}}())},v.state={data:"Loading changelog data...",selectedDate:"",selectedIndex:0},v.dateChoices=[],v}m(C,i);var V=C.prototype;return V.setData=function(){function v(p){this.setState({data:p})}return v}(),V.setSelectedDate=function(){function v(p){this.setState({selectedDate:p})}return v}(),V.setSelectedIndex=function(){function v(p){this.setState({selectedIndex:p})}return v}(),V.componentDidMount=function(){function v(){var p=this,g=(0,t.useBackend)(this.context),N=g.data.dates,x=N===void 0?[]:N;x&&(x.forEach(function(B){return p.dateChoices.push((0,y.default)(B,"mmmm yyyy",!0))}),this.setSelectedDate(this.dateChoices[0]),this.getData(x[0]))}return v}(),V.render=function(){function v(){var p=this,g=this.state,N=g.data,x=g.selectedDate,B=g.selectedIndex,L=(0,t.useBackend)(this.context),I=L.data.dates,A=this.dateChoices,T=A.length>0&&(0,e.createComponentVNode)(2,o.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===0,icon:"chevron-left",onClick:function(){function R(){var F=B-1;return p.setData("Loading changelog data..."),p.setSelectedIndex(F),p.setSelectedDate(A[F]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),p.getData(I[F])}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{displayText:x,options:A,onSelected:function(){function R(F){var W=A.indexOf(F);return p.setData("Loading changelog data..."),p.setSelectedIndex(W),p.setSelectedDate(F),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),p.getData(I[W])}return R}(),selected:x,width:"150px"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===A.length-1,icon:"chevron-right",onClick:function(){function R(){var F=B+1;return p.setData("Loading changelog data..."),p.setSelectedIndex(F),p.setSelectedDate(A[F]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),p.getData(I[F])}return R}()})})]}),E=(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createVNode)(1,"h1",null,"Paradise Station",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thanks to: ",16),(0,e.createTextVNode)("Baystation 12, /tg/station, /vg/station, NTstation, CDK Station devs, FacepunchStation, GoonStation devs, the original SpaceStation developers and Radithor for the title image. Also a thanks to anybody who has contributed who is not listed here :( Ask to be added here on irc.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Recent GitHub contributors can be found "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://github.com/ss220-space/Paradise/pulse/monthly"}),(0,e.createTextVNode)(".")],0),T]}),P=(0,e.createComponentVNode)(2,o.Section,{children:[T,(0,e.createVNode)(1,"h3",null,"GoonStation 13 Development Team",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Coders: ",16),(0,e.createTextVNode)("Stuntwaffle, Showtime, Pantaloons, Nannek, Keelin, Exadv1, hobnob, Justicefries, 0staf, sniperchance, AngriestIBM, BrianOBlivion")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Spriters: ",16),(0,e.createTextVNode)("Supernorn, Haruhi, Stuntwaffle, Pantaloons, Rho, SynthOrange, I Said No")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Traditional Games Space Station 13 is thankful to the GoonStation 13 Development Team for its work on the game up to the"),(0,e.createTextVNode)(" r4407 release. The changelog for changes up to r4407 can be seen "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://wiki.ss13.co/Pre-2016_Changelog#April_2010"}),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,["Except where otherwise noted, Goon Station 13 is licensed under a ",(0,e.createVNode)(1,"a",null,"Creative Commons Attribution-Noncommercial-Share Alike 3.0 License",16,{href:"https://creativecommons.org/licenses/by-nc-sa/3.0/"}),". Rights are currently extended to ",(0,e.createVNode)(1,"a",null,"SomethingAwful Goons",16,{href:"http://forums.somethingawful.com/"})," only."],0),(0,e.createVNode)(1,"h3",null,"Traditional Games Space Station 13 License",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Some icons by"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Yusuke Kamiyamane",16,{href:"http://p.yusukekamiyamane.com/"}),(0,e.createTextVNode)(". All rights reserved. Licensed under a"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Creative Commons Attribution 3.0 License",16,{href:"http://creativecommons.org/licenses/by/3.0/"}),(0,e.createTextVNode)(".")],0)]}),M=/#\d+/,O=typeof N=="object"&&Object.keys(N).length>0&&Object.entries(N).reverse().map(function(R){var F=R[0],W=R[1];return(0,e.createComponentVNode)(2,o.Section,{title:(0,y.default)(F,"d mmmm yyyy",!0),children:(0,e.createComponentVNode)(2,o.Box,{ml:3,children:Object.entries(W).map(function(j){var U=j[0],K=j[1];return(0,e.createFragment)([(0,e.createVNode)(1,"h4",null,[U,(0,e.createTextVNode)(" changed:")],0),(0,e.createComponentVNode)(2,o.Box,{ml:3,children:(0,e.createComponentVNode)(2,o.Table,{children:K.map(function(Y){var ne=Object.keys(Y)[0],$=Y[ne],le=$.match(M),de=(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)(["Changelog__Cell","Changelog__Cell--Icon"]),children:(0,e.createComponentVNode)(2,o.Icon,{color:d[ne]?d[ne].color:d.unknown.color,name:d[ne]?d[ne].icon:d.unknown.icon})});return le!==null&&(0,e.createComponentVNode)(2,o.Table.Row,{children:[de,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:(0,e.createVNode)(1,"a",null,[" ",$.charAt(0).toUpperCase()+$.slice(1)," "],0,{href:"https://github.com/ss220-space/Paradise/pull/"+le[0].substring(1)})})]},ne+$)||(0,e.createComponentVNode)(2,o.Table.Row,{children:[de,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:$})]},ne+$)})})})],4,U)})})},F)});return(0,e.createComponentVNode)(2,f.Window,{title:"Changelog",width:675,height:650,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[E,O,typeof N=="string"&&(0,e.createVNode)(1,"p",null,N,0),P]})})}return v}(),C}(e.Component)},91360:function(w,r,n){"use strict";r.__esModule=!0,r.CheckboxListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),f=n(72253),k=n(98595),y=r.CheckboxListInputModal=function(){function b(h,c){var u=(0,f.useBackend)(c),m=u.act,l=u.data,d=l.items,s=d===void 0?[]:d,i=l.message,C=i===void 0?"":i,V=l.init_value,v=l.timeout,p=l.title,g=(0,f.useLocalState)(c,"edittedItems",s),N=g[0],x=g[1],B=330+Math.ceil(C.length/3),L=function(){function I(A){A===void 0&&(A=null);var T=[].concat(N);T=T.map(function(E){return E.key===A.key?Object.assign({},E,{checked:!A.checked}):E}),x(T)}return I}();return(0,e.createComponentVNode)(2,k.Window,{title:p,width:325,height:B,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{className:"ListInput__Section",fill:!0,title:C,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,S,{filteredItems:N,onClick:L})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:N})})]})})})]})}return b}(),S=function(h,c){var u=h.filteredItems,m=h.onClick;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:u.map(function(l,d){return(0,e.createComponentVNode)(2,o.Button.Checkbox,{fluid:!0,id:d,onClick:function(){function s(){return m(l)}return s}(),checked:l.checked,style:{animation:"none",transition:"none"},children:l.key.replace(/^\w/,function(s){return s.toUpperCase()})},d)})})}},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),k=[1,5,10,20,30,50,100],y=[1,5,10],S=r.ChemDispenser=function(){function u(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:650,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,c)]})})})}return u}(),b=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.amount,V=i.energy,v=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042D\u043D\u0435\u0440\u0433\u0438\u044F",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:V,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[V," / ",v," \u0435\u0434\u0438\u043D\u0438\u0446"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0431\u044A\u0451\u043C \u0441\u0438\u043D\u0442\u0435\u0437\u0430",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:k.map(function(p,g){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 N(){return s("amount",{amount:p})}return N}()})},g)})})})]})})})},h=function(m,l){for(var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.chemicals,V=C===void 0?[]:C,v=[],p=0;p<(V.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:i.glass?"\u0421\u0438\u043D\u0442\u0435\u0437 \u043D\u0430\u043F\u0438\u0442\u043A\u043E\u0432":"\u0421\u0438\u043D\u0442\u0435\u0437 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u043E\u0432",children:[V.map(function(g,N){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:g.title,style:{"margin-left":"2px"},onClick:function(){function x(){return s("dispense",{reagent:g.id})}return x}()},N)}),v.map(function(g,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},N)})]})})},c=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data,C=i.isBeakerLoaded,V=i.beakerCurrentVolume,v=i.beakerMaxVolume,p=i.beakerContents,g=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",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:[V," / ",v," \u0435\u0434\u0438\u043D\u0438\u0446"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",disabled:!C,onClick:function(){function N(){return s("ejectBeaker")}return N}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:C,beakerContents:g,buttons:function(){function N(x){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"\u0418\u0437\u043E\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C",icon:"compress-arrows-alt",onClick:function(){function B(){return s("remove",{reagent:x.id,amount:-1})}return B}()}),y.map(function(B,L){return(0,e.createComponentVNode)(2,t.Button,{content:B,onClick:function(){function I(){return s("remove",{reagent:x.id,amount:B})}return I}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0451",onClick:function(){function B(){return s("remove",{reagent:x.id,amount:x.volume})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"\u041E\u043A\u0440\u0443\u0433\u043B\u0438\u0442\u044C",tooltip:"\u0423\u0434\u0430\u043B\u044F\u0435\u0442 \u043B\u0438\u0448\u043D\u0435\u0435, \u043E\u043A\u0440\u0443\u0433\u043B\u044F\u044F \u043E\u0431\u044A\u0451\u043C \u0434\u043E "+Math.trunc(x.volume),icon:"arrow-circle-down",onClick:function(){function B(){return s("remove",{reagent:x.id,amount:-2})}return B}()})],0)}return N}()})})})}},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),k=n(98595),y=r.ChemHeater=function(){function h(c,u){return(0,e.createComponentVNode)(2,k.Window,{width:450,height:275,children:(0,e.createComponentVNode)(2,k.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(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.targetTemp,i=d.targetTempReached,C=d.autoEject,V=d.isActive,v=d.currentTemp,p=d.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u0410\u0432\u0442\u043E-\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435",icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){function g(){return l("toggle_autoeject")}return g}()}),(0,e.createComponentVNode)(2,o.Button,{content:V?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",icon:"power-off",selected:V,disabled:!p,onClick:function(){function g(){return l("toggle_on")}return g}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0426\u0435\u043B\u0435\u0432\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",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 g(N,x){return l("adjust_temperature",{target:x})}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",color:i?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function g(N){return(0,a.toFixed)(N)+" K"}return g}()})||"\u2014"})]})})})},b=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.isBeakerLoaded,i=d.beakerCurrentVolume,C=d.beakerMaxVolume,V=d.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",C," \u0435\u0434\u0438\u043D\u0438\u0446"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",onClick:function(){function v(){return l("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:V})})})}},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),k=n(3939),y=n(35840),S=["icon"];function b(B,L){if(B==null)return{};var I={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;I[A]=B[A]}return I}function h(B,L){B.prototype=Object.create(L.prototype),B.prototype.constructor=B,c(B,L)}function c(B,L){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,A){return I.__proto__=A,I},c(B,L)}var u=[1,5,10],m=function(L,I){var A=(0,a.useBackend)(I),T=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?"\u0410\u043D\u0430\u043B\u0438\u0437 \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430":"\u0410\u043D\u0430\u043B\u0438\u0437 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",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:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",children:P.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:(P.desc||"").length>0?P.desc:"\u041D/\u0414"}),P.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0413\u0440\u0443\u043F\u043F\u0430 \u043A\u0440\u043E\u0432\u0438",children:P.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u041D\u041A-\u043A\u043E\u0434",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:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function M(){return T("print",{idx:P.idx,beaker:L.args.beaker})}return M}()})]})})})})},l=function(B){return B[B.ToDisposals=0]="ToDisposals",B[B.ToBeaker=1]="ToBeaker",B}(l||{}),d=r.ChemMaster=function(){function B(L,I){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,k.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,x)]})})]})}return B}(),s=function(L,I){var A=(0,a.useBackend)(I),T=A.act,E=A.data,P=E.beaker,M=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:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!P,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C \u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0431\u0443\u0444\u0435\u0440",onClick:function(){function F(){return T("eject")}return F}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C \u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0431\u0443\u0444\u0435\u0440",onClick:function(){function F(){return T("eject")}return F}()}),children:P?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:M,buttons:function(){function F(W,j){return(0,e.createComponentVNode)(2,t.Box,{mb:j0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:M,buttons:function(){function O(R,F){return(0,e.createComponentVNode)(2,t.Box,{mb:F0&&(R=O.map(function(F){var W=F.id,j=F.sprite;return(0,e.createComponentVNode)(2,g,{icon:j,color:"translucent",onClick:function(){function U(){return T("set_sprite_style",{production_mode:P,style:W})}return U}(),selected:M===W},W)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F",children:R})})},x=function(L,I){var A=(0,a.useBackend)(I),T=A.act,E=A.data,P=E.loaded_pill_bottle_style,M=E.containerstyles,O=E.loaded_pill_bottle,R={width:"20px",height:"20px"},F=M.map(function(W){var j=W.color,U=W.name,K=P===j;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function Y(){return T("set_container_style",{style:j})}return Y}(),icon:K&&"check",iconStyle:{position:"relative","z-index":1},tooltip:U,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":j,opacity:.6,filter:"alpha(opacity=60)"}})]},j)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u041A\u0430\u0441\u0442\u043E\u043C\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u0430",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!O,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440",onClick:function(){function W(){return T("ejectp")}return W}()}),children:O?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function W(){return T("clear_container_style")}return W}(),selected:!P,tooltip:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",tooltipPosition:"top"}),F]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"\u041A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442."})})})};(0,k.modalRegisterBodyOverride)("analyze",m)},37173:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(76910),k=n(3939),y=n(98595),S=n(79140),b=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=C.args,x=N.activerecord,B=N.realname,L=N.health,I=N.unidentity,A=N.strucenzymes,T=L.split(" - ");return(0,e.createComponentVNode)(2,o.Section,{level:2,m:"-1rem",pb:"1rem",title:"\u0417\u0430\u043F\u0438\u0441\u0438 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",children:T.length>1?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.oxy,inline:!0,children:T[0]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.toxin,inline:!0,children:T[2]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.brute,inline:!0,children:T[3]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:f.COLORS.damageType.burn,inline:!0,children:T[1]})],4):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0423\u0418",className:"LabeledList__breakContents",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0424",className:"LabeledList__breakContents",children:A}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Disk",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!g.disk,icon:"arrow-circle-down",content:"\u0418\u043C\u043F\u043E\u0440\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",onClick:function(){function E(){return p("disk",{option:"load"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.disk,icon:"arrow-circle-up",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0423\u0418",onClick:function(){function E(){return p("disk",{option:"save",savetype:"ui"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.disk,icon:"arrow-circle-up",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0423\u0418 \u0438 \u0423\u0424",onClick:function(){function E(){return p("disk",{option:"save",savetype:"ue"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.disk,icon:"arrow-circle-up",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0421\u0424",onClick:function(){function E(){return p("disk",{option:"save",savetype:"se"})}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!g.podready,icon:"user-plus",content:"\u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C",onClick:function(){function E(){return p("clone",{ref:x})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",onClick:function(){function E(){return p("del_rec")}return E}()})]})]})})},h=r.CloningConsole=function(){function i(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.menu;return(0,k.modalRegisterBodyOverride)("view_rec",b),(0,e.createComponentVNode)(2,y.Window,{width:640,height:520,children:[(0,e.createComponentVNode)(2,k.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,e.createComponentVNode)(2,y.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,flexGrow:"1",children:(0,e.createComponentVNode)(2,u)})]})]})}return i}(),c=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.menu;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:N===1,icon:"home",onClick:function(){function x(){return p("menu",{num:1})}return x}(),children:"\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:N===2,icon:"folder",onClick:function(){function x(){return p("menu",{num:2})}return x}(),children:"\u0417\u0430\u043F\u0438\u0441\u0438"})]})},u=function(C,V){var v=(0,t.useBackend)(V),p=v.data,g=p.menu,N;return g===1?N=(0,e.createComponentVNode)(2,m):g===2&&(N=(0,e.createComponentVNode)(2,l)),N},m=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.loading,x=g.scantemp,B=g.occupant,L=g.locked,I=g.can_brainscan,A=g.scan_mode,T=g.numberofpods,E=g.pods,P=g.selected_pod,M=L&&!!B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"\u0421\u043A\u0430\u043D\u0435\u0440",level:"2",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"\u0411\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0441\u043A\u0430\u043D\u0435\u0440\u0430:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,selected:M,icon:M?"toggle-on":"toggle-off",content:M?"\u0410\u043A\u0442\u0438\u0432\u043D\u0430":"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0430",onClick:function(){function O(){return p("lock")}return O}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:M||!B,icon:"user-slash",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0441\u0443\u0431\u044A\u0435\u043A\u0442",onClick:function(){function O(){return p("eject")}return O}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",children:N?(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"spinner",spin:!0}),"\xA0 \u0421\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435..."]}):(0,e.createComponentVNode)(2,o.Box,{color:x.color,children:x.text})}),!!I&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,o.Button,{icon:A?"brain":"male",content:A?"\u041C\u043E\u0437\u0433":"\u0422\u0435\u043B\u043E",onClick:function(){function O(){return p("toggle_mode")}return O}()})})]}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B||N,icon:"user",content:"\u0421\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0443\u0431\u044A\u0435\u043A\u0442",mt:"0.5rem",mb:"0",onClick:function(){function O(){return p("scan")}return O}()})]}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0430\u043F\u0441\u0443\u043B\u044B",level:"2",children:T?E.map(function(O,R){var F;return O.status==="cloning"?F=(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:O.progress/100,ranges:{good:[.75,1/0],average:[.25,.75],bad:[-1/0,.25]},mt:"0.5rem",children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,a.round)(O.progress,0)+"%"})}):O.status==="mess"?F=(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"\u041E\u0448\u0438\u0431\u043A\u0430"}):F=(0,e.createComponentVNode)(2,o.Button,{selected:P===O.pod,icon:P===O.pod&&"check",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",mt:"0.5rem",onClick:function(){function W(){return p("selectpod",{ref:O.pod})}return W}()}),(0,e.createComponentVNode)(2,o.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,S.resolveAsset)("pod_"+O.status+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u2116",R+1]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:O.biomass>=150?"good":"bad",inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:O.biomass>=150?"circle":"circle-o"}),"\xA0",O.biomass]}),F]},R)}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041A\u0430\u043F\u0441\u0443\u043B\u044B \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B. \u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E."})})],4)},l=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.records;return N.length?(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:N.map(function(x,B){return(0,e.createComponentVNode)(2,o.Button,{icon:"user",mb:"0.5rem",content:x.realname,onClick:function(){function L(){return p("view_rec",{ref:x.record})}return L}()},B)})}):(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u0417\u0430\u043F\u0438\u0441\u0438 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B."]})})},d=function(C,V){var v,p=(0,t.useBackend)(V),g=p.act,N=p.data,x=N.temp;if(!(!x||!x.text||x.text.length<=0)){var B=(v={},v[x.style]=!0,v);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.NoticeBox,Object.assign({},B,{children:[(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",children:x.text}),(0,e.createComponentVNode)(2,o.Button,{icon:"times-circle",float:"right",onClick:function(){function L(){return g("cleartemp")}return L}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"both"})]})))}},s=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.scanner,x=g.numberofpods,B=g.autoallowed,L=g.autoprocess,I=g.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",buttons:(0,e.createFragment)([!!B&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:L?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function A(){return p("autoprocess",{on:L?0:1})}return A}()})],4),(0,e.createComponentVNode)(2,o.Button,{disabled:!I,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0434\u0438\u0441\u043A\u0435\u0442\u0443",onClick:function(){function A(){return p("disk",{option:"eject"})}return A}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043A\u0430\u043D\u0435\u0440",children:N?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041A\u0430\u043F\u0441\u0443\u043B\u044B",children:x?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:["\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0445 \u043A\u0430\u043F\u0441\u0443\u043B - ",x]}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"\u041D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u044B"})})]})})}},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),k=r.CoinMint=function(){function y(S,b){var h=(0,t.useBackend)(b),c=h.act,u=h.data,m=u.materials,l=u.moneyBag,d=u.moneyBagContent,s=u.moneyBagMaxContent,i=(l?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:256,height:i,title:"\u041C\u043E\u043D\u0435\u0442\u043D\u044B\u0439 \u043F\u0440\u0435\u0441\u0441",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:["\u041F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u043E \u043C\u043E\u043D\u0435\u0442: ",u.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0422\u0438\u043F \u041C\u043E\u043D\u0435\u0442",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:u.active&&"bad",tooltip:!l&&"\u041D\u0443\u0436\u0435\u043D \u0434\u0435\u043D\u0435\u0436\u043D\u044B\u0439 \u043C\u0435\u0448\u043E\u043A",disabled:!l,onClick:function(){function C(){return c("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:u.maxMaterials,value:u.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"\u0418\u0437\u0432\u0432\u043B\u0435\u0447\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u044B\u0439 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B",onClick:function(){function C(){return c("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===u.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 V(){return c("selectMaterial",{material:C.id})}return V}()},C.id)})})]})})}),!!l&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0414\u0435\u043D\u0435\u0436\u043D\u044B\u0439 \u043C\u0435\u0448\u043E\u043A",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",disabled:u.active,onClick:function(){function C(){return c("ejectBag")}return C}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:d,children:[d," / ",s]})})})]})})})}return y}()},93858:function(w,r,n){"use strict";r.__esModule=!0,r.HexColorInput=r.ColorSelector=r.ColorPickerModal=r.ColorInput=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(36036),f=n(98595),k=n(44879),y=n(14448),S=n(4454),b=n(35840),h=n(9394),c=n(19203),u=["prefixed","alpha","color","fluid","onChange"];/** * @file * @copyright 2023 itsmeow * @license MIT - */function m(I,A){I.prototype=Object.create(A.prototype),I.prototype.constructor=I,l(I,A)}function l(I,A){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,E){return T.__proto__=E,T},l(I,A)}function d(I,A){if(I==null)return{};var T={};for(var E in I)if({}.hasOwnProperty.call(I,E)){if(A.includes(E))continue;T[E]=I[E]}return T}var s=r.ColorPickerModal=function(){function I(A,T){var E=(0,t.useBackend)(T),P=E.data,M=P.timeout,O=P.message,R=P.title,F=P.autofocus,W=P.default_color,j=W===void 0?"#000000":W,U=(0,t.useLocalState)(T,"color_picker_choice",(0,y.hexToHsva)(j)),K=U[0],Y=U[1];return(0,e.createComponentVNode)(2,f.Window,{height:400,title:R,width:600,theme:"generic",children:[!!M&&(0,e.createComponentVNode)(2,a.Loader,{value:M}),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[O&&(0,e.createComponentVNode)(2,o.Stack.Item,{m:1,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:"label",overflow:"hidden",children:O})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[!!F&&(0,e.createComponentVNode)(2,o.Autofocus),(0,e.createComponentVNode)(2,i,{color:K,setColor:Y,defaultColor:j})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,c.InputButtons,{input:(0,y.hsvaToHex)(K)})})]})})]})}return I}(),i=r.ColorSelector=function(){function I(A,T){var E=A.color,P=A.setColor,M=A.defaultColor,O=function(){function W(j){P(function(U){return Object.assign({},U,j)})}return W}(),R=(0,y.hsvaToRgba)(E),F=(0,y.hsvaToHex)(E);return(0,e.createComponentVNode)(2,o.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{mr:2,children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createVNode)(1,"div","react-colorful",[(0,e.createComponentVNode)(2,g,{hsva:E,onChange:O}),(0,e.createComponentVNode)(2,N,{hue:E.h,onChange:O,className:"react-colorful__last-control"})],4)}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"20px",textAlign:"center",children:"Current"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"20px",textAlign:"center",children:"Previous"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Tooltip,{content:F,position:"bottom",children:(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"30px",backgroundColor:F})}),(0,e.createComponentVNode)(2,o.Tooltip,{content:M,position:"bottom",children:(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"30px",backgroundColor:M})})]})]})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:!0,fontSize:"15px",lineHeight:"24px",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,{children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"Hex:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"24px",children:(0,e.createComponentVNode)(2,v,{fluid:!0,color:(0,y.hsvaToHex)(E).substring(1),onChange:function(){function W(j){h.logger.info(j),P((0,y.hexToHsva)(j))}return W}(),prefixed:!0})})]})}),(0,e.createComponentVNode)(2,o.Stack.Divider),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"H:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N,{hue:E.h,onChange:O})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:E.h,callback:function(){function W(j,U){return O({h:U})}return W}(),max:360,unit:"\xB0"})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"S:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,x,{color:E,onChange:O})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:E.s,callback:function(){function W(j,U){return O({s:U})}return W}(),unit:"%"})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"V:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,B,{color:E,onChange:O})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:E.v,callback:function(){function W(j,U){return O({v:U})}return W}(),unit:"%"})})]})}),(0,e.createComponentVNode)(2,o.Stack.Divider),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"R:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,L,{color:E,onChange:O,target:"r"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:R.r,callback:function(){function W(j,U){R.r=U,O((0,y.rgbaToHsva)(R))}return W}(),max:255})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"G:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,L,{color:E,onChange:O,target:"g"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:R.g,callback:function(){function W(j,U){R.g=U,O((0,y.rgbaToHsva)(R))}return W}(),max:255})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"B:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,L,{color:E,onChange:O,target:"b"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:R.b,callback:function(){function W(j,U){R.b=U,O((0,y.rgbaToHsva)(R))}return W}(),max:255})})]})})]})})]})}return I}(),C=function(A){var T=A.value,E=A.callback,P=A.min,M=P===void 0?0:P,O=A.max,R=O===void 0?100:O,F=A.unit;return(0,e.createComponentVNode)(2,o.NumberInput,{width:"70px",value:Math.round(T),step:1,minValue:M,maxValue:R,onChange:E,unit:F})},V=function(A){return"#"+A},v=r.HexColorInput=function(){function I(A){var T=A.prefixed,E=A.alpha,P=A.color,M=A.fluid,O=A.onChange,R=d(A,u),F=function(){function j(U){return U.replace(/([^0-9A-F]+)/gi,"").substring(0,E?8:6)}return j}(),W=function(){function j(U){return(0,y.validHex)(U,E)}return j}();return(0,e.normalizeProps)((0,e.createComponentVNode)(2,p,Object.assign({},R,{fluid:M,color:P,onChange:O,escape:F,format:T?V:void 0,validate:W})))}return I}(),p=r.ColorInput=function(I){function A(E){var P;return P=I.call(this)||this,P.props=void 0,P.state=void 0,P.handleInput=function(M){var O=P.props.escape(M.currentTarget.value);P.setState({localValue:O})},P.handleBlur=function(M){M.currentTarget&&(P.props.validate(M.currentTarget.value)?P.props.onChange(P.props.escape?P.props.escape(M.currentTarget.value):M.currentTarget.value):P.setState({localValue:P.props.escape(P.props.color)}))},P.props=E,P.state={localValue:P.props.escape(P.props.color)},P}m(A,I);var T=A.prototype;return T.componentDidUpdate=function(){function E(P,M){P.color!==this.props.color&&this.setState({localValue:this.props.escape(this.props.color)})}return E}(),T.render=function(){function E(){return(0,e.createComponentVNode)(2,o.Box,{className:(0,b.classes)(["Input",this.props.fluid&&"Input--fluid"]),children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),(0,e.createVNode)(64,"input","Input__input",null,1,{value:this.props.format?this.props.format(this.state.localValue):this.state.localValue,spellCheck:"false",onInput:this.handleInput,onBlur:this.handleBlur})]})}return E}(),A}(e.Component),g=function(A){var T=A.hsva,E=A.onChange,P=function(F){E({s:F.left*100,v:100-F.top*100})},M=function(F){E({s:(0,k.clamp)(T.s+F.left*100,0,100),v:(0,k.clamp)(T.v-F.top*100,0,100)})},O={"background-color":(0,y.hsvaToHslString)({h:T.h,s:100,v:100,a:1})+" !important"};return(0,e.createVNode)(1,"div","react-colorful__saturation_value",(0,e.createComponentVNode)(2,S.Interactive,{onMove:P,onKey:M,"aria-label":"Color","aria-valuetext":"Saturation "+Math.round(T.s)+"%, Brightness "+Math.round(T.v)+"%",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__saturation_value-pointer",top:1-T.v/100,left:T.s/100,color:(0,y.hsvaToHslString)(T)})}),2,{style:O})},N=function(A){var T=A.className,E=A.hue,P=A.onChange,M=function(W){P({h:360*W.left})},O=function(W){P({h:(0,k.clamp)(E+W.left*360,0,360)})},R=(0,b.classes)(["react-colorful__hue",T]);return(0,e.createVNode)(1,"div",R,(0,e.createComponentVNode)(2,S.Interactive,{onMove:M,onKey:O,"aria-label":"Hue","aria-valuenow":Math.round(E),"aria-valuemax":"360","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__hue-pointer",left:E/360,color:(0,y.hsvaToHslString)({h:E,s:100,v:100,a:1})})}),2)},x=function(A){var T=A.className,E=A.color,P=A.onChange,M=function(W){P({s:100*W.left})},O=function(W){P({s:(0,k.clamp)(E.s+W.left*100,0,100)})},R=(0,b.classes)(["react-colorful__saturation",T]);return(0,e.createVNode)(1,"div",R,(0,e.createComponentVNode)(2,S.Interactive,{style:{background:"linear-gradient(to right, "+(0,y.hsvaToHslString)({h:E.h,s:0,v:E.v,a:1})+", "+(0,y.hsvaToHslString)({h:E.h,s:100,v:E.v,a:1})+")"},onMove:M,onKey:O,"aria-label":"Saturation","aria-valuenow":Math.round(E.s),"aria-valuemax":"100","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__saturation-pointer",left:E.s/100,color:(0,y.hsvaToHslString)({h:E.h,s:E.s,v:E.v,a:1})})}),2)},B=function(A){var T=A.className,E=A.color,P=A.onChange,M=function(W){P({v:100*W.left})},O=function(W){P({v:(0,k.clamp)(E.v+W.left*100,0,100)})},R=(0,b.classes)(["react-colorful__value",T]);return(0,e.createVNode)(1,"div",R,(0,e.createComponentVNode)(2,S.Interactive,{style:{background:"linear-gradient(to right, "+(0,y.hsvaToHslString)({h:E.h,s:E.s,v:0,a:1})+", "+(0,y.hsvaToHslString)({h:E.h,s:E.s,v:100,a:1})+")"},onMove:M,onKey:O,"aria-label":"Value","aria-valuenow":Math.round(E.s),"aria-valuemax":"100","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__value-pointer",left:E.v/100,color:(0,y.hsvaToHslString)({h:E.h,s:E.s,v:E.v,a:1})})}),2)},L=function(A){var T=A.className,E=A.color,P=A.onChange,M=A.target,O=(0,y.hsvaToRgba)(E),R=function(Y){O[M]=Y,P((0,y.rgbaToHsva)(O))},F=function(Y){R(255*Y.left)},W=function(Y){R((0,k.clamp)(O[M]+Y.left*255,0,255))},j=(0,b.classes)(["react-colorful__"+M,T]),U=M==="r"?"rgb("+Math.round(O.r)+",0,0)":M==="g"?"rgb(0,"+Math.round(O.g)+",0)":"rgb(0,0,"+Math.round(O.b)+")";return(0,e.createVNode)(1,"div",j,(0,e.createComponentVNode)(2,S.Interactive,{onMove:F,onKey:W,"aria-valuenow":O[M],"aria-valuemax":"100","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__"+M+"-pointer",left:O[M]/255,color:U})}),2)}},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={1:function(){function s(){return(0,e.createComponentVNode)(2,b)}return s}(),2:function(){function s(){return(0,e.createComponentVNode)(2,u)}return s}(),3:function(){function s(){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m)})})}return s}(),4:function(){function s(){return(0,e.createComponentVNode)(2,d)}return s}(),default:function(){function s(){return"\u041E\u0448\u0438\u0431\u043A\u0430. \u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0435 menu_state. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u041F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 NT."}return s}()},k=function(i){return f[i]},y=r.CommunicationsComputer=function(){function s(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,title:"\u041A\u043E\u043D\u0441\u043E\u043B\u044C \u0441\u0432\u044F\u0437\u0438",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,S),k(g)()]})})})}return s}(),S=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.authenticated,N=p.noauthbutton,x=p.esc_section,B=p.esc_callable,L=p.esc_recallable,I=p.esc_status,A=p.authhead,T=p.is_ai,E=p.lastCallLoc,P=!1,M;return g?g===1?M="\u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0435":g===2?M="\u041A\u0430\u043F\u0438\u0442\u0430\u043D":g===3?M="\u041E\u0444\u0438\u0446\u0435\u0440 \u0426\u0435\u043D\u0442\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u044F":g===4?(M="\u0417\u0430\u0449\u0438\u0449\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0426\u0435\u043D\u0442\u041A\u043E\u043C\u0430",P=!0):M="\u041E\u0428\u0418\u0411\u041A\u0410: \u0421\u043E\u043E\u0431\u0449\u0438\u0442\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u0431\u0430\u0433\u0435!":M="\u0412\u0445\u043E\u0434 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0410\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:P&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043E\u0441\u0442\u0443\u043F",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:g?"sign-out-alt":"id-card",selected:g,disabled:N,content:g?"\u0412\u044B\u0439\u0442\u0438 ("+M+")":"\u0412\u043E\u0439\u0442\u0438",onClick:function(){function O(){return v("auth")}return O}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!x&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u042D\u0432\u0430\u043A\u0443\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",children:I}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u0446\u0438\u0438",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"\u0412\u044B\u0437\u0432\u0430\u0442\u044C \u0448\u0430\u0442\u0442\u043B",disabled:!A,onClick:function(){function O(){return v("callshuttle")}return O}()})}),!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u0446\u0438\u0438",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"\u041E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0448\u0430\u0442\u0442\u043B",disabled:!A||T,onClick:function(){function O(){return v("cancelshuttle")}return O}()})}),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u0432\u044B\u0437\u043E\u0432/\u043E\u0442\u0437\u044B\u0432 \u0438\u0437",children:E})]})})})],4)},b=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.is_admin;return g?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,c)},h=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.is_admin,N=p.gamma_armory_location,x=p.admin_levels,B=p.authenticated,L=p.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:'\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 "\u041E\u0444\u0438\u0446\u0435\u0440 \u0426\u0435\u043D\u0442\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u044F"',children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0443\u0433\u0440\u043E\u0437\u044B",children:(0,e.createComponentVNode)(2,l,{levels:x,required_access:g,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u0426\u041A",disabled:!g,onClick:function(){function I(){return v("send_to_cc_announcement_page")}return I}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u0440\u0443\u0433\u043E\u0435 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",disabled:!g,onClick:function(){function I(){return v("make_other_announcement")}return I}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0411\u0420",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u041E\u0411\u0420",disabled:!g,onClick:function(){function I(){return v("dispatch_ert")}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:L,content:L?"\u0412\u044B\u0437\u043E\u0432 \u041E\u0411\u0420 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043D":"\u0412\u044B\u0437\u043E\u0432 \u041E\u0411\u0420 \u0437\u0430\u043F\u0440\u0435\u0449\u0451\u043D",tooltip:L?"\u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u041E\u0411\u0420":"\u041E\u0411\u0420 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0448\u0435\u043D",disabled:!g,onClick:function(){function I(){return v("toggle_ert_allowed")}return I}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042F\u0434\u0435\u0440\u043D\u0430\u044F \u0431\u043E\u0435\u0433\u043E\u043B\u043E\u0432\u043A\u0430",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434\u044B \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438",disabled:!g,onClick:function(){function I(){return v("send_nuke_codes")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:'\u041E\u0440\u0443\u0436\u0435\u0439\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B "\u0413\u0430\u043C\u043C\u0430"',children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043E\u0440\u0443\u0436\u0435\u0439\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B "\u0413\u0430\u043C\u043C\u0430"':'\u041E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u043E\u0440\u0443\u0436\u0435\u0439\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B "\u0413\u0430\u043C\u043C\u0430"',disabled:!g,onClick:function(){function I(){return v("move_gamma_armory")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0440\u0443\u0433\u043E\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"\u0424\u0430\u043A\u0441-\u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440",disabled:!g,onClick:function(){function I(){return v("view_fax")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0434\u0435\u0439\u0441\u0442\u0438\u0439, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0434\u043B\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,c)})]})},c=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.msg_cooldown,N=p.emagged,x=p.cc_cooldown,B=p.security_level_color,L=p.str_security_level,I=p.levels,A=p.authcapt,T=p.authhead,E=p.messages,P="\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u043D\u043E\u0435 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435";g>0&&(P+=" ("+g+"s)");var M=N?"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 [\u041D\u0415\u0418\u0417\u0412\u0415\u0421\u0422\u041D\u041E]":"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0426\u041A",O="\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043A\u043E\u0434\u044B \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438";return x>0&&(M+=" ("+x+"s)",O+=" ("+x+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:'\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 "\u041A\u0430\u043F\u0438\u0442\u0430\u043D"',children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0443\u0433\u0440\u043E\u0437\u044B",color:B,children:L}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0443\u0433\u0440\u043E\u0437\u044B",children:(0,e.createComponentVNode)(2,l,{levels:I,required_access:A})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:P,disabled:!A||g>0,onClick:function(){function R(){return v("announce")}return R}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!A||x>0,onClick:function(){function R(){return v("MessageSyndicate")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0440\u0435\u043B\u0435",disabled:!A,onClick:function(){function R(){return v("RestoreBackup")}return R}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!A||x>0,onClick:function(){function R(){return v("MessageCentcomm")}return R}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042F\u0434\u0435\u0440\u043D\u0430\u044F \u0431\u043E\u0435\u0433\u043E\u043B\u043E\u0432\u043A\u0430",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:O,disabled:!A||x>0,onClick:function(){function R(){return v("nukerequest")}return R}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:'\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 "\u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0435"',children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0438\u0441\u043F\u043B\u0435\u0438",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0414\u0438\u0441\u043F\u043B\u0435\u0435\u0432 \u0441\u0442\u0430\u0442\u0443\u0441\u0430",disabled:!T,onClick:function(){function R(){return v("status")}return R}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0445\u043E\u0434\u044F\u0449\u0438\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C ("+E.length+")",disabled:!T,onClick:function(){function R(){return v("messagelist")}return R}()})})]})})})],4)},u=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.stat_display,N=p.authhead,x=p.current_message_title,B=g.presets.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{content:I.label,selected:I.name===g.type,disabled:!N,onClick:function(){function A(){return v("setstat",{statdisp:I.id})}return A}()},I.name)}),L=g.alerts.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{content:I.label,selected:I.alert===g.icon,disabled:!N,onClick:function(){function A(){return v("setstat",{statdisp:3,alert:I.alert})}return A}()},I.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u044D\u043A\u0440\u0430\u043D\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",onClick:function(){function I(){return v("main")}return I}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u0435\u0441\u0435\u0442\u044B",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F",children:L}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0421\u0442\u0440\u043E\u043A\u0430 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:g.line_1,disabled:!N,onClick:function(){function I(){return v("setmsg1")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0421\u0442\u0440\u043E\u043A\u0430 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:g.line_2,disabled:!N,onClick:function(){function I(){return v("setmsg2")}return I}()})})]})})})},m=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.authhead,N=p.current_message_title,x=p.current_message,B=p.messages,L=p.security_level,I;if(N)I=(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:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439",disabled:!g,onClick:function(){function T(){return v("messagelist")}return T}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:x})})});else{var A=B.map(function(T){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:T.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C",disabled:!g||N===T.title,onClick:function(){function E(){return v("messagelist",{msgid:T.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",disabled:!g,onClick:function(){function E(){return v("delmessage",{msgid:T.id})}return E}()})]},T.id)});I=(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",onClick:function(){function T(){return v("main")}return T}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:A})})}return(0,e.createComponentVNode)(2,t.Box,{children:I})},l=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=i.levels,N=i.required_access,x=i.use_confirm,B=p.security_level;return x?g.map(function(L){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:L.icon,content:L.name,disabled:!N||L.id===B,tooltip:L.tooltip,onClick:function(){function I(){return v("newalertlevel",{level:L.id})}return I}()},L.name)}):g.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{icon:L.icon,content:L.name,disabled:!N||L.id===B,tooltip:L.tooltip,onClick:function(){function I(){return v("newalertlevel",{level:L.id})}return I}()},L.name)})},d=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.is_admin;if(!g)return v("main");var N=(0,a.useLocalState)(C,"subtitle",""),x=N[0],B=N[1],L=(0,a.useLocalState)(C,"text",""),I=L[0],A=L[1],T=(0,a.useLocalState)(C,"classified",0),E=T[0],P=T[1],M=(0,a.useLocalState)(C,"beepsound","Beep"),O=M[0],R=M[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u0426\u041A",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",onClick:function(){function F(){return v("main")}return F}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0442\u0443\u0442.",fluid:!0,value:x,onChange:function(){function F(W,j){return B(j)}return F}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F,\n\u041C\u043D\u043E\u0433\u043E\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0432\u0432\u043E\u0434 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0441\u044F.",rows:10,fluid:!0,multiline:1,value:I,onChange:function(){function F(W,j){return A(j)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"\u0417\u0430\u0441\u0435\u043A\u0440\u0435\u0447\u0435\u043D\u043E",fluid:!0,m:"5px",tooltip:E?"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043D\u0430 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0441\u0432\u044F\u0437\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438":"\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u043E \u043E\u0431\u044A\u044F\u0432\u0438\u0442\u044C",onClick:function(){function F(){return P(!E)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function F(){return v("make_cc_announcement",{subtitle:x,text:I,classified:E,beepsound:O})}return F}()})]})})}},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),k=n(98595);function y(V,v){V.prototype=Object.create(v.prototype),V.prototype.constructor=V,S(V,v)}function S(V,v){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,g){return p.__proto__=g,p},S(V,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"],c=r.Contractor=function(){function V(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B;x.unauthorized?B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function T(){}return T}()})}):x.load_animation_completed?B=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,u)}),(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:x.page===1?(0,e.createComponentVNode)(2,l,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:h,finishedTimeout:3e3,onFinished:function(){function T(){return N("complete_load_animation")}return T}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),I=L[0],A=L[1];return(0,e.createComponentVNode)(2,k.Window,{width:500,height:600,theme:"syndicate",children:[I&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,k.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:B})})]})}return V}(),u=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.tc_available,L=x.tc_paid_out,I=x.completed_contracts,A=x.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:[B," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:B<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function T(){return N("claim")}return T}()})]})}),(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",display:"inline-block",children:I})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},v,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===1,onClick:function(){function L(){return N("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===2,onClick:function(){function L(){return N("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},l=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.contracts,L=x.contract_active,I=x.can_extract,A=!!L&&B.filter(function(O){return O.status===1})[0],T=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),P=E[0],M=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:!I||T,icon:"parachute-box",content:["Call Extraction",T&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A.time_left,format:function(){function O(R,F){return" ("+F.substr(3)+")"}return O}()})],onClick:function(){function O(){return N("extract")}return O}()})},v,{children:B.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 F(){return M("target_photo_"+O.uid+".png")}return F}()})})]}),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],display:"inline-block",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 F(){return N("abort")}return F}()})]}),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",d(O)]}),(R=O.difficulties)==null?void 0:R.map(function(F,W){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:F.name+" ("+F.reward+" TC)",onClick:function(){function j(){return N("activate",{uid:O.uid,difficulty:W+1})}return j}()},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)})})))},d=function(v){if(!(!v.objective||v.status>1)){var p=v.objective.locs.user_area_id,g=v.objective.locs.user_coords,N=v.objective.locs.target_area_id,x=v.objective.locs.target_coords,B=p===N;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:B?"dot-circle-o":"arrow-alt-circle-right-o",color:B?"green":"yellow",rotation:B?null:-(0,a.rad2deg)(Math.atan2(x[1]-g[1],x[0]-g[0])),lineHeight:B?null:"0.85",size:"1.5"})})}},s=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.rep,L=x.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:L.map(function(I){return(0,e.createComponentVNode)(2,o.Section,{title:I.name,buttons:I.refundable&&(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Refund ("+I.cost+" Rep)",onClick:function(){function A(){return N("refund",{uid:I.uid})}return A}()}),children:[I.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:B-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:I.stock===0?"bad":"good",ml:"0.5rem",children:[I.stock," in stock"]})]},I.uid)})})))},i=function(V){function v(g){var N;return N=V.call(this,g)||this,N.timer=null,N.state={currentIndex:0,currentDisplay:[]},N}y(v,V);var p=v.prototype;return p.tick=function(){function g(){var N=this.props,x=this.state;if(x.currentIndex<=N.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var B=x.currentDisplay;B.push(N.allMessages[x.currentIndex])}else clearTimeout(this.timer),setTimeout(N.onFinished,N.finishedTimeout)}return g}(),p.componentDidMount=function(){function g(){var N=this,x=this.props.linesPerSecond,B=x===void 0?2.5:x;this.timer=setInterval(function(){return N.tick()},1e3/B)}return g}(),p.componentWillUnmount=function(){function g(){clearTimeout(this.timer)}return g}(),p.render=function(){function g(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(N){return(0,e.createFragment)([N,(0,e.createVNode)(1,"br")],0,N)})})}return g}(),v}(e.Component),C=function(v,p){var g=(0,t.useLocalState)(p,"viewingPhoto",""),N=g[0],x=g[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:N}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function B(){return x("")}return B}()})]})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.slowFactor,m=c.minSpeed,l=c.maxSpeed,d=c.oneWay,s=c.position;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:"Lever position",children:s>0?"forward":s<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!d,onClick:function(){function i(){return h("toggleOneWay")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function i(){return h("slowFactor",{value:u-.5})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function i(){return h("slowFactor",{value:u-.1})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:u,fillValue:u,minValue:m,maxValue:l,step:.1,format:function(){function i(C){return C+"s."}return i}(),onChange:function(){function i(C,V){return h("slowFactor",{value:V})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function i(){return h("slowFactor",{value:u+.1})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function i(){return h("slowFactor",{value:u+.5})}return i}()})," "]})]})})]})})})})}return k}()},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),k=n(36352),y=n(76910),S=n(98595),b=function(C,V){return C.dead?"\u041C\u0451\u0440\u0442\u0432":parseInt(C.health,10)<=V?"\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435":parseInt(C.stat,10)===1?"\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F":"\u0416\u0438\u0432"},h=function(C,V){return C.dead?"red":parseInt(C.health,10)<=V?"orange":parseInt(C.stat,10)===1?"blue":"green"},c=r.CrewMonitor=function(){function i(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=(0,o.useLocalState)(V,"tabIndex",g.IndexToggler),x=N[0],B=N[1],L=function(){function I(A){switch(A){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,d);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,s);default:return"\u0427\u0422\u041E-\u0422\u041E \u0422\u041E\u0427\u041D\u041E \u041D\u0415 \u0422\u0410\u041A!"}}return I}();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.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Tabs,{children:[g.isBS?(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===0,onClick:function(){function I(){return B(0)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"table"})," \u0414\u0430\u043D\u043D\u044B\u0435 \u043E \u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0438"]},"ComDataView"):null,g.isBP?(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===1,onClick:function(){function I(){return B(1)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"table"})," \u0414\u0430\u043D\u043D\u044B\u0435 \u043E \u0421\u043B\u0443\u0436\u0431\u0435 \u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438"]},"SecDataView"):null,(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===2,onClick:function(){function I(){return B(2)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"table"})," \u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0431 \u042D\u043A\u0438\u043F\u0430\u0436\u0435"]},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===3,onClick:function(){function I(){return B(3)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"map-marked-alt"})," \u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u041A\u0430\u0440\u0442\u044B"]},"MapView")]}),L(x)]})})})}return i}(),u=function(C){var V=C.crewData,v=C.context,p=(0,o.useBackend)(v),g=p.act,N=p.data,x=(0,a.sortBy)(function(T){return T.name})(V||[]),B=(0,o.useLocalState)(v,"search",""),L=B[0],I=B[1],A=(0,t.createSearch)(L,function(T){return T.name+"|"+T.assignment+"|"+T.area});return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0418\u043C\u044F, \u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u0438\u043B\u0438 \u041B\u043E\u043A\u0430\u0446\u0438\u044E...",width:"100%",onInput:function(){function T(E,P){return I(P)}return T}()}),(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:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"\u041B\u043E\u043A\u0430\u0446\u0438\u044F"})]}),x.filter(A).map(function(T){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!T.is_command,children:[(0,e.createComponentVNode)(2,k.TableCell,{children:[T.name," (",T.assignment,")"]}),(0,e.createComponentVNode)(2,k.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:h(T,N.critThreshold),children:b(T,N.critThreshold)}),T.sensor_type>=2?(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:T.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:T.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.burn,children:T.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.brute,children:T.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,k.TableCell,{children:T.sensor_type===3?N.isAI?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:T.area+" ("+T.x+", "+T.y+")",onClick:function(){function E(){return g("track",{track:T.ref})}return E}()}):T.area+" ("+T.x+", "+T.y+")":"\u041D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E"})]},T.ref)})]})]})},m=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.crewmembers||[];return(0,e.createComponentVNode)(2,u,{crewData:N,context:V})},l=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.crewmembers.filter(function(x){return x.is_command})||[];return(0,e.createComponentVNode)(2,u,{crewData:N,context:V})},d=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.crewmembers.filter(function(x){return x.is_security})||[];return(0,e.createComponentVNode)(2,u,{crewData:N,context:V})},s=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.stationLevelNum,x=g.stationLevelName,B=(0,o.useLocalState)(V,"zoom",1),L=B[0],I=B[1],A=(0,o.useLocalState)(V,"z_current",N[0]),T=A[0],E=A[1],P=function(F){return F.is_command&&g.isBS||F.is_security&&g.isBP?"square":"circle"},M=function(F){return F.is_command&&g.isBS||F.is_security&&g.isBP?10:6},O=function(F,W){return F.is_command&&g.isBS||F.is_security&&g.isBP?F.dead?"red":parseInt(F.health,10)<=W?"orange":parseInt(F.stat,10)===1?"blue":"violet":h(F,W)};return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function R(F){return I(F)}return R}(),zLevels:N,zNames:x,z_current:T,setZCurrent:E,children:g.crewmembers.filter(function(R){return R.sensor_type===3}).map(function(R){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:R.x,y:R.y,z:R.z,z_current:T,zoom:L,icon:P(R),size:M(R),tooltip:R.name+" ("+R.assignment+")",color:O(R,g.critThreshold),onClick:function(){function F(){g.isAI&&p("track",{track:R.ref})}return F}()},R.ref)})})})}},63987:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(41260),t=n(72253),o=n(36036),f=n(98595),k=[{label:"\u0423\u0434\u0443\u0448\u0435\u043D\u0438\u0435",type:"oxyLoss"},{label:"\u0422\u043E\u043A\u0441\u0438\u043D\u044B",type:"toxLoss"},{label:"\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",type:"bruteLoss"},{label:"\u041E\u0436\u043E\u0433\u0438",type:"fireLoss"}],y=[["good","\u0412 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F"],["bad","\u0421\u043C\u0435\u0440\u0442\u044C"]],S=r.Cryo=function(){function c(u,m){return(0,e.createComponentVNode)(2,f.Window,{width:520,height:490,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,b)})})}return c}(),b=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.isOperating,C=s.hasOccupant,V=s.occupant,v=V===void 0?[]:V,p=s.cellTemperature,g=s.cellTemperatureStatus,N=s.isBeakerLoaded,x=s.auto_eject_healthy,B=s.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:2,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!C,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C"}),children:C?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",children:v.name||"\u0418\u043C\u044F \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:y[v.stat][0],children:y[v.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0442\u0435\u043B\u0430",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," ","K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),k.map(function(L){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:v[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(v[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,o.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0440\u0438\u043E\u043A\u0430\u043F\u0441\u0443\u043B\u0430",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C."}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0438\u0442\u0430\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",onClick:function(){function L(){return d(i?"switchOff":"switchOn")}return L}(),selected:i,children:i?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",color:g,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:p})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,onClick:function(){function L(){return d(x?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:x?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u043C\u0451\u0440\u0442\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:B?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})})]})})})]})},h=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.isBeakerLoaded,C=s.beakerLabel,V=s.beakerVolume;return i?(0,e.createFragment)([C?"\xAB"+C+"\xBB":(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0430"}),(0,e.createComponentVNode)(2,o.Box,{color:!V&&"bad",children:V?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:V,format:function(){function v(p){var g=Math.round(p),N=(0,a.declensionRu)(g,"\u041E\u0441\u0442\u0430\u043B\u0430\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u0438\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C"),x=(0,a.declensionRu)(g,"\u0435\u0434\u0438\u043D\u0438\u0446\u0430","\u0435\u0434\u0438\u043D\u0438\u0446\u044B","\u0435\u0434\u0438\u043D\u0438\u0446");return N+" "+g+" "+x}return v}()}):"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043F\u0443\u0441\u0442\u0430"})],0):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430"})}},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),k=r.CryopodConsole=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.account_name,d=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(l||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!d&&(0,e.createComponentVNode)(2,S)]})})}return b}(),y=function(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:l.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(d,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:d.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.frozen_items,s=function(C){var V=C.toString();return V.startsWith("the ")&&(V=V.slice(4,V.length)),(0,f.toTitleCase)(V)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:d.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return m("one_item",{item:i.uid})}return C}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},94848:function(w,r,n){"use strict";r.__esModule=!0,r.Customat=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=function(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=b.product,d=m.user,s=m.userMoney,i=m.vend_ready,C=l.price===0,V="ERROR!",v="";C?(V="FREE",v="arrow-circle-down"):(V=l.price,v="shopping-cart");var p=!i||l.stock===0||!C&&l.price>s;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+l.icon,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:l.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:l.stock<=0&&"bad"||"good",children:[l.stock," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:p,icon:v,content:V,textAlign:"left",onClick:function(){function g(){return u("vend",{Key:l.Key})}return g}()})})]})},y=r.Customat=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.guestNotice,d=m.userMoney,s=m.user,i=m.products,C=m.vend_ready,V=m.panel_open,v=m.speaker;return(0,e.createComponentVNode)(2,f.Window,{width:470,height:600,title:"Customat",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.Section,{title:"User",children:s&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,s.name,0),", ",(0,e.createVNode)(1,"b",null,s.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.createComponentVNode)(2,o.Box,{color:"light-grey",children:l})}),!!V&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:v?"check":"volume-mute",selected:v,content:"Speaker",textAlign:"left",onClick:function(){function p(){return u("toggle_voice",{})}return p}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:i.map(function(p){return(0,e.createComponentVNode)(2,k,{product:p,productStock:p.stock},p.name)})})})})]})})})}return S}()},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),k=[["good","\u041D\u043E\u0440\u043C\u0430"],["average","\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],y=[["ui","\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0423\u0418","dna"],["se","\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0421\u0424","dna"],["buffer","\u0411\u0443\u0444\u0435\u0440 \u0434\u0430\u043D\u043D\u044B\u0445","syringe"],["rejuvenators","\u0425\u0438\u043C\u0438\u043A\u0430\u0442\u044B","flask"]],S=[5,10,20,30,50],b=r.DNAModifier=function(){function p(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.irradiating,A=L.dnaBlockSize,T=L.occupant;N.dnaBlockSize=A,N.isDNAInvalid=!T.isViableSubject||!T.uniqueIdentity||!T.structuralEnzymes;var E;return I&&(E=(0,e.createComponentVNode)(2,V,{duration:I})),(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,c)})]})})]})}return p}(),h=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.locked,A=L.hasOccupant,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0439 \u0437\u0430\u043C\u043E\u043A:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:I,icon:I?"toggle-on":"toggle-off",content:I?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",onClick:function(){function E(){return B("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||I,icon:"user-slash",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0441\u0443\u0431\u044A\u0435\u043A\u0442",onClick:function(){function E(){return B("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:"\u0418\u043C\u044F",children:T.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:T.minHealth,max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:k[T.stat][0],children:k[T.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),N.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 \u041D\u0435\u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0449\u0438\u0439 \u0441\u0443\u0431\u044A\u0435\u043A\u0442. \u041F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043C\u0430\u043D\u0438\u043F\u0443\u043B\u044F\u0446\u0438\u0439 \u0441\u043E \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043E\u0439 \u0414\u041D\u041A \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0430\u0434\u0438\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u043F\u043E\u0440\u0430\u0436\u0435\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:T.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B",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 \u041D/\u0414"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u0414\u041D\u041A-\u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u043F\u0443\u0441\u0442\u0430."})})},c=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.selectedMenuKey,A=L.hasOccupant,T=L.occupant;if(A){if(N.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"),"\u041C\u0430\u043D\u0438\u043F\u0443\u043B\u044F\u0446\u0438\u0438 \u0441\u043E \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043E\u0439 \u0414\u041D\u041A \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B."]})})})}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"),"\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u0414\u041D\u041A-\u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u043F\u0443\u0441\u0442\u0430."]})})});var E;return I==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,l)],4):I==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)],4):I==="buffer"?E=(0,e.createComponentVNode)(2,d):I==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(P,M){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:P[2],selected:I===P[0],onClick:function(){function O(){return B("selectMenuKey",{key:P[0]})}return O}(),children:P[1]},M)})}),E]})},u=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.selectedUIBlock,A=L.selectedUISubBlock,T=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432",children:[(0,e.createComponentVNode)(2,v,{dnaString:E.uniqueIdentity,selectedBlock:I,selectedSubblock:A,blockSize:N.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:T,format:function(){function P(M){return M.toString(16).toUpperCase()}return P}(),ml:"0",onChange:function(){function P(M,O){return B("changeUITarget",{value:O})}return P}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"\u041E\u0431\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A",mt:"0.5rem",onClick:function(){function P(){return B("pulseUIRadiation")}return P}()})]})},m=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.selectedSEBlock,A=L.selectedSESubBlock,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0445 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u043E\u0432",children:[(0,e.createComponentVNode)(2,v,{dnaString:T.structuralEnzymes,selectedBlock:I,selectedSubblock:A,blockSize:N.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"\u041E\u0431\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A",onClick:function(){function E(){return B("pulseSERadiation")}return E}()})]})},l=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0437\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044C \u0440\u0430\u0434\u0438\u0430\u0446\u0438\u0438",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041C\u043E\u0449\u043D\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:I,popUpPosition:"right",ml:"0",onChange:function(){function T(E,P){return B("radiationIntensity",{value:P})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function T(E,P){return B("radiationDuration",{value:P})}return T}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"\u041E\u0431\u043B\u0443\u0447\u0438\u0442\u044C \u0440\u0430\u0434\u0438\u0430\u0446\u0438\u0435\u0439",tooltip:"\u041C\u0443\u0442\u0438\u0440\u0443\u0435\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0431\u043B\u043E\u043A, \u0423\u0418 \u0438\u043B\u0438 \u0421\u0424 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function T(){return B("pulseRadiation")}return T}()})]})},d=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.buffers,A=I.map(function(T,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"\u042F\u0447\u0435\u0439\u043A\u0430 \u0431\u0443\u0444\u0435\u0440\u0430 \u2116"+(E+1),buffer:T},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:"\u0411\u0443\u0444\u0435\u0440",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=g.id,A=g.name,T=g.buffer,E=L.isInjectorReady,P=A+(T.data?" - "+T.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:!T.data,icon:"trash",content:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",onClick:function(){function M(){return B("bufferOption",{option:"clear",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data,icon:"pen",content:"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C",onClick:function(){function M(){return B("bufferOption",{option:"changeLabel",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data||!L.hasDisk,icon:"save",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",tooltip:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u044F\u0447\u0435\u0439\u043A\u0443 \u0431\u0443\u0444\u0435\u0440\u0430 \u043D\u0430 \u0434\u0438\u0441\u043A\u0435\u0442\u0443.",tooltipPosition:"bottom-start",onClick:function(){function M(){return B("bufferOption",{option:"saveDisk",id:I})}return M}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"\u0423\u0418 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"saveUI",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"\u0423\u0418 \u0438 \u0423\u0424 \u0441\u0443\u0431\u044A\u0435\u0442\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"saveUIAndUE",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"\u0421\u0424 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"saveSE",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"\u0421 \u0434\u0438\u0441\u043A\u0435\u0442\u044B",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"loadDisk",id:I})}return M}()})]}),!!T.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",children:T.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F \u0434\u0430\u043D\u043D\u044B\u0445",children:[T.type==="ui"?"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B":"\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B",!!T.ue&&" \u0438 \u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043D\u043D\u044B\u0445",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"\u0418\u043D\u044A\u0435\u043A\u0442\u043E\u0440",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"createInjector",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"\u0418\u043D\u044A\u0435\u043A\u0442\u043E\u0440 \u0431\u043B\u043E\u043A\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"createInjector",id:I,block:1})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"transfer",id:I})}return M}()})]})],4)]}),!T.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"\u0411\u0443\u0444\u0435\u0440 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0443\u0441\u0442."})]})})},i=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0414\u0438\u0441\u043A\u0435\u0442\u0430",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!I||!A.data,icon:"trash",content:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",onClick:function(){function T(){return B("wipeDisk")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!I,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",onClick:function(){function T(){return B("ejectDisk")}return T}()})],4),children:I?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042D\u0442\u0438\u043A\u0435\u0442\u043A\u0430",children:A.label?A.label:"\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F \u0434\u0430\u043D\u043D\u044B\u0445",children:[A.type==="ui"?"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B":"\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B",!!A.ue&&" \u0438 \u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442."}):(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"),"\u0414\u0438\u0441\u043A\u0435\u0442\u0430 \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430."]})})},C=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.isBeakerLoaded,A=L.beakerVolume,T=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u0425\u0438\u043C\u0438\u043A\u0430\u0442\u044B \u0438 \u0451\u043C\u043A\u043E\u0441\u0442\u0438",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!I,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C",onClick:function(){function E(){return B("ejectBeaker")}return E}()}),children:I?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0445\u0438\u043C\u0438\u043A\u0430\u0442\u044B",children:[S.map(function(E,P){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function M(){return B("injectRejuvenators",{amount:E})}return M}()},P)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"\u0412\u0441\u0435",onClick:function(){function E(){return B("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:T||"\u042D\u0442\u0438\u043A\u0435\u0442\u043A\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:["\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C: ",A,"u"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"\u041F\u0443\u0441\u0442\u043E"})]})]}):(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,"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430.",16)]})})})},V=function(g,N){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)("\xA0\u041E\u0431\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430\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)("\u0412 \u0442\u0435\u0447\u0435\u043D\u0438\u0438 "),g.duration,(0,e.createTextVNode)(" \u0441\u0435\u043A\u0443\u043D\u0434"),g.duration%10===1&&g.duration%100!==11?"\u044B":""],0)})]})},v=function(g,N){for(var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=g.dnaString,A=g.selectedBlock,T=g.selectedSubblock,E=g.blockSize,P=g.action,M=I.split(""),O=0,R=[],F=function(){for(var U=W/E+1,K=[],Y=function(){var le=ne+1;K.push((0,e.createComponentVNode)(2,t.Button,{selected:A===U&&T===le,content:M[W+ne],mb:"0",onClick:function(){function de(){return B(P,{block:U,subblock:le})}return de}()}))},ne=0;neC.spawnpoints?"red":"green",children:[C.total," \u0432\u044B\u0431\u0440\u0430\u043D\u043E, \u043F\u0440\u043E\u0442\u0438\u0432 ",C.spawnpoints," \u0442\u043E\u0447\u0435\u043A \u0441\u043F\u0430\u0432\u043D\u0430"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u041E\u0411\u0420",onClick:function(){function N(){return i("dispatch_ert",{silent:p})}return N}()})})]})})},c=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=C.ert_request_messages;return(0,e.createComponentVNode)(2,t.Section,{children:V&&V.length?V.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function p(){return i("view_player_panel",{uid:v.sender_uid})}return p}(),tooltip:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C Player panel"}),children:v.message},(0,f.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Box,{fluid:!0,italic:!0,textAlign:"center",children:"\u041D\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u041E\u0411\u0420"})})},u=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=(0,a.useLocalState)(d,"text",""),v=V[0],p=V[1];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u043F\u0440\u0438\u0447\u0438\u043D\u0443 \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F \u041E\u0411\u0420.\n\u041C\u043D\u043E\u0433\u043E\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0432\u0432\u043E\u0434 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.",rows:10,fluid:!0,multiline:1,value:v,onChange:function(){function g(N,x){return p(x)}return g}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441 \u041E\u0411\u0420",fluid:!0,icon:"times",center:!0,mt:"5px",textAlign:"center",onClick:function(){function g(){return i("deny_ert",{reason:v})}return g}()})]})}},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),k=r.Electropack=function(){function y(S,b){var h=(0,t.useBackend)(b),c=h.act,u=h.data,m=u.power,l=u.code,d=u.frequency,s=u.minFrequency,i=u.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:150,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 c("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 c("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:d/10,format:function(){function C(V){return(0,a.toFixed)(V,1)}return C}(),width:"80px",onChange:function(){function C(V,v){return c("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 c("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:l,width:"80px",onChange:function(){function C(V,v){return c("code",{code:v})}return C}()})})]})})})})}return y}()},36730:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.EvolutionMenu=function(){function S(b,h){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:574,theme:"changeling",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,y)]})})}return S}(),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.evo_points,d=m.can_respec;return(0,e.createComponentVNode)(2,t.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:l}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{ml:2.5,disabled:!d,content:"Readapt",icon:"sync",onClick:function(){function s(){return u("readapt")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})},y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.evo_points,d=m.ability_list,s=m.purchased_abilities,i=m.view_mode;return(0,e.createComponentVNode)(2,t.Section,{title:"Abilities",flexGrow:"1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:i?"square-o":"check-square-o",selected:!i,content:"Compact",onClick:function(){function C(){return u("set_view_mode",{mode:0})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:i?"check-square-o":"square-o",selected:i,content:"Expanded",onClick:function(){function C(){return u("set_view_mode",{mode:1})}return C}()})],4),children:d.map(function(C,V){return(0,e.createComponentVNode)(2,t.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{ml:.5,color:"#dedede",children:C.name}),s.includes(C.power_path)&&(0,e.createComponentVNode)(2,t.Flex.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,t.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,t.Box,{as:"span",bold:!0,color:"#1b945c",children:C.cost})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,t.Button,{mr:.5,disabled:C.cost>l||s.includes(C.power_path),content:"Evolve",onClick:function(){function v(){return u("purchase",{power_path:C.power_path})}return v}()})})]}),!!i&&(0,e.createComponentVNode)(2,t.Flex,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:C.description+" "+C.helptext})]},V)})})}},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),k=n(73379),y=n(98595),S=["id","amount","lineDisplay","onClick"];function b(V,v){if(V==null)return{};var p={};for(var g in V)if({}.hasOwnProperty.call(V,g)){if(v.includes(g))continue;p[g]=V[g]}return p}var h=2e3,c={bananium:"clown",tranquillite:"mime"},u=r.ExosuitFabricator=function(){function V(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.building;return(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)}),B&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return V}(),m=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.materials,L=x.capacity,I=Object.values(B).reduce(function(A,T){return A+T},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:[(I/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,i,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function T(){return N("withdraw",{id:A})}return T}()},A)})})},l=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.curCategory,L=x.categories,I=x.designs,A=x.syncing,T=(0,o.useLocalState)(p,"searchText",""),E=T[0],P=T[1],M=(0,t.createSearch)(E,function(R){return R.name}),O=I.filter(M);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:B,options:L,onSelected:function(){function R(F){return N("category",{cat:F})}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 N("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 N("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(F,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."})]})},d=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.building,L=x.buildStart,I=x.buildEnd,A=x.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:I,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 ",B,"\xA0(",(0,e.createComponentVNode)(2,k.Countdown,{current:A,timeLeft:I-A,format:function(){function T(E,P){return P.substr(3)}return T}()}),")"]})]})})})},s=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.queue,L=x.processingQueue,I=Object.entries(x.queueDeficit).filter(function(T){return T[1]<0}),A=B.reduce(function(T,E){return T+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 T(){return N("process")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:B.length===0,icon:"eraser",content:"Clear",onClick:function(){function T(){return N("unqueueall")}return T}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:B.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:B.map(function(T,E){return(0,e.createComponentVNode)(2,f.Box,{color:T.notEnough&&"bad",children:[E+1,". ",T.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function P(){return N("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(I).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:",I.map(function(T){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:T[0],amount:-T[1],lineDisplay:!0})},T[0])})]})],0)})})},i=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=v.id,L=v.amount,I=v.lineDisplay,A=v.onClick,T=b(v,S),E=x.materials[B]||0,P=L||E;if(!(P<=0&&!(B==="metal"||B==="glass"))){var M=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",I&&"Exofab__material--line"])},T,{children:I?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",B])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:M&&"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",B])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:B}),(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 g=(0,o.useBackend)(p),N=g.act,x=g.data,B=v.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:B.notEnough||x.building,icon:"cog",content:B.name,onClick:function(){function L(){return N("build",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return N("queue",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(B.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),B.time>0?(0,e.createFragment)([B.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},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,k=1013,y=function(h){var c="good",u=80,m=95,l=110,d=120;return hl?c="average":h>d&&(c="bad"),c},S=r.ExternalAirlockController=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.chamber_pressure,s=l.exterior_status,i=l.interior_status,C=l.processing;return(0,e.createComponentVNode)(2,o.Window,{width:470,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(d),value:d,minValue:f,maxValue:k,children:[d," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:C,onClick:function(){function V(){return m("cycle_ext")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Interior",icon:"arrow-circle-right",disabled:C,onClick:function(){function V(){return m("cycle_int")}return V}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function V(){return m("force_ext")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function V(){return m("force_int")}return V}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!C,onClick:function(){function V(){return m("abort")}return V}()})})]})]})})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:300,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: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 u(){return h("scan")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.authenticated?"sign-out-alt":"id-card",selected:c.authenticated,disabled:!c.scan_name&&!c.authenticated,content:c.authenticated?"Log Out":"Log In",onClick:function(){function u(){return h("auth")}return u}()})})]})}),(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:c.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:c.paper?"eject":"paperclip",disabled:!c.authenticated&&!c.paper,content:c.paper?c.paper:"-----",onClick:function(){function u(){return h("paper")}return u}()}),!!c.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function u(){return h("rename")}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:c.destination?c.destination:"-----",disabled:!c.authenticated,onClick:function(){function u(){return h("dept")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:c.sendError?c.sendError:"Send",disabled:!c.paper||!c.destination||!c.authenticated||c.sendError,onClick:function(){function u(){return h("send")}return u}()})})]})})]})})}return k}()},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(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=b.icon_state,d=b.direction,s=b.isSelected,i=b.onSelect;return(0,e.createComponentVNode)(2,t.DmIcon,{icon:m.icon,icon_state:l,direction:d,onClick:i,style:{"border-style":s&&"solid"||"none","border-width":"2px","border-color":"orange",padding:s&&"0px"||"2px"}})},k={NORTH:1,SOUTH:2,EAST:4,WEST:8},y=r.FloorPainter=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.availableStyles,d=m.selectedStyle,s=m.selectedDir;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 i(){return u("cycle_style",{offset:-1})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:l,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function i(C){return u("select_style",{style:C})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function i(){return u("cycle_style",{offset:1})}return i}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"239px",wrap:"wrap",children:l.map(function(i){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{icon_state:i,isSelected:d===i,onSelect:function(){function C(){return u("select_style",{style:i})}return C}()})},i)})})}),(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:[k.NORTH,null,k.SOUTH].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[i+k.WEST,i,i+k.EAST].map(function(C){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:C===null?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{icon_state:d,direction:C,isSelected:C===s,onSelect:function(){function V(){return u("select_direction",{direction:C})}return V}()})},C)})},i)})})})})]})})})}return S}()},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),k=function(l){return l?"("+l.join(", ")+")":"ERROR"},y=function(l,d,s){if(!(!l||!d)){if(l[2]!==d[2]||s!==1)return null;var i=Math.atan2(d[1]-l[1],d[0]-l[0]),C=Math.sqrt(Math.pow(d[1]-l[1],2)+Math.pow(d[0]-l[0],2));return{angle:(0,a.rad2deg)(i),distance:C}}},S=r.GPS=function(){function m(l,d){var s=(0,t.useBackend)(d),i=s.data,C=i.emped,V=i.active,v=i.area,p=i.position,g=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:450,height:700,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:C?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,b,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,h)}),V?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,c,{area:v,position:p})}),g&&(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,c,{title:"Saved Position",position:g})}),(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,u,{height:"100%"})})],0):(0,e.createComponentVNode)(2,b)],0)})})})}return m}(),b=function(l,d){var s=l.emp;return(0,e.createComponentVNode)(2,o.Section,{mt:"0.5rem",width:"100%",height:"100%",stretchContents:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",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(l,d){var s=(0,t.useBackend)(d),i=s.act,C=s.data,V=C.active,v=C.tag,p=C.same_z,g=(0,t.useLocalState)(d,"newTag",v),N=g[0],x=g[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:V,icon:V?"toggle-on":"toggle-off",content:V?"On":"Off",onClick:function(){function B(){return i("toggle")}return B}()}),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 B(){return i("tag",{newtag:N})}return B}(),onInput:function(){function B(L,I){return x(I)}return B}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:v===N,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function B(){return i("tag",{newtag:N})}return B}(),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 B(){return i("same_z")}return B}()})})]})})},c=function(l,d){var s=l.title,i=l.area,C=l.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),k(C)]})})},u=function(l,d){var s=(0,t.useBackend)(d),i=s.data,C=i.position,V=i.signals,v=i.upgraded;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Signals",overflow:"auto"},l,{children:(0,e.createComponentVNode)(2,o.Table,{children:V.map(function(p){return Object.assign({},p,y(C,p.position,v))}).map(function(p,g){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:g%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:p.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:p.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:p.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(p.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:p.distance>0?"arrow-right":"circle",rotation:-p.angle}),"\xA0",Math.floor(p.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:k(p.position)})]},g)})})})))}},68703:function(w,r,n){"use strict";r.__esModule=!0,r.GasAnalyzerHistory=r.GasAnalyzerContent=r.GasAnalyzer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GasAnalyzerContent=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.gasmixes,d=m.autoUpdating;return(0,e.createComponentVNode)(2,t.Section,{title:l[0].name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"unlock":"lock",onClick:function(){function s(){return u("autoscantoggle")}return s}(),tooltip:d?"Auto-Update Enabled":"Auto-Update Disabled",fluid:!0,textAlign:"center",selected:d}),children:l[0].total_moles?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Moles",children:(l[0].total_moles?l[0].total_moles:"-")+" mol"}),l[0].oxygen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:l[0].oxygen.toFixed(2)+" mol ("+(l[0].oxygen/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].nitrogen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:l[0].nitrogen.toFixed(2)+" mol ("+(l[0].nitrogen/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].carbon_dioxide?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:l[0].carbon_dioxide.toFixed(2)+" mol ("+(l[0].carbon_dioxide/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].toxins?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:l[0].toxins.toFixed(2)+" mol ("+(l[0].toxins/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].sleeping_agent?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:l[0].sleeping_agent.toFixed(2)+" mol ("+(l[0].sleeping_agent/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].agent_b?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Agent B",children:l[0].agent_b.toFixed(2)+" mol ("+(l[0].agent_b/l[0].total_moles).toFixed(2)*100+" %)"}):"",(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(l[0].total_moles?(l[0].temperature-273.15).toFixed(2):"-")+" \xB0C ("+(l[0].total_moles?l[0].temperature.toFixed(2):"-")+" K)"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Volume",children:(l[0].total_moles?l[0].volume:"-")+" L"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(l[0].total_moles?l[0].pressure.toFixed(2):"-")+" kPa"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Heat Capacity",children:l[0].heat_capacity+" / K"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Thermal Energy",children:l[0].thermal_energy})]}):(0,e.createComponentVNode)(2,t.Box,{nowrap:!0,italic:!0,mb:"10px",children:"No Gas Detected!"})},l[0])}return S}(),k=r.GasAnalyzerHistory=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.historyGasmixes,d=m.historyViewMode,s=m.historyIndex;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Scan History",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"trash",tooltip:"Clear History",onClick:function(){function i(){return u("clearhistory")}return i}(),textAlign:"center",disabled:l.length===0}),children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",children:(0,e.createComponentVNode)(2,t.Flex,{inline:!0,width:"50%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"kPa",onClick:function(){function i(){return u("modekpa")}return i}(),textAlign:"center",selected:d==="kpa"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"mol",onClick:function(){function i(){return u("modemol")}return i}(),textAlign:"center",selected:d==="mol"})})]})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(i,C){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:C+1+". "+(d==="mol"?i[0].total_moles.toFixed(2):i[0].pressure.toFixed(2)),onClick:function(){function V(){return u("input",{target:C+1})}return V}(),textAlign:"left",selected:C+1===s,fluid:!0})},i[0])})})]})}return S}(),y=r.GasAnalyzer=function(){function S(b,h){var c={float:"left",width:"67%"},u={float:"right",width:"33%"};return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{grow:!0,children:(0,e.createComponentVNode)(2,f)}),2,{style:c}),(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{width:"160px",children:(0,e.createComponentVNode)(2,k)}),2,{style:u})]})})}return S}()},27546:function(w,r,n){"use strict";r.__esModule=!0,r.GasFreezer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GasFreezer=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.on,m=c.pressure,l=c.temperature,d=c.temperatureCelsius,s=c.min,i=c.max,C=c.target,V=c.targetCelsius,v=(l-s)/(i-s);return(0,e.createComponentVNode)(2,o.Window,{width:560,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B",selected:u,onClick:function(){function p(){return h("power")}return p}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[m," \u043A\u041F\u0430"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,ranges:{blue:[-1/0,.5],red:[.5,1/0]},children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:[v<.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"blue",ml:1,children:[l," \xB0K (",d," \xB0C)"]}),v>=.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"red",ml:1,children:[l," \xB0K (",d," \xB0C)"]})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0435\u043B\u0435\u0432\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",justify:"end",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:(C-s)/(i-s),children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,ml:1,children:[C," \xB0K (",V," \xB0C)"]})})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0434\u0430\u0442\u044C \u0446\u0435\u043B\u0435\u0432\u0443\u044E \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0443",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",title:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function p(){return h("temp",{temp:s})}return p}()}),(0,e.createComponentVNode)(2,t.NumberInput,{value:Math.round(C),unit:"\xB0K",minValue:Math.round(s),maxValue:Math.round(i),step:5,stepPixelSize:3,onDrag:function(){function p(g,N){return h("temp",{temp:N})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",title:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function p(){return h("temp",{temp:i})}return p}()})]})]})})})})}return k}()},89124:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(35840),o=n(36036),f=n(3939),k=n(98595),y=r.GeneModder=function(){function d(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.has_seed;return(0,e.createComponentVNode)(2,k.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,f.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,S)]})})})}return d}(),S=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Insert Gene from Disk",disabled:!p||!p.can_insert||p.is_core,icon:"arrow-circle-down",onClick:function(){function g(){return V("insert")}return g}()}),children:[(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m)]})},b=function(s,i){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,o.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},h=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.has_seed,g=v.seed,N=v.has_disk,x=v.disk,B,L;return p?B=(0,e.createComponentVNode)(2,o.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",(0,t.classes)(["seeds32x32",g.image]),null,1,{style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,o.Button,{content:g.name,onClick:function(){function I(){return V("eject_seed")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function I(){return V("variant_name")}return I}()})]}):B=(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:"None",onClick:function(){function I(){return V("eject_seed")}return I}()})}),N?L=x.name:L="None",(0,e.createComponentVNode)(2,o.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:L,onClick:function(){function I(){return V("eject_disk")}return I}()})})})]})})},c=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.disk,g=v.core_genes;return(0,e.createComponentVNode)(2,o.Collapsible,{title:"Core Genes",open:!0,children:[g.map(function(N){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function x(){return V("extract",{id:N.id})}return x}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace",disabled:!N.is_type||!p.can_insert,icon:"arrow-circle-down",onClick:function(){function x(){return V("replace",{id:N.id})}return x}()})})]},N)})," ",(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace All",disabled:!(p!=null&&p.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function N(){return V("bulk_replace_core")}return N}()})})})]},"Core Genes")},u=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.reagent_genes,p=V.has_reagent;return(0,e.createComponentVNode)(2,l,{title:"Reagent Genes",gene_set:v,do_we_show:p})},m=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.trait_genes,p=V.has_trait;return(0,e.createComponentVNode)(2,l,{title:"Trait Genes",gene_set:v,do_we_show:p})},l=function(s,i){var C=s.title,V=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(i),g=p.act,N=p.data,x=N.disk;return(0,e.createComponentVNode)(2,o.Collapsible,{title:C,open:!0,children:v?V.map(function(B){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(x!=null&&x.can_extract),icon:"save",onClick:function(){function L(){return g("extract",{id:B.id})}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return g("remove",{id:B.id})}return L}()})})]},B)}):(0,e.createComponentVNode)(2,o.Stack.Item,{children:"No Genes Detected"})},C)}},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 k(y,S){return(0,e.createComponentVNode)(2,t.Window,{width:588,height:510,theme:"nologo",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 k}()},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 y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=c.security,m=c.medical,l=c.diagnostic,d=c.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,k,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,k,{label:"Security",type:"security",is_active:u}),(0,e.createComponentVNode)(2,k,{label:"Diagnostic",type:"diagnostic",is_active:l}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,k,{label:"Antag HUD",is_active:d,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=S.label,m=S.type,l=m===void 0?null:m,d=S.is_active,s=S.act_on,i=s===void 0?"hud_on":s,C=S.act_off,V=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:u}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:d?"On":"Off",icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){function v(){return c(d?V:i,{hud_type:l})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.glands,m=u===void 0?[]:u;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(l){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:l.color,content:l.amount||"0",disabled:!l.amount,onClick:function(){function d(){return h("dispense",{gland_id:l.id})}return d}()},l.id)})})})})}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],k=null,y=r.HandheldChemDispenser=function(){function h(c,u){return(0,e.createComponentVNode)(2,o.Window,{width:450,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),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.amount,i=d.energy,C=d.maxEnergy,V=d.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042D\u043D\u0435\u0440\u0433\u0438\u044F",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[i," / ",C," \u0415\u0434\u0438\u043D\u0438\u0446"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0431\u044A\u0451\u043C \u0441\u0438\u043D\u0442\u0435\u0437\u0430",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 g(){return l("amount",{amount:v})}return g}()})},p)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:V==="dispense",content:"\u0421\u0438\u043D\u0442\u0435\u0437",m:"0",width:"32%",onClick:function(){function v(){return l("mode",{mode:"dispense"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:V==="remove",content:"\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435",m:"0",width:"32%",onClick:function(){function v(){return l("mode",{mode:"remove"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:V==="isolate",content:"\u0418\u0437\u043E\u043B\u044F\u0446\u0438\u044F",m:"0",width:"32%",onClick:function(){function v(){return l("mode",{mode:"isolate"})}return v}()})]})})]})})})},b=function(c,u){for(var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.chemicals,i=s===void 0?[]:s,C=d.current_reagent,V=[],v=0;v<(i.length+1)%3;v++)V.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:d.glass?"\u0412\u044B\u0431\u043E\u0440 \u043D\u0430\u043F\u0438\u0442\u043A\u0430":"\u0412\u044B\u0431\u043E\u0440 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",children:[i.map(function(p,g){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 N(){return l("dispense",{reagent:p.id})}return N}()},g)}),V.map(function(p,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},g)})]})})}},75926:function(w,r,n){"use strict";r.__esModule=!0,r.ImplantPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ImplantPad=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.implant,m=c.contains_case,l=c.tag,d=(0,a.useLocalState)(S,"newTag",l),s=d[0],i=d[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 C(){return h("eject_case")}return C}()})}),children:u&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createComponentVNode)(2,t.DmIcon,{icon:u.icon,icon_state:u.icon_state,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),u.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:u.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:u.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:u.function}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:l,onEnter:function(){function C(){return h("tag",{newtag:s})}return C}(),onInput:function(){function C(V,v){return i(v)}return C}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:l===s,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function C(){return h("tag",{newtag:s})}return C}(),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 k}()},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),k=r.Instrument=function(){function c(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,h)]})})]})}return c}(),y=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function C(){return d("help")}return C}()})]})})})},S=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.lines,C=s.playing,V=s.repeat,v=s.maxRepeats,p=s.tempo,g=s.minTempo,N=s.maxTempo,x=s.tickLag,B=s.volume,L=s.minVolume,I=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 T(){return d("help")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function T(){return d("newsong")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function T(){return d("import")}return T}()})],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:i.length===0||V<0,icon:"play",content:"Play",onClick:function(){function T(){return d("play")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C,icon:"stop",content:"Stop",onClick:function(){function T(){return d("stop")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:v,value:V,stepPixelSize:59,onChange:function(){function T(E,P){return d("repeat",{new:P})}return T}()})}),(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>=N,content:"-",as:"span",mr:"0.5rem",onClick:function(){function T(){return d("tempo",{new:p+x})}return T}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=g,content:"+",as:"span",ml:"0.5rem",onClick:function(){function T(){return d("tempo",{new:p-x})}return T}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:I,value:B,stepPixelSize:6,onDrag:function(){function T(E,P){return d("setvolume",{new:P})}return T}()})}),(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(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.allowedInstrumentNames,C=s.instrumentLoaded,V=s.instrument,v=s.canNoteShift,p=s.noteShift,g=s.noteShiftMin,N=s.noteShiftMax,x=s.sustainMode,B=s.sustainLinearDuration,L=s.sustainExponentialDropoff,I=s.legacy,A=s.sustainDropoffVolume,T=s.sustainHeldNote,E,P;return x===1?(E="Linear",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:B,step:.5,stepPixelSize:85,format:function(){function M(O){return(0,a.round)(O*100)/100+" seconds"}return M}(),onChange:function(){function M(O,R){return d("setlinearfalloff",{new:R/10})}return M}()})):x===2&&(E="Exponential",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function M(O){return(0,a.round)(O*1e3)/1e3+"% per decisecond"}return M}(),onChange:function(){function M(O,R){return d("setexpfalloff",{new:R})}return M}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:I?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:C?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:V,width:"50%",onSelected:function(){function M(O){return d("switchinstrument",{name:O})}return M}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!I&&v)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:g,maxValue:N,value:p,stepPixelSize:2,format:function(){function M(O){return O+" keys / "+(0,a.round)(O/12*100)/100+" octaves"}return M}(),onChange:function(){function M(O,R){return d("setnoteshift",{new:R})}return M}()})}),(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 M(O){return d("setsustainmode",{new:O})}return M}()}),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 M(O,R){return d("setdropoffvolume",{new:R})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Yes":"No",onClick:function(){function M(){return d("togglesustainhold")}return M}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function M(){return d("reset")}return M}()})]})})})},h=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.playing,C=s.lines,V=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!V||i,icon:"plus",content:"Add Line",onClick:function(){function v(){return d("newline",{line:C.length+1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!V,icon:V?"chevron-up":"chevron-down",onClick:function(){function v(){return d("edit")}return v}()})],4),children:!!V&&(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:i,icon:"pen",onClick:function(){function g(){return d("modifyline",{line:p+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function g(){return d("deleteline",{line:p+1})}return g}()})],4),children:v},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},65021:function(w,r,n){"use strict";r.__esModule=!0,r.ItemPixelShift=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ItemPixelShift=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.pixel_x,m=c.pixel_y,l=c.max_shift_x,d=c.max_shift_y,s=c.random_drop_on;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:160,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:"X-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",title:"Shifts item leftwards.",disabled:u===-l,onClick:function(){function i(){return h("shift_left")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:u,minValue:-l,maxValue:l,onChange:function(){function i(C,V){return h("custom_x",{pixel_x:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",title:"Shifts item rightwards.",disabled:u===l,onClick:function(){function i(){return h("shift_right")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Y-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-up",title:"Shifts item upwards.",disabled:m===d,onClick:function(){function i(){return h("shift_up")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:m,minValue:-d,maxValue:d,onChange:function(){function i(C,V){return h("custom_y",{pixel_y:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",title:"Shifts item downwards.",disabled:m===-d,onClick:function(){function i(){return h("shift_down")}return i}()})]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"brown",icon:"arrow-up",content:"Move to Top",title:"Tries to place an item on top of the others.",onClick:function(){function i(){return h("move_to_top")}return i}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:s?"good":"bad",icon:"power-off",content:s?"Shift Enabled":"Shift Disabled",title:"Enables/Disables item pixel randomization on any drops.",onClick:function(){function i(){return h("toggle")}return i}()})})]})})]})})}return k}()},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),k=n(19203),y=n(51057),S=function(l){return l.key!==a.KEY.Alt&&l.key!==a.KEY.Control&&l.key!==a.KEY.Shift&&l.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,c=function(l){var d="";if(l.altKey&&(d+="Alt"),l.ctrlKey&&(d+="Ctrl"),l.shiftKey&&!(l.keyCode>=48&&l.keyCode<=57)&&(d+="Shift"),l.location===h&&(d+="Numpad"),S(l))if(l.shiftKey&&l.keyCode>=48&&l.keyCode<=57){var s=l.keyCode-48;d+="Shift"+s}else{var i=l.key.toUpperCase();d+=b[i]||i}return d},u=r.KeyComboModal=function(){function m(l,d){var s=(0,t.useBackend)(d),i=s.act,C=s.data,V=C.init_value,v=C.large_buttons,p=C.message,g=p===void 0?"":p,N=C.title,x=C.timeout,B=(0,t.useLocalState)(d,"input",V),L=B[0],I=B[1],A=(0,t.useLocalState)(d,"binding",!0),T=A[0],E=A[1],P=function(){function R(F){if(!T){F.key===a.KEY.Enter&&i("submit",{entry:L}),F.key===a.KEY.Escape&&i("cancel");return}if(F.preventDefault(),S(F)){M(c(F)),E(!1);return}else if(F.key===a.KEY.Escape){M(V),E(!1);return}}return R}(),M=function(){function R(F){F!==L&&I(F)}return R}(),O=130+(g.length>30?Math.ceil(g.length/3):0)+(g.length&&v?5:0);return(0,e.createComponentVNode)(2,f.Window,{title:N,width:240,height:O,children:[x&&(0,e.createComponentVNode)(2,y.Loader,{value:x}),(0,e.createComponentVNode)(2,f.Window.Content,{onKeyDown:function(){function R(F){P(F)}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:g})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:T,content:T&&T!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function R(){M(V),E(!0)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,k.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=(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(!c.swiping&&!c.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,(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:!c.redAvailable,onClick:function(){function l(){return h("triggerevent",{triggerevent:"Red Alert"})}return l}(),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 l(){return h("triggerevent",{triggerevent:"Emergency Response Team"})}return l}(),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 l(){return h("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return l}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function l(){return h("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return l}(),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 l(){return h("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return l}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function l(){return h("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return l}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!c.hasSwiped&&!c.ertreason&&c.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):c.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):c.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):c.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:[u,c.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:c.ertreason?"":"red",icon:c.ertreason?"check":"pencil-alt",content:c.ertreason?c.ertreason:"-----",disabled:c.busy,onClick:function(){function l(){return h("ert")}return l}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:c.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:c.busy||c.hasConfirm,onClick:function(){function l(){return h("reset")}return l}()}),children:m})]})})}return k}()},40951:function(w,r,n){"use strict";r.__esModule=!0,r.LaborClaimConsole=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),k=r.LaborClaimConsole=function(){function b(h,c){return(0,e.createComponentVNode)(2,f.Window,{width:315,height:470,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S)]})})}return b}(),y=function(h,c){var u=(0,t.useBackend)(c),m=u.act,l=u.data,d=l.can_go_home,s=l.emagged,i=l.id_inserted,C=l.id_name,V=l.id_points,v=l.id_goal,p=l.unclaimed_points,g=s?0:1,N=s?"ERR0R":d?"Completed!":"Insufficient";return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:!!i&&(0,e.createComponentVNode)(2,o.ProgressBar,{value:V/v,ranges:{good:[g,1/0],bad:[-1/0,g]},children:V+" / "+v+" "+N})||!!s&&"ERR0R COMPLETED?!@"||"No ID inserted"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Shuttle controls",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Move shuttle",disabled:!d,onClick:function(){function x(){return m("move_shuttle")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed points",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Claim points ("+p+")",disabled:!i||!p,onClick:function(){function x(){return m("claim_points")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Inserted ID",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:i?C:"-------------",onClick:function(){function x(){return m("handle_id")}return x}()})})]})})},S=function(h,c){var u=(0,t.useBackend)(c),m=u.data,l=m.ores;return(0,e.createComponentVNode)(2,o.Section,{title:"Material values",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:"Material"}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:"Value"})]}),l.map(function(d){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,a.toTitleCase)(d.ore)}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:d.value})})]},d.ore)})]})})}},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,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.isAdmin,s=l.isSlaved,i=l.isMalf,C=l.isAIMalf,V=l.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(d&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||C)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:V===0,onClick:function(){function v(){return m("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:V===1,onClick:function(){function v(){return m("set_view",{set_view:1})}return v}()})]}),V===0&&(0,e.createComponentVNode)(2,k),V===1&&(0,e.createComponentVNode)(2,y)]})})}return b}(),k=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.has_zeroth_laws,s=l.zeroth_laws,i=l.has_ion_laws,C=l.ion_laws,V=l.ion_law_nr,v=l.has_inherent_laws,p=l.inherent_laws,g=l.has_supplied_laws,N=l.supplied_laws,x=l.channels,B=l.channel,L=l.isMalf,I=l.isAdmin,A=l.zeroth_law,T=l.ion_law,E=l.inherent_law,P=l.supplied_law,M=l.supplied_law_position;return(0,e.createFragment)([!!d&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:c}),!!i&&(0,e.createComponentVNode)(2,S,{title:V,laws:C,ctx:c}),!!v&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:p,ctx:c}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:N,ctx:c}),(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:x.map(function(O){return(0,e.createComponentVNode)(2,t.Button,{content:O.channel,selected:O.channel===B,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"})]}),!!(I&&!d)&&(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:T}),(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:M,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)},y=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},S=function(h,c){var u=(0,a.useBackend)(h.ctx),m=u.act,l=u.data,d=l.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 i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},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),k=n(92986),y=n(98595),S=r.ListInputModal=function(){function c(u,m){var l=(0,f.useBackend)(m),d=l.act,s=l.data,i=s.items,C=i===void 0?[]:i,V=s.message,v=V===void 0?"":V,p=s.init_value,g=s.timeout,N=s.title,x=(0,f.useLocalState)(m,"selected",C.indexOf(p)),B=x[0],L=x[1],I=(0,f.useLocalState)(m,"searchBarVisible",C.length>10),A=I[0],T=I[1],E=(0,f.useLocalState)(m,"searchQuery",""),P=E[0],M=E[1],O=function(){function ne($){var le=K.length-1;if($===k.KEY_DOWN)if(B===null||B===le){var de;L(0),(de=document.getElementById("0"))==null||de.scrollIntoView()}else{var oe;L(B+1),(oe=document.getElementById((B+1).toString()))==null||oe.scrollIntoView()}else if($===k.KEY_UP)if(B===null||B===0){var re;L(le),(re=document.getElementById(le.toString()))==null||re.scrollIntoView()}else{var Z;L(B-1),(Z=document.getElementById((B-1).toString()))==null||Z.scrollIntoView()}}return ne}(),R=function(){function ne($){$!==B&&L($)}return ne}(),F=function(){function ne(){T(!1),T(!0)}return ne}(),W=function(){function ne($){var le=String.fromCharCode($),de=C.find(function(Z){return Z==null?void 0:Z.toLowerCase().startsWith(le==null?void 0:le.toLowerCase())});if(de){var oe,re=C.indexOf(de);L(re),(oe=document.getElementById(re.toString()))==null||oe.scrollIntoView()}}return ne}(),j=function(){function ne($){var le;$!==P&&(M($),L(0),(le=document.getElementById("0"))==null||le.scrollIntoView())}return ne}(),U=function(){function ne(){T(!A),M("")}return ne}(),K=C.filter(function(ne){return ne==null?void 0:ne.toLowerCase().includes(P.toLowerCase())}),Y=330+Math.ceil(v.length/3);return A||setTimeout(function(){var ne;return(ne=document.getElementById(B.toString()))==null?void 0:ne.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:N,width:325,height:Y,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function ne($){var le=window.event?$.which:$.keyCode;(le===k.KEY_DOWN||le===k.KEY_UP)&&($.preventDefault(),O(le)),le===k.KEY_ENTER&&($.preventDefault(),d("submit",{entry:K[B]})),!A&&le>=k.KEY_A&&le<=k.KEY_Z&&($.preventDefault(),W(le)),le===k.KEY_ESCAPE&&($.preventDefault(),d("cancel"))}return ne}(),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 ne(){return U()}return ne}()}),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:F,searchBarVisible:A,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,h,{filteredItems:K,onSearch:j,searchQuery:P,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:K[B]})})]})})})]})}return c}(),b=function(u,m){var l=(0,f.useBackend)(m),d=l.act,s=u.filteredItems,i=u.onClick,C=u.onFocusSearch,V=u.searchBarVisible,v=u.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(p,g){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:g,onClick:function(){function N(){return i(g)}return N}(),onDblClick:function(){function N(x){x.preventDefault(),d("submit",{entry:s[v]})}return N}(),onKeyDown:function(){function N(x){var B=window.event?x.which:x.keyCode;V&&B>=k.KEY_A&&B<=k.KEY_Z&&(x.preventDefault(),C())}return N}(),selected:g===v,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(N){return N.toUpperCase()})},g)})})},h=function(u,m){var l=(0,f.useBackend)(m),d=l.act,s=u.filteredItems,i=u.onSearch,C=u.searchQuery,V=u.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function v(p){p.preventDefault(),d("submit",{entry:s[V]})}return v}(),onInput:function(){function v(p,g){return i(g)}return v}(),placeholder:"Search...",value:C})}},26826:function(w,r,n){"use strict";r.__esModule=!0,r.Loadout=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),k={Default:function(){function u(m,l){return m.gear.gear_tier-l.gear.gear_tier}return u}(),Alphabetical:function(){function u(m,l){return m.gear.name.toLowerCase().localeCompare(l.gear.name.toLowerCase())}return u}(),Cost:function(){function u(m,l){return m.gear.cost-l.gear.cost}return u}()},y=r.Loadout=function(){function u(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=(0,t.useLocalState)(l,"search",!1),V=C[0],v=C[1],p=(0,t.useLocalState)(l,"searchText",""),g=p[0],N=p[1],x=(0,t.useLocalState)(l,"category",Object.keys(i.gears)[0]),B=x[0],L=x[1],I=(0,t.useLocalState)(l,"tweakedGear",""),A=I[0],T=I[1];return(0,e.createComponentVNode)(2,f.Window,{width:975,height:650,children:[A&&(0,e.createComponentVNode)(2,c,{tweakedGear:A,setTweakedGear:T}),(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,{children:(0,e.createComponentVNode)(2,S,{category:B,setCategory:L})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"25%",children:(0,e.createComponentVNode)(2,h,{setTweakedGear:T})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"75%",children:(0,e.createComponentVNode)(2,b,{category:B,search:V,setSearch:v,searchText:g,setSearchText:N})})]})})]})})]})}return u}(),S=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=m.category,V=m.setCategory;return(0,e.createComponentVNode)(2,o.Tabs,{fluid:!0,textAlign:"center",style:{"flex-wrap":"wrap-reverse"},children:Object.keys(i.gears).map(function(v){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:v===C,style:{"white-space":"nowrap"},onClick:function(){function p(){return V(v)}return p}(),children:v},v)})})},b=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=i.user_tier,V=i.gear_slots,v=i.max_gear_slots,p=m.category,g=m.search,N=m.setSearch,x=m.searchText,B=m.setSearchText,L=(0,t.useLocalState)(l,"sortType","Default"),I=L[0],A=L[1],T=(0,t.useLocalState)(l,"sortReverse",!1),E=T[0],P=T[1],M=(0,a.createSearch)(x,function(R){return R.name}),O;return x.length>2?O=Object.entries(i.gears).reduce(function(R,F){var W=F[0],j=F[1];return R.concat(Object.entries(j).map(function(U){var K=U[0],Y=U[1];return{key:K,gear:Y}}))},[]).filter(function(R){var F=R.gear;return M(F)}):O=Object.entries(i.gears[p]).map(function(R){var F=R[0],W=R[1];return{key:F,gear:W}}),O.sort(k[I]),E&&(O=O.reverse()),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:p,buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{height:1.66,selected:I,options:Object.keys(k),onSelected:function(){function R(F){return A(F)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:E?"arrow-down-wide-short":"arrow-down-short-wide",tooltip:E?"Ascending order":"Descending order",tooltipPosition:"bottom-end",onClick:function(){function R(){return P(!E)}return R}()})}),g&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Input,{width:20,placeholder:"Search...",value:x,onInput:function(){function R(F){return B(F.target.value)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"magnifying-glass",selected:g,tooltip:"Toggle search field",tooltipPosition:"bottom-end",onClick:function(){function R(){N(!g),B("")}return R}()})})]}),children:O.map(function(R){var F=R.key,W=R.gear,j=12,U=Object.keys(i.selected_gears).includes(F),K=(W.cost===1,W.cost+" Points"),Y=(0,e.createComponentVNode)(2,o.Box,{children:[W.name.length>j&&(0,e.createComponentVNode)(2,o.Box,{children:W.name}),W.gear_tier>C&&(0,e.createComponentVNode)(2,o.Box,{mt:W.name.length>j&&1.5,textColor:"red",children:"That gear is only available at a higher donation tier than you are on."})]}),ne=(0,e.createFragment)([W.allowed_roles&&(0,e.createComponentVNode)(2,o.Button,{width:"22px",color:"transparent",icon:"user",tooltip:(0,e.createComponentVNode)(2,o.Section,{m:-1,title:"Allowed Roles",children:W.allowed_roles.map(function(le){return(0,e.createComponentVNode)(2,o.Box,{children:le},le)})}),tooltipPosition:"left"}),Object.entries(W.tweaks).map(function(le){var de=le[0],oe=le[1];return oe.map(function(re){return(0,e.createComponentVNode)(2,o.Button,{width:"22px",color:"transparent",icon:re.icon,tooltip:re.tooltip,tooltipPosition:"top"},de)})}),(0,e.createComponentVNode)(2,o.Button,{width:"22px",color:"transparent",icon:"info",tooltip:W.desc,tooltipPosition:"top"})],0),$=(0,e.createComponentVNode)(2,o.Box,{class:"Loadout-InfoBox",children:[(0,e.createComponentVNode)(2,o.Box,{style:{"flex-grow":1},fontSize:1,color:"gold",opacity:.75,children:W.gear_tier>0&&"Tier "+W.gear_tier}),(0,e.createComponentVNode)(2,o.Box,{fontSize:.75,opacity:.66,children:K})]});return(0,e.createComponentVNode)(2,o.ImageButtonTS,{m:.5,imageSize:84,dmIcon:W.icon,dmIconState:W.icon_state,tooltip:(W.name.length>j||W.gear_tier>0)&&Y,tooltipPosition:"bottom",selected:U,disabled:W.gear_tier>C||V+W.cost>v&&!U,buttons:ne,buttonsAlt:$,onClick:function(){function le(){return s("toggle_gear",{gear:W.index_name})}return le}(),children:W.name},F)})})},h=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=m.setTweakedGear,V=Object.entries(i.gears).reduce(function(v,p){var g=p[0],N=p[1],x=Object.entries(N).filter(function(B){var L=B[0];return Object.keys(i.selected_gears).includes(L)}).map(function(B){var L=B[0],I=B[1];return Object.assign({key:L},I)});return v.concat(x)},[]);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,{fill:!0,scrollable:!0,title:"Selected Equipment",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"Clear Loadout",tooltipPosition:"bottom-end",onClick:function(){function v(){return s("clear_loadout")}return v}()}),children:V.map(function(v){var p=i.selected_gears[v.key];return(0,e.createComponentVNode)(2,o.ImageButtonTS,{fluid:!0,imageSize:48,base64:p.icon,dmIcon:p.icon_file?p.icon_file:v.icon,dmIconState:p.icon_state?p.icon_state:v.icon_state,buttons:(0,e.createFragment)([Object.entries(v.tweaks).length>0&&(0,e.createComponentVNode)(2,o.Button,{color:"translucent",icon:"gears",iconColor:"gray",width:"33px",onClick:function(){function g(){return C(v)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{color:"translucent",icon:"times",iconColor:"red",width:"32px",onClick:function(){function g(){return s("toggle_gear",{gear:v.index_name})}return g}()})],0),children:p.name?p.name:v.name},v.key)})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:i.gear_slots,maxValue:i.max_gear_slots,ranges:{bad:[i.max_gear_slots,1/0],average:[i.max_gear_slots*.66,i.max_gear_slots],good:[0,i.max_gear_slots*.66]},children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:["Used points ",i.gear_slots,"/",i.max_gear_slots]})})})})]})},c=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=m.tweakedGear,V=m.setTweakedGear;return(0,e.createComponentVNode)(2,o.Dimmer,{children:(0,e.createComponentVNode)(2,o.Box,{className:"Loadout-Modal__background",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,width:20,height:20,title:C.name,buttons:(0,e.createComponentVNode)(2,o.Button,{color:"red",icon:"times",tooltip:"Close",tooltipPosition:"top",onClick:function(){function v(){return V("")}return v}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:Object.entries(C.tweaks).map(function(v){var p=v[0],g=v[1];return g.map(function(N){var x=i.selected_gears[C.key][p];return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N.name,color:x?"":"gray",buttons:(0,e.createComponentVNode)(2,o.Button,{color:"transparent",icon:"pen",onClick:function(){function B(){return s("set_tweak",{gear:C.index_name,tweak:p})}return B}()}),children:[x||"Default",(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,width:1,height:1,verticalAlign:"middle",style:{"background-color":""+x}})]},p)})})})})})})}},88832:function(w,r,n){"use strict";r.__esModule=!0,r.MatrixMathTester=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(44879),f=n(98595),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:b.value,step:.005,format:function(){function m(l){return(0,o.toFixed)(l,3)}return m}(),width:"100%",onChange:function(){function m(l,d){return u("change_var",{var_name:b.varName,var_value:d})}return m}()})},y=r.MatrixMathTester=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.matrix_a,d=m.matrix_b,s=m.matrix_c,i=m.matrix_d,C=m.matrix_e,V=m.matrix_f,v=m.pixelated,p=(0,a.useLocalState)(h,"scale_x",1),g=p[0],N=p[1],x=(0,a.useLocalState)(h,"scale_y",1),B=x[0],L=x[1],I=(0,a.useLocalState)(h,"translate_x",0),A=I[0],T=I[1],E=(0,a.useLocalState)(h,"translate_y",0),P=E[0],M=E[1],O=(0,a.useLocalState)(h,"shear_x",0),R=O[0],F=O[1],W=(0,a.useLocalState)(h,"shear_y",0),j=W[0],U=W[1],K=(0,a.useLocalState)(h,"angle",0),Y=K[0],ne=K[1];return(0,e.createComponentVNode)(2,f.Window,{title:"Transform Editor",width:290,height:270,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,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:"30%"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"25%",children:"X"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"25%",children:"Y"})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Position(c, f)"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:s,varName:"c"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:V,varName:"f"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Incline(b, d)"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:d,varName:"b"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:i,varName:"d"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Scale(a,e)"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:l,varName:"a"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:C,varName:"e"})})]})]}),(0,e.createComponentVNode)(2,t.Table,{mt:3,children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Action"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"X"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Y"})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"up-right-and-down-left-from-center",content:"Scale",width:"100%",onClick:function(){function $(){return u("scale",{x:g,y:B})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:g,step:.05,format:function(){function $(le){return(0,o.toFixed)(le,2)}return $}(),width:"100%",onChange:function(){function $(le,de){return N(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:B,step:.05,format:function(){function $(le){return(0,o.toFixed)(le,2)}return $}(),width:"100%",onChange:function(){function $(le,de){return L(de)}return $}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:"Translate",width:"100%",onClick:function(){function $(){return u("translate",{x:A,y:P})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:A,step:1,format:function(){function $(le){return(0,o.toFixed)(le,0)}return $}(),width:"100%",onChange:function(){function $(le,de){return T(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:P,step:1,format:function(){function $(le){return(0,o.toFixed)(le,0)}return $}(),width:"100%",onChange:function(){function $(le,de){return M(de)}return $}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"maximize",content:"Shear",width:"100%",onClick:function(){function $(){return u("shear",{x:R,y:j})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:R,step:.005,format:function(){function $(le){return(0,o.toFixed)(le,3)}return $}(),width:"100%",onChange:function(){function $(le,de){return F(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:j,step:.005,format:function(){function $(le){return(0,o.toFixed)(le,3)}return $}(),width:"100%",onChange:function(){function $(le,de){return U(de)}return $}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"rotate-right",content:"Rotate",width:"100%",onClick:function(){function $(){return u("turn",{angle:Y})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:Y,step:.5,maxValue:360,minValue:-360,format:function(){function $(le){return(0,o.toFixed)(le,1)}return $}(),width:"100%",onChange:function(){function $(le,de){return ne(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"dog",color:"bad",selected:v,content:"PET",tooltip:"Pixel Enhanced Transforming",tooltipPosition:"bottom",width:"100%",onClick:function(){function $(){return u("toggle_pixel")}return $}()})})]})]})]})})})}return S}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.recharge_port,m=u&&u.mech,l=m&&m.cell,d=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:d?"Mech status: "+d:"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:!u&&(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:!u&&(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."})||!l&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.charge/l.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.charge})," / "+l.maxcharge]})})]})})})})}return k}()},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),k=n(25328),y=r.MechaControlConsole=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.beacons,d=m.stored_data;return d.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 u("clear_log")}return s}()}),children:d.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,k.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:l.length&&l.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return u("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return u("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"EMP",icon:"bomb",onClick:function(){function i(){return u("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,k.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),k=n(98595),y=n(321),S=n(5485),b=n(22091),h={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},c={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},u=function(I,A){(0,f.modalOpen)(I,"edit",{field:A.edit,value:A.value})},m=function(I,A){var T=I.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:T.name||"\u0412\u0438\u0440\u0443\u0441",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:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0430\u0434\u0438\u0439",children:T.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435",children:T.spread_text}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435 \u043C\u0435\u0442\u043E\u0434\u044B \u043B\u0435\u0447\u0435\u043D\u0438\u044F",children:T.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0417\u0430\u043C\u0435\u0442\u043A\u0438",children:T.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u044F\u0436\u0435\u0441\u0442\u044C",color:h[T.severity],children:T.severity})]})})})},l=r.MedicalRecords=function(){function L(I,A){var T=(0,t.useBackend)(A),E=T.data,P=E.loginState,M=E.screen;if(!P.logged_in)return(0,e.createComponentVNode)(2,k.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var O;return M===2?O=(0,e.createComponentVNode)(2,d):M===3?O=(0,e.createComponentVNode)(2,s):M===4?O=(0,e.createComponentVNode)(2,i):M===5?O=(0,e.createComponentVNode)(2,p):M===6&&(O=(0,e.createComponentVNode)(2,g)),(0,e.createComponentVNode)(2,k.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,B),O]})})]})}return L}(),d=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.records,O=(0,t.useLocalState)(A,"searchText",""),R=O[0],F=O[1],W=(0,t.useLocalState)(A,"sortId","name"),j=W[0],U=W[1],K=(0,t.useLocalState)(A,"sortOrder",!0),Y=K[0],ne=K[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:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u0438",icon:"wrench",ml:"0.25rem",onClick:function(){function $(){return E("screen",{screen:3})}return $}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0418\u043C\u044F, ID, \u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0438\u043B\u0438 \u041F\u0441\u0438\u0445\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",onInput:function(){function $(le,de){return F(de)}return $}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,N,{id:"name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,N,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,N,{id:"rank",children:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C"}),(0,e.createComponentVNode)(2,N,{id:"p_stat",children:"\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,N,{id:"m_stat",children:"\u041F\u0441\u0438\u0445\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"})]}),M.filter((0,a.createSearch)(R,function($){return $.name+"|"+$.id+"|"+$.rank+"|"+$.p_stat+"|"+$.m_stat})).sort(function($,le){var de=Y?1:-1;return $[j].localeCompare(le[j])*de}).map(function($){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+c[$.p_stat],onClick:function(){function le(){return E("view_record",{view_record:$.ref})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",$.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.m_stat})]},$.id)})]})})})],4)},s=function(I,A){var T=(0,t.useBackend)(A),E=T.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:"\u0420\u0435\u0437\u0435\u0440\u0432\u043D\u043E\u0435 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0430 \u0434\u0438\u0441\u043A\u0435\u0442\u0443",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:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441 \u0434\u0438\u0441\u043A\u0435\u0442\u044B",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:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0431\u0430\u0437\u0443 \u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439",onClick:function(){function P(){return E("del_all")}return P}()})})]})})},i=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medical,O=P.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:"\u041E\u0441\u043D\u043E\u0432\u043D\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:O?"spinner":"print",disabled:O,iconSpin:!!O,content:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u044C",ml:"0.5rem",onClick:function(){function R(){return E("print_record")}return R}()}),children:(0,e.createComponentVNode)(2,C)})}),!M||!M.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",onClick:function(){function R(){return E("new")}return R}()}),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"),"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0442\u0440\u0430\u0447\u0435\u043D\u0430!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!M.empty,content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",onClick:function(){function R(){return E("del_r")}return R}()}),children:(0,e.createComponentVNode)(2,V)})}),(0,e.createComponentVNode)(2,v)],4)],0)},C=function(I,A){var T=(0,t.useBackend)(A),E=T.data,P=E.general;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"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:P.fields.map(function(M,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:M.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:M.value}),!!M.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function R(){return u(A,M)}return R}()})]},O)})})}),!!P.has_photos&&P.photos.map(function(M,O){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:M,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"\u0424\u043E\u0442\u043E \u2116",O+1]},O)})]})},V=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medical;return!M||!M.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0442\u0440\u0430\u0447\u0435\u043D\u0430!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:M.fields.map(function(O,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:O.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(O.value),!!O.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:O.line_break?"1rem":"initial",onClick:function(){function F(){return u(A,O)}return F}()})]},R)})})})})},v=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439",onClick:function(){function O(){return(0,f.modalOpen)(A,"add_comment")}return O}()}),children:M.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442."}):M.comments.map(function(O,R){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:O.header}),(0,e.createVNode)(1,"br"),O.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return E("del_c",{del_c:R+1})}return F}()})]},R)})})})},p=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.virus,O=(0,t.useLocalState)(A,"searchText",""),R=O[0],F=O[1],W=(0,t.useLocalState)(A,"sortId2","name"),j=W[0],U=W[1],K=(0,t.useLocalState)(A,"sortOrder2",!0),Y=K[0],ne=K[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:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435, \u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0421\u0442\u0430\u0434\u0438\u0439 \u0438\u043B\u0438 \u0422\u044F\u0436\u0435\u0441\u0442\u044C",onInput:function(){function $(le,de){return F(de)}return $}()})}),(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,x,{id:"name",children:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,x,{id:"max_stages",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0430\u0434\u0438\u0439"}),(0,e.createComponentVNode)(2,x,{id:"severity",children:"\u0422\u044F\u0436\u0435\u0441\u0442\u044C"})]}),M.filter((0,a.createSearch)(R,function($){return $.name+"|"+$.max_stages+"|"+$.severity})).sort(function($,le){var de=Y?1:-1;return $[j].localeCompare(le[j])*de}).map(function($){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+$.severity,onClick:function(){function le(){return E("vir",{vir:$.D})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",$.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:h[$.severity],children:$.severity})]},$.id)})]})})})})],4)},g=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medbots;return M.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"\u041C\u0435\u0434\u0431\u043E\u0442\u044B \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B."]})})})}):(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:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"\u041B\u043E\u043A\u0430\u0446\u0438\u044F"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"\u0425\u0438\u043C\u0438\u043A\u0430\u0442\u044B"})]}),M.map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+O.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",O.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[O.area||"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"," (",O.x,", ",O.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"\u0412\u043A\u043B\u044E\u0447\u0451\u043D"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.use_beaker?"\u0401\u043C\u043A\u043E\u0441\u0442\u044C: "+O.total_volume+"/"+O.maximum_volume:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 \u0441\u0438\u043D\u0442\u0435\u0437\u0430\u0442\u043E\u0440"})]},O.id)})]})})})},N=function(I,A){var T=(0,t.useLocalState)(A,"sortId","name"),E=T[0],P=T[1],M=(0,t.useLocalState)(A,"sortOrder",!0),O=M[0],R=M[1],F=I.id,W=I.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==F&&"transparent",onClick:function(){function j(){E===F?R(!O):(P(F),R(!0))}return j}(),children:[W,E===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},x=function(I,A){var T=(0,t.useLocalState)(A,"sortId2","name"),E=T[0],P=T[1],M=(0,t.useLocalState)(A,"sortOrder2",!0),O=M[0],R=M[1],F=I.id,W=I.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==F&&"transparent",onClick:function(){function j(){E===F?R(!O):(P(F),R(!0))}return j}(),children:[W,E===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},B=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.screen,O=P.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:M===2,onClick:function(){function R(){E("screen",{screen:2})}return R}(),children:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0437\u0430\u043F\u0438\u0441\u0435\u0439"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:M===5,onClick:function(){function R(){E("screen",{screen:5})}return R}(),children:"\u0411\u0430\u0437\u0430 \u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0438\u0440\u0443\u0441\u043E\u0432"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:M===6,onClick:function(){function R(){return E("screen",{screen:6})}return R}(),children:"\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u043C\u0435\u0434\u0431\u043E\u0442\u043E\u0432"}),M===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:M===3,children:"\u041E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0437\u044B \u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439"}),M===4&&O&&!O.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:M===4,children:["\u0417\u0430\u043F\u0438\u0441\u044C: ",O.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},52306:function(w,r,n){"use strict";r.__esModule=!0,r.Mimicking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Mimicking=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.slots||[];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:[u.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Choose",selected:m.selected,onClick:function(){function l(){return h("Choose",{id:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",color:"bad",onClick:function(){function l(){return h("Delete",{id:m.id})}return l}()})],4),children:(0,e.createComponentVNode)(2,t.Box,{preserveWhitespace:!0,textColor:"#878787",fontSize:"14px",children:["Voice: ",m.voice]})},m.id)}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Add",onClick:function(){function m(){return h("Add")}return m}()})]})})})})}return k}()},66238:function(w,r,n){"use strict";r.__esModule=!0,r.Minesweeper=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Minesweeper=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.matrix,m=c.showMessage,l=c.tokens,d=c.uiWidth,s={1:"blue",2:"green",3:"red",4:"darkblue",5:"brown",6:"lightblue",7:"black",8:"white"};document.addEventListener("contextmenu",function(g){return g.preventDefault()});var i=function(){function g(N,x,B){N.button!==0&&N.button!==2||h("Square",{X:x,Y:B,mode:N.button===2?p[V]:V})}return g}(),C=(0,a.useLocalState)(S,"mode","bomb"),V=C[0],v=C[1],p={flag:"bomb",bomb:"flag"};return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",width:d+80,height:750,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0433\u0440\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435",textAlign:"center",fill:!0,fitted:!0,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",iconColor:"black",selected:V==="bomb",onClick:function(){function g(){return v("bomb")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"flag",iconColor:"red",selected:V==="flag",onClick:function(){function g(){return v("flag")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",onClick:function(){function g(){return h("Mode",{mode:"16x30"})}return g}()})],4),children:[(0,e.createVNode)(1,"p"),Object.keys(u).map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:Object.keys(u[g]).map(function(N){return(0,e.createComponentVNode)(2,t.Button,{m:"1px",height:"30px",width:"30px",className:u[g][N].open?"Minesweeper__open":"Minesweeper__closed",bold:!0,color:"transparent",icon:u[g][N].open?u[g][N].bomb?"bomb":"":u[g][N].flag?"flag":"",textColor:u[g][N].open?u[g][N].bomb?"black":s[u[g][N].around]:u[g][N].flag?"red":"gray",onMouseDown:function(){function x(B){return i(B,g,N)}return x}(),children:u[g][N].open&&!u[g][N].bomb&&u[g][N].around?u[g][N].around:" "},N)})},g)}),(0,e.createVNode)(1,"p"),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",className:"Minesweeper__message",children:["\u0414\u043B\u044F \u043F\u043E\u0431\u0435\u0434\u044B \u043D\u0443\u0436\u043D\u043E \u043F\u043E\u043C\u0435\u0442\u0438\u0442\u044C \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438 \u0432\u0441\u0435 \u0431\u043E\u043C\u0431\u044B, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u043F\u0443\u0441\u0442\u044B\u0435 \u043A\u043B\u0435\u0442\u043A\u0438.",(0,e.createVNode)(1,"br"),"\u0411\u0430\u043B\u0430\u043D\u0441 \u0442\u043E\u043A\u0435\u043D\u043E\u0432: ",l,(0,e.createVNode)(1,"br"),m]})]})})})})}return k}()},21385:function(w,r,n){"use strict";r.__esModule=!0,r.MiniGamesMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.MiniGamesMenu=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.spawners||[],m=c.thunderdome_eligible,l=c.notifications_enabled;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.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:m?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:m?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:m?"good":"bad",onClick:function(){function d(){return h("toggle_minigames")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:l?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:l?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:l?"good":"bad",onClick:function(){function d(){return h("toggle_notifications")}return d}()}),(0,e.createComponentVNode)(2,t.Section,{children:u.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:d.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function s(){return h("jump",{ID:d.uids})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Start",onClick:function(){function s(){return h("spawn",{ID:d.uids})}return s}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:d.desc}),!!d.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:d.fluff}),!!d.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:d.important_info})]},d.name)})})]})})}return k}()},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),k=["title","items"];function y(l,d){if(l==null)return{};var s={};for(var i in l)if({}.hasOwnProperty.call(l,i)){if(d.includes(i))continue;s[i]=l[i]}return s}var S={Alphabetical:function(){function l(d,s){return d-s}return l}(),Availability:function(){function l(d,s){return-(d.affordable-s.affordable)}return l}(),Price:function(){function l(d,s){return d.price-s.price}return l}()},b=r.MiningVendor=function(){function l(d,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:450,children:(0,e.createComponentVNode)(2,f.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})})}return l}(),h=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.has_id,p=V.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 g(){return C("logoff")}return g}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},c=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.has_id,p=V.id,g=V.items,N=(0,t.useLocalState)(s,"search",""),x=N[0],B=N[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),I=L[0],A=L[1],T=(0,t.useLocalState)(s,"descending",!1),E=T[0],P=T[1],M=(0,a.createSearch)(x,function(F){return F[0]}),O=!1,R=Object.entries(g).map(function(F,W){var j=Object.entries(F[1]).filter(M).map(function(U){return U[1].affordable=v&&p.points>=U[1].price,U[1]}).sort(S[I]);if(j.length!==0)return E&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,m,{title:F[0],items:j},F[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,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!"})})})},u=function(d,s){var i=(0,t.useLocalState)(s,"search",""),C=i[0],V=i[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],g=v[1],N=(0,t.useLocalState)(s,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(I,A){return V(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(I){return g(I)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"21px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return B(!x)}return L}()})})]})})},m=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=d.title,p=d.items,g=y(d,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},g,{children:p.map(function(N){return(0,e.createComponentVNode)(2,o.ImageButton,{bold:!0,asset:!0,color:"brown",imageSize:"64px",image:N.imageId,imageAsset:"mining_vendor64x64",content:N.name,children:(0,e.createComponentVNode)(2,o.ImageButton.Item,{bold:!0,horizontal:!0,width:"64px",fontSize:1,content:N.price,icon:"shopping-cart",iconSize:1,iconColor:!V.has_id||V.id.points"})}),!!P&&(0,e.createComponentVNode)(2,d,{mt:1.1,label:"ID tag",compactLabel:!0,wrapContent:R?(0,e.createComponentVNode)(2,m,{text:O,defaultText:"",color:"silver"}):(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"red",italic:!0,nowrap:!0,children:"Not supported"})})]})})]})})})}return x}(),c=function(B,L){var I=B.iconName,A=B.machineName,T=B.noMachine,E=B.noMachineText,P=B.noMachineElem,M="Unknown machine",O=T?E:A||"Unknown machine",R=O===E,F=O===E||O===M;return T&&P?P:(0,e.createComponentVNode)(2,o.Flex,{mt:.1,mb:1.9,children:[!T&&(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,align:"center",children:(0,e.createComponentVNode)(2,o.Icon,{mr:1,size:1.1,name:I})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,wordWrap:"break-word",children:(0,e.createComponentVNode)(2,o.Box,{as:"span",wordWrap:"break-word",color:R?"label":"silver",fontSize:"1.1rem",bold:!0,italic:F,children:O})})]})},u=function(B,L){var I=B.text;return(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:I})},m=function(B,L){var I=B.text,A=B.defaultText,T=b(B,k);return I?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"span",wordWrap:"break-word"},T,{children:I}))):(0,e.createComponentVNode)(2,u,{text:A})},l=function(B,L){var I=B.noConfirm,A=I===void 0?!1:I,T=b(B,y);return A?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button,Object.assign({},T))):(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button.Confirm,Object.assign({},T)))},d=function(B,L){var I=B.label,A=B.wrapContent,T=B.noWrapContent,E=B.compactLabel,P=E===void 0?!1:E,M=b(B,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Flex,Object.assign({my:.5,mr:"0.5%",spacing:1,align:"center"},M,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:P?0:1,shrink:0,textOverflow:"ellipsis",overflow:"hidden",basis:P?"auto":0,maxWidth:P?"none":20,color:"label",nowrap:!0,children:I}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,textAlign:"center",wordWrap:"break-word",children:A}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:.1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,nowrap:!0,children:T})]})))},s=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data;return(0,e.createComponentVNode)(2,o.Box,{mt:1.5,fontSize:"0.9rem",color:"silver",italic:!0,children:"No options"})},i=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data;return(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.1rem",color:"red",bold:!0,italic:!0,children:"ACCESS DENIED"})},C=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.attachedTag;return(0,e.createComponentVNode)(2,d,{label:"ID tag",wrapContent:(0,e.createComponentVNode)(2,m,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Set",icon:"wrench",onClick:function(){function P(){return A("set_tag")}return P}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Clear",icon:"times-circle",color:"red",disabled:!E,onClick:function(){function P(){return A("clear_tag")}return P}()})],4)})},V=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.frequency,P=T.minFrequency,M=T.maxFrequency,O=T.canReset;return(0,e.createComponentVNode)(2,d,{label:"Frequency",noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.1,stepPixelSize:10,minValue:P/10,maxValue:M/10,value:E/10,format:function(){function R(F){return(0,a.toFixed)(F,1)}return R}(),onChange:function(){function R(F,W){return A("set_frequency",{frequency:W*10})}return R}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"undo",content:"",disabled:!O,tooltip:"Reset",onClick:function(){function R(){return A("reset_frequency")}return R}()})],4)})},v=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.attachedTags;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Linked tags",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add tag",icon:"plus",iconRight:!0,onClick:function(){function P(){return A("add_tag")}return P}()}),children:E.map(function(P,M){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:P})}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{icon:"minus",color:"red",onClick:function(){function O(){return A("remove_tag",{tag_index:M})}return O}()})})})},M)})})},p=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.bolts,P=T.pressureCheck,M=T.temperatureCheck,O=T.oxygenCheck,R=T.toxinsCheck,F=T.nitrogenCheck,W=T.carbonDioxideCheck,j=[{bitflag:1,checked:P,label:"Monitor pressure"},{bitflag:2,checked:M,label:"Monitor temperature"},{bitflag:4,checked:O,label:"Monitor oxygen concentration"},{bitflag:8,checked:R,label:"Monitor plasma concentration"},{bitflag:16,checked:F,label:"Monitor nitrogen concentration"},{bitflag:32,checked:W,label:"Monitor carbon dioxide concentration"}];return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Floor bolts",noWrapContent:(0,e.createComponentVNode)(2,o.Button,{icon:E?"check":"times",selected:E,content:E?"YES":"NO",onClick:function(){function U(){return A("toggle_bolts")}return U}()})}),j.map(function(U){return(0,e.createComponentVNode)(2,d,{label:U.label,noWrapContent:(0,e.createComponentVNode)(2,o.Button.Checkbox,{checked:U.checked,onClick:function(){function K(){return A("toggle_flag",{bitflag:U.bitflag})}return K}()})},U.bitflag)})],0)},g=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.sensors;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Sensors",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add sensor",icon:"plus",iconRight:!0,onClick:function(){function P(){return A("add_sensor")}return P}()}),children:[(0,e.createComponentVNode)(2,d,{mr:0,compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"ID tag"}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"Label"}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:11.3})]})}),Object.keys(E).map(function(P){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:P}),E[P]?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:E[P]}):(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:""})]}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:[(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"edit",onClick:function(){function M(){return A("change_label",{sensor_tag:P})}return M}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"times-circle",color:"orange",disabled:!E[P],onClick:function(){function M(){return A("clear_label",{sensor_tag:P})}return M}()})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:.5}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{px:1.2,icon:"minus",color:"red",onClick:function(){function M(){return A("del_sensor",{sensor_tag:P})}return M}()})})]})},P)})]})},N=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.inputTag,P=T.outputTag,M=T.bufferTag,O=T.bufferFitsInput,R=T.bufferFitsOutput,F=T.doNotLinkAndNotify;return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Input",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,m,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,l,{noConfirm:F||!E,confirmContent:"This will change the intput device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:E&&M===E,disabled:!O,onClick:function(){function W(){return A("link_input")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the intput device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!E,onClick:function(){function W(){return A("unlink_input")}return W}()})],4)}),(0,e.createComponentVNode)(2,d,{label:"Output",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,m,{text:P,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,l,{noConfirm:F||!P,confirmContent:"This will change the output device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:P&&M===P,disabled:!R,onClick:function(){function W(){return A("link_output")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the output device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!P,onClick:function(){function W(){return A("unlink_output")}return W}()})],4)})],4)}},64713:function(w,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(76910),k=n(98595),y=n(3939),S=n(22091),b=["icon","iconSpin","selected","security","onClick","title","children"],h=["name"];function c(B,L){if(B==null)return{};var I={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;I[A]=B[A]}return I}var u=128,m=["security","engineering","medical","science","service","supply"],l={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},d=r.Newscaster=function(){function B(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.is_security,M=E.is_admin,O=E.is_silent,R=E.is_printing,F=E.screen,W=E.channels,j=E.channel_idx,U=j===void 0?-1:j,K=(0,t.useLocalState)(I,"menuOpen",!1),Y=K[0],ne=K[1],$=(0,t.useLocalState)(I,"viewingPhoto",""),le=$[0],de=$[1],oe=(0,t.useLocalState)(I,"censorMode",!1),re=oe[0],Z=oe[1],ae;F===0||F===2?ae=(0,e.createComponentVNode)(2,i):F===1&&(ae=(0,e.createComponentVNode)(2,C));var J=W.reduce(function(X,Q){return X+Q.unread},0);return(0,e.createComponentVNode)(2,k.Window,{theme:P&&"security",width:800,height:600,children:[le?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",Y&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function X(){return ne(!Y)}return X}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:F===0,onClick:function(){function X(){return T("headlines")}return X}(),children:J>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:J>=10?"9+":J})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:F===1,onClick:function(){function X(){return T("jobs")}return X}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:W.map(function(X){return(0,e.createComponentVNode)(2,s,{icon:X.icon,title:X.name,selected:F===2&&W[U-1]===X,onClick:function(){function Q(){return T("channel",{uid:X.uid})}return Q}(),children:X.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:X.unread>=10?"9+":X.unread})},X)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!P||!!M)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function X(){return(0,y.modalOpen)(I,"wanted_notice")}return X}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:re?"minus-square":"minus-square-o",title:"Censor Mode: "+(re?"On":"Off"),mb:"0.5rem",onClick:function(){function X(){return Z(!re)}return X}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function X(){return(0,y.modalOpen)(I,"create_story")}return X}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function X(){return(0,y.modalOpen)(I,"create_channel")}return X}()}),(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 X(){return T("print_newspaper")}return X}()}),(0,e.createComponentVNode)(2,s,{icon:O?"volume-mute":"volume-up",title:"Mute: "+(O?"On":"Off"),onClick:function(){function X(){return T("toggle_mute")}return X}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),ae]})]})})]})}return B}(),s=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=L.icon,P=E===void 0?"":E,M=L.iconSpin,O=L.selected,R=O===void 0?!1:O,F=L.security,W=F===void 0?!1:F,j=L.onClick,U=L.title,K=L.children,Y=c(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:j},Y,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:P,spin:M,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:U}),K]})))},i=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.screen,M=E.is_admin,O=E.channel_idx,R=E.channel_can_manage,F=E.channels,W=E.stories,j=E.wanted,U=(0,t.useLocalState)(I,"fullStories",[]),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"censorMode",!1),$=ne[0],le=ne[1],de=P===2&&O>-1?F[O-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,V,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:de?de.icon:"newspaper",mr:"0.5rem"}),de?de.name:"Headlines"],0),children:W.length>0?W.slice().reverse().map(function(oe){return!K.includes(oe.uid)&&oe.body.length+3>u?Object.assign({},oe,{body_short:oe.body.substr(0,u-4)+"..."}):oe}).map(function(oe,re){return(0,e.createComponentVNode)(2,V,{story:oe},re)}):(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."]})}),!!de&&(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)([$&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!de.admin&&!M,selected:de.censored,icon:de.censored?"comment-slash":"comment",content:de.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function oe(){return T("censor_channel",{uid:de.uid})}return oe}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function oe(){return(0,y.modalOpen)(I,"manage_channel",{uid:de.uid})}return oe}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:de.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:de.author||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:de.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(oe,re){return oe+re.view_count},0).toLocaleString()]})]})})]})},C=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.jobs,M=E.wanted,O=Object.entries(P).reduce(function(R,F){var W=F[0],j=F[1];return R+j.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!M&&(0,e.createComponentVNode)(2,V,{story:M,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({},l[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(F){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!F.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",F.title]},F.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},V=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=L.story,M=L.wanted,O=M===void 0?!1:M,R=(0,t.useLocalState)(I,"fullStories",[]),F=R[0],W=R[1],j=(0,t.useLocalState)(I,"censorMode",!1),U=j[0],K=j[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&&U&&(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 T("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",!O&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),P.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,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,ne){return(0,e.createComponentVNode)(2,o.Box,{children:Y||(0,e.createVNode)(1,"br")},ne)}),P.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function Y(){return W([].concat(F,[P.uid]))}return Y}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(L,I){var A=L.name,T=c(L,h),E=(0,t.useLocalState)(I,"viewingPhoto",""),P=E[0],M=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 M(A)}return O}()},T)))},p=function(L,I){var A=(0,t.useLocalState)(I,"viewingPhoto",""),T=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:T}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function P(){return E("")}return P}()})]})},g=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=!!L.args.uid&&E.channels.filter(function(te){return te.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!P){(0,y.modalClose)(I);return}var M=L.id==="manage_channel",O=!!L.args.is_admin,R=L.args.scanned_user,F=(0,t.useLocalState)(I,"author",(P==null?void 0:P.author)||R||"Unknown"),W=F[0],j=F[1],U=(0,t.useLocalState)(I,"name",(P==null?void 0:P.name)||""),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"description",(P==null?void 0:P.description)||""),$=ne[0],le=ne[1],de=(0,t.useLocalState)(I,"icon",(P==null?void 0:P.icon)||"newspaper"),oe=de[0],re=de[1],Z=(0,t.useLocalState)(I,"isPublic",M?!!(P!=null&&P.public):!1),ae=Z[0],J=Z[1],X=(0,t.useLocalState)(I,"adminLocked",(P==null?void 0:P.admin)===1||!1),Q=X[0],q=X[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:M?"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 te(fe,ye){return j(ye)}return te}()})}),(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 te(fe,ye){return Y(ye)}return te}()})}),(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:$,onInput:function(){function te(fe,ye){return le(ye)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!O,value:oe,width:"35%",mr:"0.5rem",onInput:function(){function te(fe,ye){return re(ye)}return te}()}),(0,e.createComponentVNode)(2,o.Icon,{name:oe,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:ae,icon:ae?"toggle-on":"toggle-off",content:ae?"Yes":"No",onClick:function(){function te(){return J(!ae)}return te}()})}),O&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:Q,icon:Q?"lock":"lock-open",content:Q?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function te(){return q(!Q)}return te}()})})]})}),(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 te(){(0,y.modalAnswer)(I,L.id,"",{author:W,name:K.substr(0,49),description:$.substr(0,128),icon:oe,public:ae?1:0,admin_locked:Q?1:0})}return te}()})]})},N=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.photo,M=E.channels,O=E.channel_idx,R=O===void 0?-1:O,F=!!L.args.is_admin,W=L.args.scanned_user,j=M.slice().sort(function(te,fe){if(R<0)return 0;var ye=M[R-1];if(ye.uid===te.uid)return-1;if(ye.uid===fe.uid)return 1}).filter(function(te){return F||!te.frozen&&(te.author===W||!!te.public)}),U=(0,t.useLocalState)(I,"author",W||"Unknown"),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"channel",j.length>0?j[0].name:""),$=ne[0],le=ne[1],de=(0,t.useLocalState)(I,"title",""),oe=de[0],re=de[1],Z=(0,t.useLocalState)(I,"body",""),ae=Z[0],J=Z[1],X=(0,t.useLocalState)(I,"adminLocked",!1),Q=X[0],q=X[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:!F,width:"100%",value:K,onInput:function(){function te(fe,ye){return Y(ye)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:$,options:j.map(function(te){return te.name}),mb:"0",width:"100%",onSelected:function(){function te(fe){return le(fe)}return te}()})}),(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:oe,onInput:function(){function te(fe,ye){return re(ye)}return te}()})}),(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:ae,onInput:function(){function te(fe,ye){return J(ye)}return te}()})}),(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 te(){return T(P?"eject_photo":"attach_photo")}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:oe,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"}),ae.split("\n").map(function(te,fe){return(0,e.createComponentVNode)(2,o.Box,{children:te||(0,e.createVNode)(1,"br")},fe)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),F&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:Q,icon:Q?"lock":"lock-open",content:Q?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function te(){return q(!Q)}return te}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:K.trim().length===0||$.trim().length===0||oe.trim().length===0||ae.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function te(){(0,y.modalAnswer)(I,"create_story","",{author:K,channel:$,title:oe.substr(0,127),body:ae.substr(0,1023),admin_locked:Q?1:0})}return te}()})]})},x=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.photo,M=E.wanted,O=!!L.args.is_admin,R=L.args.scanned_user,F=(0,t.useLocalState)(I,"author",(M==null?void 0:M.author)||R||"Unknown"),W=F[0],j=F[1],U=(0,t.useLocalState)(I,"name",(M==null?void 0:M.title.substr(8))||""),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"description",(M==null?void 0:M.body)||""),$=ne[0],le=ne[1],de=(0,t.useLocalState)(I,"adminLocked",(M==null?void 0:M.admin_locked)===1||!1),oe=de[0],re=de[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 Z(ae,J){return j(J)}return Z}()})}),(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 Z(ae,J){return Y(J)}return Z}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:$,maxLength:"512",rows:"4",onInput:function(){function Z(ae,J){return le(J)}return Z}()})}),(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 Z(){return T(P?"eject_photo":"attach_photo")}return Z}()}),!!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:oe,icon:oe?"lock":"lock-open",content:oe?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function Z(){return re(!oe)}return Z}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!M,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function Z(){T("clear_wanted_notice"),(0,y.modalClose)(I)}return Z}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||K.trim().length===0||$.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function Z(){(0,y.modalAnswer)(I,L.id,"",{author:W,name:K.substr(0,127),description:$.substr(0,511),admin_locked:oe?1:0})}return Z}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",g),(0,y.modalRegisterBodyOverride)("manage_channel",g),(0,y.modalRegisterBodyOverride)("create_story",N),(0,y.modalRegisterBodyOverride)("wanted_notice",x)},97351:function(w,r,n){"use strict";r.__esModule=!0,r.NinjaBloodScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(39473),f=n(98595),k=r.NinjaBloodScan=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data;return(0,e.createComponentVNode)(2,f.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,f.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S)]})})}return b}(),y=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.vialIcons,s=l.noVialIcon,i=l.bloodOwnerNames,C=l.bloodOwnerSpecies,V=l.bloodOwnerTypes,v=l.blockButtons,p=l.scanStates,g={blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"},N=["NoticeBox_red","NoticeBox","NoticeBox_blue"],x=[1,2,3];return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0431\u0440\u0430\u0437\u0446\u044B",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0442\u0440\u0438 \u043E\u0431\u0440\u0430\u0437\u0446\u0430 \u043A\u0440\u043E\u0432\u0438. \u041C\u0430\u0448\u0438\u043D\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0430 \u043D\u0430 \u0440\u0430\u0431\u043E\u0442\u0443 \u0441 \u043A\u0440\u043E\u0432\u044C\u044E \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0438 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u043B \u0432\u0430\u043C \u043A\u043B\u0430\u043D. \u0420\u0435\u0430\u0433\u0435\u043D\u0442\u044B \u0438\u043C \u043D\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u043D\u0435 \u043F\u0440\u0438\u043C\u0443\u0442\u0441\u044F \u0438\u043B\u0438 \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u044B\u043C",tooltipPosition:"bottom-start"}),children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"center",children:x.map(function(B,L){return(0,e.createComponentVNode)(2,o.FlexItem,{direction:"column",width:"33.3%",ml:L?2:0,children:[(0,e.createComponentVNode)(2,t.Section,{title:i[L]?"\u041A\u0440\u043E\u0432\u044C":"\u041D\u0435\u0442 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",style:{"text-align":"left",background:"rgba(53, 94, 163, 0.5)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:N[p[L]],success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:v?g.disabled:g.blue,height:"100%",width:"100%",disabled:v,onClick:function(){function I(){return m("vial_out",{button_num:L+1})}return I}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+(d[L]||s),style:{"margin-left":"3px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:i[L]||" - ",content:"\u0420\u0430\u0441\u0430: "+(C[L]||" - ")+"\n"+("\u0422\u0438\u043F \u043A\u0440\u043E\u0432\u0438: "+(V[L]||" - ")),position:"bottom"})]})})]},L)})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:v===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:v,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043A\u0440\u043E\u0432\u044C \u0438 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u0430\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043A\u043B\u0430\u043D\u0443.",tooltipPosition:"bottom",onClick:function(){function B(){return m("scan_blood")}return B}()})})]})})},S=function(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.progressBar;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"green",value:l,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",mt:1,children:l?"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 "+(l+"%"):"\u0420\u0435\u0436\u0438\u043C \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F"}),2)})})}},32989:function(w,r,n){"use strict";r.__esModule=!0,r.NinjaMindScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.NinjaMindScan=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.occupantIcon,l=u.occupant_name,d=u.occupant_health,s=u.scanned_occupants,i=l==="none"?1:0;return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435.",tooltipPosition:"left"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{shrink:1,alignContent:"left",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,width:"90px",align:"left",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},align:"left",children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+m,style:{"margin-left":"-28px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,alignContent:"right",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",success:0,danger:0,align:"left",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0418\u043C\u044F",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",children:d})]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",mt:2.5,success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:i===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:i,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438 \u043F\u044B\u0442\u0430\u0435\u0442\u0441\u044F \u0434\u043E\u0431\u044B\u0442\u044C \u0438\u0437 \u0435\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u0443\u044E \u043A\u043B\u0430\u043D\u0443 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E.",tooltipPosition:"bottom-start",onClick:function(){function C(){return c("scan_occupant")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{className:i===0?"":"Button_disabled",content:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",width:"250px",textAlign:"center",disabled:i,tooltip:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438\u0437 \u043A\u0430\u043F\u0441\u0443\u043B\u044B",tooltipPosition:"bottom-start",onClick:function(){function C(){return c("go_out")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{className:i===0?"":"Button_disabled",content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",width:"250px",textAlign:"center",disabled:i,tooltip:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0441 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u043D \u0431\u044B\u043B \u043F\u043E\u0445\u0438\u0449\u0435\u043D. \u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0435\u0433\u043E \u0437\u0430\u043F\u0443\u0433\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u044D\u0442\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u043D\u0435 \u0440\u0430\u0437\u0431\u043E\u043B\u0442\u0430\u043B \u043E \u0432\u0430\u0441.",tooltipPosition:"bottom-start",onClick:function(){function C(){return c("teleport_out")}return C}()})]})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043F\u0438\u0441\u043E\u043A \u0443\u0436\u0435 \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u043C\u0438 \u043B\u044E\u0434\u0435\u0439",align:"center",backgroundColor:"rgba(0, 0, 0, 0.4)",children:(0,e.createComponentVNode)(2,t.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:s.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Box,{children:C.scanned_occupant})})},C.scanned_occupant)})})})})]})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;return c.extended?(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,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:c.authdisk?"eject":"id-card",selected:c.authdisk,content:c.diskname?c.diskname:"-----",tooltip:c.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function u(){return h("auth")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!c.authdisk,selected:c.authcode,content:c.codemsg,onClick:function(){function u(){return h("code")}return u}()})})]})}),(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:c.anchored?"check":"times",selected:c.anchored,disabled:!c.authfull,content:c.anchored?"YES":"NO",onClick:function(){function u(){return h("toggle_anchor")}return u}()})}),c.authfull&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:c.time,disabled:!c.authfull,tooltip:"Set Timer",onClick:function(){function u(){return h("set_time")}return u}()})})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",color:c.timer?"red":"",children:c.time+"s"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.safety?"check":"times",selected:c.safety,disabled:!c.authfull,content:c.safety?"ON":"OFF",tooltip:c.safety?"Disable Safety":"Enable Safety",onClick:function(){function u(){return h("toggle_safety")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(c.timer,"bomb"),disabled:c.safety||!c.authfull,color:"red",content:c.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function u(){return h("toggle_armed")}return u}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function u(){return h("deploy")}return u}()})})})})}return k}()},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),k=n(36036),y=n(98595),S=r.NumberInputModal=function(){function h(c,u){var m=(0,f.useBackend)(u),l=m.act,d=m.data,s=d.init_value,i=d.large_buttons,C=d.message,V=C===void 0?"":C,v=d.timeout,p=d.title,g=(0,f.useLocalState)(u,"input",s),N=g[0],x=g[1],B=function(){function A(T){T!==N&&x(T)}return A}(),L=function(){function A(T){T!==N&&x(T)}return A}(),I=140+Math.max(Math.ceil(V.length/3),V.length>0&&i?5:0);return(0,e.createComponentVNode)(2,y.Window,{title:p,width:270,height:I,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function A(T){var E=window.event?T.which:T.keyCode;E===o.KEY_ENTER&&l("submit",{entry:N}),E===o.KEY_ESCAPE&&l("cancel")}return A}(),children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,children:(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k.Box,{color:"label",children:V})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{input:N,onClick:L,onChange:B})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:N})})]})})})]})}return h}(),b=function(c,u){var m=(0,f.useBackend)(u),l=m.act,d=m.data,s=d.min_value,i=d.max_value,C=d.init_value,V=d.round_value,v=c.input,p=c.onClick,g=c.onChange,N=Math.round(v!==s?Math.max(v/2,s):i/2),x=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,k.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function B(){return p(s)}return B}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!V,minValue:s,maxValue:i,onChange:function(){function B(L,I){return g(I)}return B}(),onEnter:function(){function B(L,I){return l("submit",{entry:I})}return B}(),value:v})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:v===i,icon:"angle-double-right",onClick:function(){function B(){return p(i)}return B}(),tooltip:v===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:x,icon:"divide",onClick:function(){function B(){return p(N)}return B}(),tooltip:x?"Split":"Split ("+N+")"})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:v===C,icon:"redo",onClick:function(){function B(){return p(C)}return B}(),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),k=[["good","\u0412 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],y=[["\u0423\u0434\u0443\u0448\u0435\u043D\u0438\u0435","oxyLoss"],["\u0422\u043E\u043A\u0441\u0438\u043D\u044B","toxLoss"],["\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","bruteLoss"],["\u041E\u0436\u043E\u0433\u0438","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.OperatingComputer=function(){function l(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.hasOccupant,p=V.choice,g;return p?g=(0,e.createComponentVNode)(2,m):g=v?(0,e.createComponentVNode)(2,c):(0,e.createComponentVNode)(2,u),(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 N(){return C("choiceOff")}return N}(),children:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function N(){return C("choiceOn")}return N}(),children:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:g})})]})})})}return l}(),c=function(d,s){var i=(0,t.useBackend)(s),C=i.data,V=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:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0418\u043C\u044F",children:V.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:k[V.stat][0],children:k[V.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:V.maxHealth,value:V.health/V.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(v,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:v[0],children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:V[v[1]]/100,ranges:S,children:(0,a.round)(V[v[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0442\u0435\u043B\u0430",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:V.maxTemp,value:V.bodyTemperature/V.maxTemp,color:b[V.temperatureSuitability+3],children:[(0,a.round)(V.btCelsius),"\xB0C, ",(0,a.round)(V.btFaren),"\xB0F"]})}),!!V.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043A\u0440\u043E\u0432\u0438",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:V.bloodMax,value:V.bloodLevel/V.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[V.bloodPercent,"%, ",V.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041F\u0443\u043B\u044C\u0441",children:[V.pulse," \u0443\u0434/\u043C\u0438\u043D"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"\u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438",level:"2",children:V.inSurgery?V.surgeries.map(function(v){var p=v.bodypartName,g=v.surgeryName,N=v.stepName;return(0,e.createComponentVNode)(2,f.Section,{title:p,level:"4",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u044F",children:g}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u044D\u0442\u0430\u043F",children:N})]})},p)}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0432 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u043D\u0435 \u043F\u0440\u043E\u0432\u043E\u0434\u044F\u0442\u0441\u044F."})})})]})},u=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"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})},m=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.verbose,p=V.health,g=V.healthAlarm,N=V.oxy,x=V.oxyAlarm,B=V.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0414\u0438\u043D\u0430\u043C\u0438\u043A",children:(0,e.createComponentVNode)(2,f.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",onClick:function(){function L(){return C(v?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0430\u0442\u044C \u043E \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function L(){return C(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041F\u043E\u0440\u043E\u0433 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:g,stepPixelSize:5,ml:"0",onChange:function(){function L(I,A){return C("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0430\u0442\u044C \u043E \u0434\u044B\u0445\u0430\u043D\u0438\u0438 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:(0,e.createComponentVNode)(2,f.Button,{selected:N,icon:N?"toggle-on":"toggle-off",content:N?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function L(){return C(N?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041F\u043E\u0440\u043E\u0433 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E \u0434\u044B\u0445\u0430\u043D\u0438\u0438",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:x,stepPixelSize:5,ml:"0",onChange:function(){function L(I,A){return C("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0430\u0442\u044C \u043E \u043A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u043C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:(0,e.createComponentVNode)(2,f.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function L(){return C(B?"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);function k(s,i){var C=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(C)return(C=C.call(s)).next.bind(C);if(Array.isArray(s)||(C=y(s))||i&&s&&typeof s.length=="number"){C&&(s=C);var V=0;return function(){return V>=s.length?{done:!0}:{done:!1,value:s[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 y(s,i){if(s){if(typeof s=="string")return S(s,i);var C={}.toString.call(s).slice(8,-1);return C==="Object"&&s.constructor&&(C=s.constructor.name),C==="Map"||C==="Set"?Array.from(s):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?S(s,i):void 0}}function S(s,i){(i==null||i>s.length)&&(i=s.length);for(var C=0,V=Array(i);CC},u=function(i,C){var V=i.name,v=C.name;if(!V||!v)return 0;var p=V.match(b),g=v.match(b);if(p&&g&&V.replace(b,"")===v.replace(b,"")){var N=parseInt(p[1],10),x=parseInt(g[1],10);return N-x}return c(V,v)},m=function(i,C){var V=(0,t.useBackend)(C),v=V.act,p=i.searchText,g=i.source,N=i.title,x=g.filter(h(p));return x.sort(u),g.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+g.length+")",children:x.map(function(B){return(0,e.createComponentVNode)(2,o.Button,{content:B.name,onClick:function(){function L(){return v("orbit",{ref:B.ref})}return L}()},B.name)})})},l=function(i,C){var V=(0,t.useBackend)(C),v=V.act,p=i.color,g=i.thing;return(0,e.createComponentVNode)(2,o.Button,{color:p,onClick:function(){function N(){return v("orbit",{ref:g.ref})}return N}(),children:g.name})},d=r.Orbit=function(){function s(i,C){for(var V=(0,t.useBackend)(C),v=V.act,p=V.data,g=p.alive,N=p.antagonists,x=p.highlights,B=p.auto_observe,L=p.dead,I=p.ghosts,A=p.misc,T=p.npcs,E=(0,t.useLocalState)(C,"searchText",""),P=E[0],M=E[1],O={},R=k(N),F;!(F=R()).done;){var W=F.value;O[W.antag]===void 0&&(O[W.antag]=[]),O[W.antag].push(W)}var j=Object.entries(O);j.sort(function(K,Y){return c(K[0],Y[0])});var U=function(){function K(Y){for(var ne=0,$=[j.map(function(oe){var re=oe[0],Z=oe[1];return Z}),x,g,I,L,T,A];ne<$.length;ne++){var le=$[ne],de=le.filter(h(Y)).sort(u)[0];if(de!==void 0){v("orbit",{ref:de.ref});break}}}return K}();return(0,e.createComponentVNode)(2,f.Window,{width:700,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:"search",mr:1})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search...",autoFocus:!0,fluid:!0,value:P,onInput:function(){function K(Y,ne){return M(ne)}return K}(),onEnter:function(){function K(Y,ne){return U(ne)}return K}()})}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Button,{inline:!0,color:"transparent",tooltip:"Refresh",tooltipPosition:"bottom-start",icon:"sync-alt",onClick:function(){function K(){return v("refresh")}return K}()})})]})}),N.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:j.map(function(K){var Y=K[0],ne=K[1];return(0,e.createComponentVNode)(2,o.Section,{title:Y,level:2,children:ne.filter(h(P)).sort(u).map(function($){return(0,e.createComponentVNode)(2,l,{color:"bad",thing:$},$.name)})},Y)})}),x.length>0&&(0,e.createComponentVNode)(2,m,{title:"Highlights",source:x,searchText:P,color:"teal"}),(0,e.createComponentVNode)(2,o.Section,{title:"Alive - ("+g.length+")",children:g.filter(h(P)).sort(u).map(function(K){return(0,e.createComponentVNode)(2,l,{color:"good",thing:K},K.name)})}),(0,e.createComponentVNode)(2,o.Section,{title:"Ghosts - ("+I.length+")",children:I.filter(h(P)).sort(u).map(function(K){return(0,e.createComponentVNode)(2,l,{color:"grey",thing:K},K.name)})}),(0,e.createComponentVNode)(2,m,{title:"Dead",source:L,searchText:P}),(0,e.createComponentVNode)(2,m,{title:"NPCs",source:T,searchText:P}),(0,e.createComponentVNode)(2,m,{title:"Misc",source:A,searchText:P})]})})}return s}()},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),k=n(9394);function y(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var S=(0,k.createLogger)("OreRedemption"),b=function(C){return C.toLocaleString("en-US")+" pts"},h=r.OreRedemption=function(){function i(C,V){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,c,{height:"100%"})}),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m)]})})})}return i}(),c=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.id,x=g.points,B=g.disk,L=Object.assign({},(y(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:"ID card",children:N?(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,verticalAlign:"middle",icon:"eject",content:N.name,tooltip:"Ejects the ID card.",onClick:function(){function I(){return p("eject_id")}return I}(),style:{"white-space":"pre-wrap"}}):(0,e.createComponentVNode)(2,o.Button,{icon:"sign-in-alt",content:"Insert",tooltip:"Hold the ID card in your hand to insert.",onClick:function(){function I(){return p("insert_id")}return I}()})}),N&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:b(N.points)})}),N&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:b(N.total_points)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:x>0?"good":"grey",bold:x>0&&"good",children:b(x)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!N,icon:"hand-holding-usd",content:"Claim",onClick:function(){function I(){return p("claim")}return I}()})})]}),(0,e.createComponentVNode)(2,o.Divider),B?(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:B.name,tooltip:"Ejects the design disk.",onClick:function(){function I(){return p("eject_disk")}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:B.design&&(B.compatible?"good":"bad"),children:B.design||"N/A"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!B.design||!B.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function I(){return p("download")}return I}()})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},u=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.sheets,x=Object.assign({},(y(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,l,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),N.map(function(B){return(0,e.createComponentVNode)(2,d,{ore:B},B.id)})]})))})},m=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.alloys,x=Object.assign({},(y(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,l,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),N.map(function(B){return(0,e.createComponentVNode)(2,s,{ore:B},B.id)})]})))})},l=function(C,V){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)})]})})},d=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=C.ore;if(!(g.value&&g.amount<=0&&!(["metal","glass"].indexOf(g.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",g.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:g.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:g.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(g.amount,50),stepPixelSize:6,onChange:function(){function N(x,B){return p(g.value?"sheet":"alloy",{id:g.id,amount:B})}return N}()})})]})})},s=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=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",g.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:g.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:g.amount>=1?"good":"gray",align:"center",children:g.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.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(g.amount,50),stepPixelSize:6,onChange:function(){function N(x,B){return p(g.value?"sheet":"alloy",{id:g.id,amount:B})}return N}()})})]})})}},30373: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),k=n(70752),y=function(h){var c;try{c=k("./"+h+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",h);throw m}var u=c[h];return u||(0,f.routingError)("missingExport",h)},S=r.PAI=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.app_template,s=l.app_icon,i=l.app_title,C=y(d);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.Section,{title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,d!=="pai_main_menu"&&(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Home",icon:"arrow-up",onClick:function(){function V(){return m("MASTER_back")}return V}()})]}),p:1,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),k=n(59395),y=function(u){var m;try{m=k("./"+u+".js")}catch(d){if(d.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",u);throw d}var l=m[u];return l||(0,f.routingError)("missingExport",u)},S=r.PDA=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=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 V=y(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,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:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,V)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,h)})]})})})}return c}(),b=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.idInserted,C=s.idLink,V=s.stationTime,v=s.cartridge_name,p=s.request_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 g(){return d("Authenticate")}return g}(),content:i?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 g(){return d("Eject")}return g}(),content:v?["Eject "+v]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function g(){return d("Eject_Request")}return g}(),content:p?["Eject "+p]:"No Request Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:V})]})},h=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function C(){return d("Back")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){d("Home")}return C}()})})]})})}},38280:function(w,r,n){"use strict";r.__esModule=!0,r.PDAPainter=r.PDAColorRow=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=r.PDAPainter=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.statusLabel,l=u.pdaTypes,d=u.hasPDA,s=u.pdaIcon,i=u.pdaIconState,C=u.pdaOwnerName,V=u.pdaJobName;return(0,e.createComponentVNode)(2,t.Window,{width:545,height:350,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{spacing:1,direction:"row",height:"100%",flex:"1",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:24,shrink:0,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u0431\u0449\u0435\u0435",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:d?"eject":"exclamation-triangle",selected:d,content:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C":"-----",tooltip:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C PDA":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C PDA",tooltipPosition:"left",onClick:function(){function v(){return c(d?"eject_pda":"insert_pda")}return v}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:C||"\u041D/\u0414"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C",children:V||"\u041D/\u0414"})]})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",direction:"column",flex:"1",children:(0,e.createComponentVNode)(2,o.Flex.Item,{children:[(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.DmIcon,{height:"160px",icon:s,icon_state:i,style:{"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"},align:"middle"})}),(0,e.createComponentVNode)(2,o.LabeledList,{m:"5px",children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",children:m})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{m:"5px",fluid:!0,disabled:!d,content:"\u0421\u0442\u0435\u0440\u0435\u0442\u044C PDA",confirmContent:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C?",textAlign:"left",color:"red",tooltip:"C\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043D\u0430 \u0437\u0430\u0432\u043E\u0434\u0441\u043A\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltipPosition:"top",onClick:function(){function v(){return c("erase_pda")}return v}()})]})})})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:27,children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",flex:"1",children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0426\u0432\u0435\u0442 PDA",flexGrow:"1",scrollable:!0,fill:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:Object.keys(l).map(function(v){return(0,e.createComponentVNode)(2,k,{selectedPda:v,selectedPdaIcon:l[v][0]},v)})})})})})]})})})}return y}(),k=r.PDAColorRow=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.hasPDA,l=u.pdaIcon,d=S.selectedPda;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.DmIcon,{icon:l,icon_state:d,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,disabled:!m,icon:d,content:d,confirmContent:"\u041F\u043E\u043A\u0440\u0430\u0441\u0438\u0442\u044C?",textAlign:"left",onClick:function(){function s(){return c("choose_pda",{selectedPda:d})}return s}()})})]})}return y}()},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),k=r.Pacman=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.broken,l=u.anchored,d=u.active,s=u.fuel_type,i=u.fuel_usage,C=u.fuel_stored,V=u.fuel_cap,v=u.is_ai,p=u.tmp_current,g=u.tmp_max,N=u.tmp_overheat,x=u.output_max,B=u.power_gen,L=u.output_set,I=u.has_fuel,A=C/V,T=p/g,E=L*B,P=Math.round(C/i),M=Math.round(P/60),O=P>120?M+" minutes":P+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(m||!l)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!m&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!m&&!l&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!m&&!!l&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!I,selected:d,onClick:function(){function R(){return c("toggle_power")}return R}()}),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:L,minValue:1,maxValue:x,step:1,className:"mt-1",onDrag:function(){function R(F,W){return c("change_power",{change_power:W})}return R}()}),"(",(0,f.formatPower)(E),")"]})})}),(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:T,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[p," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[N>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),N>20&&N<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),N>1&&N<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),N===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:d||v||!I,onClick:function(){function R(){return c("eject_fuel")}return R}()}),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:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(C/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:[i/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!I&&(i?O:"N/A"),!I&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},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 c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.busy,d=m.category,s=m.display_craftable_only,i=m.display_compact,C=m.prev_cat,V=m.next_cat,v=m.subcategory,p=m.prev_subcat,g=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:[!!l&&(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:d,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 N(){return u("toggle_recipes")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function N(){return u("toggle_compact")}return N}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function N(){return u("backwardCat")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:V,icon:"arrow-right",onClick:function(){function N(){return u("forwardCat")}return N}()})]}),v&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function N(){return u("backwardSubCat")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"arrow-right",onClick:function(){function N(){return u("forwardSubCat")}return N}()})]}),i?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,y)]})]})})}return S}(),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.display_craftable_only,d=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return u("make",{make:i.ref})}return C}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!l&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.display_craftable_only,d=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[d.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return u("make",{make:i.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!l&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},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=n(88510),k=n(64795),y=n(25328);function S(m,l){var d=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(d)return(d=d.call(m)).next.bind(d);if(Array.isArray(m)||(d=b(m))||l&&m&&typeof m.length=="number"){d&&(m=d);var s=0;return function(){return s>=m.length?{done:!0}:{done:!1,value:m[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(m,l){if(m){if(typeof m=="string")return h(m,l);var d={}.toString.call(m).slice(8,-1);return d==="Object"&&m.constructor&&(d=m.constructor.name),d==="Map"||d==="Set"?Array.from(m):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?h(m,l):void 0}}function h(m,l){(l==null||l>m.length)&&(l=m.length);for(var d=0,s=Array(l);dm?this.substring(0,m)+"...":this};var c=function(l,d){d===void 0&&(d="");var s=(0,y.createSearch)(d,function(i){return i.altername});return(0,k.flow)([(0,f.filter)(function(i){return i==null?void 0:i.altername}),d&&(0,f.filter)(s),(0,f.sortBy)(function(i){return i.id})])(l)},u=r.Photocopier=function(){function m(l,d){for(var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=C.copies,v=C.maxcopies,p=(0,a.useLocalState)(d,"searchText",""),g=p[0],N=p[1],x=c((0,f.sortBy)(function(O){return O.category})(C.forms||[]),g),B=[],L=S(x),I;!(I=L()).done;){var A=I.value;B.includes(A.category)||B.push(A.category)}var T=(0,a.useLocalState)(d,"number",0),E=T[0],P=T[1],M;return C.category===""?M=x:M=x.filter(function(O){return O.category===C.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:C.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:C.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:C.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":C.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!C.copyitem&&!C.mob,icon:C.copyitem||C.mob?"eject":"times",content:C.copyitem?C.copyitem:C.mob?"\u0416\u043E\u043F\u0430 "+C.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function O(){return i("removedocument")}return O}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!C.folder,icon:C.folder?"eject":"times",content:C.folder?C.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function O(){return i("removefolder")}return O}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:C.toner===0||C.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function O(){return i("print_form")}return O}()})}),!!C.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:C.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function O(){return i("ai_pic")}return O}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:C.toner===0||!C.copyitem&&!C.mob,onClick:function(){function O(){return i("copy")}return O}()})}),!!C.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:C.toner===0,onClick:function(){function O(){return i("ai_text")}return O}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:v,value:V,stepPixelSize:10,onChange:function(){function O(R,F){return i("copies",{new:F})}return O}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!C.category,onClick:function(){function O(){return i("choose_category",{category:""})}return O}()})}),B.map(function(O){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:O,selected:C.category===O,onClick:function(){function R(){return i("choose_category",{category:O})}return R}()},O)},O)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:C.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function O(R,F){return N(F)}return O}()}),children:M.map(function(O){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:O.altername.trimLongStr(37),tooltip:O.altername,selected:C.form_id===O.id,onClick:function(){function R(){return i("choose_form",{path:O.path,id:O.id})}return R}()})},O.path)})})})]})})})}return m}()},49177:function(w,r,n){"use strict";r.__esModule=!0,r.PlayerPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=["checked"];function k(p,g){if(p==null)return{};var N={};for(var x in p)if({}.hasOwnProperty.call(p,x)){if(g.includes(x))continue;N[x]=p[x]}return N}var y=function(g,N){var x,B={ghost:["ghost","dead","observer"],human:["human","carbon"],monkey:["monkey"],cyborg:["cyborg","robot","borg"],ai:["ai","artificial intelligence"],animal:["simple","animal"]};return((x=B[N])==null?void 0:x.some(function(L){return g.toLowerCase().includes(L)}))||!1},S=r.PlayerPanel=function(){function p(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(){function A(T,E){E===void 0&&(E={}),B(T,Object.assign({selectedPlayerCkey:L.ckey},E))}return A}();return(0,e.createComponentVNode)(2,o.Window,{title:"Options Panel - "+L.ckey,width:800,height:950,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function A(){return I("refresh")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Old Panel",onClick:function(){function A(){return I("old_pp")}return A}()})]}),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})})})}return p}(),b=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=(0,a.useLocalState)(N,"show_ip",!1),A=I[0],T=I[1],E=(0,a.useLocalState)(N,"show_cid",!1),P=E[0],M=E[1],O=function(F,W){W===void 0&&(W={}),B(F,Object.assign({selectedPlayerCkey:L.ckey},W))};return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Player Information",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Character:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.characterName}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Ckey:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.ckey})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.rank}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Discord:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.discord})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Account Registered:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.accountRegistered}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Playtime as Crew:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:L.playtime,onClick:function(){function R(){return O("playtime")}return R}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"CID:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:P?L.CID:"Hidden",onClick:function(){function R(){return M(!P)}return R}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"IP Address:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:A?L.ipAddress:"Hidden",onClick:function(){function R(){return T(!A)}return R}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Mob Type:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.mobType}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Byond Version:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.byondVersion})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Related By CID:"}),(0,e.createComponentVNode)(2,t.Button,{content:"Related by CID",color:"blue",onClick:function(){function R(){return O("relatedbycid")}return R}()}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Related By IP:"}),(0,e.createComponentVNode)(2,t.Button,{content:"Related by IP",color:"blue",onClick:function(){function R(){return O("relatedbyip")}return R}()})]})]})})})},h=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,u)})]}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,l)})]}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s)]}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,C)]})]}),(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,V)})})]})},c=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(P,M){M===void 0&&(M={}),B(P,Object.assign({selectedPlayerCkey:L.ckey},M))},A=function(P){return L.adminRights.toLowerCase().includes(P)||!1},T=function(){return L.ckey!=="NO CKEY"};return(0,e.createComponentVNode)(2,t.Section,{title:"Punish",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"times",content:"KICK",color:"red",tooltip:T?null:"NO CKEY",disabled:!T(),onClick:function(){function E(){return I("kick")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ban",content:"JOBBAN",color:"red",tooltip:T?null:"NO CKEY",disabled:!A("ban")||!T(),onClick:function(){function E(){return I("jobban")}return E}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"bullseye",content:"ADD TO WATCHLIST",color:"red",tooltip:T?null:"NO CKEY",disabled:!T(),onClick:function(){function E(){return I("watchlist")}return E}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ban",content:"BAN",color:"red",tooltip:T?null:"NO CKEY",disabled:!A("ban")||!T(),onClick:function(){function E(){return I("ban")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ban",content:"APPEARANCE BAN",color:"red",tooltip:T?null:"NO CKEY",disabled:!A("ban")||!T(),onClick:function(){function E(){return I("appban")}return E}()}),A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"bolt",content:"SMITE",color:"red",hidden:!A("event"),onClick:function(){function E(){return I("smite")}return E}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"hand-holding-heart",content:"BLESS",onClick:function(){function E(){return I("bless")}return E}()}):null]})]})})},u=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Message",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"comment",content:"PM",onClick:function(){function T(){return I("pm")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"comment-alt",content:"NARRATE",onClick:function(){function T(){return I("narrate")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user-secret",content:"SEND ALERT",onClick:function(){function T(){return I("sendalert")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user-secret",content:"SM",disabled:!A("event"),onClick:function(){function T(){return I("sm")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"crown",content:"MAN UP",onClick:function(){function T(){return I("manup")}return T}()}):null,A("sound")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"music",content:"PLAY SOUND TO",onClick:function(){function T(){return I("playsoundto")}return T}()}):null]})]})})},m=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Movement",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eye",content:"FLW",onClick:function(){function T(){return I("flw")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"download",content:"GET",onClick:function(){function T(){return I("get")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"paper-plane",content:"SEND",onClick:function(){function T(){return I("send")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"running",content:"JUMPTO",onClick:function(){function T(){return I("jumpto")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"sign-out-alt",content:"LOBBY",onClick:function(){function T(){return I("lobby")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"columns",content:"SEND TO CRYO",onClick:function(){function T(){return I("cryo")}return T}()}):null]})]})})},l=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"book",content:"LOGS",onClick:function(){function T(){return I("logs")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"clipboard",content:"NOTES",onClick:function(){function T(){return I("notes")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eye",content:"PLAYTIME",onClick:function(){function T(){return I("playtime")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"globe",content:"GEOIP",onClick:function(){function T(){return I("geoip")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user-secret",content:"TRAITOR PANEL",onClick:function(){function T(){return I("tp")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"code",content:"VV",onClick:function(){function T(){return I("vv")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"database",content:"CHECK GLOBAL CCDB",onClick:function(){function T(){return I("ccdb")}return T}()}):null]})]})})},d=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return A("spawn")?(0,e.createComponentVNode)(2,t.Section,{title:"Transformation",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ghost",content:"MAKE GHOST",color:y(L.mobType,"ghost")?"good":"",onClick:function(){function T(){return I("makeghost")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user",content:"MAKE HUMAN",color:y(L.mobType,"human")?"good":"",onClick:function(){function T(){return I("makehuman")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"paw",content:"MAKE MONKEY",color:y(L.mobType,"monkey")?"good":"",onClick:function(){function T(){return I("makemonkey")}return T}()})]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"robot",content:"MAKE CYBORG",color:y(L.mobType,"cyborg")?"good":"",onClick:function(){function T(){return I("makeborg")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"microchip",content:"MAKE AI",color:y(L.mobType,"ai")?"good":"",onClick:function(){function T(){return I("makeai")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"microchip",content:"ANIMALIZE",color:y(L.mobType,"animal")?"good":"",onClick:function(){function T(){return I("makeanimal")}return T}()})]})]})}):null},s=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return y(L.mobType,"ghost")?(0,e.createComponentVNode)(2,t.Section,{title:"Observer",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"TOGGLE RESPAWNABILITY",onClick:function(){function T(){return I("respawnability")}return T}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"staff-snake",content:"RE-INCARNATE",disabled:!A("spawn"),onClick:function(){function T(){return I("reviveghost")}return T}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"heart",content:"HEALTHSCAN",onClick:function(){function T(){return I("healthscan")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GIVE DISEASE",onClick:function(){function T(){return I("giveDisease")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"CURE DISEASE",onClick:function(){function T(){return I("cureDisease")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"CURE ALL BAD DISEASES",onClick:function(){function T(){return I("cureAllDiseases")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"CHEMSCAN",onClick:function(){function T(){return I("chemscan")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"plus",content:"REJUVINATE",disabled:!A("rejuvinate"),onClick:function(){function T(){return I("aheal")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"dna",content:"SHOW DNA",onClick:function(){function T(){return I("mutate")}return T}()}):null]})]})})},i=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return A("admin")?(0,e.createComponentVNode)(2,t.Section,{title:"Mob Manipulation",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"pencil",content:"MOB RANDOM NAME",onClick:function(){function T(){return I("randomizename")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"shirt",content:"SELECT EQUIPMENT",disabled:!A("event"),onClick:function(){function T(){return I("selectequip")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"microphone",content:"CHANGE VOICE",onClick:function(){function T(){return I("changevoice")}return T}()}),A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"circle-user",content:"MIRROR UI TO ADMIN",onClick:function(){function T(){return I("mirroradmin")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"pen",content:"CHARACTER RANDOM NAME",onClick:function(){function T(){return I("userandomname")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eraser",content:"ERASE FLAVOR",onClick:function(){function T(){return I("eraseflavortext")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"shirt",content:"CHECK CONTENTS",onClick:function(){function T(){return I("checkcontents")}return T}()}),A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"circle-user",content:"MIRROR UI TO PLAYER",onClick:function(){function T(){return I("mirrorplayer")}return T}()}):null]})]})}):null},C=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Misc",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"gavel",content:"THUNDERDOME 1",onClick:function(){function T(){return I("thunderdome1")}return T}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"gavel",content:"THUNDERDOME 2",onClick:function(){function T(){return I("thunderdome2")}return T}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"comment",content:"FORCESAY",onClick:function(){function T(){return I("forcesay")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"handcuffs",content:"PRISON",onClick:function(){function T(){return I("prison")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"SYNDI JAIL RELEASE",onClick:function(){function T(){return I("contractor_release")}return T}()}):null,A("event")||A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cookie",content:"SPAWN COOKIE",onClick:function(){function T(){return I("spawncookie")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"gavel",content:"THUNDERDOME ADMIN",onClick:function(){function T(){return I("thunderdomeadmin")}return T}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eye",content:"THUNDERDOME OBSERVER",onClick:function(){function T(){return I("thunderdomeobserver")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"wheelchair-move",content:"AROOM WRAP",onClick:function(){function T(){return I("adminroom")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"SYNDI JAIL START",onClick:function(){function T(){return I("contractor_start")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"SYNDI JAIL STOP",onClick:function(){function T(){return I("contractor_stop")}return T}()}):null,(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Some Admin Button",onClick:function(){function T(){return I("someadminbutton")}return T}()})]})]})})},V=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){L.ckey&&I("toggleMute",{type:E})};return(0,e.createComponentVNode)(2,t.Section,{title:"Mute Controls",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:7,children:[(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.ic,onClick:function(){function T(){return A("ic")}return T}(),content:"IC"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.ooc,onClick:function(){function T(){return A("ooc")}return T}(),content:"OOC"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.pray,onClick:function(){function T(){return A("pray")}return T}(),content:"PRAY"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.emote,onClick:function(){function T(){return A("emote")}return T}(),content:"EMOTE"})]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.adminhelp,onClick:function(){function T(){return A("adminhelp")}return T}(),content:"ADMINHELP"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.deadchat,onClick:function(){function T(){return A("deadchat")}return T}(),content:"DEADCHAT"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.all,onClick:function(){function T(){return A("all")}return T}(),content:"ALL"})]})]})})},v=function(g){var N=g.checked,x=k(g,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:N?"red":"green",icon:N?"check-square-o":"square-o"},x)))}},94158:function(w,r,n){"use strict";r.__esModule=!0,r.PodTracking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PodTracking=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.pods;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:u.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Position",children:[m.podx,", ",m.pody,", ",m.podz]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pilot",children:m.pilot}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Passengers",children:m.passengers})]})},m.name)})})})}return k}()},70857:function(w,r,n){"use strict";r.__esModule=!0,r.PollListPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PollListPanel=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.polls||{};return(0,e.createComponentVNode)(2,o.Window,{title:"Poll List Panel",width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Poll List Panel",children:["Currently running polls Note when editing polls or their options changes are not saved until you press Sumbit Poll.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"New Poll",onClick:function(){function m(){return h("newpoll")}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m.question,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",onClick:function(){function l(){return h("editpoll",{poll_to_edit:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",onClick:function(){function l(){return h("deletepoll",{poll_to_delete:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Results",onClick:function(){function l(){return h("resultspoll",{poll_to_result:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Box,{children:m.description}),(0,e.createComponentVNode)(2,t.Divider)]},"poll")})})]})})})}return k}()},45736:function(w,r,n){"use strict";r.__esModule=!0,r.PollManagement=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(94798),f=n(98595),k=r.PollManagement=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.poll,d=m.has_poll,s=m.poll_types,i=m.interval_types,C=(0,a.useLocalState)(h,"question",l.question),V=C[0],v=C[1],p=(0,a.useLocalState)(h,"poll_type",l.poll_type),g=p[0],N=p[1],x=(0,a.useLocalState)(h,"options_allowed",l.options_allowed),B=x[0],L=x[1],I=(0,a.useLocalState)(h,"admin_only",l.admin_only),A=I[0],T=I[1],E=(0,a.useLocalState)(h,"dont_show",l.dont_show),P=E[0],M=E[1],O=(0,a.useLocalState)(h,"allow_revoting",l.allow_revoting),R=O[0],F=O[1],W=(0,a.useLocalState)(h,"interval",l.interval),j=W[0],U=W[1],K=(0,a.useLocalState)(h,"duration",l.duration),Y=K[0],ne=K[1],$=(0,a.useLocalState)(h,"start_datetime",l.start_datetime),le=$[0],de=$[1],oe=(0,a.useLocalState)(h,"end_datetime",l.end_datetime),re=oe[0],Z=oe[1],ae=(0,a.useLocalState)(h,"subtitle",l.subtitle),J=ae[0],X=ae[1],Q=(0,a.useLocalState)(h,"minimum_playtime",l.minimum_playtime),q=Q[0],te=Q[1],fe=(0,a.useLocalState)(h,"run_duration",l.run_duration),ye=fe[0],pe=fe[1],Le=(0,a.useLocalState)(h,"run_start",l.run_start),D=Le[0],ie=Le[1],se=(0,a.useLocalState)(h,"clear_votes",l.clear_votes),Ce=se[0],he=se[1];return(0,e.createComponentVNode)(2,f.Window,{title:"Poll Management",width:600,height:640,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Poll Creation",children:[(0,e.createComponentVNode)(2,t.Box,{children:["Question:",(0,e.createComponentVNode)(2,t.Input,{width:40,placeholder:"Question goes here",value:V,onChange:function(){function ve(Be,we){return v(we)}return ve}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{inline:!0,pl:1,children:"Choice:"}),(0,e.createComponentVNode)(2,t.Dropdown,{width:10,disabled:d,options:s,selected:g,onSelected:function(){function ve(Be){return N(Be)}return ve}()}),d&g!=="Multiple Choice"?null:(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:["Mult-choice options allowed:",(0,e.createComponentVNode)(2,t.NumberInput,{width:3,minValue:0,maxValue:100,value:B,onChange:function(){function ve(Be,we){return L(!B)}return ve}()})]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Admin only",checked:A,onClick:function(){function ve(){return T(!A)}return ve}()}),(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Don't show",checked:P,onClick:function(){function ve(){return M(!P)}return ve}()}),(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Allow revoting",checked:R,onClick:function(){function ve(){return F(!R)}return ve}()}),"Min. playtime to vote (in hours):",(0,e.createComponentVNode)(2,t.Box,{inline:!0,ml:1,children:(0,e.createComponentVNode)(2,t.NumberInput,{width:3,placeholder:"Number of hours",value:q,onChange:function(){function ve(Be,we){return te(we)}return ve}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:[(0,e.createComponentVNode)(2,t.Box,{children:"Duration"}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",py:1,content:ye?"Run for":"Run until",onClick:function(){function ve(){return pe(!ye)}return ve}()}),ye?(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,t.NumberInput,{placeholder:"Amount number",width:3,minValue:0,maxValue:100,value:Y,onChange:function(){function ve(Be,we){return ne(we)}return ve}()}),(0,e.createComponentVNode)(2,t.Dropdown,{options:i,selected:j,onSelected:function(){function ve(Be){return U(Be)}return ve}()})]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:["Until:",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Input,{width:15,placeholder:"YYYY-MM-DD HH:MM:SS",value:re||"1970-01-01 00:00:01",onChange:function(){function ve(Be,we){return Z(we)}return ve}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Start"}),(0,e.createComponentVNode)(2,t.Button,{content:D?"Now":"At datetime",onClick:function(){function ve(){return ie(!D)}return ve}()}),D?null:(0,e.createComponentVNode)(2,t.Input,{width:15,placeholder:"YYYY-MM-DD HH:MM:SS",value:le||"1970-01-01 00:00:01",onChange:function(){function ve(Be,we){return de(we)}return ve}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Subtitle (Optional)",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.TextArea,{height:10,width:20,rows:"12",value:J,onChange:function(){function ve(Be,we){return X(we)}return ve}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d?(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Clear poll votes",onClick:function(){function ve(){return u("clear_poll_votes")}return ve}()}),l.poll_votes," players have voted"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Clear votes on edit",checked:Ce,onClick:function(){function ve(){return he(!Ce)}return ve}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{p:2,content:"Submit Poll",onClick:function(){function ve(){return u("submit_poll",{question:V,poll_type:g,options_allowed:B,admin_only:A,dont_show:P,allow_revoting:R,interval:j,duration:Y,start_datetime:le,end_datetime:re,subtitle:J,poll_votes:q,run_duration:ye,run_start:D,clear_votes:Ce})}return ve}()})})]}):(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{p:1,m:2,content:"Initliaze Question",onClick:function(){function ve(){return u("initialize_poll",{question:V,poll_type:g,options_allowed:B,admin_only:A,dont_show:P,allow_revoting:R,interval:j,duration:Y,start_datetime:le,end_datetime:re,subtitle:J,poll_votes:q,run_duration:ye,run_start:D,clear_votes:Ce})}return ve}()})})})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Questions Manage",children:d?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{children:"First enter the poll question details and press Initialize Question. Then add poll options and press Submit Poll to save and create the question and options. No options are required for Text Reply polls."})})]})})}return S}(),y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.poll,d=l.options,s=(0,a.useLocalState)(h,"poll_type",null),i=s[0],C=s[1];return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Add Option",onClick:function(){function V(){return u("add_poll_option")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(V){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Option "+V.num,children:[V.text,i==="Rating"?(0,e.createComponentVNode)(2,t.Box,{children:["Minimum value: ",V.min_val," | Maximum value:"," ",V.max_val,"Minimum description: ",V.desc_min,"Middle description: ",V.desc_mid,"Maximum description: ",V.desc_max]}):null,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Edit",onClick:function(){function v(){return u("edit_poll_option",{option_to_edit:V.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",onClick:function(){function v(){return u("delete_poll_option",{option_to_delete:V.id})}return v}()}),(0,e.createComponentVNode)(2,t.Divider)]},"option")})})})]})}},80378:function(w,r,n){"use strict";r.__esModule=!0,r.PollOptionPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(94798),f=n(98595),k=r.PollOptionPanel=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.poll_question,l=u.is_rating,d=u.option,s=(0,a.useLocalState)(b,"text",d.text),i=s[0],C=s[1],V=(0,a.useLocalState)(b,"default_percentage_calc",d.default_percentage_calc),v=V[0],p=V[1],g=(0,a.useLocalState)(b,"min_val",d.min_val),N=g[0],x=g[1],B=(0,a.useLocalState)(b,"max_val",d.max_val),L=B[0],I=B[1],A=(0,a.useLocalState)(b,"desc_min_check",d.desc_min_check),T=A[0],E=A[1],P=(0,a.useLocalState)(b,"desc_mid_check",d.desc_mid_check),M=P[0],O=P[1],R=(0,a.useLocalState)(b,"desc_max_check",d.desc_max_check),F=R[0],W=R[1],j=(0,a.useLocalState)(b,"desc_min_text",d.desc_min_text),U=j[0],K=j[1],Y=(0,a.useLocalState)(b,"desc_mid_text",d.desc_min_text),ne=Y[0],$=Y[1],le=(0,a.useLocalState)(b,"desc_max_text",d.desc_min_text),de=le[0],oe=le[1];return(0,e.createComponentVNode)(2,f.Window,{title:"Poll Option Panel",width:400,height:l?320:180,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:m,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{width:"100%",content:i,onChange:function(){function re(Z,ae){return C(ae)}return re}()})}),(0,e.createVNode)(1,"br"),l?(0,e.createComponentVNode)(2,t.Box,{children:["Minimum value",(0,e.createComponentVNode)(2,t.Input,{value:N}),"Maximum Value",(0,e.createComponentVNode)(2,t.Input,{value:L}),(0,e.createComponentVNode)(2,Table,{children:[(0,e.createComponentVNode)(2,Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Minimum description",checked:T,onClick:function(){function re(){return E(!T)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Middle description",checked:M,onClick:function(){function re(){return O(!M)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Maximum description",checked:F,onClick:function(){function re(){return W(!F)}return re}()})})]}),(0,e.createComponentVNode)(2,Table.Row,{children:[(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,t.Input,{value:U,onEnter:function(){function re(Z,ae){return K(ae)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,t.Input,{value:ne,onEnter:function(){function re(Z,ae){return $(ae)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,t.Input,{value:de,onEnter:function(){function re(Z,ae){return oe(ae)}return re}()})})]})]}),(0,e.createVNode)(1,"br")]}):null,(0,e.createComponentVNode)(2,o.ButtonCheckbox,{checked:v,content:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u043F\u0446\u0438\u044E \u0432 \u0440\u0430\u0441\u0447\u0435\u0442 \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043E\u043F\u0440\u043E\u0441\u0430",onClick:function(){function re(){return p(!v)}return re}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Sumbit",onClick:function(){function re(){return c("submit_option",{text:i,default_percentage_calc:v,min_val:N,max_val:L,desc_min_check:T,desc_mid_check:M,desc_max_check:F,desc_min_text:U,desc_mid_text:ne,desc_max_text:de})}return re}()})]})})})}return y}()},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 k(h,c){if(h==null)return{};var u={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(c.includes(m))continue;u[m]=h[m]}return u}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(c,u){var m=c.tempKey,l=k(c,f),d=y[m];if(!d)return null;var s=(0,a.useBackend)(u),i=s.data,C=s.act,V=i.currentTemp,v=d.label,p=d.icon,g=m===V,N=function(){C("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({selected:g,onClick:N},l,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),v]})))},b=r.PoolController=function(){function h(c,u){for(var m=(0,a.useBackend)(u),l=m.data,d=l.emagged,s=l.currentTemp,i=y[s]||y.normal,C=i.label,V=i.color,v=[],p=0,g=Object.entries(y);p50?"battery-half":"battery-quarter")||V==="C"&&"bolt"||V==="F"&&"battery-full"||V==="M"&&"slash",color:V==="N"&&(v>50?"yellow":"red")||V==="C"&&"yellow"||V==="F"&&"green"||V==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(v)+"%"})],4)};d.defaultHooks=f.pureComponentHooks;var s=function(C){var V,v,p=C.status;switch(p){case"AOn":V=!0,v=!0;break;case"AOff":V=!0,v=!1;break;case"On":V=!1,v=!0;break;case"Off":V=!1,v=!1;break}var g=(v?"On":"Off")+(" ["+(V?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:v?"good":"bad",content:V?void 0:"M",title:g})};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),k=n(321),y=n(5485),S=n(98595),b=r.PrisonerImplantManager=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.loginState,i=d.prisonerInfo,C=d.chemicalInfo,V=d.trackingInfo,v;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var 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,k.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function g(){return l("id_card")}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function g(){return l("reset_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function g(){return(0,f.modalOpen)(u,"set_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:V.map(function(g){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: ",g.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:g.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:g.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 N(){return(0,f.modalOpen)(u,"warn",{uid:g.uid})}return N}()})})]})]},g.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(g){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: ",g.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:g.volume})}),p.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:g.volume1100?"purple":s>500?"orange":s>250?"yellow":"green"},S=function(s,i){for(var C=[],V=0;V0?"envelope-open-text":"envelope",onClick:function(){function x(){return C("setScreen",{setScreen:6})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Assistance",icon:"hand-paper",onClick:function(){function x(){return C("setScreen",{setScreen:1})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Supplies",icon:"box",onClick:function(){function x(){return C("setScreen",{setScreen:2})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Relay Anonymous Information",icon:"comment",onClick:function(){function x(){return C("setScreen",{setScreen:3})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print Shipping Label",icon:"tag",onClick:function(){function x(){return C("setScreen",{setScreen:9})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function x(){return C("setScreen",{setScreen:10})}return x}()})})]}),!!p&&(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function x(){return C("setScreen",{setScreen:8})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Speaker Off":"Speaker On",selected:!g,icon:g?"volume-mute":"volume-up",onClick:function(){function x(){return C("toggleSilent")}return x}()})})]})},S=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.department,p,g;switch(d.purpose){case"ASSISTANCE":p=V.assist_dept,g="Request assistance from another department";break;case"SUPPLIES":p=V.supply_dept,g="Request supplies from another department";break;case"INFO":p=V.info_dept,g="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Section,{title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:p.filter(function(N){return N!==v}).map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function x(){return C("writeInput",{write:N,priority:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function x(){return C("writeInput",{write:N,priority:2})}return x}()})]},N)})})})},b=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v;switch(d.type){case"SUCCESS":v="Message sent successfully";break;case"FAIL":v="Request supplies from another department";break}return(0,e.createComponentVNode)(2,t.Section,{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}()})})},h=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v,p;switch(d.type){case"MESSAGES":v=V.message_log,p="Message Log";break;case"SHIPPING":v=V.shipping_log,p="Shipping label print log";break}return(0,e.createComponentVNode)(2,t.Section,{title:p,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function g(){return C("setScreen",{setScreen:0})}return g}()}),children:v.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{className:"RequestConsole__message",children:g},g)})})},c=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.recipient,p=V.message,g=V.msgVerified,N=V.msgStamped;return(0,e.createComponentVNode)(2,t.Section,{title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function x(){return C("setScreen",{setScreen:0})}return x}()}),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:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:N})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function x(){return C("department",{department:v})}return x}()})]})},u=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.message,p=V.announceAuth;return(0,e.createComponentVNode)(2,t.Section,{title:"Station-Wide Announcement",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function g(){return C("setScreen",{setScreen:0})}return g}()}),children:[(0,e.createComponentVNode)(2,t.Button,{content:v||"Edit Message",icon:"edit",onClick:function(){function g(){return C("writeAnnouncement")}return g}()}),p?(0,e.createComponentVNode)(2,t.Box,{mt:1,color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{mt:1,children:"Swipe your ID card to authenticate yourself."}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(p&&v),onClick:function(){function g(){return C("sendAnnouncement")}return g}()})]})},m=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.shipDest,p=V.msgVerified,g=V.ship_dept;return(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 N(){return C("setScreen",{setScreen:0})}return N}()}),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 N(){return C("printLabel")}return N}()}),(0,e.createComponentVNode)(2,t.Section,{title:"Destinations",mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:g.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N,children:(0,e.createComponentVNode)(2,t.Button,{content:v===N?"Selected":"Select",selected:v===N,onClick:function(){function x(){return C("shipSelect",{shipSelect:N})}return x}()})},N)})})})]})}},3786:function(w,r,n){"use strict";r.__esModule=!0,r.RequestManager=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595);/** + */function m(I,A){I.prototype=Object.create(A.prototype),I.prototype.constructor=I,l(I,A)}function l(I,A){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,E){return T.__proto__=E,T},l(I,A)}function d(I,A){if(I==null)return{};var T={};for(var E in I)if({}.hasOwnProperty.call(I,E)){if(A.includes(E))continue;T[E]=I[E]}return T}var s=r.ColorPickerModal=function(){function I(A,T){var E=(0,t.useBackend)(T),P=E.data,M=P.timeout,O=P.message,R=P.title,F=P.autofocus,W=P.default_color,j=W===void 0?"#000000":W,U=(0,t.useLocalState)(T,"color_picker_choice",(0,y.hexToHsva)(j)),K=U[0],Y=U[1];return(0,e.createComponentVNode)(2,f.Window,{height:400,title:R,width:600,theme:"generic",children:[!!M&&(0,e.createComponentVNode)(2,a.Loader,{value:M}),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[O&&(0,e.createComponentVNode)(2,o.Stack.Item,{m:1,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:"label",overflow:"hidden",children:O})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[!!F&&(0,e.createComponentVNode)(2,o.Autofocus),(0,e.createComponentVNode)(2,i,{color:K,setColor:Y,defaultColor:j})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,c.InputButtons,{input:(0,y.hsvaToHex)(K)})})]})})]})}return I}(),i=r.ColorSelector=function(){function I(A,T){var E=A.color,P=A.setColor,M=A.defaultColor,O=function(){function W(j){P(function(U){return Object.assign({},U,j)})}return W}(),R=(0,y.hsvaToRgba)(E),F=(0,y.hsvaToHex)(E);return(0,e.createComponentVNode)(2,o.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{mr:2,children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createVNode)(1,"div","react-colorful",[(0,e.createComponentVNode)(2,g,{hsva:E,onChange:O}),(0,e.createComponentVNode)(2,N,{hue:E.h,onChange:O,className:"react-colorful__last-control"})],4)}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"20px",textAlign:"center",children:"Current"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"20px",textAlign:"center",children:"Previous"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Tooltip,{content:F,position:"bottom",children:(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"30px",backgroundColor:F})}),(0,e.createComponentVNode)(2,o.Tooltip,{content:M,position:"bottom",children:(0,e.createComponentVNode)(2,o.Box,{inline:!0,width:"100px",height:"30px",backgroundColor:M})})]})]})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:!0,fontSize:"15px",lineHeight:"24px",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,{children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"Hex:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"24px",children:(0,e.createComponentVNode)(2,v,{fluid:!0,color:(0,y.hsvaToHex)(E).substring(1),onChange:function(){function W(j){h.logger.info(j),P((0,y.hexToHsva)(j))}return W}(),prefixed:!0})})]})}),(0,e.createComponentVNode)(2,o.Stack.Divider),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"H:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N,{hue:E.h,onChange:O})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:E.h,callback:function(){function W(j,U){return O({h:U})}return W}(),max:360,unit:"\xB0"})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"S:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,x,{color:E,onChange:O})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:E.s,callback:function(){function W(j,U){return O({s:U})}return W}(),unit:"%"})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"V:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,B,{color:E,onChange:O})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:E.v,callback:function(){function W(j,U){return O({v:U})}return W}(),unit:"%"})})]})}),(0,e.createComponentVNode)(2,o.Stack.Divider),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"R:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,L,{color:E,onChange:O,target:"r"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:R.r,callback:function(){function W(j,U){R.r=U,O((0,y.rgbaToHsva)(R))}return W}(),max:255})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"G:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,L,{color:E,onChange:O,target:"g"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:R.g,callback:function(){function W(j,U){R.g=U,O((0,y.rgbaToHsva)(R))}return W}(),max:255})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"25px",children:(0,e.createComponentVNode)(2,o.Box,{textColor:"label",children:"B:"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,L,{color:E,onChange:O,target:"b"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C,{value:R.b,callback:function(){function W(j,U){R.b=U,O((0,y.rgbaToHsva)(R))}return W}(),max:255})})]})})]})})]})}return I}(),C=function(A){var T=A.value,E=A.callback,P=A.min,M=P===void 0?0:P,O=A.max,R=O===void 0?100:O,F=A.unit;return(0,e.createComponentVNode)(2,o.NumberInput,{width:"70px",value:Math.round(T),step:1,minValue:M,maxValue:R,onChange:E,unit:F})},V=function(A){return"#"+A},v=r.HexColorInput=function(){function I(A){var T=A.prefixed,E=A.alpha,P=A.color,M=A.fluid,O=A.onChange,R=d(A,u),F=function(){function j(U){return U.replace(/([^0-9A-F]+)/gi,"").substring(0,E?8:6)}return j}(),W=function(){function j(U){return(0,y.validHex)(U,E)}return j}();return(0,e.normalizeProps)((0,e.createComponentVNode)(2,p,Object.assign({},R,{fluid:M,color:P,onChange:O,escape:F,format:T?V:void 0,validate:W})))}return I}(),p=r.ColorInput=function(I){function A(E){var P;return P=I.call(this)||this,P.props=void 0,P.state=void 0,P.handleInput=function(M){var O=P.props.escape(M.currentTarget.value);P.setState({localValue:O})},P.handleBlur=function(M){M.currentTarget&&(P.props.validate(M.currentTarget.value)?P.props.onChange(P.props.escape?P.props.escape(M.currentTarget.value):M.currentTarget.value):P.setState({localValue:P.props.escape(P.props.color)}))},P.props=E,P.state={localValue:P.props.escape(P.props.color)},P}m(A,I);var T=A.prototype;return T.componentDidUpdate=function(){function E(P,M){P.color!==this.props.color&&this.setState({localValue:this.props.escape(this.props.color)})}return E}(),T.render=function(){function E(){return(0,e.createComponentVNode)(2,o.Box,{className:(0,b.classes)(["Input",this.props.fluid&&"Input--fluid"]),children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),(0,e.createVNode)(64,"input","Input__input",null,1,{value:this.props.format?this.props.format(this.state.localValue):this.state.localValue,spellCheck:"false",onInput:this.handleInput,onBlur:this.handleBlur})]})}return E}(),A}(e.Component),g=function(A){var T=A.hsva,E=A.onChange,P=function(F){E({s:F.left*100,v:100-F.top*100})},M=function(F){E({s:(0,k.clamp)(T.s+F.left*100,0,100),v:(0,k.clamp)(T.v-F.top*100,0,100)})},O={"background-color":(0,y.hsvaToHslString)({h:T.h,s:100,v:100,a:1})+" !important"};return(0,e.createVNode)(1,"div","react-colorful__saturation_value",(0,e.createComponentVNode)(2,S.Interactive,{onMove:P,onKey:M,"aria-label":"Color","aria-valuetext":"Saturation "+Math.round(T.s)+"%, Brightness "+Math.round(T.v)+"%",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__saturation_value-pointer",top:1-T.v/100,left:T.s/100,color:(0,y.hsvaToHslString)(T)})}),2,{style:O})},N=function(A){var T=A.className,E=A.hue,P=A.onChange,M=function(W){P({h:360*W.left})},O=function(W){P({h:(0,k.clamp)(E+W.left*360,0,360)})},R=(0,b.classes)(["react-colorful__hue",T]);return(0,e.createVNode)(1,"div",R,(0,e.createComponentVNode)(2,S.Interactive,{onMove:M,onKey:O,"aria-label":"Hue","aria-valuenow":Math.round(E),"aria-valuemax":"360","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__hue-pointer",left:E/360,color:(0,y.hsvaToHslString)({h:E,s:100,v:100,a:1})})}),2)},x=function(A){var T=A.className,E=A.color,P=A.onChange,M=function(W){P({s:100*W.left})},O=function(W){P({s:(0,k.clamp)(E.s+W.left*100,0,100)})},R=(0,b.classes)(["react-colorful__saturation",T]);return(0,e.createVNode)(1,"div",R,(0,e.createComponentVNode)(2,S.Interactive,{style:{background:"linear-gradient(to right, "+(0,y.hsvaToHslString)({h:E.h,s:0,v:E.v,a:1})+", "+(0,y.hsvaToHslString)({h:E.h,s:100,v:E.v,a:1})+")"},onMove:M,onKey:O,"aria-label":"Saturation","aria-valuenow":Math.round(E.s),"aria-valuemax":"100","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__saturation-pointer",left:E.s/100,color:(0,y.hsvaToHslString)({h:E.h,s:E.s,v:E.v,a:1})})}),2)},B=function(A){var T=A.className,E=A.color,P=A.onChange,M=function(W){P({v:100*W.left})},O=function(W){P({v:(0,k.clamp)(E.v+W.left*100,0,100)})},R=(0,b.classes)(["react-colorful__value",T]);return(0,e.createVNode)(1,"div",R,(0,e.createComponentVNode)(2,S.Interactive,{style:{background:"linear-gradient(to right, "+(0,y.hsvaToHslString)({h:E.h,s:E.s,v:0,a:1})+", "+(0,y.hsvaToHslString)({h:E.h,s:E.s,v:100,a:1})+")"},onMove:M,onKey:O,"aria-label":"Value","aria-valuenow":Math.round(E.s),"aria-valuemax":"100","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__value-pointer",left:E.v/100,color:(0,y.hsvaToHslString)({h:E.h,s:E.s,v:E.v,a:1})})}),2)},L=function(A){var T=A.className,E=A.color,P=A.onChange,M=A.target,O=(0,y.hsvaToRgba)(E),R=function(Y){O[M]=Y,P((0,y.rgbaToHsva)(O))},F=function(Y){R(255*Y.left)},W=function(Y){R((0,k.clamp)(O[M]+Y.left*255,0,255))},j=(0,b.classes)(["react-colorful__"+M,T]),U=M==="r"?"rgb("+Math.round(O.r)+",0,0)":M==="g"?"rgb(0,"+Math.round(O.g)+",0)":"rgb(0,0,"+Math.round(O.b)+")";return(0,e.createVNode)(1,"div",j,(0,e.createComponentVNode)(2,S.Interactive,{onMove:F,onKey:W,"aria-valuenow":O[M],"aria-valuemax":"100","aria-valuemin":"0",children:(0,e.createComponentVNode)(2,o.Pointer,{className:"react-colorful__"+M+"-pointer",left:O[M]/255,color:U})}),2)}},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={1:function(){function s(){return(0,e.createComponentVNode)(2,b)}return s}(),2:function(){function s(){return(0,e.createComponentVNode)(2,u)}return s}(),3:function(){function s(){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m)})})}return s}(),4:function(){function s(){return(0,e.createComponentVNode)(2,d)}return s}(),default:function(){function s(){return"\u041E\u0448\u0438\u0431\u043A\u0430. \u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0435 menu_state. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u041F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 NT."}return s}()},k=function(i){return f[i]},y=r.CommunicationsComputer=function(){function s(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,title:"\u041A\u043E\u043D\u0441\u043E\u043B\u044C \u0441\u0432\u044F\u0437\u0438",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,S),k(g)()]})})})}return s}(),S=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.authenticated,N=p.noauthbutton,x=p.esc_section,B=p.esc_callable,L=p.esc_recallable,I=p.esc_status,A=p.authhead,T=p.is_ai,E=p.lastCallLoc,P=!1,M;return g?g===1?M="\u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0435":g===2?M="\u041A\u0430\u043F\u0438\u0442\u0430\u043D":g===3?M="\u041E\u0444\u0438\u0446\u0435\u0440 \u0426\u0435\u043D\u0442\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u044F":g===4?(M="\u0417\u0430\u0449\u0438\u0449\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0426\u0435\u043D\u0442\u041A\u043E\u043C\u0430",P=!0):M="\u041E\u0428\u0418\u0411\u041A\u0410: \u0421\u043E\u043E\u0431\u0449\u0438\u0442\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u0431\u0430\u0433\u0435!":M="\u0412\u0445\u043E\u0434 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0410\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:P&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043E\u0441\u0442\u0443\u043F",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:g?"sign-out-alt":"id-card",selected:g,disabled:N,content:g?"\u0412\u044B\u0439\u0442\u0438 ("+M+")":"\u0412\u043E\u0439\u0442\u0438",onClick:function(){function O(){return v("auth")}return O}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!x&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u042D\u0432\u0430\u043A\u0443\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",children:I}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u0446\u0438\u0438",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"\u0412\u044B\u0437\u0432\u0430\u0442\u044C \u0448\u0430\u0442\u0442\u043B",disabled:!A,onClick:function(){function O(){return v("callshuttle")}return O}()})}),!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u0446\u0438\u0438",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"\u041E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0448\u0430\u0442\u0442\u043B",disabled:!A||T,onClick:function(){function O(){return v("cancelshuttle")}return O}()})}),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u0432\u044B\u0437\u043E\u0432/\u043E\u0442\u0437\u044B\u0432 \u0438\u0437",children:E})]})})})],4)},b=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.is_admin;return g?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,c)},h=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.is_admin,N=p.gamma_armory_location,x=p.admin_levels,B=p.authenticated,L=p.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:'\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 "\u041E\u0444\u0438\u0446\u0435\u0440 \u0426\u0435\u043D\u0442\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u044F"',children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0443\u0433\u0440\u043E\u0437\u044B",children:(0,e.createComponentVNode)(2,l,{levels:x,required_access:g,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u0426\u041A",disabled:!g,onClick:function(){function I(){return v("send_to_cc_announcement_page")}return I}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u0440\u0443\u0433\u043E\u0435 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",disabled:!g,onClick:function(){function I(){return v("make_other_announcement")}return I}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0411\u0420",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u041E\u0411\u0420",disabled:!g,onClick:function(){function I(){return v("dispatch_ert")}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:L,content:L?"\u0412\u044B\u0437\u043E\u0432 \u041E\u0411\u0420 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043D":"\u0412\u044B\u0437\u043E\u0432 \u041E\u0411\u0420 \u0437\u0430\u043F\u0440\u0435\u0449\u0451\u043D",tooltip:L?"\u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u041E\u0411\u0420":"\u041E\u0411\u0420 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0448\u0435\u043D",disabled:!g,onClick:function(){function I(){return v("toggle_ert_allowed")}return I}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042F\u0434\u0435\u0440\u043D\u0430\u044F \u0431\u043E\u0435\u0433\u043E\u043B\u043E\u0432\u043A\u0430",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434\u044B \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438",disabled:!g,onClick:function(){function I(){return v("send_nuke_codes")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:'\u041E\u0440\u0443\u0436\u0435\u0439\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B "\u0413\u0430\u043C\u043C\u0430"',children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043E\u0440\u0443\u0436\u0435\u0439\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B "\u0413\u0430\u043C\u043C\u0430"':'\u041E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u043E\u0440\u0443\u0436\u0435\u0439\u043D\u044B\u0439 \u0448\u0430\u0442\u0442\u043B "\u0413\u0430\u043C\u043C\u0430"',disabled:!g,onClick:function(){function I(){return v("move_gamma_armory")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0440\u0443\u0433\u043E\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"\u0424\u0430\u043A\u0441-\u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440",disabled:!g,onClick:function(){function I(){return v("view_fax")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0434\u0435\u0439\u0441\u0442\u0438\u0439, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0434\u043B\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,c)})]})},c=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.msg_cooldown,N=p.emagged,x=p.cc_cooldown,B=p.security_level_color,L=p.str_security_level,I=p.levels,A=p.authcapt,T=p.authhead,E=p.messages,P="\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u043D\u043E\u0435 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435";g>0&&(P+=" ("+g+"s)");var M=N?"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 [\u041D\u0415\u0418\u0417\u0412\u0415\u0421\u0422\u041D\u041E]":"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0426\u041A",O="\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043A\u043E\u0434\u044B \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438";return x>0&&(M+=" ("+x+"s)",O+=" ("+x+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:'\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 "\u041A\u0430\u043F\u0438\u0442\u0430\u043D"',children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0443\u0433\u0440\u043E\u0437\u044B",color:B,children:L}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0443\u0433\u0440\u043E\u0437\u044B",children:(0,e.createComponentVNode)(2,l,{levels:I,required_access:A})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:P,disabled:!A||g>0,onClick:function(){function R(){return v("announce")}return R}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!A||x>0,onClick:function(){function R(){return v("MessageSyndicate")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0440\u0435\u043B\u0435",disabled:!A,onClick:function(){function R(){return v("RestoreBackup")}return R}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!A||x>0,onClick:function(){function R(){return v("MessageCentcomm")}return R}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042F\u0434\u0435\u0440\u043D\u0430\u044F \u0431\u043E\u0435\u0433\u043E\u043B\u043E\u0432\u043A\u0430",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:O,disabled:!A||x>0,onClick:function(){function R(){return v("nukerequest")}return R}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:'\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 "\u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0435"',children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0438\u0441\u043F\u043B\u0435\u0438",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0414\u0438\u0441\u043F\u043B\u0435\u0435\u0432 \u0441\u0442\u0430\u0442\u0443\u0441\u0430",disabled:!T,onClick:function(){function R(){return v("status")}return R}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0445\u043E\u0434\u044F\u0449\u0438\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C ("+E.length+")",disabled:!T,onClick:function(){function R(){return v("messagelist")}return R}()})})]})})})],4)},u=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.stat_display,N=p.authhead,x=p.current_message_title,B=g.presets.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{content:I.label,selected:I.name===g.type,disabled:!N,onClick:function(){function A(){return v("setstat",{statdisp:I.id})}return A}()},I.name)}),L=g.alerts.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{content:I.label,selected:I.alert===g.icon,disabled:!N,onClick:function(){function A(){return v("setstat",{statdisp:3,alert:I.alert})}return A}()},I.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u044D\u043A\u0440\u0430\u043D\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",onClick:function(){function I(){return v("main")}return I}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u0435\u0441\u0435\u0442\u044B",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F",children:L}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0421\u0442\u0440\u043E\u043A\u0430 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:g.line_1,disabled:!N,onClick:function(){function I(){return v("setmsg1")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0421\u0442\u0440\u043E\u043A\u0430 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:g.line_2,disabled:!N,onClick:function(){function I(){return v("setmsg2")}return I}()})})]})})})},m=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.authhead,N=p.current_message_title,x=p.current_message,B=p.messages,L=p.security_level,I;if(N)I=(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:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439",disabled:!g,onClick:function(){function T(){return v("messagelist")}return T}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:x})})});else{var A=B.map(function(T){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:T.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C",disabled:!g||N===T.title,onClick:function(){function E(){return v("messagelist",{msgid:T.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",disabled:!g,onClick:function(){function E(){return v("delmessage",{msgid:T.id})}return E}()})]},T.id)});I=(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",onClick:function(){function T(){return v("main")}return T}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:A})})}return(0,e.createComponentVNode)(2,t.Box,{children:I})},l=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=i.levels,N=i.required_access,x=i.use_confirm,B=p.security_level;return x?g.map(function(L){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:L.icon,content:L.name,disabled:!N||L.id===B,tooltip:L.tooltip,onClick:function(){function I(){return v("newalertlevel",{level:L.id})}return I}()},L.name)}):g.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{icon:L.icon,content:L.name,disabled:!N||L.id===B,tooltip:L.tooltip,onClick:function(){function I(){return v("newalertlevel",{level:L.id})}return I}()},L.name)})},d=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.is_admin;if(!g)return v("main");var N=(0,a.useLocalState)(C,"subtitle",""),x=N[0],B=N[1],L=(0,a.useLocalState)(C,"text",""),I=L[0],A=L[1],T=(0,a.useLocalState)(C,"classified",0),E=T[0],P=T[1],M=(0,a.useLocalState)(C,"beepsound","Beep"),O=M[0],R=M[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u0426\u041A",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",onClick:function(){function F(){return v("main")}return F}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0442\u0443\u0442.",fluid:!0,value:x,onChange:function(){function F(W,j){return B(j)}return F}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F,\n\u041C\u043D\u043E\u0433\u043E\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0432\u0432\u043E\u0434 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0441\u044F.",rows:10,fluid:!0,multiline:1,value:I,onChange:function(){function F(W,j){return A(j)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"\u0417\u0430\u0441\u0435\u043A\u0440\u0435\u0447\u0435\u043D\u043E",fluid:!0,m:"5px",tooltip:E?"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043D\u0430 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0441\u0432\u044F\u0437\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438":"\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u043E \u043E\u0431\u044A\u044F\u0432\u0438\u0442\u044C",onClick:function(){function F(){return P(!E)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function F(){return v("make_cc_announcement",{subtitle:x,text:I,classified:E,beepsound:O})}return F}()})]})})}},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),k=n(98595);function y(V,v){V.prototype=Object.create(v.prototype),V.prototype.constructor=V,S(V,v)}function S(V,v){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,g){return p.__proto__=g,p},S(V,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"],c=r.Contractor=function(){function V(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B;x.unauthorized?B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function T(){}return T}()})}):x.load_animation_completed?B=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,u)}),(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:x.page===1?(0,e.createComponentVNode)(2,l,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:h,finishedTimeout:3e3,onFinished:function(){function T(){return N("complete_load_animation")}return T}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),I=L[0],A=L[1];return(0,e.createComponentVNode)(2,k.Window,{width:500,height:600,theme:"syndicate",children:[I&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,k.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:B})})]})}return V}(),u=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.tc_available,L=x.tc_paid_out,I=x.completed_contracts,A=x.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:[B," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:B<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function T(){return N("claim")}return T}()})]})}),(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",display:"inline-block",children:I})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},v,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===1,onClick:function(){function L(){return N("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===2,onClick:function(){function L(){return N("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},l=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.contracts,L=x.contract_active,I=x.can_extract,A=!!L&&B.filter(function(O){return O.status===1})[0],T=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),P=E[0],M=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:!I||T,icon:"parachute-box",content:["Call Extraction",T&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A.time_left,format:function(){function O(R,F){return" ("+F.substr(3)+")"}return O}()})],onClick:function(){function O(){return N("extract")}return O}()})},v,{children:B.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 F(){return M("target_photo_"+O.uid+".png")}return F}()})})]}),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],display:"inline-block",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 F(){return N("abort")}return F}()})]}),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",d(O)]}),(R=O.difficulties)==null?void 0:R.map(function(F,W){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:F.name+" ("+F.reward+" TC)",onClick:function(){function j(){return N("activate",{uid:O.uid,difficulty:W+1})}return j}()},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)})})))},d=function(v){if(!(!v.objective||v.status>1)){var p=v.objective.locs.user_area_id,g=v.objective.locs.user_coords,N=v.objective.locs.target_area_id,x=v.objective.locs.target_coords,B=p===N;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:B?"dot-circle-o":"arrow-alt-circle-right-o",color:B?"green":"yellow",rotation:B?null:-(0,a.rad2deg)(Math.atan2(x[1]-g[1],x[0]-g[0])),lineHeight:B?null:"0.85",size:"1.5"})})}},s=function(v,p){var g=(0,t.useBackend)(p),N=g.act,x=g.data,B=x.rep,L=x.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:L.map(function(I){return(0,e.createComponentVNode)(2,o.Section,{title:I.name,buttons:I.refundable&&(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Refund ("+I.cost+" Rep)",onClick:function(){function A(){return N("refund",{uid:I.uid})}return A}()}),children:[I.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:B-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:I.stock===0?"bad":"good",ml:"0.5rem",children:[I.stock," in stock"]})]},I.uid)})})))},i=function(V){function v(g){var N;return N=V.call(this,g)||this,N.timer=null,N.state={currentIndex:0,currentDisplay:[]},N}y(v,V);var p=v.prototype;return p.tick=function(){function g(){var N=this.props,x=this.state;if(x.currentIndex<=N.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var B=x.currentDisplay;B.push(N.allMessages[x.currentIndex])}else clearTimeout(this.timer),setTimeout(N.onFinished,N.finishedTimeout)}return g}(),p.componentDidMount=function(){function g(){var N=this,x=this.props.linesPerSecond,B=x===void 0?2.5:x;this.timer=setInterval(function(){return N.tick()},1e3/B)}return g}(),p.componentWillUnmount=function(){function g(){clearTimeout(this.timer)}return g}(),p.render=function(){function g(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(N){return(0,e.createFragment)([N,(0,e.createVNode)(1,"br")],0,N)})})}return g}(),v}(e.Component),C=function(v,p){var g=(0,t.useLocalState)(p,"viewingPhoto",""),N=g[0],x=g[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:N}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function B(){return x("")}return B}()})]})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.slowFactor,m=c.minSpeed,l=c.maxSpeed,d=c.oneWay,s=c.position;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:"Lever position",children:s>0?"forward":s<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!d,onClick:function(){function i(){return h("toggleOneWay")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function i(){return h("slowFactor",{value:u-.5})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function i(){return h("slowFactor",{value:u-.1})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:u,fillValue:u,minValue:m,maxValue:l,step:.1,format:function(){function i(C){return C+"s."}return i}(),onChange:function(){function i(C,V){return h("slowFactor",{value:V})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function i(){return h("slowFactor",{value:u+.1})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function i(){return h("slowFactor",{value:u+.5})}return i}()})," "]})]})})]})})})})}return k}()},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),k=n(36352),y=n(76910),S=n(98595),b=function(C,V){return C.dead?"\u041C\u0451\u0440\u0442\u0432":parseInt(C.health,10)<=V?"\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435":parseInt(C.stat,10)===1?"\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F":"\u0416\u0438\u0432"},h=function(C,V){return C.dead?"red":parseInt(C.health,10)<=V?"orange":parseInt(C.stat,10)===1?"blue":"green"},c=r.CrewMonitor=function(){function i(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=(0,o.useLocalState)(V,"tabIndex",g.IndexToggler),x=N[0],B=N[1],L=function(){function I(A){switch(A){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,d);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,s);default:return"\u0427\u0422\u041E-\u0422\u041E \u0422\u041E\u0427\u041D\u041E \u041D\u0415 \u0422\u0410\u041A!"}}return I}();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.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Tabs,{children:[g.isBS?(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===0,onClick:function(){function I(){return B(0)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"table"})," \u0414\u0430\u043D\u043D\u044B\u0435 \u043E \u041A\u043E\u043C\u0430\u043D\u0434\u043E\u0432\u0430\u043D\u0438\u0438"]},"ComDataView"):null,g.isBP?(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===1,onClick:function(){function I(){return B(1)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"table"})," \u0414\u0430\u043D\u043D\u044B\u0435 \u043E \u0421\u043B\u0443\u0436\u0431\u0435 \u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438"]},"SecDataView"):null,(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===2,onClick:function(){function I(){return B(2)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"table"})," \u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0431 \u042D\u043A\u0438\u043F\u0430\u0436\u0435"]},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:x===3,onClick:function(){function I(){return B(3)}return I}(),children:[(0,e.createComponentVNode)(2,f.Icon,{name:"map-marked-alt"})," \u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u041A\u0430\u0440\u0442\u044B"]},"MapView")]}),L(x)]})})})}return i}(),u=function(C){var V=C.crewData,v=C.context,p=(0,o.useBackend)(v),g=p.act,N=p.data,x=(0,a.sortBy)(function(T){return T.name})(V||[]),B=(0,o.useLocalState)(v,"search",""),L=B[0],I=B[1],A=(0,t.createSearch)(L,function(T){return T.name+"|"+T.assignment+"|"+T.area});return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0418\u043C\u044F, \u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u0438\u043B\u0438 \u041B\u043E\u043A\u0430\u0446\u0438\u044E...",width:"100%",onInput:function(){function T(E,P){return I(P)}return T}()}),(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:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"\u041B\u043E\u043A\u0430\u0446\u0438\u044F"})]}),x.filter(A).map(function(T){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!T.is_command,children:[(0,e.createComponentVNode)(2,k.TableCell,{children:[T.name," (",T.assignment,")"]}),(0,e.createComponentVNode)(2,k.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:h(T,N.critThreshold),children:b(T,N.critThreshold)}),T.sensor_type>=2?(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:T.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:T.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.burn,children:T.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.brute,children:T.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,k.TableCell,{children:T.sensor_type===3?N.isAI?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:T.area+" ("+T.x+", "+T.y+")",onClick:function(){function E(){return g("track",{track:T.ref})}return E}()}):T.area+" ("+T.x+", "+T.y+")":"\u041D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E"})]},T.ref)})]})]})},m=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.crewmembers||[];return(0,e.createComponentVNode)(2,u,{crewData:N,context:V})},l=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.crewmembers.filter(function(x){return x.is_command})||[];return(0,e.createComponentVNode)(2,u,{crewData:N,context:V})},d=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.crewmembers.filter(function(x){return x.is_security})||[];return(0,e.createComponentVNode)(2,u,{crewData:N,context:V})},s=function(C,V){var v=(0,o.useBackend)(V),p=v.act,g=v.data,N=g.stationLevelNum,x=g.stationLevelName,B=(0,o.useLocalState)(V,"zoom",1),L=B[0],I=B[1],A=(0,o.useLocalState)(V,"z_current",N[0]),T=A[0],E=A[1],P=function(F){return F.is_command&&g.isBS||F.is_security&&g.isBP?"square":"circle"},M=function(F){return F.is_command&&g.isBS||F.is_security&&g.isBP?10:6},O=function(F,W){return F.is_command&&g.isBS||F.is_security&&g.isBP?F.dead?"red":parseInt(F.health,10)<=W?"orange":parseInt(F.stat,10)===1?"blue":"violet":h(F,W)};return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function R(F){return I(F)}return R}(),zLevels:N,zNames:x,z_current:T,setZCurrent:E,children:g.crewmembers.filter(function(R){return R.sensor_type===3}).map(function(R){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:R.x,y:R.y,z:R.z,z_current:T,zoom:L,icon:P(R),size:M(R),tooltip:R.name+" ("+R.assignment+")",color:O(R,g.critThreshold),onClick:function(){function F(){g.isAI&&p("track",{track:R.ref})}return F}()},R.ref)})})})}},63987:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(41260),t=n(72253),o=n(36036),f=n(98595),k=[{label:"\u0423\u0434\u0443\u0448\u044C\u0435",type:"oxyLoss"},{label:"\u041E\u0442\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",type:"toxLoss"},{label:"\u041C\u0435\u0445\u0430\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",type:"bruteLoss"},{label:"\u0422\u0435\u0440\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F",type:"fireLoss"}],y=[["good","\u0412 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F"],["bad","\u0421\u043C\u0435\u0440\u0442\u044C"]],S=r.Cryo=function(){function c(u,m){return(0,e.createComponentVNode)(2,f.Window,{width:520,height:490,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,b)})})}return c}(),b=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.isOperating,C=s.hasOccupant,V=s.occupant,v=V===void 0?[]:V,p=s.cellTemperature,g=s.cellTemperatureStatus,N=s.isBeakerLoaded,x=s.auto_eject_healthy,B=s.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:2,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!C,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C"}),children:C?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",children:v.name||"\u0418\u043C\u044F \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:y[v.stat][0],children:y[v.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0442\u0435\u043B\u0430",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," ","K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),k.map(function(L){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:v[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(v[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,o.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0440\u0438\u043E\u043A\u0430\u043F\u0441\u0443\u043B\u0430",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C."}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0438\u0442\u0430\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",onClick:function(){function L(){return d(i?"switchOff":"switchOn")}return L}(),selected:i,children:i?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",color:g,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:p})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,onClick:function(){function L(){return d(x?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:x?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u043C\u0451\u0440\u0442\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:B?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})})]})})})]})},h=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.isBeakerLoaded,C=s.beakerLabel,V=s.beakerVolume;return i?(0,e.createFragment)([C?"\xAB"+C+"\xBB":(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0430"}),(0,e.createComponentVNode)(2,o.Box,{color:!V&&"bad",children:V?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:V,format:function(){function v(p){var g=Math.round(p),N=(0,a.declensionRu)(g,"\u041E\u0441\u0442\u0430\u043B\u0430\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u0438\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C"),x=(0,a.declensionRu)(g,"\u0435\u0434\u0438\u043D\u0438\u0446\u0430","\u0435\u0434\u0438\u043D\u0438\u0446\u044B","\u0435\u0434\u0438\u043D\u0438\u0446");return N+" "+g+" "+x}return v}()}):"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043F\u0443\u0441\u0442\u0430"})],0):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430"})}},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),k=r.CryopodConsole=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.account_name,d=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(l||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!d&&(0,e.createComponentVNode)(2,S)]})})}return b}(),y=function(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:l.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(d,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:d.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.frozen_items,s=function(C){var V=C.toString();return V.startsWith("the ")&&(V=V.slice(4,V.length)),(0,f.toTitleCase)(V)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:d.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return m("one_item",{item:i.uid})}return C}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},94848:function(w,r,n){"use strict";r.__esModule=!0,r.Customat=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=function(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=b.product,d=m.user,s=m.userMoney,i=m.vend_ready,C=l.price===0,V="ERROR!",v="";C?(V="FREE",v="arrow-circle-down"):(V=l.price,v="shopping-cart");var p=!i||l.stock===0||!C&&l.price>s;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+l.icon,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:l.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:l.stock<=0&&"bad"||"good",children:[l.stock," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:p,icon:v,content:V,textAlign:"left",onClick:function(){function g(){return u("vend",{Key:l.Key})}return g}()})})]})},y=r.Customat=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.guestNotice,d=m.userMoney,s=m.user,i=m.products,C=m.vend_ready,V=m.panel_open,v=m.speaker;return(0,e.createComponentVNode)(2,f.Window,{width:470,height:600,title:"Customat",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.Section,{title:"User",children:s&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,s.name,0),", ",(0,e.createVNode)(1,"b",null,s.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.createComponentVNode)(2,o.Box,{color:"light-grey",children:l})}),!!V&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:v?"check":"volume-mute",selected:v,content:"Speaker",textAlign:"left",onClick:function(){function p(){return u("toggle_voice",{})}return p}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:i.map(function(p){return(0,e.createComponentVNode)(2,k,{product:p,productStock:p.stock},p.name)})})})})]})})})}return S}()},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),k=[["good","\u041D\u043E\u0440\u043C\u0430"],["average","\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],y=[["ui","\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0423\u0418","dna"],["se","\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0421\u0424","dna"],["buffer","\u0411\u0443\u0444\u0435\u0440 \u0434\u0430\u043D\u043D\u044B\u0445","syringe"],["rejuvenators","\u0425\u0438\u043C\u0438\u043A\u0430\u0442\u044B","flask"]],S=[5,10,20,30,50],b=r.DNAModifier=function(){function p(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.irradiating,A=L.dnaBlockSize,T=L.occupant;N.dnaBlockSize=A,N.isDNAInvalid=!T.isViableSubject||!T.uniqueIdentity||!T.structuralEnzymes;var E;return I&&(E=(0,e.createComponentVNode)(2,V,{duration:I})),(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,c)})]})})]})}return p}(),h=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.locked,A=L.hasOccupant,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0439 \u0437\u0430\u043C\u043E\u043A:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:I,icon:I?"toggle-on":"toggle-off",content:I?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",onClick:function(){function E(){return B("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||I,icon:"user-slash",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0441\u0443\u0431\u044A\u0435\u043A\u0442",onClick:function(){function E(){return B("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:"\u0418\u043C\u044F",children:T.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:T.minHealth,max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:k[T.stat][0],children:k[T.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),N.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 \u041D\u0435\u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0449\u0438\u0439 \u0441\u0443\u0431\u044A\u0435\u043A\u0442. \u041F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043C\u0430\u043D\u0438\u043F\u0443\u043B\u044F\u0446\u0438\u0439 \u0441\u043E \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043E\u0439 \u0414\u041D\u041A \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0430\u0434\u0438\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u043F\u043E\u0440\u0430\u0436\u0435\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:T.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B",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 \u041D/\u0414"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u0414\u041D\u041A-\u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u043F\u0443\u0441\u0442\u0430."})})},c=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.selectedMenuKey,A=L.hasOccupant,T=L.occupant;if(A){if(N.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"),"\u041C\u0430\u043D\u0438\u043F\u0443\u043B\u044F\u0446\u0438\u0438 \u0441\u043E \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043E\u0439 \u0414\u041D\u041A \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B."]})})})}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"),"\u041A\u0430\u043F\u0441\u0443\u043B\u0430 \u0414\u041D\u041A-\u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u043F\u0443\u0441\u0442\u0430."]})})});var E;return I==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,l)],4):I==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)],4):I==="buffer"?E=(0,e.createComponentVNode)(2,d):I==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(P,M){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:P[2],selected:I===P[0],onClick:function(){function O(){return B("selectMenuKey",{key:P[0]})}return O}(),children:P[1]},M)})}),E]})},u=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.selectedUIBlock,A=L.selectedUISubBlock,T=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432",children:[(0,e.createComponentVNode)(2,v,{dnaString:E.uniqueIdentity,selectedBlock:I,selectedSubblock:A,blockSize:N.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:T,format:function(){function P(M){return M.toString(16).toUpperCase()}return P}(),ml:"0",onChange:function(){function P(M,O){return B("changeUITarget",{value:O})}return P}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"\u041E\u0431\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A",mt:"0.5rem",onClick:function(){function P(){return B("pulseUIRadiation")}return P}()})]})},m=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.selectedSEBlock,A=L.selectedSESubBlock,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0445 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u043E\u0432",children:[(0,e.createComponentVNode)(2,v,{dnaString:T.structuralEnzymes,selectedBlock:I,selectedSubblock:A,blockSize:N.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"\u041E\u0431\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A",onClick:function(){function E(){return B("pulseSERadiation")}return E}()})]})},l=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0437\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044C \u0440\u0430\u0434\u0438\u0430\u0446\u0438\u0438",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041C\u043E\u0449\u043D\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:I,popUpPosition:"right",ml:"0",onChange:function(){function T(E,P){return B("radiationIntensity",{value:P})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function T(E,P){return B("radiationDuration",{value:P})}return T}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"\u041E\u0431\u043B\u0443\u0447\u0438\u0442\u044C \u0440\u0430\u0434\u0438\u0430\u0446\u0438\u0435\u0439",tooltip:"\u041C\u0443\u0442\u0438\u0440\u0443\u0435\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0431\u043B\u043E\u043A, \u0423\u0418 \u0438\u043B\u0438 \u0421\u0424 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function T(){return B("pulseRadiation")}return T}()})]})},d=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.buffers,A=I.map(function(T,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"\u042F\u0447\u0435\u0439\u043A\u0430 \u0431\u0443\u0444\u0435\u0440\u0430 \u2116"+(E+1),buffer:T},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:"\u0411\u0443\u0444\u0435\u0440",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=g.id,A=g.name,T=g.buffer,E=L.isInjectorReady,P=A+(T.data?" - "+T.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:!T.data,icon:"trash",content:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",onClick:function(){function M(){return B("bufferOption",{option:"clear",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data,icon:"pen",content:"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C",onClick:function(){function M(){return B("bufferOption",{option:"changeLabel",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data||!L.hasDisk,icon:"save",content:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",tooltip:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u044F\u0447\u0435\u0439\u043A\u0443 \u0431\u0443\u0444\u0435\u0440\u0430 \u043D\u0430 \u0434\u0438\u0441\u043A\u0435\u0442\u0443.",tooltipPosition:"bottom-start",onClick:function(){function M(){return B("bufferOption",{option:"saveDisk",id:I})}return M}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"\u0423\u0418 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"saveUI",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"\u0423\u0418 \u0438 \u0423\u0424 \u0441\u0443\u0431\u044A\u0435\u0442\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"saveUIAndUE",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"\u0421\u0424 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"saveSE",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"\u0421 \u0434\u0438\u0441\u043A\u0435\u0442\u044B",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"loadDisk",id:I})}return M}()})]}),!!T.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",children:T.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F \u0434\u0430\u043D\u043D\u044B\u0445",children:[T.type==="ui"?"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B":"\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B",!!T.ue&&" \u0438 \u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043D\u043D\u044B\u0445",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"\u0418\u043D\u044A\u0435\u043A\u0442\u043E\u0440",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"createInjector",id:I})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"\u0418\u043D\u044A\u0435\u043A\u0442\u043E\u0440 \u0431\u043B\u043E\u043A\u0430",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"createInjector",id:I,block:1})}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",mb:"0",onClick:function(){function M(){return B("bufferOption",{option:"transfer",id:I})}return M}()})]})],4)]}),!T.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"\u0411\u0443\u0444\u0435\u0440 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0443\u0441\u0442."})]})})},i=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0414\u0438\u0441\u043A\u0435\u0442\u0430",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!I||!A.data,icon:"trash",content:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",onClick:function(){function T(){return B("wipeDisk")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!I,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",onClick:function(){function T(){return B("ejectDisk")}return T}()})],4),children:I?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042D\u0442\u0438\u043A\u0435\u0442\u043A\u0430",children:A.label?A.label:"\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0443\u0431\u044A\u0435\u043A\u0442",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F \u0434\u0430\u043D\u043D\u044B\u0445",children:[A.type==="ui"?"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B":"\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B",!!A.ue&&" \u0438 \u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0424\u0435\u0440\u043C\u0435\u043D\u0442\u044B"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442."}):(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"),"\u0414\u0438\u0441\u043A\u0435\u0442\u0430 \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430."]})})},C=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=L.isBeakerLoaded,A=L.beakerVolume,T=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u0425\u0438\u043C\u0438\u043A\u0430\u0442\u044B \u0438 \u0451\u043C\u043A\u043E\u0441\u0442\u0438",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!I,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C",onClick:function(){function E(){return B("ejectBeaker")}return E}()}),children:I?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0445\u0438\u043C\u0438\u043A\u0430\u0442\u044B",children:[S.map(function(E,P){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function M(){return B("injectRejuvenators",{amount:E})}return M}()},P)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"\u0412\u0441\u0435",onClick:function(){function E(){return B("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:T||"\u042D\u0442\u0438\u043A\u0435\u0442\u043A\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:["\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C: ",A,"u"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"\u041F\u0443\u0441\u0442\u043E"})]})]}):(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,"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430.",16)]})})})},V=function(g,N){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)("\xA0\u041E\u0431\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u0441\u0443\u0431\u044A\u0435\u043A\u0442\u0430\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)("\u0412 \u0442\u0435\u0447\u0435\u043D\u0438\u0438 "),g.duration,(0,e.createTextVNode)(" \u0441\u0435\u043A\u0443\u043D\u0434"),g.duration%10===1&&g.duration%100!==11?"\u044B":""],0)})]})},v=function(g,N){for(var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=g.dnaString,A=g.selectedBlock,T=g.selectedSubblock,E=g.blockSize,P=g.action,M=I.split(""),O=0,R=[],F=function(){for(var U=W/E+1,K=[],Y=function(){var le=ne+1;K.push((0,e.createComponentVNode)(2,t.Button,{selected:A===U&&T===le,content:M[W+ne],mb:"0",onClick:function(){function de(){return B(P,{block:U,subblock:le})}return de}()}))},ne=0;neC.spawnpoints?"red":"green",children:[C.total," \u0432\u044B\u0431\u0440\u0430\u043D\u043E, \u043F\u0440\u043E\u0442\u0438\u0432 ",C.spawnpoints," \u0442\u043E\u0447\u0435\u043A \u0441\u043F\u0430\u0432\u043D\u0430"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u041E\u0411\u0420",onClick:function(){function N(){return i("dispatch_ert",{silent:p})}return N}()})})]})})},c=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=C.ert_request_messages;return(0,e.createComponentVNode)(2,t.Section,{children:V&&V.length?V.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function p(){return i("view_player_panel",{uid:v.sender_uid})}return p}(),tooltip:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C Player panel"}),children:v.message},(0,f.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Box,{fluid:!0,italic:!0,textAlign:"center",children:"\u041D\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u041E\u0411\u0420"})})},u=function(l,d){var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=(0,a.useLocalState)(d,"text",""),v=V[0],p=V[1];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u043F\u0440\u0438\u0447\u0438\u043D\u0443 \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F \u041E\u0411\u0420.\n\u041C\u043D\u043E\u0433\u043E\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0432\u0432\u043E\u0434 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.",rows:10,fluid:!0,multiline:1,value:v,onChange:function(){function g(N,x){return p(x)}return g}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441 \u041E\u0411\u0420",fluid:!0,icon:"times",center:!0,mt:"5px",textAlign:"center",onClick:function(){function g(){return i("deny_ert",{reason:v})}return g}()})]})}},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),k=r.Electropack=function(){function y(S,b){var h=(0,t.useBackend)(b),c=h.act,u=h.data,m=u.power,l=u.code,d=u.frequency,s=u.minFrequency,i=u.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:150,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 c("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 c("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:d/10,format:function(){function C(V){return(0,a.toFixed)(V,1)}return C}(),width:"80px",onChange:function(){function C(V,v){return c("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 c("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:l,width:"80px",onChange:function(){function C(V,v){return c("code",{code:v})}return C}()})})]})})})})}return y}()},36730:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.EvolutionMenu=function(){function S(b,h){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:574,theme:"changeling",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,y)]})})}return S}(),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.evo_points,d=m.can_respec;return(0,e.createComponentVNode)(2,t.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:l}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{ml:2.5,disabled:!d,content:"Readapt",icon:"sync",onClick:function(){function s(){return u("readapt")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})},y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.evo_points,d=m.ability_list,s=m.purchased_abilities,i=m.view_mode;return(0,e.createComponentVNode)(2,t.Section,{title:"Abilities",flexGrow:"1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:i?"square-o":"check-square-o",selected:!i,content:"Compact",onClick:function(){function C(){return u("set_view_mode",{mode:0})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:i?"check-square-o":"square-o",selected:i,content:"Expanded",onClick:function(){function C(){return u("set_view_mode",{mode:1})}return C}()})],4),children:d.map(function(C,V){return(0,e.createComponentVNode)(2,t.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{ml:.5,color:"#dedede",children:C.name}),s.includes(C.power_path)&&(0,e.createComponentVNode)(2,t.Flex.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,t.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,t.Box,{as:"span",bold:!0,color:"#1b945c",children:C.cost})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,t.Button,{mr:.5,disabled:C.cost>l||s.includes(C.power_path),content:"Evolve",onClick:function(){function v(){return u("purchase",{power_path:C.power_path})}return v}()})})]}),!!i&&(0,e.createComponentVNode)(2,t.Flex,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:C.description+" "+C.helptext})]},V)})})}},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),k=n(73379),y=n(98595),S=["id","amount","lineDisplay","onClick"];function b(V,v){if(V==null)return{};var p={};for(var g in V)if({}.hasOwnProperty.call(V,g)){if(v.includes(g))continue;p[g]=V[g]}return p}var h=2e3,c={bananium:"clown",tranquillite:"mime"},u=r.ExosuitFabricator=function(){function V(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.building;return(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)}),B&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return V}(),m=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.materials,L=x.capacity,I=Object.values(B).reduce(function(A,T){return A+T},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:[(I/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,i,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function T(){return N("withdraw",{id:A})}return T}()},A)})})},l=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.curCategory,L=x.categories,I=x.designs,A=x.syncing,T=(0,o.useLocalState)(p,"searchText",""),E=T[0],P=T[1],M=(0,t.createSearch)(E,function(R){return R.name}),O=I.filter(M);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:B,options:L,onSelected:function(){function R(F){return N("category",{cat:F})}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 N("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 N("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(F,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."})]})},d=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.building,L=x.buildStart,I=x.buildEnd,A=x.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:I,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 ",B,"\xA0(",(0,e.createComponentVNode)(2,k.Countdown,{current:A,timeLeft:I-A,format:function(){function T(E,P){return P.substr(3)}return T}()}),")"]})]})})})},s=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=x.queue,L=x.processingQueue,I=Object.entries(x.queueDeficit).filter(function(T){return T[1]<0}),A=B.reduce(function(T,E){return T+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 T(){return N("process")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:B.length===0,icon:"eraser",content:"Clear",onClick:function(){function T(){return N("unqueueall")}return T}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:B.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:B.map(function(T,E){return(0,e.createComponentVNode)(2,f.Box,{color:T.notEnough&&"bad",children:[E+1,". ",T.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function P(){return N("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(I).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:",I.map(function(T){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:T[0],amount:-T[1],lineDisplay:!0})},T[0])})]})],0)})})},i=function(v,p){var g=(0,o.useBackend)(p),N=g.act,x=g.data,B=v.id,L=v.amount,I=v.lineDisplay,A=v.onClick,T=b(v,S),E=x.materials[B]||0,P=L||E;if(!(P<=0&&!(B==="metal"||B==="glass"))){var M=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",I&&"Exofab__material--line"])},T,{children:I?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",B])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:M&&"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",B])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:B}),(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 g=(0,o.useBackend)(p),N=g.act,x=g.data,B=v.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:B.notEnough||x.building,icon:"cog",content:B.name,onClick:function(){function L(){return N("build",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return N("queue",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(B.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),B.time>0?(0,e.createFragment)([B.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},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,k=1013,y=function(h){var c="good",u=80,m=95,l=110,d=120;return hl?c="average":h>d&&(c="bad"),c},S=r.ExternalAirlockController=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.chamber_pressure,s=l.exterior_status,i=l.interior_status,C=l.processing;return(0,e.createComponentVNode)(2,o.Window,{width:470,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(d),value:d,minValue:f,maxValue:k,children:[d," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:C,onClick:function(){function V(){return m("cycle_ext")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Interior",icon:"arrow-circle-right",disabled:C,onClick:function(){function V(){return m("cycle_int")}return V}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function V(){return m("force_ext")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function V(){return m("force_int")}return V}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!C,onClick:function(){function V(){return m("abort")}return V}()})})]})]})})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:300,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: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 u(){return h("scan")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.authenticated?"sign-out-alt":"id-card",selected:c.authenticated,disabled:!c.scan_name&&!c.authenticated,content:c.authenticated?"Log Out":"Log In",onClick:function(){function u(){return h("auth")}return u}()})})]})}),(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:c.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:c.paper?"eject":"paperclip",disabled:!c.authenticated&&!c.paper,content:c.paper?c.paper:"-----",onClick:function(){function u(){return h("paper")}return u}()}),!!c.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function u(){return h("rename")}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:c.destination?c.destination:"-----",disabled:!c.authenticated,onClick:function(){function u(){return h("dept")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:c.sendError?c.sendError:"Send",disabled:!c.paper||!c.destination||!c.authenticated||c.sendError,onClick:function(){function u(){return h("send")}return u}()})})]})})]})})}return k}()},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(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=b.icon_state,d=b.direction,s=b.isSelected,i=b.onSelect;return(0,e.createComponentVNode)(2,t.DmIcon,{icon:m.icon,icon_state:l,direction:d,onClick:i,style:{"border-style":s&&"solid"||"none","border-width":"2px","border-color":"orange",padding:s&&"0px"||"2px"}})},k={NORTH:1,SOUTH:2,EAST:4,WEST:8},y=r.FloorPainter=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.availableStyles,d=m.selectedStyle,s=m.selectedDir;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 i(){return u("cycle_style",{offset:-1})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:l,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function i(C){return u("select_style",{style:C})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function i(){return u("cycle_style",{offset:1})}return i}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"239px",wrap:"wrap",children:l.map(function(i){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{icon_state:i,isSelected:d===i,onSelect:function(){function C(){return u("select_style",{style:i})}return C}()})},i)})})}),(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:[k.NORTH,null,k.SOUTH].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[i+k.WEST,i,i+k.EAST].map(function(C){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:C===null?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{icon_state:d,direction:C,isSelected:C===s,onSelect:function(){function V(){return u("select_direction",{direction:C})}return V}()})},C)})},i)})})})})]})})})}return S}()},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),k=function(l){return l?"("+l.join(", ")+")":"ERROR"},y=function(l,d,s){if(!(!l||!d)){if(l[2]!==d[2]||s!==1)return null;var i=Math.atan2(d[1]-l[1],d[0]-l[0]),C=Math.sqrt(Math.pow(d[1]-l[1],2)+Math.pow(d[0]-l[0],2));return{angle:(0,a.rad2deg)(i),distance:C}}},S=r.GPS=function(){function m(l,d){var s=(0,t.useBackend)(d),i=s.data,C=i.emped,V=i.active,v=i.area,p=i.position,g=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:450,height:700,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:C?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,b,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,h)}),V?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,c,{area:v,position:p})}),g&&(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,c,{title:"Saved Position",position:g})}),(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,u,{height:"100%"})})],0):(0,e.createComponentVNode)(2,b)],0)})})})}return m}(),b=function(l,d){var s=l.emp;return(0,e.createComponentVNode)(2,o.Section,{mt:"0.5rem",width:"100%",height:"100%",stretchContents:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",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(l,d){var s=(0,t.useBackend)(d),i=s.act,C=s.data,V=C.active,v=C.tag,p=C.same_z,g=(0,t.useLocalState)(d,"newTag",v),N=g[0],x=g[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:V,icon:V?"toggle-on":"toggle-off",content:V?"On":"Off",onClick:function(){function B(){return i("toggle")}return B}()}),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 B(){return i("tag",{newtag:N})}return B}(),onInput:function(){function B(L,I){return x(I)}return B}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:v===N,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function B(){return i("tag",{newtag:N})}return B}(),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 B(){return i("same_z")}return B}()})})]})})},c=function(l,d){var s=l.title,i=l.area,C=l.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),k(C)]})})},u=function(l,d){var s=(0,t.useBackend)(d),i=s.data,C=i.position,V=i.signals,v=i.upgraded;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Signals",overflow:"auto"},l,{children:(0,e.createComponentVNode)(2,o.Table,{children:V.map(function(p){return Object.assign({},p,y(C,p.position,v))}).map(function(p,g){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:g%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:p.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:p.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:p.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(p.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:p.distance>0?"arrow-right":"circle",rotation:-p.angle}),"\xA0",Math.floor(p.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:k(p.position)})]},g)})})})))}},68703:function(w,r,n){"use strict";r.__esModule=!0,r.GasAnalyzerHistory=r.GasAnalyzerContent=r.GasAnalyzer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GasAnalyzerContent=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.gasmixes,d=m.autoUpdating;return(0,e.createComponentVNode)(2,t.Section,{title:l[0].name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"unlock":"lock",onClick:function(){function s(){return u("autoscantoggle")}return s}(),tooltip:d?"Auto-Update Enabled":"Auto-Update Disabled",fluid:!0,textAlign:"center",selected:d}),children:l[0].total_moles?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Moles",children:(l[0].total_moles?l[0].total_moles:"-")+" mol"}),l[0].oxygen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:l[0].oxygen.toFixed(2)+" mol ("+(l[0].oxygen/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].nitrogen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:l[0].nitrogen.toFixed(2)+" mol ("+(l[0].nitrogen/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].carbon_dioxide?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:l[0].carbon_dioxide.toFixed(2)+" mol ("+(l[0].carbon_dioxide/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].toxins?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:l[0].toxins.toFixed(2)+" mol ("+(l[0].toxins/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].sleeping_agent?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:l[0].sleeping_agent.toFixed(2)+" mol ("+(l[0].sleeping_agent/l[0].total_moles).toFixed(2)*100+" %)"}):"",l[0].agent_b?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Agent B",children:l[0].agent_b.toFixed(2)+" mol ("+(l[0].agent_b/l[0].total_moles).toFixed(2)*100+" %)"}):"",(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(l[0].total_moles?(l[0].temperature-273.15).toFixed(2):"-")+" \xB0C ("+(l[0].total_moles?l[0].temperature.toFixed(2):"-")+" K)"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Volume",children:(l[0].total_moles?l[0].volume:"-")+" L"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(l[0].total_moles?l[0].pressure.toFixed(2):"-")+" kPa"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Heat Capacity",children:l[0].heat_capacity+" / K"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Thermal Energy",children:l[0].thermal_energy})]}):(0,e.createComponentVNode)(2,t.Box,{nowrap:!0,italic:!0,mb:"10px",children:"No Gas Detected!"})},l[0])}return S}(),k=r.GasAnalyzerHistory=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.historyGasmixes,d=m.historyViewMode,s=m.historyIndex;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Scan History",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"trash",tooltip:"Clear History",onClick:function(){function i(){return u("clearhistory")}return i}(),textAlign:"center",disabled:l.length===0}),children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",children:(0,e.createComponentVNode)(2,t.Flex,{inline:!0,width:"50%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"kPa",onClick:function(){function i(){return u("modekpa")}return i}(),textAlign:"center",selected:d==="kpa"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"mol",onClick:function(){function i(){return u("modemol")}return i}(),textAlign:"center",selected:d==="mol"})})]})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(i,C){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:C+1+". "+(d==="mol"?i[0].total_moles.toFixed(2):i[0].pressure.toFixed(2)),onClick:function(){function V(){return u("input",{target:C+1})}return V}(),textAlign:"left",selected:C+1===s,fluid:!0})},i[0])})})]})}return S}(),y=r.GasAnalyzer=function(){function S(b,h){var c={float:"left",width:"67%"},u={float:"right",width:"33%"};return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{grow:!0,children:(0,e.createComponentVNode)(2,f)}),2,{style:c}),(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{width:"160px",children:(0,e.createComponentVNode)(2,k)}),2,{style:u})]})})}return S}()},27546:function(w,r,n){"use strict";r.__esModule=!0,r.GasFreezer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GasFreezer=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.on,m=c.pressure,l=c.temperature,d=c.temperatureCelsius,s=c.min,i=c.max,C=c.target,V=c.targetCelsius,v=(l-s)/(i-s);return(0,e.createComponentVNode)(2,o.Window,{width:560,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B",selected:u,onClick:function(){function p(){return h("power")}return p}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[m," \u043A\u041F\u0430"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,ranges:{blue:[-1/0,.5],red:[.5,1/0]},children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:[v<.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"blue",ml:1,children:[l," \xB0K (",d," \xB0C)"]}),v>=.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"red",ml:1,children:[l," \xB0K (",d," \xB0C)"]})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0435\u043B\u0435\u0432\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",justify:"end",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:(C-s)/(i-s),children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,ml:1,children:[C," \xB0K (",V," \xB0C)"]})})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0434\u0430\u0442\u044C \u0446\u0435\u043B\u0435\u0432\u0443\u044E \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0443",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",title:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function p(){return h("temp",{temp:s})}return p}()}),(0,e.createComponentVNode)(2,t.NumberInput,{value:Math.round(C),unit:"\xB0K",minValue:Math.round(s),maxValue:Math.round(i),step:5,stepPixelSize:3,onDrag:function(){function p(g,N){return h("temp",{temp:N})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",title:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function p(){return h("temp",{temp:i})}return p}()})]})]})})})})}return k}()},89124:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(35840),o=n(36036),f=n(3939),k=n(98595),y=r.GeneModder=function(){function d(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.has_seed;return(0,e.createComponentVNode)(2,k.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,f.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,S)]})})})}return d}(),S=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Insert Gene from Disk",disabled:!p||!p.can_insert||p.is_core,icon:"arrow-circle-down",onClick:function(){function g(){return V("insert")}return g}()}),children:[(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m)]})},b=function(s,i){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,o.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},h=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.has_seed,g=v.seed,N=v.has_disk,x=v.disk,B,L;return p?B=(0,e.createComponentVNode)(2,o.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",(0,t.classes)(["seeds32x32",g.image]),null,1,{style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,o.Button,{content:g.name,onClick:function(){function I(){return V("eject_seed")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function I(){return V("variant_name")}return I}()})]}):B=(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:"None",onClick:function(){function I(){return V("eject_seed")}return I}()})}),N?L=x.name:L="None",(0,e.createComponentVNode)(2,o.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:L,onClick:function(){function I(){return V("eject_disk")}return I}()})})})]})})},c=function(s,i){var C=(0,a.useBackend)(i),V=C.act,v=C.data,p=v.disk,g=v.core_genes;return(0,e.createComponentVNode)(2,o.Collapsible,{title:"Core Genes",open:!0,children:[g.map(function(N){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function x(){return V("extract",{id:N.id})}return x}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace",disabled:!N.is_type||!p.can_insert,icon:"arrow-circle-down",onClick:function(){function x(){return V("replace",{id:N.id})}return x}()})})]},N)})," ",(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace All",disabled:!(p!=null&&p.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function N(){return V("bulk_replace_core")}return N}()})})})]},"Core Genes")},u=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.reagent_genes,p=V.has_reagent;return(0,e.createComponentVNode)(2,l,{title:"Reagent Genes",gene_set:v,do_we_show:p})},m=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.trait_genes,p=V.has_trait;return(0,e.createComponentVNode)(2,l,{title:"Trait Genes",gene_set:v,do_we_show:p})},l=function(s,i){var C=s.title,V=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(i),g=p.act,N=p.data,x=N.disk;return(0,e.createComponentVNode)(2,o.Collapsible,{title:C,open:!0,children:v?V.map(function(B){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(x!=null&&x.can_extract),icon:"save",onClick:function(){function L(){return g("extract",{id:B.id})}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return g("remove",{id:B.id})}return L}()})})]},B)}):(0,e.createComponentVNode)(2,o.Stack.Item,{children:"No Genes Detected"})},C)}},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 k(y,S){return(0,e.createComponentVNode)(2,t.Window,{width:588,height:510,theme:"nologo",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 k}()},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 y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=c.security,m=c.medical,l=c.diagnostic,d=c.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,k,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,k,{label:"Security",type:"security",is_active:u}),(0,e.createComponentVNode)(2,k,{label:"Diagnostic",type:"diagnostic",is_active:l}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,k,{label:"Antag HUD",is_active:d,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=S.label,m=S.type,l=m===void 0?null:m,d=S.is_active,s=S.act_on,i=s===void 0?"hud_on":s,C=S.act_off,V=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:u}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:d?"On":"Off",icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){function v(){return c(d?V:i,{hud_type:l})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.glands,m=u===void 0?[]:u;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(l){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:l.color,content:l.amount||"0",disabled:!l.amount,onClick:function(){function d(){return h("dispense",{gland_id:l.id})}return d}()},l.id)})})})})}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],k=null,y=r.HandheldChemDispenser=function(){function h(c,u){return(0,e.createComponentVNode)(2,o.Window,{width:450,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),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.amount,i=d.energy,C=d.maxEnergy,V=d.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u042D\u043D\u0435\u0440\u0433\u0438\u044F",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[i," / ",C," \u0415\u0434\u0438\u043D\u0438\u0446"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0431\u044A\u0451\u043C \u0441\u0438\u043D\u0442\u0435\u0437\u0430",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 g(){return l("amount",{amount:v})}return g}()})},p)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0420\u0435\u0436\u0438\u043C",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:V==="dispense",content:"\u0421\u0438\u043D\u0442\u0435\u0437",m:"0",width:"32%",onClick:function(){function v(){return l("mode",{mode:"dispense"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:V==="remove",content:"\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435",m:"0",width:"32%",onClick:function(){function v(){return l("mode",{mode:"remove"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:V==="isolate",content:"\u0418\u0437\u043E\u043B\u044F\u0446\u0438\u044F",m:"0",width:"32%",onClick:function(){function v(){return l("mode",{mode:"isolate"})}return v}()})]})})]})})})},b=function(c,u){for(var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.chemicals,i=s===void 0?[]:s,C=d.current_reagent,V=[],v=0;v<(i.length+1)%3;v++)V.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:d.glass?"\u0412\u044B\u0431\u043E\u0440 \u043D\u0430\u043F\u0438\u0442\u043A\u0430":"\u0412\u044B\u0431\u043E\u0440 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",children:[i.map(function(p,g){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 N(){return l("dispense",{reagent:p.id})}return N}()},g)}),V.map(function(p,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},g)})]})})}},75926:function(w,r,n){"use strict";r.__esModule=!0,r.ImplantPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ImplantPad=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.implant,m=c.contains_case,l=c.tag,d=(0,a.useLocalState)(S,"newTag",l),s=d[0],i=d[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 C(){return h("eject_case")}return C}()})}),children:u&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createComponentVNode)(2,t.DmIcon,{icon:u.icon,icon_state:u.icon_state,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),u.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:u.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:u.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:u.function}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:l,onEnter:function(){function C(){return h("tag",{newtag:s})}return C}(),onInput:function(){function C(V,v){return i(v)}return C}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:l===s,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function C(){return h("tag",{newtag:s})}return C}(),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 k}()},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),k=r.Instrument=function(){function c(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,h)]})})]})}return c}(),y=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function C(){return d("help")}return C}()})]})})})},S=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.lines,C=s.playing,V=s.repeat,v=s.maxRepeats,p=s.tempo,g=s.minTempo,N=s.maxTempo,x=s.tickLag,B=s.volume,L=s.minVolume,I=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 T(){return d("help")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function T(){return d("newsong")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function T(){return d("import")}return T}()})],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:i.length===0||V<0,icon:"play",content:"Play",onClick:function(){function T(){return d("play")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C,icon:"stop",content:"Stop",onClick:function(){function T(){return d("stop")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:v,value:V,stepPixelSize:59,onChange:function(){function T(E,P){return d("repeat",{new:P})}return T}()})}),(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>=N,content:"-",as:"span",mr:"0.5rem",onClick:function(){function T(){return d("tempo",{new:p+x})}return T}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=g,content:"+",as:"span",ml:"0.5rem",onClick:function(){function T(){return d("tempo",{new:p-x})}return T}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:I,value:B,stepPixelSize:6,onDrag:function(){function T(E,P){return d("setvolume",{new:P})}return T}()})}),(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(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.allowedInstrumentNames,C=s.instrumentLoaded,V=s.instrument,v=s.canNoteShift,p=s.noteShift,g=s.noteShiftMin,N=s.noteShiftMax,x=s.sustainMode,B=s.sustainLinearDuration,L=s.sustainExponentialDropoff,I=s.legacy,A=s.sustainDropoffVolume,T=s.sustainHeldNote,E,P;return x===1?(E="Linear",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:B,step:.5,stepPixelSize:85,format:function(){function M(O){return(0,a.round)(O*100)/100+" seconds"}return M}(),onChange:function(){function M(O,R){return d("setlinearfalloff",{new:R/10})}return M}()})):x===2&&(E="Exponential",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function M(O){return(0,a.round)(O*1e3)/1e3+"% per decisecond"}return M}(),onChange:function(){function M(O,R){return d("setexpfalloff",{new:R})}return M}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:I?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:C?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:V,width:"50%",onSelected:function(){function M(O){return d("switchinstrument",{name:O})}return M}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!I&&v)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:g,maxValue:N,value:p,stepPixelSize:2,format:function(){function M(O){return O+" keys / "+(0,a.round)(O/12*100)/100+" octaves"}return M}(),onChange:function(){function M(O,R){return d("setnoteshift",{new:R})}return M}()})}),(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 M(O){return d("setsustainmode",{new:O})}return M}()}),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 M(O,R){return d("setdropoffvolume",{new:R})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Yes":"No",onClick:function(){function M(){return d("togglesustainhold")}return M}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function M(){return d("reset")}return M}()})]})})})},h=function(u,m){var l=(0,t.useBackend)(m),d=l.act,s=l.data,i=s.playing,C=s.lines,V=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!V||i,icon:"plus",content:"Add Line",onClick:function(){function v(){return d("newline",{line:C.length+1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!V,icon:V?"chevron-up":"chevron-down",onClick:function(){function v(){return d("edit")}return v}()})],4),children:!!V&&(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:i,icon:"pen",onClick:function(){function g(){return d("modifyline",{line:p+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function g(){return d("deleteline",{line:p+1})}return g}()})],4),children:v},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},65021:function(w,r,n){"use strict";r.__esModule=!0,r.ItemPixelShift=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ItemPixelShift=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.pixel_x,m=c.pixel_y,l=c.max_shift_x,d=c.max_shift_y,s=c.random_drop_on;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:160,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:"X-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",title:"Shifts item leftwards.",disabled:u===-l,onClick:function(){function i(){return h("shift_left")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:u,minValue:-l,maxValue:l,onChange:function(){function i(C,V){return h("custom_x",{pixel_x:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",title:"Shifts item rightwards.",disabled:u===l,onClick:function(){function i(){return h("shift_right")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Y-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-up",title:"Shifts item upwards.",disabled:m===d,onClick:function(){function i(){return h("shift_up")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:m,minValue:-d,maxValue:d,onChange:function(){function i(C,V){return h("custom_y",{pixel_y:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",title:"Shifts item downwards.",disabled:m===-d,onClick:function(){function i(){return h("shift_down")}return i}()})]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"brown",icon:"arrow-up",content:"Move to Top",title:"Tries to place an item on top of the others.",onClick:function(){function i(){return h("move_to_top")}return i}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:s?"good":"bad",icon:"power-off",content:s?"Shift Enabled":"Shift Disabled",title:"Enables/Disables item pixel randomization on any drops.",onClick:function(){function i(){return h("toggle")}return i}()})})]})})]})})}return k}()},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),k=n(19203),y=n(51057),S=function(l){return l.key!==a.KEY.Alt&&l.key!==a.KEY.Control&&l.key!==a.KEY.Shift&&l.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,c=function(l){var d="";if(l.altKey&&(d+="Alt"),l.ctrlKey&&(d+="Ctrl"),l.shiftKey&&!(l.keyCode>=48&&l.keyCode<=57)&&(d+="Shift"),l.location===h&&(d+="Numpad"),S(l))if(l.shiftKey&&l.keyCode>=48&&l.keyCode<=57){var s=l.keyCode-48;d+="Shift"+s}else{var i=l.key.toUpperCase();d+=b[i]||i}return d},u=r.KeyComboModal=function(){function m(l,d){var s=(0,t.useBackend)(d),i=s.act,C=s.data,V=C.init_value,v=C.large_buttons,p=C.message,g=p===void 0?"":p,N=C.title,x=C.timeout,B=(0,t.useLocalState)(d,"input",V),L=B[0],I=B[1],A=(0,t.useLocalState)(d,"binding",!0),T=A[0],E=A[1],P=function(){function R(F){if(!T){F.key===a.KEY.Enter&&i("submit",{entry:L}),F.key===a.KEY.Escape&&i("cancel");return}if(F.preventDefault(),S(F)){M(c(F)),E(!1);return}else if(F.key===a.KEY.Escape){M(V),E(!1);return}}return R}(),M=function(){function R(F){F!==L&&I(F)}return R}(),O=130+(g.length>30?Math.ceil(g.length/3):0)+(g.length&&v?5:0);return(0,e.createComponentVNode)(2,f.Window,{title:N,width:240,height:O,children:[x&&(0,e.createComponentVNode)(2,y.Loader,{value:x}),(0,e.createComponentVNode)(2,f.Window.Content,{onKeyDown:function(){function R(F){P(F)}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:g})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:T,content:T&&T!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function R(){M(V),E(!0)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,k.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=(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(!c.swiping&&!c.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,(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:!c.redAvailable,onClick:function(){function l(){return h("triggerevent",{triggerevent:"Red Alert"})}return l}(),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 l(){return h("triggerevent",{triggerevent:"Emergency Response Team"})}return l}(),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 l(){return h("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return l}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function l(){return h("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return l}(),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 l(){return h("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return l}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function l(){return h("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return l}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!c.hasSwiped&&!c.ertreason&&c.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):c.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):c.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):c.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:[u,c.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:c.ertreason?"":"red",icon:c.ertreason?"check":"pencil-alt",content:c.ertreason?c.ertreason:"-----",disabled:c.busy,onClick:function(){function l(){return h("ert")}return l}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:c.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:c.busy||c.hasConfirm,onClick:function(){function l(){return h("reset")}return l}()}),children:m})]})})}return k}()},40951:function(w,r,n){"use strict";r.__esModule=!0,r.LaborClaimConsole=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),k=r.LaborClaimConsole=function(){function b(h,c){return(0,e.createComponentVNode)(2,f.Window,{width:315,height:470,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S)]})})}return b}(),y=function(h,c){var u=(0,t.useBackend)(c),m=u.act,l=u.data,d=l.can_go_home,s=l.emagged,i=l.id_inserted,C=l.id_name,V=l.id_points,v=l.id_goal,p=l.unclaimed_points,g=s?0:1,N=s?"ERR0R":d?"Completed!":"Insufficient";return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:!!i&&(0,e.createComponentVNode)(2,o.ProgressBar,{value:V/v,ranges:{good:[g,1/0],bad:[-1/0,g]},children:V+" / "+v+" "+N})||!!s&&"ERR0R COMPLETED?!@"||"No ID inserted"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Shuttle controls",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Move shuttle",disabled:!d,onClick:function(){function x(){return m("move_shuttle")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed points",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Claim points ("+p+")",disabled:!i||!p,onClick:function(){function x(){return m("claim_points")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Inserted ID",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:i?C:"-------------",onClick:function(){function x(){return m("handle_id")}return x}()})})]})})},S=function(h,c){var u=(0,t.useBackend)(c),m=u.data,l=m.ores;return(0,e.createComponentVNode)(2,o.Section,{title:"Material values",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:"Material"}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:"Value"})]}),l.map(function(d){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,a.toTitleCase)(d.ore)}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:d.value})})]},d.ore)})]})})}},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,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.isAdmin,s=l.isSlaved,i=l.isMalf,C=l.isAIMalf,V=l.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(d&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||C)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:V===0,onClick:function(){function v(){return m("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:V===1,onClick:function(){function v(){return m("set_view",{set_view:1})}return v}()})]}),V===0&&(0,e.createComponentVNode)(2,k),V===1&&(0,e.createComponentVNode)(2,y)]})})}return b}(),k=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.has_zeroth_laws,s=l.zeroth_laws,i=l.has_ion_laws,C=l.ion_laws,V=l.ion_law_nr,v=l.has_inherent_laws,p=l.inherent_laws,g=l.has_supplied_laws,N=l.supplied_laws,x=l.channels,B=l.channel,L=l.isMalf,I=l.isAdmin,A=l.zeroth_law,T=l.ion_law,E=l.inherent_law,P=l.supplied_law,M=l.supplied_law_position;return(0,e.createFragment)([!!d&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:c}),!!i&&(0,e.createComponentVNode)(2,S,{title:V,laws:C,ctx:c}),!!v&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:p,ctx:c}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:N,ctx:c}),(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:x.map(function(O){return(0,e.createComponentVNode)(2,t.Button,{content:O.channel,selected:O.channel===B,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"})]}),!!(I&&!d)&&(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:T}),(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:M,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)},y=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},S=function(h,c){var u=(0,a.useBackend)(h.ctx),m=u.act,l=u.data,d=l.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 i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},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),k=n(92986),y=n(98595),S=r.ListInputModal=function(){function c(u,m){var l=(0,f.useBackend)(m),d=l.act,s=l.data,i=s.items,C=i===void 0?[]:i,V=s.message,v=V===void 0?"":V,p=s.init_value,g=s.timeout,N=s.title,x=(0,f.useLocalState)(m,"selected",C.indexOf(p)),B=x[0],L=x[1],I=(0,f.useLocalState)(m,"searchBarVisible",C.length>10),A=I[0],T=I[1],E=(0,f.useLocalState)(m,"searchQuery",""),P=E[0],M=E[1],O=function(){function ne($){var le=K.length-1;if($===k.KEY_DOWN)if(B===null||B===le){var de;L(0),(de=document.getElementById("0"))==null||de.scrollIntoView()}else{var oe;L(B+1),(oe=document.getElementById((B+1).toString()))==null||oe.scrollIntoView()}else if($===k.KEY_UP)if(B===null||B===0){var re;L(le),(re=document.getElementById(le.toString()))==null||re.scrollIntoView()}else{var Z;L(B-1),(Z=document.getElementById((B-1).toString()))==null||Z.scrollIntoView()}}return ne}(),R=function(){function ne($){$!==B&&L($)}return ne}(),F=function(){function ne(){T(!1),T(!0)}return ne}(),W=function(){function ne($){var le=String.fromCharCode($),de=C.find(function(Z){return Z==null?void 0:Z.toLowerCase().startsWith(le==null?void 0:le.toLowerCase())});if(de){var oe,re=C.indexOf(de);L(re),(oe=document.getElementById(re.toString()))==null||oe.scrollIntoView()}}return ne}(),j=function(){function ne($){var le;$!==P&&(M($),L(0),(le=document.getElementById("0"))==null||le.scrollIntoView())}return ne}(),U=function(){function ne(){T(!A),M("")}return ne}(),K=C.filter(function(ne){return ne==null?void 0:ne.toLowerCase().includes(P.toLowerCase())}),Y=330+Math.ceil(v.length/3);return A||setTimeout(function(){var ne;return(ne=document.getElementById(B.toString()))==null?void 0:ne.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:N,width:325,height:Y,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function ne($){var le=window.event?$.which:$.keyCode;(le===k.KEY_DOWN||le===k.KEY_UP)&&($.preventDefault(),O(le)),le===k.KEY_ENTER&&($.preventDefault(),d("submit",{entry:K[B]})),!A&&le>=k.KEY_A&&le<=k.KEY_Z&&($.preventDefault(),W(le)),le===k.KEY_ESCAPE&&($.preventDefault(),d("cancel"))}return ne}(),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 ne(){return U()}return ne}()}),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:F,searchBarVisible:A,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,h,{filteredItems:K,onSearch:j,searchQuery:P,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:K[B]})})]})})})]})}return c}(),b=function(u,m){var l=(0,f.useBackend)(m),d=l.act,s=u.filteredItems,i=u.onClick,C=u.onFocusSearch,V=u.searchBarVisible,v=u.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(p,g){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:g,onClick:function(){function N(){return i(g)}return N}(),onDblClick:function(){function N(x){x.preventDefault(),d("submit",{entry:s[v]})}return N}(),onKeyDown:function(){function N(x){var B=window.event?x.which:x.keyCode;V&&B>=k.KEY_A&&B<=k.KEY_Z&&(x.preventDefault(),C())}return N}(),selected:g===v,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(N){return N.toUpperCase()})},g)})})},h=function(u,m){var l=(0,f.useBackend)(m),d=l.act,s=u.filteredItems,i=u.onSearch,C=u.searchQuery,V=u.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function v(p){p.preventDefault(),d("submit",{entry:s[V]})}return v}(),onInput:function(){function v(p,g){return i(g)}return v}(),placeholder:"Search...",value:C})}},26826:function(w,r,n){"use strict";r.__esModule=!0,r.Loadout=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),k={Default:function(){function u(m,l){return m.gear.gear_tier-l.gear.gear_tier}return u}(),Alphabetical:function(){function u(m,l){return m.gear.name.toLowerCase().localeCompare(l.gear.name.toLowerCase())}return u}(),Cost:function(){function u(m,l){return m.gear.cost-l.gear.cost}return u}()},y=r.Loadout=function(){function u(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=(0,t.useLocalState)(l,"search",!1),V=C[0],v=C[1],p=(0,t.useLocalState)(l,"searchText",""),g=p[0],N=p[1],x=(0,t.useLocalState)(l,"category",Object.keys(i.gears)[0]),B=x[0],L=x[1],I=(0,t.useLocalState)(l,"tweakedGear",""),A=I[0],T=I[1];return(0,e.createComponentVNode)(2,f.Window,{width:975,height:650,children:[A&&(0,e.createComponentVNode)(2,c,{tweakedGear:A,setTweakedGear:T}),(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,{children:(0,e.createComponentVNode)(2,S,{category:B,setCategory:L})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"25%",children:(0,e.createComponentVNode)(2,h,{setTweakedGear:T})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"75%",children:(0,e.createComponentVNode)(2,b,{category:B,search:V,setSearch:v,searchText:g,setSearchText:N})})]})})]})})]})}return u}(),S=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=m.category,V=m.setCategory;return(0,e.createComponentVNode)(2,o.Tabs,{fluid:!0,textAlign:"center",style:{"flex-wrap":"wrap-reverse"},children:Object.keys(i.gears).map(function(v){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:v===C,style:{"white-space":"nowrap"},onClick:function(){function p(){return V(v)}return p}(),children:v},v)})})},b=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=i.user_tier,V=i.gear_slots,v=i.max_gear_slots,p=m.category,g=m.search,N=m.setSearch,x=m.searchText,B=m.setSearchText,L=(0,t.useLocalState)(l,"sortType","Default"),I=L[0],A=L[1],T=(0,t.useLocalState)(l,"sortReverse",!1),E=T[0],P=T[1],M=(0,a.createSearch)(x,function(R){return R.name}),O;return x.length>2?O=Object.entries(i.gears).reduce(function(R,F){var W=F[0],j=F[1];return R.concat(Object.entries(j).map(function(U){var K=U[0],Y=U[1];return{key:K,gear:Y}}))},[]).filter(function(R){var F=R.gear;return M(F)}):O=Object.entries(i.gears[p]).map(function(R){var F=R[0],W=R[1];return{key:F,gear:W}}),O.sort(k[I]),E&&(O=O.reverse()),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:p,buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{height:1.66,selected:I,options:Object.keys(k),onSelected:function(){function R(F){return A(F)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:E?"arrow-down-wide-short":"arrow-down-short-wide",tooltip:E?"Ascending order":"Descending order",tooltipPosition:"bottom-end",onClick:function(){function R(){return P(!E)}return R}()})}),g&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Input,{width:20,placeholder:"Search...",value:x,onInput:function(){function R(F){return B(F.target.value)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"magnifying-glass",selected:g,tooltip:"Toggle search field",tooltipPosition:"bottom-end",onClick:function(){function R(){N(!g),B("")}return R}()})})]}),children:O.map(function(R){var F=R.key,W=R.gear,j=12,U=Object.keys(i.selected_gears).includes(F),K=(W.cost===1,W.cost+" Points"),Y=(0,e.createComponentVNode)(2,o.Box,{children:[W.name.length>j&&(0,e.createComponentVNode)(2,o.Box,{children:W.name}),W.gear_tier>C&&(0,e.createComponentVNode)(2,o.Box,{mt:W.name.length>j&&1.5,textColor:"red",children:"That gear is only available at a higher donation tier than you are on."})]}),ne=(0,e.createFragment)([W.allowed_roles&&(0,e.createComponentVNode)(2,o.Button,{width:"22px",color:"transparent",icon:"user",tooltip:(0,e.createComponentVNode)(2,o.Section,{m:-1,title:"Allowed Roles",children:W.allowed_roles.map(function(le){return(0,e.createComponentVNode)(2,o.Box,{children:le},le)})}),tooltipPosition:"left"}),Object.entries(W.tweaks).map(function(le){var de=le[0],oe=le[1];return oe.map(function(re){return(0,e.createComponentVNode)(2,o.Button,{width:"22px",color:"transparent",icon:re.icon,tooltip:re.tooltip,tooltipPosition:"top"},de)})}),(0,e.createComponentVNode)(2,o.Button,{width:"22px",color:"transparent",icon:"info",tooltip:W.desc,tooltipPosition:"top"})],0),$=(0,e.createComponentVNode)(2,o.Box,{class:"Loadout-InfoBox",children:[(0,e.createComponentVNode)(2,o.Box,{style:{"flex-grow":1},fontSize:1,color:"gold",opacity:.75,children:W.gear_tier>0&&"Tier "+W.gear_tier}),(0,e.createComponentVNode)(2,o.Box,{fontSize:.75,opacity:.66,children:K})]});return(0,e.createComponentVNode)(2,o.ImageButtonTS,{m:.5,imageSize:84,dmIcon:W.icon,dmIconState:W.icon_state,tooltip:(W.name.length>j||W.gear_tier>0)&&Y,tooltipPosition:"bottom",selected:U,disabled:W.gear_tier>C||V+W.cost>v&&!U,buttons:ne,buttonsAlt:$,onClick:function(){function le(){return s("toggle_gear",{gear:W.index_name})}return le}(),children:W.name},F)})})},h=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=m.setTweakedGear,V=Object.entries(i.gears).reduce(function(v,p){var g=p[0],N=p[1],x=Object.entries(N).filter(function(B){var L=B[0];return Object.keys(i.selected_gears).includes(L)}).map(function(B){var L=B[0],I=B[1];return Object.assign({key:L},I)});return v.concat(x)},[]);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,{fill:!0,scrollable:!0,title:"Selected Equipment",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"Clear Loadout",tooltipPosition:"bottom-end",onClick:function(){function v(){return s("clear_loadout")}return v}()}),children:V.map(function(v){var p=i.selected_gears[v.key];return(0,e.createComponentVNode)(2,o.ImageButtonTS,{fluid:!0,imageSize:48,base64:p.icon,dmIcon:p.icon_file?p.icon_file:v.icon,dmIconState:p.icon_state?p.icon_state:v.icon_state,buttons:(0,e.createFragment)([Object.entries(v.tweaks).length>0&&(0,e.createComponentVNode)(2,o.Button,{color:"translucent",icon:"gears",iconColor:"gray",width:"33px",onClick:function(){function g(){return C(v)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{color:"translucent",icon:"times",iconColor:"red",width:"32px",onClick:function(){function g(){return s("toggle_gear",{gear:v.index_name})}return g}()})],0),children:p.name?p.name:v.name},v.key)})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:i.gear_slots,maxValue:i.max_gear_slots,ranges:{bad:[i.max_gear_slots,1/0],average:[i.max_gear_slots*.66,i.max_gear_slots],good:[0,i.max_gear_slots*.66]},children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:["Used points ",i.gear_slots,"/",i.max_gear_slots]})})})})]})},c=function(m,l){var d=(0,t.useBackend)(l),s=d.act,i=d.data,C=m.tweakedGear,V=m.setTweakedGear;return(0,e.createComponentVNode)(2,o.Dimmer,{children:(0,e.createComponentVNode)(2,o.Box,{className:"Loadout-Modal__background",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,width:20,height:20,title:C.name,buttons:(0,e.createComponentVNode)(2,o.Button,{color:"red",icon:"times",tooltip:"Close",tooltipPosition:"top",onClick:function(){function v(){return V("")}return v}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:Object.entries(C.tweaks).map(function(v){var p=v[0],g=v[1];return g.map(function(N){var x=i.selected_gears[C.key][p];return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N.name,color:x?"":"gray",buttons:(0,e.createComponentVNode)(2,o.Button,{color:"transparent",icon:"pen",onClick:function(){function B(){return s("set_tweak",{gear:C.index_name,tweak:p})}return B}()}),children:[x||"Default",(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,width:1,height:1,verticalAlign:"middle",style:{"background-color":""+x}})]},p)})})})})})})}},88832:function(w,r,n){"use strict";r.__esModule=!0,r.MatrixMathTester=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(44879),f=n(98595),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:b.value,step:.005,format:function(){function m(l){return(0,o.toFixed)(l,3)}return m}(),width:"100%",onChange:function(){function m(l,d){return u("change_var",{var_name:b.varName,var_value:d})}return m}()})},y=r.MatrixMathTester=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.matrix_a,d=m.matrix_b,s=m.matrix_c,i=m.matrix_d,C=m.matrix_e,V=m.matrix_f,v=m.pixelated,p=(0,a.useLocalState)(h,"scale_x",1),g=p[0],N=p[1],x=(0,a.useLocalState)(h,"scale_y",1),B=x[0],L=x[1],I=(0,a.useLocalState)(h,"translate_x",0),A=I[0],T=I[1],E=(0,a.useLocalState)(h,"translate_y",0),P=E[0],M=E[1],O=(0,a.useLocalState)(h,"shear_x",0),R=O[0],F=O[1],W=(0,a.useLocalState)(h,"shear_y",0),j=W[0],U=W[1],K=(0,a.useLocalState)(h,"angle",0),Y=K[0],ne=K[1];return(0,e.createComponentVNode)(2,f.Window,{title:"Transform Editor",width:290,height:270,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,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:"30%"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"25%",children:"X"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"25%",children:"Y"})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Position(c, f)"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:s,varName:"c"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:V,varName:"f"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Incline(b, d)"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:d,varName:"b"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:i,varName:"d"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Scale(a,e)"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:l,varName:"a"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,k,{value:C,varName:"e"})})]})]}),(0,e.createComponentVNode)(2,t.Table,{mt:3,children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Action"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"X"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Y"})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"up-right-and-down-left-from-center",content:"Scale",width:"100%",onClick:function(){function $(){return u("scale",{x:g,y:B})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:g,step:.05,format:function(){function $(le){return(0,o.toFixed)(le,2)}return $}(),width:"100%",onChange:function(){function $(le,de){return N(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:B,step:.05,format:function(){function $(le){return(0,o.toFixed)(le,2)}return $}(),width:"100%",onChange:function(){function $(le,de){return L(de)}return $}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:"Translate",width:"100%",onClick:function(){function $(){return u("translate",{x:A,y:P})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:A,step:1,format:function(){function $(le){return(0,o.toFixed)(le,0)}return $}(),width:"100%",onChange:function(){function $(le,de){return T(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:P,step:1,format:function(){function $(le){return(0,o.toFixed)(le,0)}return $}(),width:"100%",onChange:function(){function $(le,de){return M(de)}return $}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"maximize",content:"Shear",width:"100%",onClick:function(){function $(){return u("shear",{x:R,y:j})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:R,step:.005,format:function(){function $(le){return(0,o.toFixed)(le,3)}return $}(),width:"100%",onChange:function(){function $(le,de){return F(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:j,step:.005,format:function(){function $(le){return(0,o.toFixed)(le,3)}return $}(),width:"100%",onChange:function(){function $(le,de){return U(de)}return $}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"rotate-right",content:"Rotate",width:"100%",onClick:function(){function $(){return u("turn",{angle:Y})}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:Y,step:.5,maxValue:360,minValue:-360,format:function(){function $(le){return(0,o.toFixed)(le,1)}return $}(),width:"100%",onChange:function(){function $(le,de){return ne(de)}return $}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"dog",color:"bad",selected:v,content:"PET",tooltip:"Pixel Enhanced Transforming",tooltipPosition:"bottom",width:"100%",onClick:function(){function $(){return u("toggle_pixel")}return $}()})})]})]})]})})})}return S}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.recharge_port,m=u&&u.mech,l=m&&m.cell,d=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:d?"Mech status: "+d:"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:!u&&(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:!u&&(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."})||!l&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.charge/l.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.charge})," / "+l.maxcharge]})})]})})})})}return k}()},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),k=n(25328),y=r.MechaControlConsole=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.beacons,d=m.stored_data;return d.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 u("clear_log")}return s}()}),children:d.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,k.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:l.length&&l.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return u("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return u("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"EMP",icon:"bomb",onClick:function(){function i(){return u("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,k.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),k=n(98595),y=n(321),S=n(5485),b=n(22091),h={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},c={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},u=function(I,A){(0,f.modalOpen)(I,"edit",{field:A.edit,value:A.value})},m=function(I,A){var T=I.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:T.name||"\u0412\u0438\u0440\u0443\u0441",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:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0430\u0434\u0438\u0439",children:T.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435",children:T.spread_text}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435 \u043C\u0435\u0442\u043E\u0434\u044B \u043B\u0435\u0447\u0435\u043D\u0438\u044F",children:T.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0417\u0430\u043C\u0435\u0442\u043A\u0438",children:T.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u044F\u0436\u0435\u0441\u0442\u044C",color:h[T.severity],children:T.severity})]})})})},l=r.MedicalRecords=function(){function L(I,A){var T=(0,t.useBackend)(A),E=T.data,P=E.loginState,M=E.screen;if(!P.logged_in)return(0,e.createComponentVNode)(2,k.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var O;return M===2?O=(0,e.createComponentVNode)(2,d):M===3?O=(0,e.createComponentVNode)(2,s):M===4?O=(0,e.createComponentVNode)(2,i):M===5?O=(0,e.createComponentVNode)(2,p):M===6&&(O=(0,e.createComponentVNode)(2,g)),(0,e.createComponentVNode)(2,k.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,B),O]})})]})}return L}(),d=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.records,O=(0,t.useLocalState)(A,"searchText",""),R=O[0],F=O[1],W=(0,t.useLocalState)(A,"sortId","name"),j=W[0],U=W[1],K=(0,t.useLocalState)(A,"sortOrder",!0),Y=K[0],ne=K[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:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u0438",icon:"wrench",ml:"0.25rem",onClick:function(){function $(){return E("screen",{screen:3})}return $}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0418\u043C\u044F, ID, \u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0438\u043B\u0438 \u041F\u0441\u0438\u0445\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",onInput:function(){function $(le,de){return F(de)}return $}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,N,{id:"name",children:"\u0418\u043C\u044F"}),(0,e.createComponentVNode)(2,N,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,N,{id:"rank",children:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C"}),(0,e.createComponentVNode)(2,N,{id:"p_stat",children:"\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,N,{id:"m_stat",children:"\u041F\u0441\u0438\u0445\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"})]}),M.filter((0,a.createSearch)(R,function($){return $.name+"|"+$.id+"|"+$.rank+"|"+$.p_stat+"|"+$.m_stat})).sort(function($,le){var de=Y?1:-1;return $[j].localeCompare(le[j])*de}).map(function($){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+c[$.p_stat],onClick:function(){function le(){return E("view_record",{view_record:$.ref})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",$.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.m_stat})]},$.id)})]})})})],4)},s=function(I,A){var T=(0,t.useBackend)(A),E=T.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:"\u0420\u0435\u0437\u0435\u0440\u0432\u043D\u043E\u0435 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0430 \u0434\u0438\u0441\u043A\u0435\u0442\u0443",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:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441 \u0434\u0438\u0441\u043A\u0435\u0442\u044B",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:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0431\u0430\u0437\u0443 \u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439",onClick:function(){function P(){return E("del_all")}return P}()})})]})})},i=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medical,O=P.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:"\u041E\u0441\u043D\u043E\u0432\u043D\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:O?"spinner":"print",disabled:O,iconSpin:!!O,content:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u044C",ml:"0.5rem",onClick:function(){function R(){return E("print_record")}return R}()}),children:(0,e.createComponentVNode)(2,C)})}),!M||!M.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",onClick:function(){function R(){return E("new")}return R}()}),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"),"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0442\u0440\u0430\u0447\u0435\u043D\u0430!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!M.empty,content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",onClick:function(){function R(){return E("del_r")}return R}()}),children:(0,e.createComponentVNode)(2,V)})}),(0,e.createComponentVNode)(2,v)],4)],0)},C=function(I,A){var T=(0,t.useBackend)(A),E=T.data,P=E.general;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"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:P.fields.map(function(M,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:M.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:M.value}),!!M.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function R(){return u(A,M)}return R}()})]},O)})})}),!!P.has_photos&&P.photos.map(function(M,O){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:M,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"\u0424\u043E\u0442\u043E \u2116",O+1]},O)})]})},V=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medical;return!M||!M.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"\u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0442\u0440\u0430\u0447\u0435\u043D\u0430!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:M.fields.map(function(O,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:O.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(O.value),!!O.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:O.line_break?"1rem":"initial",onClick:function(){function F(){return u(A,O)}return F}()})]},R)})})})})},v=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439",onClick:function(){function O(){return(0,f.modalOpen)(A,"add_comment")}return O}()}),children:M.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442."}):M.comments.map(function(O,R){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:O.header}),(0,e.createVNode)(1,"br"),O.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return E("del_c",{del_c:R+1})}return F}()})]},R)})})})},p=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.virus,O=(0,t.useLocalState)(A,"searchText",""),R=O[0],F=O[1],W=(0,t.useLocalState)(A,"sortId2","name"),j=W[0],U=W[1],K=(0,t.useLocalState)(A,"sortOrder2",!0),Y=K[0],ne=K[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:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435, \u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0421\u0442\u0430\u0434\u0438\u0439 \u0438\u043B\u0438 \u0422\u044F\u0436\u0435\u0441\u0442\u044C",onInput:function(){function $(le,de){return F(de)}return $}()})}),(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,x,{id:"name",children:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,x,{id:"max_stages",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0430\u0434\u0438\u0439"}),(0,e.createComponentVNode)(2,x,{id:"severity",children:"\u0422\u044F\u0436\u0435\u0441\u0442\u044C"})]}),M.filter((0,a.createSearch)(R,function($){return $.name+"|"+$.max_stages+"|"+$.severity})).sort(function($,le){var de=Y?1:-1;return $[j].localeCompare(le[j])*de}).map(function($){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+$.severity,onClick:function(){function le(){return E("vir",{vir:$.D})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",$.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:$.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:h[$.severity],children:$.severity})]},$.id)})]})})})})],4)},g=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.medbots;return M.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"\u041C\u0435\u0434\u0431\u043E\u0442\u044B \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B."]})})})}):(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:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"\u041B\u043E\u043A\u0430\u0446\u0438\u044F"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"\u0425\u0438\u043C\u0438\u043A\u0430\u0442\u044B"})]}),M.map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+O.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",O.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[O.area||"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"," (",O.x,", ",O.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"\u0412\u043A\u043B\u044E\u0447\u0451\u043D"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.use_beaker?"\u0401\u043C\u043A\u043E\u0441\u0442\u044C: "+O.total_volume+"/"+O.maximum_volume:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 \u0441\u0438\u043D\u0442\u0435\u0437\u0430\u0442\u043E\u0440"})]},O.id)})]})})})},N=function(I,A){var T=(0,t.useLocalState)(A,"sortId","name"),E=T[0],P=T[1],M=(0,t.useLocalState)(A,"sortOrder",!0),O=M[0],R=M[1],F=I.id,W=I.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==F&&"transparent",onClick:function(){function j(){E===F?R(!O):(P(F),R(!0))}return j}(),children:[W,E===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},x=function(I,A){var T=(0,t.useLocalState)(A,"sortId2","name"),E=T[0],P=T[1],M=(0,t.useLocalState)(A,"sortOrder2",!0),O=M[0],R=M[1],F=I.id,W=I.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==F&&"transparent",onClick:function(){function j(){E===F?R(!O):(P(F),R(!0))}return j}(),children:[W,E===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},B=function(I,A){var T=(0,t.useBackend)(A),E=T.act,P=T.data,M=P.screen,O=P.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:M===2,onClick:function(){function R(){E("screen",{screen:2})}return R}(),children:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0437\u0430\u043F\u0438\u0441\u0435\u0439"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:M===5,onClick:function(){function R(){E("screen",{screen:5})}return R}(),children:"\u0411\u0430\u0437\u0430 \u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0438\u0440\u0443\u0441\u043E\u0432"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:M===6,onClick:function(){function R(){return E("screen",{screen:6})}return R}(),children:"\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u043C\u0435\u0434\u0431\u043E\u0442\u043E\u0432"}),M===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:M===3,children:"\u041E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0437\u044B \u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439"}),M===4&&O&&!O.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:M===4,children:["\u0417\u0430\u043F\u0438\u0441\u044C: ",O.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},52306:function(w,r,n){"use strict";r.__esModule=!0,r.Mimicking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Mimicking=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.slots||[];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:[u.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Choose",selected:m.selected,onClick:function(){function l(){return h("Choose",{id:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",color:"bad",onClick:function(){function l(){return h("Delete",{id:m.id})}return l}()})],4),children:(0,e.createComponentVNode)(2,t.Box,{preserveWhitespace:!0,textColor:"#878787",fontSize:"14px",children:["Voice: ",m.voice]})},m.id)}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Add",onClick:function(){function m(){return h("Add")}return m}()})]})})})})}return k}()},66238:function(w,r,n){"use strict";r.__esModule=!0,r.Minesweeper=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Minesweeper=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.matrix,m=c.showMessage,l=c.tokens,d=c.uiWidth,s={1:"blue",2:"green",3:"red",4:"darkblue",5:"brown",6:"lightblue",7:"black",8:"white"};document.addEventListener("contextmenu",function(g){return g.preventDefault()});var i=function(){function g(N,x,B){N.button!==0&&N.button!==2||h("Square",{X:x,Y:B,mode:N.button===2?p[V]:V})}return g}(),C=(0,a.useLocalState)(S,"mode","bomb"),V=C[0],v=C[1],p={flag:"bomb",bomb:"flag"};return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",width:d+80,height:750,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0433\u0440\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435",textAlign:"center",fill:!0,fitted:!0,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",iconColor:"black",selected:V==="bomb",onClick:function(){function g(){return v("bomb")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"flag",iconColor:"red",selected:V==="flag",onClick:function(){function g(){return v("flag")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",onClick:function(){function g(){return h("Mode",{mode:"16x30"})}return g}()})],4),children:[(0,e.createVNode)(1,"p"),Object.keys(u).map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:Object.keys(u[g]).map(function(N){return(0,e.createComponentVNode)(2,t.Button,{m:"1px",height:"30px",width:"30px",className:u[g][N].open?"Minesweeper__open":"Minesweeper__closed",bold:!0,color:"transparent",icon:u[g][N].open?u[g][N].bomb?"bomb":"":u[g][N].flag?"flag":"",textColor:u[g][N].open?u[g][N].bomb?"black":s[u[g][N].around]:u[g][N].flag?"red":"gray",onMouseDown:function(){function x(B){return i(B,g,N)}return x}(),children:u[g][N].open&&!u[g][N].bomb&&u[g][N].around?u[g][N].around:" "},N)})},g)}),(0,e.createVNode)(1,"p"),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",className:"Minesweeper__message",children:["\u0414\u043B\u044F \u043F\u043E\u0431\u0435\u0434\u044B \u043D\u0443\u0436\u043D\u043E \u043F\u043E\u043C\u0435\u0442\u0438\u0442\u044C \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438 \u0432\u0441\u0435 \u0431\u043E\u043C\u0431\u044B, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u043F\u0443\u0441\u0442\u044B\u0435 \u043A\u043B\u0435\u0442\u043A\u0438.",(0,e.createVNode)(1,"br"),"\u0411\u0430\u043B\u0430\u043D\u0441 \u0442\u043E\u043A\u0435\u043D\u043E\u0432: ",l,(0,e.createVNode)(1,"br"),m]})]})})})})}return k}()},21385:function(w,r,n){"use strict";r.__esModule=!0,r.MiniGamesMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.MiniGamesMenu=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.spawners||[],m=c.thunderdome_eligible,l=c.notifications_enabled;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.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:m?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:m?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:m?"good":"bad",onClick:function(){function d(){return h("toggle_minigames")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:l?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:l?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:l?"good":"bad",onClick:function(){function d(){return h("toggle_notifications")}return d}()}),(0,e.createComponentVNode)(2,t.Section,{children:u.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:d.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function s(){return h("jump",{ID:d.uids})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Start",onClick:function(){function s(){return h("spawn",{ID:d.uids})}return s}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:d.desc}),!!d.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:d.fluff}),!!d.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:d.important_info})]},d.name)})})]})})}return k}()},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),k=["title","items"];function y(l,d){if(l==null)return{};var s={};for(var i in l)if({}.hasOwnProperty.call(l,i)){if(d.includes(i))continue;s[i]=l[i]}return s}var S={Alphabetical:function(){function l(d,s){return d-s}return l}(),Availability:function(){function l(d,s){return-(d.affordable-s.affordable)}return l}(),Price:function(){function l(d,s){return d.price-s.price}return l}()},b=r.MiningVendor=function(){function l(d,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:450,children:(0,e.createComponentVNode)(2,f.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})})}return l}(),h=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.has_id,p=V.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 g(){return C("logoff")}return g}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},c=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.has_id,p=V.id,g=V.items,N=(0,t.useLocalState)(s,"search",""),x=N[0],B=N[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),I=L[0],A=L[1],T=(0,t.useLocalState)(s,"descending",!1),E=T[0],P=T[1],M=(0,a.createSearch)(x,function(F){return F[0]}),O=!1,R=Object.entries(g).map(function(F,W){var j=Object.entries(F[1]).filter(M).map(function(U){return U[1].affordable=v&&p.points>=U[1].price,U[1]}).sort(S[I]);if(j.length!==0)return E&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,m,{title:F[0],items:j},F[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,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!"})})})},u=function(d,s){var i=(0,t.useLocalState)(s,"search",""),C=i[0],V=i[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],g=v[1],N=(0,t.useLocalState)(s,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(I,A){return V(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(I){return g(I)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"21px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return B(!x)}return L}()})})]})})},m=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=d.title,p=d.items,g=y(d,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},g,{children:p.map(function(N){return(0,e.createComponentVNode)(2,o.ImageButton,{bold:!0,asset:!0,color:"brown",imageSize:"64px",image:N.imageId,imageAsset:"mining_vendor64x64",content:N.name,children:(0,e.createComponentVNode)(2,o.ImageButton.Item,{bold:!0,horizontal:!0,width:"64px",fontSize:1,content:N.price,icon:"shopping-cart",iconSize:1,iconColor:!V.has_id||V.id.points"})}),!!P&&(0,e.createComponentVNode)(2,d,{mt:1.1,label:"ID tag",compactLabel:!0,wrapContent:R?(0,e.createComponentVNode)(2,m,{text:O,defaultText:"",color:"silver"}):(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"red",italic:!0,nowrap:!0,children:"Not supported"})})]})})]})})})}return x}(),c=function(B,L){var I=B.iconName,A=B.machineName,T=B.noMachine,E=B.noMachineText,P=B.noMachineElem,M="Unknown machine",O=T?E:A||"Unknown machine",R=O===E,F=O===E||O===M;return T&&P?P:(0,e.createComponentVNode)(2,o.Flex,{mt:.1,mb:1.9,children:[!T&&(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,align:"center",children:(0,e.createComponentVNode)(2,o.Icon,{mr:1,size:1.1,name:I})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,wordWrap:"break-word",children:(0,e.createComponentVNode)(2,o.Box,{as:"span",wordWrap:"break-word",color:R?"label":"silver",fontSize:"1.1rem",bold:!0,italic:F,children:O})})]})},u=function(B,L){var I=B.text;return(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:I})},m=function(B,L){var I=B.text,A=B.defaultText,T=b(B,k);return I?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"span",wordWrap:"break-word"},T,{children:I}))):(0,e.createComponentVNode)(2,u,{text:A})},l=function(B,L){var I=B.noConfirm,A=I===void 0?!1:I,T=b(B,y);return A?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button,Object.assign({},T))):(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button.Confirm,Object.assign({},T)))},d=function(B,L){var I=B.label,A=B.wrapContent,T=B.noWrapContent,E=B.compactLabel,P=E===void 0?!1:E,M=b(B,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Flex,Object.assign({my:.5,mr:"0.5%",spacing:1,align:"center"},M,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:P?0:1,shrink:0,textOverflow:"ellipsis",overflow:"hidden",basis:P?"auto":0,maxWidth:P?"none":20,color:"label",nowrap:!0,children:I}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,textAlign:"center",wordWrap:"break-word",children:A}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:.1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,nowrap:!0,children:T})]})))},s=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data;return(0,e.createComponentVNode)(2,o.Box,{mt:1.5,fontSize:"0.9rem",color:"silver",italic:!0,children:"No options"})},i=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data;return(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.1rem",color:"red",bold:!0,italic:!0,children:"ACCESS DENIED"})},C=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.attachedTag;return(0,e.createComponentVNode)(2,d,{label:"ID tag",wrapContent:(0,e.createComponentVNode)(2,m,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Set",icon:"wrench",onClick:function(){function P(){return A("set_tag")}return P}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Clear",icon:"times-circle",color:"red",disabled:!E,onClick:function(){function P(){return A("clear_tag")}return P}()})],4)})},V=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.frequency,P=T.minFrequency,M=T.maxFrequency,O=T.canReset;return(0,e.createComponentVNode)(2,d,{label:"Frequency",noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.1,stepPixelSize:10,minValue:P/10,maxValue:M/10,value:E/10,format:function(){function R(F){return(0,a.toFixed)(F,1)}return R}(),onChange:function(){function R(F,W){return A("set_frequency",{frequency:W*10})}return R}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"undo",content:"",disabled:!O,tooltip:"Reset",onClick:function(){function R(){return A("reset_frequency")}return R}()})],4)})},v=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.attachedTags;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Linked tags",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add tag",icon:"plus",iconRight:!0,onClick:function(){function P(){return A("add_tag")}return P}()}),children:E.map(function(P,M){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:P})}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{icon:"minus",color:"red",onClick:function(){function O(){return A("remove_tag",{tag_index:M})}return O}()})})})},M)})})},p=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.bolts,P=T.pressureCheck,M=T.temperatureCheck,O=T.oxygenCheck,R=T.toxinsCheck,F=T.nitrogenCheck,W=T.carbonDioxideCheck,j=[{bitflag:1,checked:P,label:"Monitor pressure"},{bitflag:2,checked:M,label:"Monitor temperature"},{bitflag:4,checked:O,label:"Monitor oxygen concentration"},{bitflag:8,checked:R,label:"Monitor plasma concentration"},{bitflag:16,checked:F,label:"Monitor nitrogen concentration"},{bitflag:32,checked:W,label:"Monitor carbon dioxide concentration"}];return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Floor bolts",noWrapContent:(0,e.createComponentVNode)(2,o.Button,{icon:E?"check":"times",selected:E,content:E?"YES":"NO",onClick:function(){function U(){return A("toggle_bolts")}return U}()})}),j.map(function(U){return(0,e.createComponentVNode)(2,d,{label:U.label,noWrapContent:(0,e.createComponentVNode)(2,o.Button.Checkbox,{checked:U.checked,onClick:function(){function K(){return A("toggle_flag",{bitflag:U.bitflag})}return K}()})},U.bitflag)})],0)},g=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.sensors;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Sensors",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add sensor",icon:"plus",iconRight:!0,onClick:function(){function P(){return A("add_sensor")}return P}()}),children:[(0,e.createComponentVNode)(2,d,{mr:0,compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"ID tag"}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"Label"}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:11.3})]})}),Object.keys(E).map(function(P){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:P}),E[P]?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:E[P]}):(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:""})]}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:[(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"edit",onClick:function(){function M(){return A("change_label",{sensor_tag:P})}return M}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"times-circle",color:"orange",disabled:!E[P],onClick:function(){function M(){return A("clear_label",{sensor_tag:P})}return M}()})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:.5}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{px:1.2,icon:"minus",color:"red",onClick:function(){function M(){return A("del_sensor",{sensor_tag:P})}return M}()})})]})},P)})]})},N=function(B,L){var I=(0,t.useBackend)(L),A=I.act,T=I.data,E=T.inputTag,P=T.outputTag,M=T.bufferTag,O=T.bufferFitsInput,R=T.bufferFitsOutput,F=T.doNotLinkAndNotify;return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Input",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,m,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,l,{noConfirm:F||!E,confirmContent:"This will change the intput device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:E&&M===E,disabled:!O,onClick:function(){function W(){return A("link_input")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the intput device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!E,onClick:function(){function W(){return A("unlink_input")}return W}()})],4)}),(0,e.createComponentVNode)(2,d,{label:"Output",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,m,{text:P,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,l,{noConfirm:F||!P,confirmContent:"This will change the output device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:P&&M===P,disabled:!R,onClick:function(){function W(){return A("link_output")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the output device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!P,onClick:function(){function W(){return A("unlink_output")}return W}()})],4)})],4)}},64713:function(w,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(76910),k=n(98595),y=n(3939),S=n(22091),b=["icon","iconSpin","selected","security","onClick","title","children"],h=["name"];function c(B,L){if(B==null)return{};var I={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;I[A]=B[A]}return I}var u=128,m=["security","engineering","medical","science","service","supply"],l={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},d=r.Newscaster=function(){function B(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.is_security,M=E.is_admin,O=E.is_silent,R=E.is_printing,F=E.screen,W=E.channels,j=E.channel_idx,U=j===void 0?-1:j,K=(0,t.useLocalState)(I,"menuOpen",!1),Y=K[0],ne=K[1],$=(0,t.useLocalState)(I,"viewingPhoto",""),le=$[0],de=$[1],oe=(0,t.useLocalState)(I,"censorMode",!1),re=oe[0],Z=oe[1],ae;F===0||F===2?ae=(0,e.createComponentVNode)(2,i):F===1&&(ae=(0,e.createComponentVNode)(2,C));var J=W.reduce(function(X,Q){return X+Q.unread},0);return(0,e.createComponentVNode)(2,k.Window,{theme:P&&"security",width:800,height:600,children:[le?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",Y&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function X(){return ne(!Y)}return X}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:F===0,onClick:function(){function X(){return T("headlines")}return X}(),children:J>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:J>=10?"9+":J})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:F===1,onClick:function(){function X(){return T("jobs")}return X}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:W.map(function(X){return(0,e.createComponentVNode)(2,s,{icon:X.icon,title:X.name,selected:F===2&&W[U-1]===X,onClick:function(){function Q(){return T("channel",{uid:X.uid})}return Q}(),children:X.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:X.unread>=10?"9+":X.unread})},X)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!P||!!M)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function X(){return(0,y.modalOpen)(I,"wanted_notice")}return X}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:re?"minus-square":"minus-square-o",title:"Censor Mode: "+(re?"On":"Off"),mb:"0.5rem",onClick:function(){function X(){return Z(!re)}return X}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function X(){return(0,y.modalOpen)(I,"create_story")}return X}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function X(){return(0,y.modalOpen)(I,"create_channel")}return X}()}),(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 X(){return T("print_newspaper")}return X}()}),(0,e.createComponentVNode)(2,s,{icon:O?"volume-mute":"volume-up",title:"Mute: "+(O?"On":"Off"),onClick:function(){function X(){return T("toggle_mute")}return X}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),ae]})]})})]})}return B}(),s=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=L.icon,P=E===void 0?"":E,M=L.iconSpin,O=L.selected,R=O===void 0?!1:O,F=L.security,W=F===void 0?!1:F,j=L.onClick,U=L.title,K=L.children,Y=c(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:j},Y,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:P,spin:M,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:U}),K]})))},i=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.screen,M=E.is_admin,O=E.channel_idx,R=E.channel_can_manage,F=E.channels,W=E.stories,j=E.wanted,U=(0,t.useLocalState)(I,"fullStories",[]),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"censorMode",!1),$=ne[0],le=ne[1],de=P===2&&O>-1?F[O-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,V,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:de?de.icon:"newspaper",mr:"0.5rem"}),de?de.name:"Headlines"],0),children:W.length>0?W.slice().reverse().map(function(oe){return!K.includes(oe.uid)&&oe.body.length+3>u?Object.assign({},oe,{body_short:oe.body.substr(0,u-4)+"..."}):oe}).map(function(oe,re){return(0,e.createComponentVNode)(2,V,{story:oe},re)}):(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."]})}),!!de&&(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)([$&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!de.admin&&!M,selected:de.censored,icon:de.censored?"comment-slash":"comment",content:de.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function oe(){return T("censor_channel",{uid:de.uid})}return oe}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function oe(){return(0,y.modalOpen)(I,"manage_channel",{uid:de.uid})}return oe}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:de.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:de.author||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:de.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(oe,re){return oe+re.view_count},0).toLocaleString()]})]})})]})},C=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.jobs,M=E.wanted,O=Object.entries(P).reduce(function(R,F){var W=F[0],j=F[1];return R+j.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!M&&(0,e.createComponentVNode)(2,V,{story:M,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({},l[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(F){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!F.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",F.title]},F.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},V=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=L.story,M=L.wanted,O=M===void 0?!1:M,R=(0,t.useLocalState)(I,"fullStories",[]),F=R[0],W=R[1],j=(0,t.useLocalState)(I,"censorMode",!1),U=j[0],K=j[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&&U&&(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 T("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",!O&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),P.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,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,ne){return(0,e.createComponentVNode)(2,o.Box,{children:Y||(0,e.createVNode)(1,"br")},ne)}),P.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function Y(){return W([].concat(F,[P.uid]))}return Y}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(L,I){var A=L.name,T=c(L,h),E=(0,t.useLocalState)(I,"viewingPhoto",""),P=E[0],M=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 M(A)}return O}()},T)))},p=function(L,I){var A=(0,t.useLocalState)(I,"viewingPhoto",""),T=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:T}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function P(){return E("")}return P}()})]})},g=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=!!L.args.uid&&E.channels.filter(function(te){return te.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!P){(0,y.modalClose)(I);return}var M=L.id==="manage_channel",O=!!L.args.is_admin,R=L.args.scanned_user,F=(0,t.useLocalState)(I,"author",(P==null?void 0:P.author)||R||"Unknown"),W=F[0],j=F[1],U=(0,t.useLocalState)(I,"name",(P==null?void 0:P.name)||""),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"description",(P==null?void 0:P.description)||""),$=ne[0],le=ne[1],de=(0,t.useLocalState)(I,"icon",(P==null?void 0:P.icon)||"newspaper"),oe=de[0],re=de[1],Z=(0,t.useLocalState)(I,"isPublic",M?!!(P!=null&&P.public):!1),ae=Z[0],J=Z[1],X=(0,t.useLocalState)(I,"adminLocked",(P==null?void 0:P.admin)===1||!1),Q=X[0],q=X[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:M?"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 te(fe,ye){return j(ye)}return te}()})}),(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 te(fe,ye){return Y(ye)}return te}()})}),(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:$,onInput:function(){function te(fe,ye){return le(ye)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!O,value:oe,width:"35%",mr:"0.5rem",onInput:function(){function te(fe,ye){return re(ye)}return te}()}),(0,e.createComponentVNode)(2,o.Icon,{name:oe,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:ae,icon:ae?"toggle-on":"toggle-off",content:ae?"Yes":"No",onClick:function(){function te(){return J(!ae)}return te}()})}),O&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:Q,icon:Q?"lock":"lock-open",content:Q?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function te(){return q(!Q)}return te}()})})]})}),(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 te(){(0,y.modalAnswer)(I,L.id,"",{author:W,name:K.substr(0,49),description:$.substr(0,128),icon:oe,public:ae?1:0,admin_locked:Q?1:0})}return te}()})]})},N=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.photo,M=E.channels,O=E.channel_idx,R=O===void 0?-1:O,F=!!L.args.is_admin,W=L.args.scanned_user,j=M.slice().sort(function(te,fe){if(R<0)return 0;var ye=M[R-1];if(ye.uid===te.uid)return-1;if(ye.uid===fe.uid)return 1}).filter(function(te){return F||!te.frozen&&(te.author===W||!!te.public)}),U=(0,t.useLocalState)(I,"author",W||"Unknown"),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"channel",j.length>0?j[0].name:""),$=ne[0],le=ne[1],de=(0,t.useLocalState)(I,"title",""),oe=de[0],re=de[1],Z=(0,t.useLocalState)(I,"body",""),ae=Z[0],J=Z[1],X=(0,t.useLocalState)(I,"adminLocked",!1),Q=X[0],q=X[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:!F,width:"100%",value:K,onInput:function(){function te(fe,ye){return Y(ye)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:$,options:j.map(function(te){return te.name}),mb:"0",width:"100%",onSelected:function(){function te(fe){return le(fe)}return te}()})}),(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:oe,onInput:function(){function te(fe,ye){return re(ye)}return te}()})}),(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:ae,onInput:function(){function te(fe,ye){return J(ye)}return te}()})}),(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 te(){return T(P?"eject_photo":"attach_photo")}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:oe,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"}),ae.split("\n").map(function(te,fe){return(0,e.createComponentVNode)(2,o.Box,{children:te||(0,e.createVNode)(1,"br")},fe)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),F&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:Q,icon:Q?"lock":"lock-open",content:Q?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function te(){return q(!Q)}return te}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:K.trim().length===0||$.trim().length===0||oe.trim().length===0||ae.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function te(){(0,y.modalAnswer)(I,"create_story","",{author:K,channel:$,title:oe.substr(0,127),body:ae.substr(0,1023),admin_locked:Q?1:0})}return te}()})]})},x=function(L,I){var A=(0,t.useBackend)(I),T=A.act,E=A.data,P=E.photo,M=E.wanted,O=!!L.args.is_admin,R=L.args.scanned_user,F=(0,t.useLocalState)(I,"author",(M==null?void 0:M.author)||R||"Unknown"),W=F[0],j=F[1],U=(0,t.useLocalState)(I,"name",(M==null?void 0:M.title.substr(8))||""),K=U[0],Y=U[1],ne=(0,t.useLocalState)(I,"description",(M==null?void 0:M.body)||""),$=ne[0],le=ne[1],de=(0,t.useLocalState)(I,"adminLocked",(M==null?void 0:M.admin_locked)===1||!1),oe=de[0],re=de[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 Z(ae,J){return j(J)}return Z}()})}),(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 Z(ae,J){return Y(J)}return Z}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:$,maxLength:"512",rows:"4",onInput:function(){function Z(ae,J){return le(J)}return Z}()})}),(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 Z(){return T(P?"eject_photo":"attach_photo")}return Z}()}),!!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:oe,icon:oe?"lock":"lock-open",content:oe?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function Z(){return re(!oe)}return Z}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!M,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function Z(){T("clear_wanted_notice"),(0,y.modalClose)(I)}return Z}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||K.trim().length===0||$.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function Z(){(0,y.modalAnswer)(I,L.id,"",{author:W,name:K.substr(0,127),description:$.substr(0,511),admin_locked:oe?1:0})}return Z}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",g),(0,y.modalRegisterBodyOverride)("manage_channel",g),(0,y.modalRegisterBodyOverride)("create_story",N),(0,y.modalRegisterBodyOverride)("wanted_notice",x)},97351:function(w,r,n){"use strict";r.__esModule=!0,r.NinjaBloodScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(39473),f=n(98595),k=r.NinjaBloodScan=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data;return(0,e.createComponentVNode)(2,f.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,f.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S)]})})}return b}(),y=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.vialIcons,s=l.noVialIcon,i=l.bloodOwnerNames,C=l.bloodOwnerSpecies,V=l.bloodOwnerTypes,v=l.blockButtons,p=l.scanStates,g={blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"},N=["NoticeBox_red","NoticeBox","NoticeBox_blue"],x=[1,2,3];return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0431\u0440\u0430\u0437\u0446\u044B",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0442\u0440\u0438 \u043E\u0431\u0440\u0430\u0437\u0446\u0430 \u043A\u0440\u043E\u0432\u0438. \u041C\u0430\u0448\u0438\u043D\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0430 \u043D\u0430 \u0440\u0430\u0431\u043E\u0442\u0443 \u0441 \u043A\u0440\u043E\u0432\u044C\u044E \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0438 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u043B \u0432\u0430\u043C \u043A\u043B\u0430\u043D. \u0420\u0435\u0430\u0433\u0435\u043D\u0442\u044B \u0438\u043C \u043D\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u043D\u0435 \u043F\u0440\u0438\u043C\u0443\u0442\u0441\u044F \u0438\u043B\u0438 \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u044B\u043C",tooltipPosition:"bottom-start"}),children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"center",children:x.map(function(B,L){return(0,e.createComponentVNode)(2,o.FlexItem,{direction:"column",width:"33.3%",ml:L?2:0,children:[(0,e.createComponentVNode)(2,t.Section,{title:i[L]?"\u041A\u0440\u043E\u0432\u044C":"\u041D\u0435\u0442 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",style:{"text-align":"left",background:"rgba(53, 94, 163, 0.5)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:N[p[L]],success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:v?g.disabled:g.blue,height:"100%",width:"100%",disabled:v,onClick:function(){function I(){return m("vial_out",{button_num:L+1})}return I}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+(d[L]||s),style:{"margin-left":"3px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:i[L]||" - ",content:"\u0420\u0430\u0441\u0430: "+(C[L]||" - ")+"\n"+("\u0422\u0438\u043F \u043A\u0440\u043E\u0432\u0438: "+(V[L]||" - ")),position:"bottom"})]})})]},L)})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:v===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:v,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043A\u0440\u043E\u0432\u044C \u0438 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u0430\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043A\u043B\u0430\u043D\u0443.",tooltipPosition:"bottom",onClick:function(){function B(){return m("scan_blood")}return B}()})})]})})},S=function(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.progressBar;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"green",value:l,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",mt:1,children:l?"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 "+(l+"%"):"\u0420\u0435\u0436\u0438\u043C \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F"}),2)})})}},32989:function(w,r,n){"use strict";r.__esModule=!0,r.NinjaMindScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.NinjaMindScan=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})})}return y}(),k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.occupantIcon,l=u.occupant_name,d=u.occupant_health,s=u.scanned_occupants,i=l==="none"?1:0;return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435.",tooltipPosition:"left"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{shrink:1,alignContent:"left",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,width:"90px",align:"left",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},align:"left",children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+m,style:{"margin-left":"-28px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,alignContent:"right",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",success:0,danger:0,align:"left",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0418\u043C\u044F",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",children:d})]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",mt:2.5,success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:i===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:i,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438 \u043F\u044B\u0442\u0430\u0435\u0442\u0441\u044F \u0434\u043E\u0431\u044B\u0442\u044C \u0438\u0437 \u0435\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u0443\u044E \u043A\u043B\u0430\u043D\u0443 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E.",tooltipPosition:"bottom-start",onClick:function(){function C(){return c("scan_occupant")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{className:i===0?"":"Button_disabled",content:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",width:"250px",textAlign:"center",disabled:i,tooltip:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438\u0437 \u043A\u0430\u043F\u0441\u0443\u043B\u044B",tooltipPosition:"bottom-start",onClick:function(){function C(){return c("go_out")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{className:i===0?"":"Button_disabled",content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",width:"250px",textAlign:"center",disabled:i,tooltip:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0441 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u043D \u0431\u044B\u043B \u043F\u043E\u0445\u0438\u0449\u0435\u043D. \u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0435\u0433\u043E \u0437\u0430\u043F\u0443\u0433\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u044D\u0442\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u043D\u0435 \u0440\u0430\u0437\u0431\u043E\u043B\u0442\u0430\u043B \u043E \u0432\u0430\u0441.",tooltipPosition:"bottom-start",onClick:function(){function C(){return c("teleport_out")}return C}()})]})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043F\u0438\u0441\u043E\u043A \u0443\u0436\u0435 \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u043C\u0438 \u043B\u044E\u0434\u0435\u0439",align:"center",backgroundColor:"rgba(0, 0, 0, 0.4)",children:(0,e.createComponentVNode)(2,t.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:s.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Box,{children:C.scanned_occupant})})},C.scanned_occupant)})})})})]})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;return c.extended?(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,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:c.authdisk?"eject":"id-card",selected:c.authdisk,content:c.diskname?c.diskname:"-----",tooltip:c.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function u(){return h("auth")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!c.authdisk,selected:c.authcode,content:c.codemsg,onClick:function(){function u(){return h("code")}return u}()})})]})}),(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:c.anchored?"check":"times",selected:c.anchored,disabled:!c.authfull,content:c.anchored?"YES":"NO",onClick:function(){function u(){return h("toggle_anchor")}return u}()})}),c.authfull&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:c.time,disabled:!c.authfull,tooltip:"Set Timer",onClick:function(){function u(){return h("set_time")}return u}()})})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",color:c.timer?"red":"",children:c.time+"s"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.safety?"check":"times",selected:c.safety,disabled:!c.authfull,content:c.safety?"ON":"OFF",tooltip:c.safety?"Disable Safety":"Enable Safety",onClick:function(){function u(){return h("toggle_safety")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(c.timer,"bomb"),disabled:c.safety||!c.authfull,color:"red",content:c.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function u(){return h("toggle_armed")}return u}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function u(){return h("deploy")}return u}()})})})})}return k}()},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),k=n(36036),y=n(98595),S=r.NumberInputModal=function(){function h(c,u){var m=(0,f.useBackend)(u),l=m.act,d=m.data,s=d.init_value,i=d.large_buttons,C=d.message,V=C===void 0?"":C,v=d.timeout,p=d.title,g=(0,f.useLocalState)(u,"input",s),N=g[0],x=g[1],B=function(){function A(T){T!==N&&x(T)}return A}(),L=function(){function A(T){T!==N&&x(T)}return A}(),I=140+Math.max(Math.ceil(V.length/3),V.length>0&&i?5:0);return(0,e.createComponentVNode)(2,y.Window,{title:p,width:270,height:I,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function A(T){var E=window.event?T.which:T.keyCode;E===o.KEY_ENTER&&l("submit",{entry:N}),E===o.KEY_ESCAPE&&l("cancel")}return A}(),children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,children:(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k.Box,{color:"label",children:V})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{input:N,onClick:L,onChange:B})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:N})})]})})})]})}return h}(),b=function(c,u){var m=(0,f.useBackend)(u),l=m.act,d=m.data,s=d.min_value,i=d.max_value,C=d.init_value,V=d.round_value,v=c.input,p=c.onClick,g=c.onChange,N=Math.round(v!==s?Math.max(v/2,s):i/2),x=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,k.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function B(){return p(s)}return B}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!V,minValue:s,maxValue:i,onChange:function(){function B(L,I){return g(I)}return B}(),onEnter:function(){function B(L,I){return l("submit",{entry:I})}return B}(),value:v})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:v===i,icon:"angle-double-right",onClick:function(){function B(){return p(i)}return B}(),tooltip:v===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:x,icon:"divide",onClick:function(){function B(){return p(N)}return B}(),tooltip:x?"Split":"Split ("+N+")"})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Button,{disabled:v===C,icon:"redo",onClick:function(){function B(){return p(C)}return B}(),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),k=[["good","\u0412 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],y=[["\u0423\u0434\u0443\u0448\u044C\u0435","oxyLoss"],["\u041E\u0442\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435","toxLoss"],["\u041C\u0435\u0445\u0430\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","bruteLoss"],["\u0422\u0435\u0440\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.OperatingComputer=function(){function l(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.hasOccupant,p=V.choice,g;return p?g=(0,e.createComponentVNode)(2,m):g=v?(0,e.createComponentVNode)(2,c):(0,e.createComponentVNode)(2,u),(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 N(){return C("choiceOff")}return N}(),children:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function N(){return C("choiceOn")}return N}(),children:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:g})})]})})})}return l}(),c=function(d,s){var i=(0,t.useBackend)(s),C=i.data,V=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:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0418\u043C\u044F",children:V.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:k[V.stat][0],children:k[V.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:V.maxHealth,value:V.health/V.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(v,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:v[0],children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:V[v[1]]/100,ranges:S,children:(0,a.round)(V[v[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0442\u0435\u043B\u0430",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:V.maxTemp,value:V.bodyTemperature/V.maxTemp,color:b[V.temperatureSuitability+3],children:[(0,a.round)(V.btCelsius),"\xB0C, ",(0,a.round)(V.btFaren),"\xB0F"]})}),!!V.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043A\u0440\u043E\u0432\u0438",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:V.bloodMax,value:V.bloodLevel/V.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[V.bloodPercent,"%, ",V.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041F\u0443\u043B\u044C\u0441",children:[V.pulse," \u0443\u0434/\u043C\u0438\u043D"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"\u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438",level:"2",children:V.inSurgery?V.surgeries.map(function(v){var p=v.bodypartName,g=v.surgeryName,N=v.stepName;return(0,e.createComponentVNode)(2,f.Section,{title:p,level:"4",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u044F",children:g}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u044D\u0442\u0430\u043F",children:N})]})},p)}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0432 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u043D\u0435 \u043F\u0440\u043E\u0432\u043E\u0434\u044F\u0442\u0441\u044F."})})})]})},u=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"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})},m=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.verbose,p=V.health,g=V.healthAlarm,N=V.oxy,x=V.oxyAlarm,B=V.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u0414\u0438\u043D\u0430\u043C\u0438\u043A",children:(0,e.createComponentVNode)(2,f.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"\u0412\u043A\u043B\u044E\u0447\u0451\u043D":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D",onClick:function(){function L(){return C(v?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0430\u0442\u044C \u043E \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function L(){return C(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041F\u043E\u0440\u043E\u0433 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:g,stepPixelSize:5,ml:"0",onChange:function(){function L(I,A){return C("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0430\u0442\u044C \u043E \u0434\u044B\u0445\u0430\u043D\u0438\u0438 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:(0,e.createComponentVNode)(2,f.Button,{selected:N,icon:N?"toggle-on":"toggle-off",content:N?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function L(){return C(N?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041F\u043E\u0440\u043E\u0433 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E \u0434\u044B\u0445\u0430\u043D\u0438\u0438",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:x,stepPixelSize:5,ml:"0",onChange:function(){function L(I,A){return C("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"\u041E\u043F\u043E\u0432\u0435\u0449\u0430\u0442\u044C \u043E \u043A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u043C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:(0,e.createComponentVNode)(2,f.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function L(){return C(B?"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);function k(s,i){var C=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(C)return(C=C.call(s)).next.bind(C);if(Array.isArray(s)||(C=y(s))||i&&s&&typeof s.length=="number"){C&&(s=C);var V=0;return function(){return V>=s.length?{done:!0}:{done:!1,value:s[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 y(s,i){if(s){if(typeof s=="string")return S(s,i);var C={}.toString.call(s).slice(8,-1);return C==="Object"&&s.constructor&&(C=s.constructor.name),C==="Map"||C==="Set"?Array.from(s):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?S(s,i):void 0}}function S(s,i){(i==null||i>s.length)&&(i=s.length);for(var C=0,V=Array(i);CC},u=function(i,C){var V=i.name,v=C.name;if(!V||!v)return 0;var p=V.match(b),g=v.match(b);if(p&&g&&V.replace(b,"")===v.replace(b,"")){var N=parseInt(p[1],10),x=parseInt(g[1],10);return N-x}return c(V,v)},m=function(i,C){var V=(0,t.useBackend)(C),v=V.act,p=i.searchText,g=i.source,N=i.title,x=g.filter(h(p));return x.sort(u),g.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+g.length+")",children:x.map(function(B){return(0,e.createComponentVNode)(2,o.Button,{content:B.name,onClick:function(){function L(){return v("orbit",{ref:B.ref})}return L}()},B.name)})})},l=function(i,C){var V=(0,t.useBackend)(C),v=V.act,p=i.color,g=i.thing;return(0,e.createComponentVNode)(2,o.Button,{color:p,onClick:function(){function N(){return v("orbit",{ref:g.ref})}return N}(),children:g.name})},d=r.Orbit=function(){function s(i,C){for(var V=(0,t.useBackend)(C),v=V.act,p=V.data,g=p.alive,N=p.antagonists,x=p.highlights,B=p.auto_observe,L=p.dead,I=p.ghosts,A=p.misc,T=p.npcs,E=(0,t.useLocalState)(C,"searchText",""),P=E[0],M=E[1],O={},R=k(N),F;!(F=R()).done;){var W=F.value;O[W.antag]===void 0&&(O[W.antag]=[]),O[W.antag].push(W)}var j=Object.entries(O);j.sort(function(K,Y){return c(K[0],Y[0])});var U=function(){function K(Y){for(var ne=0,$=[j.map(function(oe){var re=oe[0],Z=oe[1];return Z}),x,g,I,L,T,A];ne<$.length;ne++){var le=$[ne],de=le.filter(h(Y)).sort(u)[0];if(de!==void 0){v("orbit",{ref:de.ref});break}}}return K}();return(0,e.createComponentVNode)(2,f.Window,{width:700,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:"search",mr:1})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search...",autoFocus:!0,fluid:!0,value:P,onInput:function(){function K(Y,ne){return M(ne)}return K}(),onEnter:function(){function K(Y,ne){return U(ne)}return K}()})}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Button,{inline:!0,color:"transparent",tooltip:"Refresh",tooltipPosition:"bottom-start",icon:"sync-alt",onClick:function(){function K(){return v("refresh")}return K}()})})]})}),N.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:j.map(function(K){var Y=K[0],ne=K[1];return(0,e.createComponentVNode)(2,o.Section,{title:Y,level:2,children:ne.filter(h(P)).sort(u).map(function($){return(0,e.createComponentVNode)(2,l,{color:"bad",thing:$},$.name)})},Y)})}),x.length>0&&(0,e.createComponentVNode)(2,m,{title:"Highlights",source:x,searchText:P,color:"teal"}),(0,e.createComponentVNode)(2,o.Section,{title:"Alive - ("+g.length+")",children:g.filter(h(P)).sort(u).map(function(K){return(0,e.createComponentVNode)(2,l,{color:"good",thing:K},K.name)})}),(0,e.createComponentVNode)(2,o.Section,{title:"Ghosts - ("+I.length+")",children:I.filter(h(P)).sort(u).map(function(K){return(0,e.createComponentVNode)(2,l,{color:"grey",thing:K},K.name)})}),(0,e.createComponentVNode)(2,m,{title:"Dead",source:L,searchText:P}),(0,e.createComponentVNode)(2,m,{title:"NPCs",source:T,searchText:P}),(0,e.createComponentVNode)(2,m,{title:"Misc",source:A,searchText:P})]})})}return s}()},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),k=n(9394);function y(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var S=(0,k.createLogger)("OreRedemption"),b=function(C){return C.toLocaleString("en-US")+" pts"},h=r.OreRedemption=function(){function i(C,V){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,c,{height:"100%"})}),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m)]})})})}return i}(),c=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.id,x=g.points,B=g.disk,L=Object.assign({},(y(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:"ID card",children:N?(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,verticalAlign:"middle",icon:"eject",content:N.name,tooltip:"Ejects the ID card.",onClick:function(){function I(){return p("eject_id")}return I}(),style:{"white-space":"pre-wrap"}}):(0,e.createComponentVNode)(2,o.Button,{icon:"sign-in-alt",content:"Insert",tooltip:"Hold the ID card in your hand to insert.",onClick:function(){function I(){return p("insert_id")}return I}()})}),N&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:b(N.points)})}),N&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:b(N.total_points)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:x>0?"good":"grey",bold:x>0&&"good",children:b(x)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!N,icon:"hand-holding-usd",content:"Claim",onClick:function(){function I(){return p("claim")}return I}()})})]}),(0,e.createComponentVNode)(2,o.Divider),B?(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:B.name,tooltip:"Ejects the design disk.",onClick:function(){function I(){return p("eject_disk")}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:B.design&&(B.compatible?"good":"bad"),children:B.design||"N/A"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!B.design||!B.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function I(){return p("download")}return I}()})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},u=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.sheets,x=Object.assign({},(y(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,l,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),N.map(function(B){return(0,e.createComponentVNode)(2,d,{ore:B},B.id)})]})))})},m=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.alloys,x=Object.assign({},(y(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,l,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),N.map(function(B){return(0,e.createComponentVNode)(2,s,{ore:B},B.id)})]})))})},l=function(C,V){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)})]})})},d=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=C.ore;if(!(g.value&&g.amount<=0&&!(["metal","glass"].indexOf(g.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",g.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:g.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:g.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(g.amount,50),stepPixelSize:6,onChange:function(){function N(x,B){return p(g.value?"sheet":"alloy",{id:g.id,amount:B})}return N}()})})]})})},s=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=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",g.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:g.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:g.amount>=1?"good":"gray",align:"center",children:g.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.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(g.amount,50),stepPixelSize:6,onChange:function(){function N(x,B){return p(g.value?"sheet":"alloy",{id:g.id,amount:B})}return N}()})})]})})}},30373: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),k=n(70752),y=function(h){var c;try{c=k("./"+h+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",h);throw m}var u=c[h];return u||(0,f.routingError)("missingExport",h)},S=r.PAI=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.app_template,s=l.app_icon,i=l.app_title,C=y(d);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.Section,{title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,d!=="pai_main_menu"&&(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Home",icon:"arrow-up",onClick:function(){function V(){return m("MASTER_back")}return V}()})]}),p:1,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),k=n(59395),y=function(u){var m;try{m=k("./"+u+".js")}catch(d){if(d.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",u);throw d}var l=m[u];return l||(0,f.routingError)("missingExport",u)},S=r.PDA=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=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 V=y(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,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:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,V)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,h)})]})})})}return c}(),b=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.idInserted,C=s.idLink,V=s.stationTime,v=s.cartridge_name,p=s.request_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 g(){return d("Authenticate")}return g}(),content:i?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 g(){return d("Eject")}return g}(),content:v?["Eject "+v]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function g(){return d("Eject_Request")}return g}(),content:p?["Eject "+p]:"No Request Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:V})]})},h=function(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function C(){return d("Back")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){d("Home")}return C}()})})]})})}},38280:function(w,r,n){"use strict";r.__esModule=!0,r.PDAPainter=r.PDAColorRow=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=r.PDAPainter=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.statusLabel,l=u.pdaTypes,d=u.hasPDA,s=u.pdaIcon,i=u.pdaIconState,C=u.pdaOwnerName,V=u.pdaJobName;return(0,e.createComponentVNode)(2,t.Window,{width:545,height:350,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{spacing:1,direction:"row",height:"100%",flex:"1",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:24,shrink:0,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u0431\u0449\u0435\u0435",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:d?"eject":"exclamation-triangle",selected:d,content:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C":"-----",tooltip:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C PDA":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C PDA",tooltipPosition:"left",onClick:function(){function v(){return c(d?"eject_pda":"insert_pda")}return v}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:C||"\u041D/\u0414"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C",children:V||"\u041D/\u0414"})]})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",direction:"column",flex:"1",children:(0,e.createComponentVNode)(2,o.Flex.Item,{children:[(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.DmIcon,{height:"160px",icon:s,icon_state:i,style:{"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"},align:"middle"})}),(0,e.createComponentVNode)(2,o.LabeledList,{m:"5px",children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",children:m})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{m:"5px",fluid:!0,disabled:!d,content:"\u0421\u0442\u0435\u0440\u0435\u0442\u044C PDA",confirmContent:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C?",textAlign:"left",color:"red",tooltip:"C\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043D\u0430 \u0437\u0430\u0432\u043E\u0434\u0441\u043A\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltipPosition:"top",onClick:function(){function v(){return c("erase_pda")}return v}()})]})})})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:27,children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",flex:"1",children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0426\u0432\u0435\u0442 PDA",flexGrow:"1",scrollable:!0,fill:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:Object.keys(l).map(function(v){return(0,e.createComponentVNode)(2,k,{selectedPda:v,selectedPdaIcon:l[v][0]},v)})})})})})]})})})}return y}(),k=r.PDAColorRow=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.hasPDA,l=u.pdaIcon,d=S.selectedPda;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.DmIcon,{icon:l,icon_state:d,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,disabled:!m,icon:d,content:d,confirmContent:"\u041F\u043E\u043A\u0440\u0430\u0441\u0438\u0442\u044C?",textAlign:"left",onClick:function(){function s(){return c("choose_pda",{selectedPda:d})}return s}()})})]})}return y}()},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),k=r.Pacman=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.broken,l=u.anchored,d=u.active,s=u.fuel_type,i=u.fuel_usage,C=u.fuel_stored,V=u.fuel_cap,v=u.is_ai,p=u.tmp_current,g=u.tmp_max,N=u.tmp_overheat,x=u.output_max,B=u.power_gen,L=u.output_set,I=u.has_fuel,A=C/V,T=p/g,E=L*B,P=Math.round(C/i),M=Math.round(P/60),O=P>120?M+" minutes":P+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(m||!l)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!m&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!m&&!l&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!m&&!!l&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!I,selected:d,onClick:function(){function R(){return c("toggle_power")}return R}()}),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:L,minValue:1,maxValue:x,step:1,className:"mt-1",onDrag:function(){function R(F,W){return c("change_power",{change_power:W})}return R}()}),"(",(0,f.formatPower)(E),")"]})})}),(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:T,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[p," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[N>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),N>20&&N<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),N>1&&N<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),N===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:d||v||!I,onClick:function(){function R(){return c("eject_fuel")}return R}()}),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:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(C/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:[i/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!I&&(i?O:"N/A"),!I&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},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 c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.busy,d=m.category,s=m.display_craftable_only,i=m.display_compact,C=m.prev_cat,V=m.next_cat,v=m.subcategory,p=m.prev_subcat,g=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:[!!l&&(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:d,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 N(){return u("toggle_recipes")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function N(){return u("toggle_compact")}return N}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function N(){return u("backwardCat")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:V,icon:"arrow-right",onClick:function(){function N(){return u("forwardCat")}return N}()})]}),v&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function N(){return u("backwardSubCat")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"arrow-right",onClick:function(){function N(){return u("forwardSubCat")}return N}()})]}),i?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,y)]})]})})}return S}(),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.display_craftable_only,d=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return u("make",{make:i.ref})}return C}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!l&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.display_craftable_only,d=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[d.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return u("make",{make:i.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!l&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},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=n(88510),k=n(64795),y=n(25328);function S(m,l){var d=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(d)return(d=d.call(m)).next.bind(d);if(Array.isArray(m)||(d=b(m))||l&&m&&typeof m.length=="number"){d&&(m=d);var s=0;return function(){return s>=m.length?{done:!0}:{done:!1,value:m[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(m,l){if(m){if(typeof m=="string")return h(m,l);var d={}.toString.call(m).slice(8,-1);return d==="Object"&&m.constructor&&(d=m.constructor.name),d==="Map"||d==="Set"?Array.from(m):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?h(m,l):void 0}}function h(m,l){(l==null||l>m.length)&&(l=m.length);for(var d=0,s=Array(l);dm?this.substring(0,m)+"...":this};var c=function(l,d){d===void 0&&(d="");var s=(0,y.createSearch)(d,function(i){return i.altername});return(0,k.flow)([(0,f.filter)(function(i){return i==null?void 0:i.altername}),d&&(0,f.filter)(s),(0,f.sortBy)(function(i){return i.id})])(l)},u=r.Photocopier=function(){function m(l,d){for(var s=(0,a.useBackend)(d),i=s.act,C=s.data,V=C.copies,v=C.maxcopies,p=(0,a.useLocalState)(d,"searchText",""),g=p[0],N=p[1],x=c((0,f.sortBy)(function(O){return O.category})(C.forms||[]),g),B=[],L=S(x),I;!(I=L()).done;){var A=I.value;B.includes(A.category)||B.push(A.category)}var T=(0,a.useLocalState)(d,"number",0),E=T[0],P=T[1],M;return C.category===""?M=x:M=x.filter(function(O){return O.category===C.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:C.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:C.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:C.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":C.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!C.copyitem&&!C.mob,icon:C.copyitem||C.mob?"eject":"times",content:C.copyitem?C.copyitem:C.mob?"\u0416\u043E\u043F\u0430 "+C.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function O(){return i("removedocument")}return O}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!C.folder,icon:C.folder?"eject":"times",content:C.folder?C.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function O(){return i("removefolder")}return O}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:C.toner===0||C.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function O(){return i("print_form")}return O}()})}),!!C.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:C.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function O(){return i("ai_pic")}return O}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:C.toner===0||!C.copyitem&&!C.mob,onClick:function(){function O(){return i("copy")}return O}()})}),!!C.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:C.toner===0,onClick:function(){function O(){return i("ai_text")}return O}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:v,value:V,stepPixelSize:10,onChange:function(){function O(R,F){return i("copies",{new:F})}return O}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!C.category,onClick:function(){function O(){return i("choose_category",{category:""})}return O}()})}),B.map(function(O){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:O,selected:C.category===O,onClick:function(){function R(){return i("choose_category",{category:O})}return R}()},O)},O)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:C.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function O(R,F){return N(F)}return O}()}),children:M.map(function(O){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:O.altername.trimLongStr(37),tooltip:O.altername,selected:C.form_id===O.id,onClick:function(){function R(){return i("choose_form",{path:O.path,id:O.id})}return R}()})},O.path)})})})]})})})}return m}()},49177:function(w,r,n){"use strict";r.__esModule=!0,r.PlayerPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=["checked"];function k(p,g){if(p==null)return{};var N={};for(var x in p)if({}.hasOwnProperty.call(p,x)){if(g.includes(x))continue;N[x]=p[x]}return N}var y=function(g,N){var x,B={ghost:["ghost","dead","observer"],human:["human","carbon"],monkey:["monkey"],cyborg:["cyborg","robot","borg"],ai:["ai","artificial intelligence"],animal:["simple","animal"]};return((x=B[N])==null?void 0:x.some(function(L){return g.toLowerCase().includes(L)}))||!1},S=r.PlayerPanel=function(){function p(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(){function A(T,E){E===void 0&&(E={}),B(T,Object.assign({selectedPlayerCkey:L.ckey},E))}return A}();return(0,e.createComponentVNode)(2,o.Window,{title:"Options Panel - "+L.ckey,width:800,height:950,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function A(){return I("refresh")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Old Panel",onClick:function(){function A(){return I("old_pp")}return A}()})]}),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})})})}return p}(),b=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=(0,a.useLocalState)(N,"show_ip",!1),A=I[0],T=I[1],E=(0,a.useLocalState)(N,"show_cid",!1),P=E[0],M=E[1],O=function(F,W){W===void 0&&(W={}),B(F,Object.assign({selectedPlayerCkey:L.ckey},W))};return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Player Information",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Character:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.characterName}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Ckey:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.ckey})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.rank}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Discord:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.discord})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Account Registered:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.accountRegistered}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Playtime as Crew:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:L.playtime,onClick:function(){function R(){return O("playtime")}return R}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"CID:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:P?L.CID:"Hidden",onClick:function(){function R(){return M(!P)}return R}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"IP Address:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:A?L.ipAddress:"Hidden",onClick:function(){function R(){return T(!A)}return R}()})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Mob Type:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.mobType}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Byond Version:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.byondVersion})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Related By CID:"}),(0,e.createComponentVNode)(2,t.Button,{content:"Related by CID",color:"blue",onClick:function(){function R(){return O("relatedbycid")}return R}()}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Related By IP:"}),(0,e.createComponentVNode)(2,t.Button,{content:"Related by IP",color:"blue",onClick:function(){function R(){return O("relatedbyip")}return R}()})]})]})})})},h=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,u)})]}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,l)})]}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s)]}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,C)]})]}),(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,V)})})]})},c=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(P,M){M===void 0&&(M={}),B(P,Object.assign({selectedPlayerCkey:L.ckey},M))},A=function(P){return L.adminRights.toLowerCase().includes(P)||!1},T=function(){return L.ckey!=="NO CKEY"};return(0,e.createComponentVNode)(2,t.Section,{title:"Punish",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"times",content:"KICK",color:"red",tooltip:T?null:"NO CKEY",disabled:!T(),onClick:function(){function E(){return I("kick")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ban",content:"JOBBAN",color:"red",tooltip:T?null:"NO CKEY",disabled:!A("ban")||!T(),onClick:function(){function E(){return I("jobban")}return E}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"bullseye",content:"ADD TO WATCHLIST",color:"red",tooltip:T?null:"NO CKEY",disabled:!T(),onClick:function(){function E(){return I("watchlist")}return E}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ban",content:"BAN",color:"red",tooltip:T?null:"NO CKEY",disabled:!A("ban")||!T(),onClick:function(){function E(){return I("ban")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ban",content:"APPEARANCE BAN",color:"red",tooltip:T?null:"NO CKEY",disabled:!A("ban")||!T(),onClick:function(){function E(){return I("appban")}return E}()}),A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"bolt",content:"SMITE",color:"red",hidden:!A("event"),onClick:function(){function E(){return I("smite")}return E}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"hand-holding-heart",content:"BLESS",onClick:function(){function E(){return I("bless")}return E}()}):null]})]})})},u=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Message",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"comment",content:"PM",onClick:function(){function T(){return I("pm")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"comment-alt",content:"NARRATE",onClick:function(){function T(){return I("narrate")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user-secret",content:"SEND ALERT",onClick:function(){function T(){return I("sendalert")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user-secret",content:"SM",disabled:!A("event"),onClick:function(){function T(){return I("sm")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"crown",content:"MAN UP",onClick:function(){function T(){return I("manup")}return T}()}):null,A("sound")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"music",content:"PLAY SOUND TO",onClick:function(){function T(){return I("playsoundto")}return T}()}):null]})]})})},m=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Movement",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eye",content:"FLW",onClick:function(){function T(){return I("flw")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"download",content:"GET",onClick:function(){function T(){return I("get")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"paper-plane",content:"SEND",onClick:function(){function T(){return I("send")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"running",content:"JUMPTO",onClick:function(){function T(){return I("jumpto")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"sign-out-alt",content:"LOBBY",onClick:function(){function T(){return I("lobby")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"columns",content:"SEND TO CRYO",onClick:function(){function T(){return I("cryo")}return T}()}):null]})]})})},l=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"book",content:"LOGS",onClick:function(){function T(){return I("logs")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"clipboard",content:"NOTES",onClick:function(){function T(){return I("notes")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eye",content:"PLAYTIME",onClick:function(){function T(){return I("playtime")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"globe",content:"GEOIP",onClick:function(){function T(){return I("geoip")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user-secret",content:"TRAITOR PANEL",onClick:function(){function T(){return I("tp")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"code",content:"VV",onClick:function(){function T(){return I("vv")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"database",content:"CHECK GLOBAL CCDB",onClick:function(){function T(){return I("ccdb")}return T}()}):null]})]})})},d=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return A("spawn")?(0,e.createComponentVNode)(2,t.Section,{title:"Transformation",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"ghost",content:"MAKE GHOST",color:y(L.mobType,"ghost")?"good":"",onClick:function(){function T(){return I("makeghost")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"user",content:"MAKE HUMAN",color:y(L.mobType,"human")?"good":"",onClick:function(){function T(){return I("makehuman")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"paw",content:"MAKE MONKEY",color:y(L.mobType,"monkey")?"good":"",onClick:function(){function T(){return I("makemonkey")}return T}()})]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"robot",content:"MAKE CYBORG",color:y(L.mobType,"cyborg")?"good":"",onClick:function(){function T(){return I("makeborg")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"microchip",content:"MAKE AI",color:y(L.mobType,"ai")?"good":"",onClick:function(){function T(){return I("makeai")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"microchip",content:"ANIMALIZE",color:y(L.mobType,"animal")?"good":"",onClick:function(){function T(){return I("makeanimal")}return T}()})]})]})}):null},s=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return y(L.mobType,"ghost")?(0,e.createComponentVNode)(2,t.Section,{title:"Observer",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"TOGGLE RESPAWNABILITY",onClick:function(){function T(){return I("respawnability")}return T}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"staff-snake",content:"RE-INCARNATE",disabled:!A("spawn"),onClick:function(){function T(){return I("reviveghost")}return T}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"heart",content:"HEALTHSCAN",onClick:function(){function T(){return I("healthscan")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GIVE DISEASE",onClick:function(){function T(){return I("giveDisease")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"CURE DISEASE",onClick:function(){function T(){return I("cureDisease")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"CURE ALL BAD DISEASES",onClick:function(){function T(){return I("cureAllDiseases")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"CHEMSCAN",onClick:function(){function T(){return I("chemscan")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"plus",content:"REJUVINATE",disabled:!A("rejuvinate"),onClick:function(){function T(){return I("aheal")}return T}()}),A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"dna",content:"SHOW DNA",onClick:function(){function T(){return I("mutate")}return T}()}):null]})]})})},i=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return A("admin")?(0,e.createComponentVNode)(2,t.Section,{title:"Mob Manipulation",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"pencil",content:"MOB RANDOM NAME",onClick:function(){function T(){return I("randomizename")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"shirt",content:"SELECT EQUIPMENT",disabled:!A("event"),onClick:function(){function T(){return I("selectequip")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"microphone",content:"CHANGE VOICE",onClick:function(){function T(){return I("changevoice")}return T}()}),A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"circle-user",content:"MIRROR UI TO ADMIN",onClick:function(){function T(){return I("mirroradmin")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"pen",content:"CHARACTER RANDOM NAME",onClick:function(){function T(){return I("userandomname")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eraser",content:"ERASE FLAVOR",onClick:function(){function T(){return I("eraseflavortext")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"shirt",content:"CHECK CONTENTS",onClick:function(){function T(){return I("checkcontents")}return T}()}),A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"circle-user",content:"MIRROR UI TO PLAYER",onClick:function(){function T(){return I("mirrorplayer")}return T}()}):null]})]})}):null},C=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){return L.adminRights.toLowerCase().includes(E)||!1};return(0,e.createComponentVNode)(2,t.Section,{title:"Misc",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"gavel",content:"THUNDERDOME 1",onClick:function(){function T(){return I("thunderdome1")}return T}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"gavel",content:"THUNDERDOME 2",onClick:function(){function T(){return I("thunderdome2")}return T}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"comment",content:"FORCESAY",onClick:function(){function T(){return I("forcesay")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"handcuffs",content:"PRISON",onClick:function(){function T(){return I("prison")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"SYNDI JAIL RELEASE",onClick:function(){function T(){return I("contractor_release")}return T}()}):null,A("event")||A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cookie",content:"SPAWN COOKIE",onClick:function(){function T(){return I("spawncookie")}return T}()}):null]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"gavel",content:"THUNDERDOME ADMIN",onClick:function(){function T(){return I("thunderdomeadmin")}return T}()}):null,A("event")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eye",content:"THUNDERDOME OBSERVER",onClick:function(){function T(){return I("thunderdomeobserver")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"wheelchair-move",content:"AROOM WRAP",onClick:function(){function T(){return I("adminroom")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"SYNDI JAIL START",onClick:function(){function T(){return I("contractor_start")}return T}()}):null,A("admin")?(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"SYNDI JAIL STOP",onClick:function(){function T(){return I("contractor_stop")}return T}()}):null,(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Some Admin Button",onClick:function(){function T(){return I("someadminbutton")}return T}()})]})]})})},V=function(g,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,I=function(E,P){P===void 0&&(P={}),B(E,Object.assign({selectedPlayerCkey:L.ckey},P))},A=function(E){L.ckey&&I("toggleMute",{type:E})};return(0,e.createComponentVNode)(2,t.Section,{title:"Mute Controls",children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{size:7,children:[(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.ic,onClick:function(){function T(){return A("ic")}return T}(),content:"IC"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.ooc,onClick:function(){function T(){return A("ooc")}return T}(),content:"OOC"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.pray,onClick:function(){function T(){return A("pray")}return T}(),content:"PRAY"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.emote,onClick:function(){function T(){return A("emote")}return T}(),content:"EMOTE"})]}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:6,children:[(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.adminhelp,onClick:function(){function T(){return A("adminhelp")}return T}(),content:"ADMINHELP"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.deadchat,onClick:function(){function T(){return A("deadchat")}return T}(),content:"DEADCHAT"}),(0,e.createComponentVNode)(2,v,{fluid:!0,checked:L.muteStates.all,onClick:function(){function T(){return A("all")}return T}(),content:"ALL"})]})]})})},v=function(g){var N=g.checked,x=k(g,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:N?"red":"green",icon:N?"check-square-o":"square-o"},x)))}},94158:function(w,r,n){"use strict";r.__esModule=!0,r.PodTracking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PodTracking=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.pods;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:u.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Position",children:[m.podx,", ",m.pody,", ",m.podz]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pilot",children:m.pilot}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Passengers",children:m.passengers})]})},m.name)})})})}return k}()},70857:function(w,r,n){"use strict";r.__esModule=!0,r.PollListPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PollListPanel=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.polls||{};return(0,e.createComponentVNode)(2,o.Window,{title:"Poll List Panel",width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Poll List Panel",children:["Currently running polls Note when editing polls or their options changes are not saved until you press Sumbit Poll.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"New Poll",onClick:function(){function m(){return h("newpoll")}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m.question,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",onClick:function(){function l(){return h("editpoll",{poll_to_edit:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",onClick:function(){function l(){return h("deletepoll",{poll_to_delete:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Results",onClick:function(){function l(){return h("resultspoll",{poll_to_result:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Box,{children:m.description}),(0,e.createComponentVNode)(2,t.Divider)]},"poll")})})]})})})}return k}()},45736:function(w,r,n){"use strict";r.__esModule=!0,r.PollManagement=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(94798),f=n(98595),k=r.PollManagement=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.poll,d=m.has_poll,s=m.poll_types,i=m.interval_types,C=(0,a.useLocalState)(h,"question",l.question),V=C[0],v=C[1],p=(0,a.useLocalState)(h,"poll_type",l.poll_type),g=p[0],N=p[1],x=(0,a.useLocalState)(h,"options_allowed",l.options_allowed),B=x[0],L=x[1],I=(0,a.useLocalState)(h,"admin_only",l.admin_only),A=I[0],T=I[1],E=(0,a.useLocalState)(h,"dont_show",l.dont_show),P=E[0],M=E[1],O=(0,a.useLocalState)(h,"allow_revoting",l.allow_revoting),R=O[0],F=O[1],W=(0,a.useLocalState)(h,"interval",l.interval),j=W[0],U=W[1],K=(0,a.useLocalState)(h,"duration",l.duration),Y=K[0],ne=K[1],$=(0,a.useLocalState)(h,"start_datetime",l.start_datetime),le=$[0],de=$[1],oe=(0,a.useLocalState)(h,"end_datetime",l.end_datetime),re=oe[0],Z=oe[1],ae=(0,a.useLocalState)(h,"subtitle",l.subtitle),J=ae[0],X=ae[1],Q=(0,a.useLocalState)(h,"minimum_playtime",l.minimum_playtime),q=Q[0],te=Q[1],fe=(0,a.useLocalState)(h,"run_duration",l.run_duration),ye=fe[0],pe=fe[1],Le=(0,a.useLocalState)(h,"run_start",l.run_start),D=Le[0],ie=Le[1],se=(0,a.useLocalState)(h,"clear_votes",l.clear_votes),Ce=se[0],he=se[1];return(0,e.createComponentVNode)(2,f.Window,{title:"Poll Management",width:600,height:640,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Poll Creation",children:[(0,e.createComponentVNode)(2,t.Box,{children:["Question:",(0,e.createComponentVNode)(2,t.Input,{width:40,placeholder:"Question goes here",value:V,onChange:function(){function ve(Be,we){return v(we)}return ve}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{inline:!0,pl:1,children:"Choice:"}),(0,e.createComponentVNode)(2,t.Dropdown,{width:10,disabled:d,options:s,selected:g,onSelected:function(){function ve(Be){return N(Be)}return ve}()}),d&g!=="Multiple Choice"?null:(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:["Mult-choice options allowed:",(0,e.createComponentVNode)(2,t.NumberInput,{width:3,minValue:0,maxValue:100,value:B,onChange:function(){function ve(Be,we){return L(!B)}return ve}()})]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Admin only",checked:A,onClick:function(){function ve(){return T(!A)}return ve}()}),(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Don't show",checked:P,onClick:function(){function ve(){return M(!P)}return ve}()}),(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Allow revoting",checked:R,onClick:function(){function ve(){return F(!R)}return ve}()}),"Min. playtime to vote (in hours):",(0,e.createComponentVNode)(2,t.Box,{inline:!0,ml:1,children:(0,e.createComponentVNode)(2,t.NumberInput,{width:3,placeholder:"Number of hours",value:q,onChange:function(){function ve(Be,we){return te(we)}return ve}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:[(0,e.createComponentVNode)(2,t.Box,{children:"Duration"}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",py:1,content:ye?"Run for":"Run until",onClick:function(){function ve(){return pe(!ye)}return ve}()}),ye?(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,t.NumberInput,{placeholder:"Amount number",width:3,minValue:0,maxValue:100,value:Y,onChange:function(){function ve(Be,we){return ne(we)}return ve}()}),(0,e.createComponentVNode)(2,t.Dropdown,{options:i,selected:j,onSelected:function(){function ve(Be){return U(Be)}return ve}()})]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:["Until:",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Input,{width:15,placeholder:"YYYY-MM-DD HH:MM:SS",value:re||"1970-01-01 00:00:01",onChange:function(){function ve(Be,we){return Z(we)}return ve}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Start"}),(0,e.createComponentVNode)(2,t.Button,{content:D?"Now":"At datetime",onClick:function(){function ve(){return ie(!D)}return ve}()}),D?null:(0,e.createComponentVNode)(2,t.Input,{width:15,placeholder:"YYYY-MM-DD HH:MM:SS",value:le||"1970-01-01 00:00:01",onChange:function(){function ve(Be,we){return de(we)}return ve}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Subtitle (Optional)",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.TextArea,{height:10,width:20,rows:"12",value:J,onChange:function(){function ve(Be,we){return X(we)}return ve}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d?(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Clear poll votes",onClick:function(){function ve(){return u("clear_poll_votes")}return ve}()}),l.poll_votes," players have voted"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Clear votes on edit",checked:Ce,onClick:function(){function ve(){return he(!Ce)}return ve}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{p:2,content:"Submit Poll",onClick:function(){function ve(){return u("submit_poll",{question:V,poll_type:g,options_allowed:B,admin_only:A,dont_show:P,allow_revoting:R,interval:j,duration:Y,start_datetime:le,end_datetime:re,subtitle:J,poll_votes:q,run_duration:ye,run_start:D,clear_votes:Ce})}return ve}()})})]}):(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{p:1,m:2,content:"Initliaze Question",onClick:function(){function ve(){return u("initialize_poll",{question:V,poll_type:g,options_allowed:B,admin_only:A,dont_show:P,allow_revoting:R,interval:j,duration:Y,start_datetime:le,end_datetime:re,subtitle:J,poll_votes:q,run_duration:ye,run_start:D,clear_votes:Ce})}return ve}()})})})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Questions Manage",children:d?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{children:"First enter the poll question details and press Initialize Question. Then add poll options and press Submit Poll to save and create the question and options. No options are required for Text Reply polls."})})]})})}return S}(),y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.poll,d=l.options,s=(0,a.useLocalState)(h,"poll_type",null),i=s[0],C=s[1];return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Add Option",onClick:function(){function V(){return u("add_poll_option")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(V){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Option "+V.num,children:[V.text,i==="Rating"?(0,e.createComponentVNode)(2,t.Box,{children:["Minimum value: ",V.min_val," | Maximum value:"," ",V.max_val,"Minimum description: ",V.desc_min,"Middle description: ",V.desc_mid,"Maximum description: ",V.desc_max]}):null,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Edit",onClick:function(){function v(){return u("edit_poll_option",{option_to_edit:V.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",onClick:function(){function v(){return u("delete_poll_option",{option_to_delete:V.id})}return v}()}),(0,e.createComponentVNode)(2,t.Divider)]},"option")})})})]})}},80378:function(w,r,n){"use strict";r.__esModule=!0,r.PollOptionPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(94798),f=n(98595),k=r.PollOptionPanel=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.poll_question,l=u.is_rating,d=u.option,s=(0,a.useLocalState)(b,"text",d.text),i=s[0],C=s[1],V=(0,a.useLocalState)(b,"default_percentage_calc",d.default_percentage_calc),v=V[0],p=V[1],g=(0,a.useLocalState)(b,"min_val",d.min_val),N=g[0],x=g[1],B=(0,a.useLocalState)(b,"max_val",d.max_val),L=B[0],I=B[1],A=(0,a.useLocalState)(b,"desc_min_check",d.desc_min_check),T=A[0],E=A[1],P=(0,a.useLocalState)(b,"desc_mid_check",d.desc_mid_check),M=P[0],O=P[1],R=(0,a.useLocalState)(b,"desc_max_check",d.desc_max_check),F=R[0],W=R[1],j=(0,a.useLocalState)(b,"desc_min_text",d.desc_min_text),U=j[0],K=j[1],Y=(0,a.useLocalState)(b,"desc_mid_text",d.desc_min_text),ne=Y[0],$=Y[1],le=(0,a.useLocalState)(b,"desc_max_text",d.desc_min_text),de=le[0],oe=le[1];return(0,e.createComponentVNode)(2,f.Window,{title:"Poll Option Panel",width:400,height:l?320:180,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:m,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{width:"100%",content:i,onChange:function(){function re(Z,ae){return C(ae)}return re}()})}),(0,e.createVNode)(1,"br"),l?(0,e.createComponentVNode)(2,t.Box,{children:["Minimum value",(0,e.createComponentVNode)(2,t.Input,{value:N}),"Maximum Value",(0,e.createComponentVNode)(2,t.Input,{value:L}),(0,e.createComponentVNode)(2,Table,{children:[(0,e.createComponentVNode)(2,Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Minimum description",checked:T,onClick:function(){function re(){return E(!T)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Middle description",checked:M,onClick:function(){function re(){return O(!M)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,o.ButtonCheckbox,{content:"Maximum description",checked:F,onClick:function(){function re(){return W(!F)}return re}()})})]}),(0,e.createComponentVNode)(2,Table.Row,{children:[(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,t.Input,{value:U,onEnter:function(){function re(Z,ae){return K(ae)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,t.Input,{value:ne,onEnter:function(){function re(Z,ae){return $(ae)}return re}()})}),(0,e.createComponentVNode)(2,Table.Cell,{children:(0,e.createComponentVNode)(2,t.Input,{value:de,onEnter:function(){function re(Z,ae){return oe(ae)}return re}()})})]})]}),(0,e.createVNode)(1,"br")]}):null,(0,e.createComponentVNode)(2,o.ButtonCheckbox,{checked:v,content:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u043F\u0446\u0438\u044E \u0432 \u0440\u0430\u0441\u0447\u0435\u0442 \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043E\u043F\u0440\u043E\u0441\u0430",onClick:function(){function re(){return p(!v)}return re}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Sumbit",onClick:function(){function re(){return c("submit_option",{text:i,default_percentage_calc:v,min_val:N,max_val:L,desc_min_check:T,desc_mid_check:M,desc_max_check:F,desc_min_text:U,desc_mid_text:ne,desc_max_text:de})}return re}()})]})})})}return y}()},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 k(h,c){if(h==null)return{};var u={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(c.includes(m))continue;u[m]=h[m]}return u}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(c,u){var m=c.tempKey,l=k(c,f),d=y[m];if(!d)return null;var s=(0,a.useBackend)(u),i=s.data,C=s.act,V=i.currentTemp,v=d.label,p=d.icon,g=m===V,N=function(){C("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({selected:g,onClick:N},l,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),v]})))},b=r.PoolController=function(){function h(c,u){for(var m=(0,a.useBackend)(u),l=m.data,d=l.emagged,s=l.currentTemp,i=y[s]||y.normal,C=i.label,V=i.color,v=[],p=0,g=Object.entries(y);p50?"battery-half":"battery-quarter")||V==="C"&&"bolt"||V==="F"&&"battery-full"||V==="M"&&"slash",color:V==="N"&&(v>50?"yellow":"red")||V==="C"&&"yellow"||V==="F"&&"green"||V==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(v)+"%"})],4)};d.defaultHooks=f.pureComponentHooks;var s=function(C){var V,v,p=C.status;switch(p){case"AOn":V=!0,v=!0;break;case"AOff":V=!0,v=!1;break;case"On":V=!1,v=!0;break;case"Off":V=!1,v=!1;break}var g=(v?"On":"Off")+(" ["+(V?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:v?"good":"bad",content:V?void 0:"M",title:g})};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),k=n(321),y=n(5485),S=n(98595),b=r.PrisonerImplantManager=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.loginState,i=d.prisonerInfo,C=d.chemicalInfo,V=d.trackingInfo,v;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var 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,k.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function g(){return l("id_card")}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function g(){return l("reset_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function g(){return(0,f.modalOpen)(u,"set_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:V.map(function(g){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: ",g.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:g.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:g.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 N(){return(0,f.modalOpen)(u,"warn",{uid:g.uid})}return N}()})})]})]},g.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(g){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: ",g.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:g.volume})}),p.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:g.volume1100?"purple":s>500?"orange":s>250?"yellow":"green"},S=function(s,i){for(var C=[],V=0;V0?"envelope-open-text":"envelope",onClick:function(){function x(){return C("setScreen",{setScreen:6})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Assistance",icon:"hand-paper",onClick:function(){function x(){return C("setScreen",{setScreen:1})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Supplies",icon:"box",onClick:function(){function x(){return C("setScreen",{setScreen:2})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Relay Anonymous Information",icon:"comment",onClick:function(){function x(){return C("setScreen",{setScreen:3})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print Shipping Label",icon:"tag",onClick:function(){function x(){return C("setScreen",{setScreen:9})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function x(){return C("setScreen",{setScreen:10})}return x}()})})]}),!!p&&(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function x(){return C("setScreen",{setScreen:8})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Speaker Off":"Speaker On",selected:!g,icon:g?"volume-mute":"volume-up",onClick:function(){function x(){return C("toggleSilent")}return x}()})})]})},S=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.department,p,g;switch(d.purpose){case"ASSISTANCE":p=V.assist_dept,g="Request assistance from another department";break;case"SUPPLIES":p=V.supply_dept,g="Request supplies from another department";break;case"INFO":p=V.info_dept,g="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Section,{title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:p.filter(function(N){return N!==v}).map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function x(){return C("writeInput",{write:N,priority:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function x(){return C("writeInput",{write:N,priority:2})}return x}()})]},N)})})})},b=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v;switch(d.type){case"SUCCESS":v="Message sent successfully";break;case"FAIL":v="Request supplies from another department";break}return(0,e.createComponentVNode)(2,t.Section,{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}()})})},h=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v,p;switch(d.type){case"MESSAGES":v=V.message_log,p="Message Log";break;case"SHIPPING":v=V.shipping_log,p="Shipping label print log";break}return(0,e.createComponentVNode)(2,t.Section,{title:p,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function g(){return C("setScreen",{setScreen:0})}return g}()}),children:v.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{className:"RequestConsole__message",children:g},g)})})},c=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.recipient,p=V.message,g=V.msgVerified,N=V.msgStamped;return(0,e.createComponentVNode)(2,t.Section,{title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function x(){return C("setScreen",{setScreen:0})}return x}()}),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:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:N})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function x(){return C("department",{department:v})}return x}()})]})},u=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.message,p=V.announceAuth;return(0,e.createComponentVNode)(2,t.Section,{title:"Station-Wide Announcement",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function g(){return C("setScreen",{setScreen:0})}return g}()}),children:[(0,e.createComponentVNode)(2,t.Button,{content:v||"Edit Message",icon:"edit",onClick:function(){function g(){return C("writeAnnouncement")}return g}()}),p?(0,e.createComponentVNode)(2,t.Box,{mt:1,color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{mt:1,children:"Swipe your ID card to authenticate yourself."}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(p&&v),onClick:function(){function g(){return C("sendAnnouncement")}return g}()})]})},m=function(d,s){var i=(0,a.useBackend)(s),C=i.act,V=i.data,v=V.shipDest,p=V.msgVerified,g=V.ship_dept;return(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 N(){return C("setScreen",{setScreen:0})}return N}()}),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 N(){return C("printLabel")}return N}()}),(0,e.createComponentVNode)(2,t.Section,{title:"Destinations",mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:g.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N,children:(0,e.createComponentVNode)(2,t.Button,{content:v===N?"Selected":"Select",selected:v===N,onClick:function(){function x(){return C("shipSelect",{shipSelect:N})}return x}()})},N)})})})]})}},3786:function(w,r,n){"use strict";r.__esModule=!0,r.RequestManager=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595);/** * @file * @copyright 2021 bobbahbrown (https://github.com/bobbahbrown) * @coauthor 2022 BeebBeebBoob (https://github.com/BeebBeebBoob) * @license MIT - */var k=r.RequestManager=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.requests,i=(0,t.useLocalState)(u,"filteredTypes",Object.fromEntries(Object.entries(y).map(function(B){var L=B[0],I=B[1];return[L,!0]}))),C=i[0],V=i[1],v=(0,t.useLocalState)(u,"searchText"),p=v[0],g=v[1],N=s.filter(function(B){return C[B.req_type]});if(p){var x=p.toLowerCase();N=N.filter(function(B){return(0,a.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,f.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:p,onInput:function(){function B(L,I){return g(I)}return B}(),placeholder:"Search...",mr:1}),children:N.map(function(B){return(0,e.createVNode)(1,"div","RequestManager__row",[(0,e.createVNode)(1,"div","RequestManager__rowContents",[(0,e.createVNode)(1,"h2","RequestManager__header",[(0,e.createVNode)(1,"span","RequestManager__headerText",[B.owner_name,B.owner===null&&" [DC]"],0),(0,e.createVNode)(1,"span","RequestManager__timestamp",B.timestamp_str,0)],4),(0,e.createVNode)(1,"div","RequestManager__message",[(0,e.createComponentVNode)(2,S,{requestType:B.req_type}),(0,a.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,b,{request:B})],0,null,B.id)})})})})}return h}(),y={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},S=function(c){var u=c.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+u,[y[u],(0,e.createTextVNode)(":")],0)},b=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m._,s=c.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("pp",{id:s.id})}return i}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("vv",{id:s.id})}return i}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("sm",{id:s.id})}return i}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("tp",{id:s.id})}return i}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("logs",{id:s.id})}return i}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("bless",{id:s.id})}return i}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("smite",{id:s.id})}return i}(),children:"SMITE"}),s.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("rply",{id:s.id})}return i}(),children:"RPLY"}),s.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("ertreply",{id:s.id})}return i}(),children:"ERTREPLY"}),s.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("getcode",{id:s.id})}return i}(),children:"GETCODE"})],0)}},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),k=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},y=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:m.ui_theme,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:k.MAIN,render:function(){function d(){return(0,e.createComponentVNode)(2,f.MainMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.LEVELS,render:function(){function d(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.DISK,render:function(){function d(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.DESTROY,render:function(){function d(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function d(s){return s===k.LATHE||s===k.IMPRINTER}return d}(),render:function(){function d(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.SETTINGS,render:function(){function d(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return d}()}),l?(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:l})})}):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(k,y){var S=(0,a.useBackend)(y),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(c,u){var m=c.name,l=c.level,d=c.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[u>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",l]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",d]})]},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),k="design",y="tech",S=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.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 g(){return v("updt_tech")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function g(){return v("clear_tech")}return g}()}),(0,e.createComponentVNode)(2,c)]})]}):null},b=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.disk_data;if(!p)return null;var g=p.name,N=p.lathe_types,x=p.materials,B=N.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:g}),B?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:B}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),x.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,c)]})]})},h=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:v===y?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,c)]})]})},c=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.disk_type;return p?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function g(){var N=p===y?"eject_tech":"eject_design";v(N)}return g}()}):null},u=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.disk_data,p=V.disk_type,g=function(){if(!v)return(0,e.createComponentVNode)(2,h);switch(p){case k:return(0,e.createComponentVNode)(2,b);case y:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:g()})},m=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.disk_type,g=V.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:g.sort(function(N,x){return N.name.localeCompare(x.name)}).map(function(N){var x=N.name,B=N.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:x,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){p===y?v("copy_tech",{id:B}):v("copy_design",{id:B})}return L}()})},B)})})})})},l=r.DataDiskMenu=function(){function d(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.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,u)}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 d}()},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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=S.act,c=b.loaded_item,u=b.linked_destroy;return u?c?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",c.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:c.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 k(y,S){var b=(0,a.useBackend)(S),h=b.data,c=b.act,u=h.category,m=h.matching_designs,l=h.menu,d=l===4,s=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var C=i.id,V=i.name,v=i.can_build,p=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:V,disabled:v<1,onClick:function(){function g(){return c(s,{id:C,amount:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function g(){return c(s,{id:C,amount:5})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function g(){return c(s,{id:C,amount:10})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(g){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",g.is_red?"color-red":null,[g.amount,(0,e.createTextVNode)(" "),g.name],0)],0)})})]},C)})})]})}return k}()},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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=S.act,c=b.loaded_chemicals,u=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 l=u?"disposeallP":"disposeallI";h(l)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(m){var l=m.volume,d=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+l+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var C=u?"disposeP":"disposeI";h(C,{id:s})}return i}()})},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 k(y,S){var b=(0,a.useBackend)(S),h=b.data,c=b.act,u=h.menu,m=h.categories,l=u===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:l+" 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(d){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:d,onClick:function(){function s(){c("setCategory",{category:d})}return s}()})},d)})})]})}return k}()},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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=S.act,c=b.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:c.map(function(u){var m=u.id,l=u.amount,d=u.name,s=function(){function v(p){var g=b.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";h(g,{id:m,amount:p})}return v}(),i=Math.floor(l/2e3),C=l<1,V=i===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:["* ",l," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",V,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l>=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}()}),l>=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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=b.total_materials,c=b.max_materials,u=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}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):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}),u?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+u}):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),k=n(16475),y=r.LatheMenu=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.data,m=u.menu,l=u.linked_lathe,d=u.linked_imprinter;return m===4&&!l?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!d?(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:k.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:k.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:k.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:k.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(k,y){var S=(0,a.useBackend)(y),b=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function h(c,u){return b("search",{to_search:u})}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),k=r.MainMenu=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=c.disk_type,m=c.linked_destroy,l=c.linked_lathe,d=c.linked_imprinter,s=c.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:!u,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:!l,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(i){var C=i.name,V=i.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:V},C)})})]})}return y}()},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(k,y){var S=k.icon,b=k.children,h=k.disabled,c=k.content,u=(0,a.useBackend)(y),m=u.data,l=u.act,d=m.menu,s=m.submenu,i=d,C=s;return k.menu!==null&&k.menu!==void 0&&(i=k.menu),k.submenu!==null&&k.submenu!==void 0&&(C=k.submenu),(0,e.createComponentVNode)(2,t.Button,{content:c,icon:S,disabled:h,onClick:function(){function V(){l("nav",{menu:i,submenu:C})}return V}(),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 k(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S!==o.MENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function y(S){return S!==o.SUBMENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return y}(),submenu:o.SUBMENU.MAIN,render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return y}()})]})}return k}()},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 k=o.render,y=(0,e.useBackend)(f),S=y.data,b=S.menu,h=S.submenu,c=function(){function m(l,d){return l==null?!0:typeof l=="function"?l(d):l===d}return m}(),u=c(o.menu,b)&&c(o.submenu,h);return u?k():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),k=r.SettingsMenu=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=h.act,m=c.sync,l=c.admin,d=c.linked_destroy,s=c.linked_lathe,i=c.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 V(){u("sync")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function V(){u("togglesync")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function V(){u("togglesync")}return V}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),l===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function V(){return u("maxresearch")}return V}()}):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 V(){return u("find_device")}return V}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[d?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function V(){return u("disconnect",{item:"destroy"})}return V}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function V(){u("disconnect",{item:"lathe"})}return V}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function V(){return u("disconnect",{item:"imprinter"})}return V}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return C}()})]})}return y}()},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 k=n(71964);r.LatheMainMenu=k.LatheMainMenu;var y=n(83706);r.LatheMaterials=y.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 c=n(17180);r.MainMenu=c.MainMenu;var u=n(94942);r.RndNavbar=u.RndNavbar;var m=n(63459);r.RndNavButton=m.RndNavButton;var l=n(12059);r.RndRoute=l.RndRoute;var d=n(52580);r.SettingsMenu=d.SettingsMenu},40026:function(w,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=r.RoboQuest=function(){function y(S,b){var h=(0,t.useBackend)(b),c=h.act,u=h.data,m=u.hasID,l=u.name,d=u.questInfo,s=u.hasTask,i=u.canCheck,C=u.canSend,V=u.checkMessage,v=u.style,p=u.cooldown,g=u.instant_teleport,N=u.shopItems,x=u.points,B=u.cats,L=(0,t.useLocalState)(b,"shopState",!1),I=L[0],A=L[1],T={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,f.Window,{theme:v,width:1e3,height:540,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0437\u0430\u043A\u0430\u0437",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043C\u0435\u0445\u0430",icon:"search",tooltipPosition:"bottom",tooltip:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0445 \u0434\u043B\u044F \u0437\u0430\u043A\u0430\u0437\u0430 \u043C\u043E\u0434\u0443\u043B\u0435\u0439.",disabled:!m||!s||!i||p,onClick:function(){function E(){return c("Check")}return E}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!s&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest_large128x128",d.icon]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:42,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&d.modules.map(function(E){return E.id<4&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",E.icon]),null,1,null,E.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&d.modules.map(function(E){return E.id>3&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",E.icon]),null,1,null,E.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,V,0)],4),!!p&&(0,e.createFragment)([(0,e.createVNode)(1,"b",null,"\u0417\u0430 \u043E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0437\u0430\u043A\u0430\u0437\u0430, \u0432\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u044B \u043E\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,p,0)],4)]}),!!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u0447\u0435\u0440\u0442\u0435\u0436\u0435\u0439",(0,e.createComponentVNode)(2,o.Box,{children:["\u041E\u0447\u043A\u0438: ",(0,e.createVNode)(1,"b",null,x.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,x.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,x.security,0,{style:{color:"red"}})]})]}),children:Object.keys(N).map(function(E){return(0,e.createFragment)(!(N[E]===void 0||N[E].length===0||E==="robo")&&N[E].map(function(P){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:T[E],image:P.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[P.name," ",(0,e.createVNode)(1,"b",null,P.cost.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,P.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,P.cost.security,0,{style:{color:"red"}})]}),content:P.desc,onClick:function(){function M(){return c("buyItem",{item:P.path})}return M}()},P.path)}),0,E)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0414\u0440\u0443\u0433\u043E\u0435",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u041C\u0430\u0433\u0430\u0437\u0438\u043D",width:"7rem",icon:"shopping-cart",onClick:function(){function E(){return A(!I)}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",tooltipPosition:"bottom",tooltip:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0441\u0442\u0438\u043B\u044F \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.",onClick:function(){function E(){return c("ChangeStyle")}return E}()})],4),children:[!!l&&(0,e.createFragment)([(0,e.createTextVNode)("\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435,"),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,l,0),(0,e.createVNode)(1,"br")],4),(0,e.createFragment)([(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041F\u0440\u0438 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u043A\u0430\u0437\u0430 \u043D\u0430 \u044D\u043A\u0437\u043A\u043E\u0441\u0442\u044E\u043C, \u0432\u044B\u0431\u043E\u0440 \u043F\u043E\u0434\u0442\u0438\u043F\u0430 \u043C\u0435\u0445\u0430 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0442\u0438\u043F \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043E\u0447\u043A\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u043D\u0430\u0447\u0438\u0441\u043B\u0435\u043D\u044B \u0437\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0437\u0430\u043A\u0430\u0437\u0430."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"brown",children:[" ","\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438. \u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"teal",children:[" ","\u0433\u043E\u043B\u0443\u0431\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438. \u0411\u043E\u0435\u0432\u044B\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"red",children:[" ","\u043A\u0440\u0430\u0441\u043D\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041A\u0430\u0436\u0434\u044B\u0439 \u043C\u0435\u0445, \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043F\u043E\u0434\u0442\u0438\u043F\u0430, \u043F\u0440\u0438\u043D\u043E\u0441\u0438\u0442 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043E\u0447\u043A\u043E\u0432 \u0434\u043B\u044F \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430 \u043E\u0441\u043E\u0431\u044B\u0445 \u043D\u0430\u0433\u0440\u0430\u0434.")],0)]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u0418\u043D\u0444\u043E",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"\u0412\u044B\u043D\u0443\u0442\u044C ID",disabled:!m,onClick:function(){function E(){return c("RemoveID")}return E}()}),!s&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043C\u0435\u0445",disabled:!m||p,onClick:function(){function E(){return c("GetTask")}return E}()}),!!s&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u041F\u0435\u0447\u0430\u0442\u044C",icon:"print",onClick:function(){function E(){return c("printOrder")}return E}(),disabled:!s}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"\u041E\u0442\u043A\u0430\u0437\u0430\u0442\u044C\u0441\u044F",disabled:!m||p,onClick:function(){function E(){return c("RemoveTask")}return E}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435: ",16),d.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435: ",16),d.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"\u0422\u0440\u0435\u0431\u0443\u0435\u043C\u044B\u0435 \u041C\u043E\u0434\u0443\u043B\u0438:",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!s&&d.modules.map(function(E){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),E.id],0),(0,e.createTextVNode)(": "),E.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,E.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"14rem",bold:!0,content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"top",tooltip:"\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u043C\u0435\u0445\u0430 \u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0432\u0430\u043C\u0438 \u0442\u0435\u043B\u0435\u043F\u0430\u0434.",disabled:!m||!s||!C||p,onClick:function(){function E(){return c("SendMech",{type:"send"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"14rem",bold:!0,content:"\u0423\u043F\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"top",tooltip:"\u0423\u043F\u0430\u043A\u043E\u0432\u043A\u0430 \u043C\u0435\u0445\u0430 \u0434\u043B\u044F \u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438 \u0432 \u043A\u0430\u0440\u0433\u043E.",disabled:!m||!s||!C||p,onClick:function(){function E(){return c("SendMech",{type:"only_packing"})}return E}()})]}),(0,e.createVNode)(1,"box",null,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"30rem",bold:!0,content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"bottom",tooltip:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043C\u0435\u0445\u0430 \u0437\u0430\u043A\u0430\u0437\u0447\u0438\u043A\u0443.",disabled:!m||!s||!C||p||!g,onClick:function(){function E(){return c("SendMech",{type:"instant"})}return E}()}),2,{mb:"1.5rem",textAlign:"center"})]}),!!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u043E\u0441\u043E\u0431\u044B\u0445 \u043D\u0430\u0433\u0440\u0430\u0434"),(0,e.createComponentVNode)(2,o.Box,{children:["\u041E\u0447\u043A\u0438: ",x.robo]})],4),children:N.robo.map(function(E){return(!E.emagOnly||v==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:E.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[E.name," ",(0,e.createVNode)(1,"b",null,E.cost.robo,0,{style:{color:"purple"}})]}),content:E.desc,onClick:function(){function P(){return c("buyItem",{item:E.path})}return P}()},E.name)})})]})]})})})}return y}()},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),k=function(b,h){var c=b/h;return c<=.2?"good":c<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.data,m=u.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(l,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(l.name),children:l.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:l.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:k(l.brute_damage,l.max_damage),children:l.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:k(l.electronic_damage,l.max_damage),children:l.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:l.powered?"good":"bad",children:l.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:l.status?"good":"bad",children:l.status?"Yes":"No"})]})})]})},d)})})})}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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.can_hack,l=u.safety,d=u.show_detonate_all,s=u.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Self Destruct",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l?"lock":"unlock",content:l?"Disable Safety":"Enable Safety",selected:l,onClick:function(){function C(){return c("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:l,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function C(){return c("nuke",{})}return C}()})]}),(0,e.createComponentVNode)(2,k,{cyborgs:i,can_hack:m})]})})}return y}(),k=function(S,b){var h=S.cyborgs,c=S.can_hack,u=(0,a.useBackend)(b),m=u.act,l=u.data;return h.length?h.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createFragment)([!!d.hackable&&!d.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function s(){return m("hackbot",{uid:d.uid})}return s}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:d.locked_down?"unlock":"lock",color:d.locked_down?"good":"default",content:d.locked_down?"Release":"Lockdown",disabled:!l.auth,onClick:function(){function s(){return m("stopbot",{uid:d.uid})}return s}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!l.auth,color:"bad",onClick:function(){function s(){return m("killbot",{uid:d.uid})}return s}()})],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:d.status?"bad":d.locked_down?"average":"good",children:d.status?"Not Responding":d.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:d.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.health>50?"good":"bad",value:d.health/100})}),typeof d.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.charge>30?"good":"bad",value:d.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:d.cell_capacity<3e4?"average":"good",children:d.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"})}),!!d.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:d.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:d.synchronization?"default":"average",children:d.synchronization||"None"})})]})},d.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(79140),t=n(72253),o=n(36036),f=n(98595),k=r.Safe=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.dial,i=d.open,C=d.locked,V=d.contents;return(0,e.createComponentVNode)(2,f.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,o.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),i?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,o.Box,{as:"img",className:"Safe--dial",src:(0,a.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*s+"deg)","z-index":0}})]}),!i&&(0,e.createComponentVNode)(2,b)]})})}return h}(),y=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.dial,i=d.open,C=d.locked,V=function(p,g){return(0,e.createComponentVNode)(2,o.Button,{disabled:i||g&&!C,icon:"arrow-"+(g?"right":"left"),content:(g?"Right":"Left")+" "+p,iconRight:g,onClick:function(){function N(){return l(g?"turnleft":"turnright",{num:p})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:C,icon:i?"lock":"lock-open",content:i?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return l("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{position:"absolute",children:[V(50),V(10),V(1)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[V(1,!0),V(10,!0),V(50,!0)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--number",children:s})]})},S=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.contents;return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--contents",overflow:"auto",children:s.map(function(i,C){return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{mb:"0.5rem",onClick:function(){function V(){return l("retrieve",{index:C+1})}return V}(),children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:i.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),i.name]}),(0,e.createVNode)(1,"br")],4,i)})})},b=function(c,u){return(0,e.createComponentVNode)(2,o.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,o.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,o.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.satellites,m=c.notice,l=c.meteor_shield,d=c.meteor_shield_coverage,s=c.meteor_shield_coverage_max,i=c.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:[l&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:d,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:c.notice}),u.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 V(){return h("toggle",{id:C.id})}return V}()})]},C.id)})]})})]})})}return k}()},44162:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SecureStorage=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.emagged,m=c.locked,l=c.l_set,d=c.l_setshort,s=c.current_code,i=function(){function C(V){var v=V.buttonValue,p=V.color;return p||(p="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:u||d,type:"button",color:p,onClick:function(){function g(){return h("setnumber",{buttonValue:v})}return g}(),children:v})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:520,height:200,children:(0,e.createComponentVNode)(2,t.Flex,{spacing:"1",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:16,shrink:0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Code Panel",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"1"}),(0,e.createComponentVNode)(2,i,{buttonValue:"2"}),(0,e.createComponentVNode)(2,i,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"4"}),(0,e.createComponentVNode)(2,i,{buttonValue:"5"}),(0,e.createComponentVNode)(2,i,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"7"}),(0,e.createComponentVNode)(2,i,{buttonValue:"8"}),(0,e.createComponentVNode)(2,i,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,i,{buttonValue:"0"}),(0,e.createComponentVNode)(2,i,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:u||d?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),u?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"NEW INPUT, ASSHOLE"})}):""]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secure Code",children:(0,e.createComponentVNode)(2,t.Box,{color:l?"red":"green",children:l?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:m?"red":"green",children:m?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:s||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:m,color:"red",content:"Lock",icon:"lock",onClick:function(){function C(){return h("close")}return C}()})]})})]})})}return k}()},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),k=n(3939),y=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"},c=function(g,N){(0,k.modalOpen)(g,"edit",{field:N.edit,value:N.value})},u=r.SecurityRecords=function(){function p(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.loginState,A=L.currentPage,T;if(I.logged_in)A===1?T=(0,e.createComponentVNode)(2,l):A===2?T=(0,e.createComponentVNode)(2,i):A===3&&(T=(0,e.createComponentVNode)(2,C));else return(0,e.createComponentVNode)(2,f.Window,{width:800,height:900,theme:"security",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,k.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,m),T]})})]})}return p}(),m=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function T(){return B("page",{page:1})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"list"}),"List Records"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),I===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},l=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],P=(0,t.useLocalState)(N,"sortId","name"),M=P[0],O=P[1],R=(0,t.useLocalState)(N,"sortOrder",!0),F=R[0],W=R[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,d,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,d,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,d,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,d,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,d,{id:"status",children:"Criminal Status"})]}),I.filter((0,a.createSearch)(T,function(j){return j.name+"|"+j.id+"|"+j.rank+"|"+j.fingerprint+"|"+j.status})).sort(function(j,U){var K=F?1:-1;return j[M].localeCompare(U[M])*K}).map(function(j){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+h[j.status],onClick:function(){function U(){return B("view",{uid_gen:j.uid_gen,uid_sec:j.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",j.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.status})]},j.id)})]})})})],4)},d=function(g,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],I=(0,t.useLocalState)(N,"sortOrder",!0),A=I[0],T=I[1],E=g.id,P=g.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!==E&&"transparent",fluid:!0,onClick:function(){function M(){B===E?T(!A):(L(E),T(!0))}return M}(),children:[P,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.isPrinting,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[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 P(){return B("new_general")}return P}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:I,icon:I?"spinner":"print",iconSpin:!!I,content:"Print Cell Log",onClick:function(){function P(){return(0,k.modalOpen)(N,"print_cell_log")}return P}()})}),(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 P(M,O){return E(O)}return P}()})})]})},i=function(g,N){var x=(0,t.useBackend)(N),B=x.act;return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"download",content:"Backup to Disk",tooltip:"This feature is not available.",tooltipPosition:"right"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"upload",content:"Upload from Disk",tooltip:"This feature is not available.",tooltipPosition:"right",my:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){function L(){return B("delete_security_all")}return L}(),mb:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Cell Logs",onClick:function(){function L(){return B("delete_cell_logs")}return L}()})]})},C=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.isPrinting,A=L.general,T=L.security;return!A||!A.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,level:2,mt:"-6px",title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:I,icon:I?"spinner":"print",iconSpin:!!I,content:"Print Record",onClick:function(){function E(){return B("print_record")}return E}()}),(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 E(){return B("delete_general")}return E}()})],4),children:(0,e.createComponentVNode)(2,V)})}),!T||!T.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 E(){return B("new_security")}return E}()}),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:T.empty,content:"Delete Record",onClick:function(){function E(){return B("delete_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:T.fields.map(function(E,P){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(E.value),!!E.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:E.line_break?"1rem":"initial",onClick:function(){function M(){return c(N,E)}return M}()})]},P)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},V=function(g,N){var x=(0,t.useBackend)(N),B=x.data,L=B.general;return!L||!L.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:L.fields.map(function(I,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:I.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+I.value),!!I.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:I.line_break?"1rem":"initial",onClick:function(){function T(){return c(N,I)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(I,A){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:I,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",A+1]},A)})]})},v=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.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 A(){return(0,k.modalOpen)(N,"comment_add")}return A}()}),children:I.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):I.comments.map(function(A,T){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:A.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),A.text||A,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function E(){return B("comment_delete",{id:T+1})}return E}()})]},T)})})})}},5099:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(35840),o=n(72253),f=n(36036),k=n(98595),y=n(3939);function S(s,i){var C=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(C)return(C=C.call(s)).next.bind(C);if(Array.isArray(s)||(C=b(s))||i&&s&&typeof s.length=="number"){C&&(s=C);var V=0;return function(){return V>=s.length?{done:!0}:{done:!1,value:s[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 b(s,i){if(s){if(typeof s=="string")return h(s,i);var C={}.toString.call(s).slice(8,-1);return C==="Object"&&s.constructor&&(C=s.constructor.name),C==="Map"||C==="Set"?Array.from(s):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?h(s,i):void 0}}function h(s,i){(i==null||i>s.length)&&(i=s.length);for(var C=0,V=Array(i);C=T},v=function(A,T){return A<=T},p=i.split(" "),g=[],N=function(){var A=L.value,T=A.split(":");if(T.length===0)return 0;if(T.length===1)return g.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function M(O){return!1}return M}()};var E,P=C;if(T[1][T[1].length-1]==="-"?(P=v,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(P=V,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function M(O){return!1}return M}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":g.push(function(M){return P(M.lifespan,E)});break;case"e":case"end":case"endurance":g.push(function(M){return P(M.endurance,E)});break;case"m":case"mat":case"maturation":g.push(function(M){return P(M.maturation,E)});break;case"pr":case"prod":case"production":g.push(function(M){return P(M.production,E)});break;case"y":case"yield":g.push(function(M){return P(M.yield,E)});break;case"po":case"pot":case"potency":g.push(function(M){return P(M.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":g.push(function(M){return P(M.amount,E)});break;default:return{v:function(){function M(O){return!1}return M}()}}},x,B=S(p),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(I){for(var A=0,T=g;A=1?Number(P):1)}return T}()})]})]})}},2916:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleConsole=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=c.type,i=s===void 0?"shuttle":s,C=c.blind_drop,V=d.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!V&&(0,e.createComponentVNode)(2,t.Modal,{ml:1,mt:1,width:26,height:12,fontSize:"28px",fontFamily:"monospace",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,children:(0,e.createComponentVNode)(2,t.Icon,{name:"minus-circle"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,ml:2,color:"bad",children:i==="shuttle"?"SHUTTLE LOCKED":"BASE LOCKED"})]}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"18px",mt:4,children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:"40px",icon:"arrow-circle-right",content:"Request Authorization",color:"bad",onClick:function(){function v(){return l("request")}return v}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,b,{type:i,blind_drop:C})})]})}return h}(),k=function(c,u){var m;return c==null||(m=c.find(function(l){return l.id===u}))==null?void 0:m.name},y=function(c,u){var m;return c==null||(m=c.find(function(l){return l.name===u}))==null?void 0:m.id},S={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},b=r.ShuttleConsoleContent=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=c.type,i=c.blind_drop,C=d.status,V=d.locked,v=d.authorization_required,p=d.destination,g=d.docked_location,N=d.timer_str,x=d.locations,B=x===void 0?[]:x;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"26px",textAlign:"center",fontFamily:"monospace",children:N||"00:00"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",fontSize:"14px",mb:1,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,bold:!0,children:"STATUS:"}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:S[C]||"bad",ml:1,children:C||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:s==="shuttle"?"Shuttle Controls":"Base Launch Controls",level:2,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:g||"Not Available"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",buttons:s!=="shuttle"&&B.length===0&&!!i&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:v||!i,content:"Blind Drop",onClick:function(){function L(){return l("random")}return L}()}),children:B.length===0&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"bad",children:"Not Available"})||B.length===1&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"average",children:k(B,p)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:V||v,selected:k(B,p)||"Select a Destination",onSelected:function(){function L(I){return l("set_destination",{destination:y(B,I)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!k(B,p)||V||v||C!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return l("move",{shuttle_id:p})}return L}()})]})]})}return h}()},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,c){var u=(0,a.useLocalState)(c,"tabIndex",0),m=u[0],l=u[1],d=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return l(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return l(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return l(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),d(m)]})})})}return b}(),k=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},y=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.templates_tabs,s=l.existing_shuttle,i=l.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===s.id,icon:"file",onClick:function(){function V(){return m("select_template_category",{cat:C})}return V}(),children:C},C)})}),!!s&&i[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 V(){return m("select_template",{shuttle_id:C.shuttle_id})}return V}()})})]})},C.name)})]})},S=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.existing_shuttle,s=l.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[d?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+d.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:d.status}),d.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:d.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:d.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},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),k=[["good","\u041D\u043E\u0440\u043C\u0430"],["average","\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],y=[["\u0423\u0434\u0443\u0448\u044C\u0435.","oxyLoss"],["\u0422\u043E\u043A\u0441\u0438\u043D\u044B","toxLoss"],["\u0424\u0438\u0437.","bruteLoss"],["\u041E\u0436\u043E\u0433\u0438","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.Sleeper=function(){function i(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.hasOccupant,x=N?(0,e.createComponentVNode)(2,c):(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:x}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l)})]})})})}return i}(),c=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4)},u=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.occupant,x=g.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"\u0410\u0432\u0442\u043E-\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0442\u0440\u0443\u043F\u043E\u0432:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"\u0414\u0430":"\u041D\u0435\u0442",onClick:function(){function B(){return p("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",onClick:function(){function B(){return p("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u0432\u043E\u044C\u044F",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:k[N.stat][0],children:k[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:b[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius,0),"\xB0C,",(0,a.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043A\u0440\u043E\u0432\u0438",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0443\u043B\u044C\u0441",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},m=function(C,V){var v=(0,t.useBackend)(V),p=v.data,g=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(N,x){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:g[N[1]]/100,ranges:S,children:(0,a.round)(g[N[1]],0)},x)},x)})})})},l=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.hasOccupant,x=g.isBeakerLoaded,B=g.beakerMaxSpace,L=g.beakerFreeSpace,I=g.dialysis,A=I&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"\u0414\u0438\u0430\u043B\u0438\u0437",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!x||L<=0||!N,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function T(){return p("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",onClick:function(){function T(){return p("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u044B\u0439 \u043E\u0431\u044A\u0451\u043C",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:L/B,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430."})})},d=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.occupant,x=g.chemicals,B=g.maxchem,L=g.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0440\u043E\u0432\u043E\u0442\u043E\u043A \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:x.map(function(I,A){var T="",E;return I.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 \u041F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0430!"]})):I.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 \u0420\u0438\u0441\u043A \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0438"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:I.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:B,value:I.occ_amount/B,color:T,title:"\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u043E\u0431\u044A\u0451\u043C \u0432\u0435\u0449\u0435\u0441\u0442\u0432 \u0432 \u043A\u0440\u043E\u0432\u043E\u0442\u043E\u043A\u0435 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 / \u041E\u0431\u0449\u0438\u0439 \u043E\u0431\u044A\u0451\u043C, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0434\u043B\u044F \u0432\u0432\u043E\u0434\u0430 \u0430\u043F\u043F\u0430\u0440\u0430\u0442\u043E\u043C",mr:"0.5rem",children:[I.pretty_amount,"/",B,"u"]}),L.map(function(P,M){return(0,e.createComponentVNode)(2,o.Button,{disabled:!I.injectable||I.occ_amount+P>B||N.stat===2,icon:"syringe",content:"\u0412\u0432\u0435\u0441\u0442\u0438 "+P+"u",title:"\u0412\u0432\u0435\u0441\u0442\u0438 "+P+"u \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430 "+I.title+" \u0432 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",mb:"0",height:"19px",onClick:function(){function O(){return p("chemical",{chemid:I.id,amount:P})}return O}()},M)})]})})},A)})})},s=function(C,V){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u0432\u043D\u0443\u0442\u0440\u0438 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;if(c.money===null)return(0,e.createComponentVNode)(2,o.Window,{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.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 u;return c.plays===1?u=c.plays+" player has tried their luck today!":u=c.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{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.Box,{lineHeight:2,children:u}),(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:c.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:c.working,content:c.working?"Spinning...":"Spin",onClick:function(){function m(){return h("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:c.resultlvl,children:c.result})]})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.secure,m=c.can_dry,l=c.drying,d=c.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:[!!u&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u0435\u0434\u044A\u044F\u0432\u0438\u0442\u0435 \u0441\u0432\u043E\u044E ID-\u043A\u0430\u0440\u0442\u0443."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"\u0421\u0443\u0448\u0438\u043B\u044C\u043D\u0430\u044F \u0441\u0442\u043E\u0439\u043A\u0430":"\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:l?"power-off":"times",content:l?"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u0443\u0448\u043A\u0443":"\u0417\u0430\u043A\u043E\u043D\u0447\u0438\u0442\u044C \u0441\u0443\u0448\u043A\u0443",selected:l,onClick:function(){function s(){return h("drying")}return s}()}),children:[!d&&(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"),"\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u043F\u0443\u0441\u0442\u043E."]})}),!!d&&d.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," \u0432 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"\u0412\u0437\u044F\u0442\u044C \u043E\u0434\u043D\u0443 \u0448\u0442\u0443\u043A\u0443.",content:"1",onClick:function(){function i(){return h("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(C,V){return h("vend",{index:s.vend,amount:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"\u0412\u0441\u0451",tooltip:"\u0412\u0437\u044F\u0442\u044C \u0432\u0441\u0451.",tooltipPosition:"bottom-start",onClick:function(){function i(){return h("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return k}()},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),k=1e3,y=r.Smes=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.capacityPercent,d=m.capacity,s=m.charge,i=m.inputAttempt,C=m.inputting,V=m.inputLevel,v=m.inputLevelMax,p=m.inputAvailable,g=m.outputPowernet,N=m.outputAttempt,x=m.outputting,B=m.outputLevel,L=m.outputLevelMax,I=m.outputUsed,A=l>=100&&"good"||C&&"average"||"bad",T=x&&"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:l*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return u("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:l>=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:V===0,onClick:function(){function E(){return u("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:V===0,onClick:function(){function E(){return u("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:V/k,fillValue:p/k,minValue:0,maxValue:v/k,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*k,1)}return E}(),onChange:function(){function E(P,M){return u("input",{target:M*k})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:V===v,onClick:function(){function E(){return u("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:V===v,onClick:function(){function E(){return u("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:N?"power-off":"times",selected:N,onClick:function(){function E(){return u("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:g?x?"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:B===0,onClick:function(){function E(){return u("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return u("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/k,minValue:0,maxValue:L/k,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*k,1)}return E}(),onChange:function(){function E(P,M){return u("output",{target:M*k})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:B===L,onClick:function(){function E(){return u("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return u("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(I)})]})})]})})})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=0,m=1,l=2,d=c.generated,s=c.generated_ratio,i=c.tracking_state,C=c.tracking_rate,V=c.connected_panels,v=c.connected_tracker,p=c.cdir,g=c.direction,N=c.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:300,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 x(){return h("refresh")}return x}()}),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:V>0?"good":"bad",children:V})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[p,"\xB0 (",g,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===l&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",N,")"," "]}),i===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==l&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function x(B,L){return h("cdir",{cdir:L})}return x}()}),i===l&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===u,onClick:function(){function x(){return h("track",{track:u})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function x(){return h("track",{track:m})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===l,disabled:!v,onClick:function(){function x(){return h("track",{track:l})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:C,format:function(){function x(B){var L=Math.sign(B)>0?"+":"-";return L+Math.abs(B)}return x}(),onDrag:function(){function x(B,L){return h("tdir",{tdir:L})}return x}()}),i===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===l&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.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:u.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 l(){return h("jump",{ID:m.uids})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function l(){return h("spawn",{ID:m.uids})}return l}()})],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 k}()},7957:function(w,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),f=n(98595);function k(s,i){s.prototype=Object.create(i.prototype),s.prototype.constructor=s,y(s,i)}function y(s,i){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,V){return C.__proto__=V,C},y(s,i)}var S=r.SpiderOS=function(){function s(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g;return p.suit_tgui_state===0?g=(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"column",width:"60%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,u)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,m)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})]}):p.suit_tgui_state===1&&(g=(0,e.createComponentVNode)(2,t.Flex,{width:"100%",height:"100%",direction:"column",shrink:1,spacing:1,children:(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100%",children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,d,{allMessages:p.current_load_text,finishedTimeout:3e3,current_initialisation_phase:p.current_initialisation_phase,end_terminal:p.end_terminal,onFinished:function(){function N(){return v("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,f.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:g})})})}return s}(),b=function(i,C){var V=(0,a.useBackend)(C),v=V.data,p=v.stylesIcon,g=v.style_preview_icon_state;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},m:"0px",width:"100%",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u041D\u0430\u0448\u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u0432\u0430\u043C \u043F\u043E\u0434\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u043E\u0434 \u0441\u0435\u0431\u044F, \u043F\u0440\u0438 \u044D\u0442\u043E\u043C \u043D\u0435 \u0442\u0435\u0440\u044F\u044F \u043E\u0431\u043E\u0440\u043E\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0430\u0447\u0435\u0441\u0442\u0432. \u041F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u043E \u0432\u0430\u0436\u043D\u043E \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0433\u043E \u0443\u0431\u0438\u0439\u0446\u044B.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},mr:10,ml:10,children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"128px",width:"128px",icon:p,icon_state:g,style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})})})},h=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.designs,N=p.design_choice,x=p.scarf_design_choice,B=p.colors,L=p.color_choice,I=p.genders,A=p.preferred_clothes_gender,T=p.suit_state,E=p.preferred_scarf_over_hood,P=p.show_charge_UI,M=p.has_martial_art,O=p.show_concentration_UI,R;T===0?R="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":R="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var F;E===0?F="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":F="\u0428\u0430\u0440\u0444";var W;E===1?W=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C \u0448\u0430\u0440\u0444\u0430",content:(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:x,onSelected:function(){function U(K){return v("set_scarf_design",{scarf_design_choice:K})}return U}()})}):W=null;var j;return M?j=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u044F",content:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{selected:O,width:"78px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function U(){return v("toggle_ui_concentration")}return U}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0441\u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043B\u0438 \u0432\u044B \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u043E\u0435\u0432\u043E\u0433\u043E \u0438\u0441\u0441\u043A\u0443\u0441\u0442\u0432\u0430.",tooltipPosition:"top-start"})]})}):j=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,width:"100%",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:N,onSelected:function(){function U(K){return v("set_design",{design_choice:K})}return U}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0432\u0435\u0442",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:L,onSelected:function(){function U(K){return v("set_color",{color_choice:K})}return U}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439/\u041C\u0443\u0436\u0441\u043A\u043E\u0439",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:A,onSelected:function(){function U(K){return v("set_gender",{preferred_clothes_gender:K})}return U}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0428\u0430\u0440\u0444/\u041A\u0430\u043F\u044E\u0448\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Button,{className:T===0?"":"Button_disabled",width:"90px",selected:E,disabled:T,textAlign:"left",content:F,onClick:function(){function U(){return v("toggle_scarf")}return U}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:'\u0421 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 "\u0428\u0430\u0440\u0444" \u0432\u0430\u0448 \u043A\u0430\u043F\u044E\u0448\u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u043E\u043B\u043E\u0441\u044B. \u041D\u043E \u044D\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u0447\u0438\u0442, \u0447\u0442\u043E \u0432\u0430\u0448\u0430 \u0433\u043E\u043B\u043E\u0432\u0430 \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u0430! \u0410\u0434\u0430\u043F\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043D\u043E-\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044E\u0442 \u043D\u0430 \u043F\u043E\u0442\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0443\u0433\u0440\u043E\u0437\u044B \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u044F \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443! \u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435: \u043D\u0430\u043D\u043E\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u0442\u0430\u043A \u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443 \u0438 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u043B\u043E\u0432\u043D\u044B\u0445 \u0443\u0431\u043E\u0440\u043E\u0432 \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u0435\u0445 \u0432 \u0438\u0445 \u0440\u0430\u0431\u043E\u0442\u0435.',tooltipPosition:"top-start"})]}),W,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0440\u044F\u0434 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{selected:P,width:"90px",textAlign:"left",content:P?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function U(){return v("toggle_ui_charge")}return U}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u0430\u0440\u044F\u0434 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430.",tooltipPosition:"top-start"})]}),j]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,mt:-1.3,mb:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",textAlign:"center",content:R,backgroundColor:L,tooltip:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0432 \u043D\u0451\u043C \u0437\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445. \n\u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u0441\u0442\u044E\u043C \u0431\u0443\u0434\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u044F\u0435\u0442 \u0437\u0430\u0440\u044F\u0434 \u0434\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0438 \u043C\u043E\u0434\u0443\u043B\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043D\u0435\u043B\u044C\u0437\u044F \u0441\u043D\u044F\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C, \u043F\u043E\u043A\u0430 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u043E\u0432\u043D\u043E \u043A\u0430\u043A \u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438. \u041F\u043E\u0434\u0443\u043C\u0430\u0439\u0442\u0435 \u0434\u0432\u0430\u0436\u0434\u044B \u043F\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043C \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0435\u0433\u043E \u043D\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u0438 \u0432\u0440\u0430\u0433\u0430!",tooltipPosition:"top-start",onClick:function(){function U(){return v("initialise_suit")}return U}()})})]})})},c=function(i,C){var V=(0,a.useBackend)(C),v=V.data,p=v.actionsIcon;return(0,e.createComponentVNode)(2,t.Section,{m:"0",title:"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041C\u043E\u043B\u043E\u0434\u044B\u043C \u0443\u0431\u0438\u0439\u0446\u0430\u043C \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u043B\u0435\u0433\u043A\u043E \u043E\u0441\u0432\u043E\u0438\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435\u0432\u044B\u0445 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445, \u0434\u0430\u0436\u0435 \u043F\u043E\u0441\u043B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u044B\u0445 \u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043E\u043A. \n\u042D\u0442\u043E\u0442 \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0441\u043E\u0432\u0435\u0442\u0430\u043C\u0438 \u043F\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0447\u0430\u0441\u0442\u043E \u0432\u043E\u0437\u043D\u0438\u043A\u0430\u044E\u0449\u0438\u043C \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u043A\u0430\u0441\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0445 \u043C\u0438\u0441\u0441\u0438\u0439 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u043C \u0432\u044B\u0434\u0430\u0434\u0443\u0442 \u0438\u043B\u0438 \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u043E \u043C\u0430\u043B\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0431\u0435\u0440\u043D\u0443\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ninja_teleport",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u0438 \u0448\u0430\u0442\u0442\u043B",content:"\u0412 \u0432\u0430\u0448\u0435\u043C \u0414\u043E\u0434\u0437\u0451 \u0435\u0441\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0438 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0422\u043E\u0447\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0430\u044F, \u043D\u043E \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0438\u0434\u0451\u0442 \u043D\u0430 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0442\u043E\u043D\u043D\u0435\u043B\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u043C\u0430\u043B\u043E\u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u044B\u0435 \u043C\u0435\u0441\u0442\u0430. \n\u042D\u0442\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u044B\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0440\u0438\u0441\u0442\u0443\u043F\u0438\u0442\u044C \u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \n\u041F\u043E\u043B\u044C\u0437\u0443\u044F\u0441\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440\u043E\u043C \u0448\u0430\u0442\u0442\u043B\u0430, \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u043A \u0441\u0435\u0431\u0435 \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434. \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B \u0440\u0435\u0448\u0438\u0442\u0435 \u043F\u043E\u043B\u0435\u0442\u0435\u0442\u044C \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C \u0432\u0430\u043C, \u0447\u0442\u043E \u0432\u043E \u0438\u0437\u0431\u0435\u0436\u0430\u043D\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043A\u0440\u0430\u0436\u0438 \u0448\u0430\u0442\u0442\u043B\u0430 \u0438 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443 \u043F\u043E\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0445 \u043B\u0438\u0446, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043F\u0440\u0430\u043A\u0442\u0438\u043A\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"headset_green",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A",content:"\u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0438 \u043E\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u043E\u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u0430 \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0439, \u043D\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0438. \u0412 \u043D\u0435\u0433\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0431\u043E\u0440\u0433\u043E\u043C \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0447\u043B\u0435\u043D\u0430\u043C\u0438 \u043A\u043B\u0430\u043D\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043E\u043D \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438 \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043B\u0443\u0448\u043A\u0438 \u0438/\u0438\u043B\u0438 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043A\u0430\u043D\u0430\u043B\u044B \u0438\u0445 \u043A\u043B\u044E\u0447\u0435\u0439. \u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u043D\u0430\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0432\u0430\u043C \u043C\u0435\u0441\u0442\u043D\u044B\u0435 \u043A\u0430\u043D\u0430\u043B\u044B \u0441\u0432\u044F\u0437\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438- \u0447\u0435\u0441\u043A\u0438 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442 \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u0441\u0438\u0433\u043D\u0430\u043B\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C\u044B\u0435 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u043A\u0430\u043C\u0438 \u043F\u0440\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043E\u043C. \u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044F \u0432\u0430\u043C \u0441\u0430\u043C\u0438\u043C \u043E\u0431\u0449\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0438\u043C\u0438.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ninja_sleeper",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0445\u0438\u0449\u0435\u043D\u0438\u0435 \u044D\u043A\u0438\u043F\u0430\u0436\u0430",content:"\u041F\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u043D\u0443 \u043D\u0443\u0436\u043D\u044B \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0431\u043B\u0430\u0434\u0430\u0442\u044C \u043B\u044E\u0434\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0435 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0412 \u0442\u0430\u043A\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u0430\u043C \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0441\u043E\u0431\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0443\u0436\u043E\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430. \u0414\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u0430\u043C \u043D\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044F \u043D\u0430\u0439\u0442\u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0432\u0441\u0435\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0431\u0440\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u043E \u043A\u0440\u0443\u043F\u0438\u0446\u0430\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \n\u0414\u043B\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0445\u0438- \u0442\u0438\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \u0423 \u0432\u0430\u0441 \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435 \u0435\u0441\u0442\u044C \u0441\u043A\u0430\u0444\u0430\u043D\u0434\u0440\u044B, \u0430 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0437\u0430\u043F\u0430\u0441 \u043D\u0430- \u0440\u0443\u0447\u043D\u0438\u043A\u043E\u0432, \u043A\u0438\u0441\u043B\u043E\u0440\u043E\u0434\u0430 \u0438 \u0431\u0430\u043B\u043B\u043E- \u043D\u043E\u0432. \n\u0422\u0430\u043A \u0436\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u043B\u044E\u0434\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0438\u043C\u043F\u0443\u043B\u044C\u0441, \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0441\u0442\u0430\u043D\u044F \u0438\u0445 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. ",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ai_face",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0418\u0418",content:"\u0418\u043D\u043E\u0433\u0434\u0430 \u0443 \u043D\u0430\u0441 \u0437\u0430\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u0441\u0430\u0431\u043E- \u0442\u0430\u0436 \u0418\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u042D\u0442\u043E \u043F\u0440\u043E- \u0446\u0435\u0441\u0441 \u0441\u043B\u043E\u0436\u043D\u044B\u0439 \u0438 \u0442\u0440\u0435\u0431\u0443\u044E\u0449\u0438\u0439 \u043E\u0442 \u043D\u0430\u0441 \u043E\u0441\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0438. \n\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u043D\u043E\u043C \u043C\u0435\u0442\u043E\u0434 \u044D\u0442\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u044F\u0437\u0432\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0440\u044F\u043C\u043E \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043A\u043E\u043D\u043E\u0432 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0435\u0439 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0418\u0418 \u0438\u0437 \u0441\u0442\u0440\u043E\u044F. \u0412 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043C\u044B \u043C\u043E\u0436\u0435\u043C \u043B\u0435\u0433\u043A\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0418\u0418 \u0430\u0431\u0441\u0443\u0440\u0434\u043D\u044B\u043C\u0438 \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u043D\u043E \u044D\u0442\u043E \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441 \u0432 \u0442\u043E\u043C \u043F\u043B\u0430\u043D\u0435, \u0447\u0442\u043E \u0434\u043B\u044F \u0432\u0437\u043B\u043E\u043C\u0430 \u0432 \u0438\u0442\u043E\u0433\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0432 \u0441\u0430\u043C\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439. \u0422\u0430\u043A \u0436\u0435 \u0432\u0437\u043B\u043E\u043C \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435\u043B\u0451\u0433\u043A\u0430\u044F - \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u0435\u0441\u0442\u044C \u0432\u0435\u0437\u0434\u0435. \u0410 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F. \u041D\u0435 \u0443\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435\u0441\u044C \u0435\u0441\u043B\u0438 \u0418\u0418 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442- \u0432\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0438\u043C \u043F\u043E\u043F\u044B\u0442\u043A\u0430\u043C \u0435\u0433\u043E \u0441\u043B\u043E\u043C\u0430\u0442\u044C.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ninja_borg",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0440\u043E\u0431\u043E\u0442\u043E\u0432",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044F \u0432\u0430\u0448\u0438 \u0448\u0430\u043D\u0441\u044B \u043D\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043C\u0438\u0441\u0441\u0438\u0438 \u0434\u043B\u044F \u0438\u0445 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445, \u0447\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u0440\u043E\u0431\u043E\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u0446\u0435\u043B\u0435\u0439, \u043C\u044B \u0434\u0430\u0451\u043C \u0432\u0430\u043C \u043E\u0441\u043E\u0431\u044B\u0439 "\u0423\u043B\u0443\u0447\u0448\u0430\u044E\u0449\u0438\u0439" \u0438\u0445 \u043F\u0440\u0438\u0431\u043E\u0440, \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0432 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438. \n\u041F\u0440\u0438 \u0432\u0437\u043B\u043E\u043C\u0435 \u043A\u0438\u0431\u043E\u0440\u0433\u0430 \u0442\u0430\u043A\u0438\u043C \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u043C(\u0412\u0437\u043B\u043E\u043C \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F) \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043B\u043E\u044F\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043B\u0430\u043D\u0443 \u0438 \u0432\u0430\u043C \u043B\u0438\u0447\u043D\u043E \u0441\u043B\u0443\u0433\u0443 \u0441\u043F\u043E\u0441\u043E\u0431- \u043D\u043E\u0433\u043E \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043A\u0430\u043A \u0432 \u0441\u0430\u0431\u043E\u0442\u0430\u0436\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0442\u0430\u043A \u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u043B\u0435\u0447\u0435\u043D\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0440\u043E\u0431\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u043D\u0430\u0449\u0451\u043D \u043B\u0438\u0447\u043D\u043E\u0439 \u043A\u0430\u0442\u0430\u043D\u043E\u0439, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043A\u0438, \u043F\u0438\u043D\u043F\u043E\u0438\u043D\u0442\u0435\u0440\u043E\u043C \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u043C \u0435\u043C\u0443 \u043D\u0430 \u0432\u0430\u0441 \u0438 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u043E\u0432. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u043A\u0430\u0442\u0430\u043D\u0430 \u0440\u043E\u0431\u043E\u0442\u0430 \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u0435\u0433\u043E \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0442\u0440\u0430\u043D\u0441\u043B\u043E\u043A\u0430\u0446\u0438\u044E!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"server",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",content:"\u041D\u0430 \u043D\u0430\u0443\u0447\u043D\u044B\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044C \u0441\u0432\u043E\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0447\u0451\u043D\u044B\u0445 \u0438 \u043C\u043D\u043E- \u0436\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u0438\u0445\u043E- \u0434\u0438\u0442\u0441\u044F \u0433\u0434\u0435 \u0442\u043E \u0445\u0440\u0430\u043D\u0438\u0442\u044C. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u044B\u0441\u0442\u0443- \u043F\u0430\u044E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0410 \u043A\u0430\u043A \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0447\u043D\u043E \u0433\u0440\u044B\u0437\u0443\u0442\u0441\u044F \u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u044F. \u0427\u0442\u043E \u043D\u0430\u043C \u043D\u0430 \u0440\u0443\u043A\u0443. \n\u041C\u044B \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0438\u0440\u0443\u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043F\u0438\u0441\u0430\u043D \u043D\u0430 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0441\u0441\u0438\u0435\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0440\u043E\u0434\u0430. \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043B\u0438\u0448\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0433\u043E \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043D\u0430 \u0438\u0445 \u043D\u0430\u0443\u0447\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u0441\u0435 \u0438\u0445 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0431\u0443\u0434\u0443\u0442 \u0443\u0442\u0435\u0440\u044F\u043D\u044B. \n\u041D\u043E \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0432\u0438\u0440\u0443\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u043C\u043D\u043E\u0433\u0438\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0434\u0440\u0435\u043C\u043B\u044E\u0442. \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u043E \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u043F\u044B\u0442\u043A\u0435 \u0432\u0437\u043B\u043E\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0451\u043D \u043C\u0435\u0441\u0442\u043D\u044B\u0439 \u0418\u0418. \u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u044D\u0442\u043E\u043C\u0443.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"buckler",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0417\u0430\u0449\u0438\u0442\u0430 \u0446\u0435\u043B\u0438",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u0431\u043E\u0433\u0430\u0442\u044B\u0435 \u0448\u0438\u0448\u043A\u0438 \u043F\u043B\u0430\u0442\u044F\u0442 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438 \u0437\u0430\u0449\u0438\u0442\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. \u0415\u0441\u043B\u0438 \u0432\u0430\u043C \u0434\u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0442\u0430\u043A\u0430\u044F \u0446\u0435\u043B\u044C \u043F\u043E\u043C\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435: \n * \u0417\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043E\u0431\u044F\u0437\u0430\u043D \u0434\u043E\u0436\u0438\u0442\u044C \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0441\u043C\u0435\u043D\u044B! \n * \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043D\u0435 \u0437\u043D\u0430\u0435\u0442 \u043E \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435. \u0418 \u043B\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437\u043D\u0430\u043B! \n * \u041D\u0435 \u0432\u0430\u0436\u043D\u043E \u043A\u0442\u043E \u0438\u043B\u0438 \u0447\u0442\u043E \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u043D\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0437\u0430\u0449\u0438\u0442\u043D\u043E\u0433\u043E, \u043D\u043E \u0434\u043B\u044F \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0433\u0434\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u043C\u0438\u0441\u0441\u0438\u044F \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043D\u0435\u0436\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u043B\u0438\u0446\u043E. \u041D\u0435 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0431\u044F \u0431\u0435\u0437 \u043D\u0443\u0436\u0434\u044B, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u0441\u0435\u0431\u0435 \u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0443 \u0438 \u043D\u0430 \u0432\u0430\u0441 \u0441\u0430\u043C\u0438\u0445 \u043D\u0435 \u0432\u0435\u043B\u0438 \u043E\u0445\u043E\u0442\u0443! \n\u0422\u0430\u043A \u0436\u0435 \u043C\u044B \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u043A\u043B\u0430\u043D \u043D\u0435 \u043E\u0434\u043E\u0431\u0440\u044F\u0435\u0442 \u0432\u0430\u0440\u0432\u0430\u0440\u0441\u043A\u0438\u0435 \u043C\u0435\u0442\u043E\u0434\u044B "\u0417\u0430\u0449\u0438\u0442\u044B" \u0446\u0435\u043B\u0438. \u041D\u0435\u0442 \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0430\u0434\u0438\u0442\u044C \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0432 \u043A\u043B\u0435\u0442\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438\u0442\u044C \u0437\u0430 \u043D\u0438\u043C \u0442\u0430\u043C! \u041D\u0435 \u043F\u043E\u0440\u0442\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u0440\u0435\u043F\u0443\u0442\u0430\u0446\u0438\u044E \u0432 \u0433\u043B\u0430\u0437\u0430\u0445 \u043D\u0430\u0448\u0438\u0445 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"cash",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041A\u0440\u0430\u0436\u0430 \u0434\u0435\u043D\u0435\u0433",content:"\u041A\u0430\u043A \u0431\u044B \u044D\u0442\u043E \u043D\u0435 \u0431\u044B\u043B\u043E \u0442\u0440\u0438\u0432\u0438\u0430\u043B\u044C\u043D\u043E. \u0418\u043D\u043E\u0433\u0434\u0430 \u043A\u043B\u0430\u043D \u043D\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044F \u0432 \u0434\u0435\u043D\u044C- \u0433\u0430\u0445. \u0418\u043B\u0438 \u0434\u0430\u0436\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0432\u044B \u0437\u0430\u0434\u043E\u043B\u0436\u0430\u043B\u0438 \u043D\u0430\u043C. \u0412 \u0442\u0430\u043A\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u043C\u044B \u0441\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0434\u0430\u0434\u0438\u043C \u0432\u0430\u043C \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u043D\u0430\u0441 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \n\u0414\u043B\u044F \u0432\u0430\u0441 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435 \u0442\u0440\u0443\u0434\u043D\u0430\u044F, \u043D\u043E \u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0442\u0440\u0430\u0442\u043D\u0430\u044F. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0430\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B\u0445 \u043A\u0430\u0440\u043C\u0430\u043D\u043D\u044B\u0445 \u043A\u0440\u0430\u0436. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0440\u0430\u0436\u0438 \u0447\u0443\u0436\u0438\u0445 \u043A\u0430\u0440\u0442 \u0438 \u043E\u0431\u043D\u0430\u043B\u0438\u0447\u0438- \u0432\u0430\u043D\u0438\u044F \u0438\u0445 \u0441\u0447\u0435\u0442\u043E\u0432. \u041B\u0438\u0431\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u043C\u0435\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435 \u0438 \u043E\u0433\u0440\u0430\u0431\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0438\u043B\u0438 \u0441\u0447\u0435\u0442\u0430 \u0441\u0430\u043C\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435. \u0414\u043E\u0441\u0442\u0430\u043D\u044C\u0442\u0435 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438!",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"handcuff",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430",content:"\u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044F\u0445 \u0447\u0443\u0436\u043E\u0439 \u043F\u043E\u0437\u043E\u0440 \u0434\u043B\u044F \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u0435\u0435 \u0447\u0435\u043C \u0441\u043C\u0435\u0440\u0442\u044C. \u0412 \u0442\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0432\u0430\u043C \u043F\u0440\u0438\u0439\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u044F\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0430\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0438 \u0434\u043E\u0431\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0432\u0430\u0448\u0443 \u0436\u0435\u0440\u0442\u0432\u0443 \u043F\u043E \u0437\u0430\u043A\u043E\u043D\u043D\u044B\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F\u043C \u0443\u043F\u0435\u043A\u043B\u0438 \u0437\u0430 \u0440\u0435\u0448\u0451\u0442\u043A\u0443 \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435 \u0447\u0442\u043E\u0431\u044B \u0432 \u043A\u0440\u0438\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0446\u0435\u043B\u0438 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441\u043B\u0435\u0434. \u041D\u043E \u0432 \u0442\u043E \u0436\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u0438\u0439\u0442\u0438 \u0438 \u0432\u043F\u0438\u0441\u0430\u0442\u044C \u0446\u0435\u043B\u0438 \u0441\u0440\u043E\u043A \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 - \u043D\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u043C\u0435\u0442\u043E\u0434. \u0426\u0435\u043B\u044C \u043B\u0435\u0433\u043A\u043E \u043E\u043F\u0440\u0430\u0432\u0434\u0430\u044E\u0442 \u0432 \u0441\u0443\u0434\u0435, \u0447\u0442\u043E \u043D\u0435 \u0443\u0441\u0442\u0440\u043E\u0438\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \n \u0423 \u0432\u0430\u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u043B\u0438\u0447\u0438\u043D\u043E\u0439 \u0446\u0435\u043B\u0438. \u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438\u0441\u044C \u0431\u0435\u0437 \u0441\u043B\u0438\u0448- \u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u043F\u043E\u0441\u043B\u0435\u0434\u0441\u0442\u0432\u0438\u0439. \u041B\u0438\u0448\u043D\u044F\u044F \u0434\u044B\u0440\u0430 \u0432 \u043E\u0431\u0448\u0438\u0432\u043A\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u0442\u0440\u0443\u043F\u044B - \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0442 \u0448\u0430\u043D\u0441\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"spider_charge",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0440\u044B\u0432 \u043E\u0442\u0434\u0435\u043B\u0430",content:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0434\u043E\u0431\u0440\u044B\u0435 \u0431\u043E\u043C\u0431\u044B. \u042D\u0444\u0444\u0435\u043A- \u0442\u0438\u0432\u043D\u044B\u0435 \u043E\u0440\u0443\u0434\u0438\u044F \u0443\u043D\u0438\u0447\u0442\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0441\u0435\u0433\u043E \u0436\u0438\u0432\u043E\u0433\u043E \u0438 \u043D\u0435\u0436\u0438\u0432\u043E\u0433\u043E \u0432 \u0431\u043E\u043B\u044C\u0448\u043E\u043C \u0440\u0430\u0434\u0438\u0443\u0441\u0435. \u041A\u043E\u0433\u0434\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u044B \u043F\u0440\u043E\u0441\u044F\u0442 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u043E\u0431\u044C\u0435\u043A\u0442, \u043E\u043D\u0438 \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u044E\u0442 \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0434\u043E\u0440\u043E\u0433\u043E \u0441\u0442\u043E\u0438\u0442 \u0442\u0430\u043A\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u041D\u043E \u0440\u0435\u0434\u043A\u043E \u0433\u043E\u0442\u043E\u0432\u044B \u0441\u0434\u0430\u0442\u044C\u0441\u044F. \u041A\u0430\u043A \u0440\u0430\u0437 \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043C\u043D\u043E\u0433\u0438\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B \u043D\u0430 \u043F\u043E\u0434\u0440\u044B\u0432 \u043E\u0434\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0438\u043B\u0438 \u043E\u0442\u0434\u0435\u043B\u0430. \n\u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u043F\u043E\u0441\u043B\u0435 \u0432\u0437\u0440\u044B\u0432\u0430 \u043D\u0430 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044C \u043E\u0445\u043E\u0442\u0430. \n \u041D\u0430\u0448\u0438 \u0431\u043E\u043C\u0431\u044B \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0438\u0437\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u044B \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u0435\u043B\u044F\u043C\u0438. \u041D\u0438\u043A\u0442\u043E \u043A\u0440\u043E\u043C\u0435 \u0432\u0430\u0441 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0445 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u043B\u0438\u0448\u044C \u0432 \u0437\u043E\u043D\u0435 \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0441\u0440\u0430\u0437\u0443 \u0431\u0435\u0436\u0430\u0442\u044C \u043F\u043E\u0434\u0430\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u043B\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438. \u0425\u043E\u0442\u044F \u044D\u0442\u043E \u0438 \u0442\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0434\u043B\u044F \u0432\u0430\u0441 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"BSM",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u0440\u043E\u0432\u0438",content:'"\u0417\u043D\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0432\u0440\u0430\u0433\u0430" - \u043F\u0440\u043E\u0441\u0442\u0430\u044F \u0438\u0441\u0442\u0438\u043D\u0430. \n\u0417\u0430 \u0433\u043E\u0434\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u043D\u0430 \u043C\u044B \u0438\u0437\u0443\u0447\u0438\u043B\u0438 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0442\u0432\u0430\u0440\u0435\u0439. \u0418 \u0434\u043E \u0441\u0438\u0445 \u043F\u043E\u0440 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u043C \u0438\u0437\u0443\u0447\u0435\u043D\u0438\u0435 \u043D\u0435\u043A\u043E- \u0442\u043E\u0440\u044B\u0445. \u0410 \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E, \u0447\u0442\u043E \u0438\u0437\u0443\u0447\u0430\u0442\u044C, \u043D\u0443\u0436\u043D\u043E \u0434\u043E\u0431\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B. \u041A\u0440\u043E\u0432\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u0430\u043C\u044B\u0445 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u043D\u0430\u0448\u0438\u043C \u0443\u0447\u0451\u043D\u044B\u043C. \n\u0418\u043C\u0435\u044E\u0449\u0430\u044F\u0441\u044F \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0446\u0435\u043D\u0442\u0440\u0438\u0444\u0443\u0433\u0430 \u0434\u043B\u044F \u043A\u0440\u043E\u0432\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0440\u043E\u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u043D\u0435 \u043F\u043E\u0432\u0440\u0435\u0434\u0438\u0432 \u0438\u0445 \u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043D\u0430\u043C. \n\u0414\u043B\u044F \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u0440\u043E\u0432\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C 3 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0431\u0440\u0430\u0437\u0446\u0430. \u0418 \u043F\u043E\u043C\u0435- \u0441\u0442\u0438\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u043E\u0431\u0438\u0440\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0442\u043E\u043C \u043D\u0430\u0434\u043E \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E. \n\u041F\u0440\u0438\u043C\u0435\u0441\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"changeling",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0413\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u044B",content:"\u0427\u0435\u0440\u0432\u0438 \u0432\u043E\u0437\u043E\u043C\u043D\u0438\u0432\u0448\u0438\u0435 \u0441\u0435\u0431\u044F \u0432\u044B\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u043E\u0432 \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0443\u043C\u0435\u044E\u0442 \u043A\u0440\u0430\u0441\u0442\u044C \u0433\u0435\u043D\u044B \u0438 \u0438\u043C\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445. \n\u0421\u0432\u043E\u0438\u043C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043E\u043D\u0438 \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0440\u043E\u0431- \u043B\u0435\u043C, \u0447\u0435\u043C \u043F\u043E\u043B\u044C\u0437\u044B. \n\u042D\u0442\u0438 \u0442\u0432\u0430\u0440\u0438 \u0441\u0442\u043E\u043B\u044C \u0436\u0435 \u0445\u0438\u0442\u0440\u044B \u0441\u043A\u043E\u043B\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u044B. \u041D\u0435 \u0434\u043E\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441 \u043D\u0438\u043C\u0438 \u043D\u0438 \u043E \u0447\u0451\u043C! \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0436\u0435 \u043D\u0430\u043C \u0441\u043B\u043E\u0436\u043D\u043E \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u043D\u0435 \u0437\u0430\u043F\u0438\u0445- \u043D\u0443\u0432 \u0435\u0433\u043E \u0432 \u043B\u0430\u0431\u043E\u0440\u0430\u0442\u043E\u0440\u0438\u044E \u0438 \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u044F \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0442\u0435\u0441\u0442\u043E\u0432. \u041D\u043E \u043E\u043D\u0438 \u0438\u043D\u043E\u0433\u0434\u0430 \u0432\u044B\u0434\u0430\u044E\u0442 \u0441\u0435\u0431\u044F \u0441\u0432\u043E\u0438\u043C\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438. \u0418 \u0442\u0430\u043A \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043B\u043E\u0436\u0430\u0442\u0441\u044F \u043D\u0430 \u0434\u043D\u043E \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u0427\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0438\u0445 \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0434\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u043E\u043F\u043B\u044F\u0441\u0430\u0442\u044C, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0432\u044B\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0430 \u0441\u0446\u0435\u043D\u0443. \u0418 \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043B\u0443\u0448\u0430\u0439\u0442\u0435 \u0440\u0430\u0434\u0438\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043C\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0445\u0440\u0430\u043D\u0430 \u0443\u0436\u0435 \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u0437\u0430 \u043E\u0434\u043D\u0438\u043C \u0438\u0437 \u043D\u0438\u0445. \n\u041D\u0438\u043A\u0442\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432 \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u043E \u043F\u043E\u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u043C \u0441 \u044D\u0442\u0438\u043C...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"vampire",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u043C\u043F\u0438\u0440\u044B",content:"\u0414\u0435\u0448\u0451\u0432\u044B\u0435 \u0440\u043E\u043C\u0430\u043D\u044B, \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0438 \u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u043E\u0448\u043B\u043E\u0433\u043E \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u043B\u0438 \u0432\u0430\u043C\u043F\u0438\u0440\u043E\u0432 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A\u043E\u0432 \u043F\u044C\u044E\u0449\u0438\u0445 \u043A\u0440\u043E\u0432\u044C \u043B\u044E\u0434\u0435\u0439 \u0432 \u043D\u043E\u0447\u0438 \u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E- \u0449\u0438\u0445 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E- \u0441\u0442\u044F\u043C\u0438. \u0418\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u043D\u0435\u0435 \u0440\u043E\u043C\u0430\u043D\u0442\u0438\u0447\u043D\u044B... \n\u041C\u044B \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435, \u043D\u043E \u043D\u0430\u0448\u0438 \u043F\u043E\u0434\u043E\u0437\u0440\u0435- \u043D\u0438\u044F \u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435 \u043D\u0435\u043A\u043E\u0439 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438. \u0422\u0430\u043A \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435, \u0434\u043E \u0442\u0435\u0445 \u043F\u043E\u0440 \u043F\u043E\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440 \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0443\u0433\u0440\u043E\u0436\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043D\u0438. \u0412\u044B \u0432\u043E\u043B\u044C\u043D\u044B \u0435\u0433\u043E \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C. \n\u0412\u0430\u043C\u043F\u0438\u0440\u044B \u043E\u0447\u0435\u043D\u044C \u043E\u043F\u0430\u0441\u043D\u044B \u0432 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u043E\u043D\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u0432\u0437\u0433\u043B\u044F\u0434\u043E\u043C \u0438 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0430\u0442\u044C \u0440\u0430\u0437\u0443\u043C \u0441\u0432\u043E\u0438\u0445 \u0436\u0435\u0440\u0442\u0432. \u041D\u0435 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0438\u043C, \u043D\u043E \u0442\u0430\u043A \u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u0435 - \u043E\u043D\u0438 \u043B\u0438\u0448\u044C \u0436\u0435\u0440\u0442\u0432\u044B \u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u0441\u0442\u0432. \u0418 \u044D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"syndicate",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442",content:"\u041D\u0430\u0448\u0438 \u0445\u043E\u0440\u043E\u0448\u0438\u0435 \u0437\u043D\u0430\u043A\u043E\u043C\u044B\u0435. \u0421\u0431\u043E\u0440\u0438\u0449\u0435 \u043C\u043E\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0444\u0438\u0433\u0443\u0440 \u0432 \u043F\u043E\u0434\u043F\u043E\u043B\u044C\u043D\u043E\u043C \u043C\u0438\u0440\u0435 \u0441 \u0437\u0430\u043A\u0440\u044B\u0442\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0430 \u043E \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043C\u0430\u043B\u043E... \n\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u043E\u0432. \u041D\u043E \u0441\u0430\u043C\u043E\u0439 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E\u0439, \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u043A\u0442\u043E \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0445 \u0438\u0437\u0443\u0447\u0438\u0442, \u0447\u0435\u0440\u0442\u043E\u0439 \u044D\u0442\u043E\u0439 \u0433\u0440\u0443\u043F\u043F\u044B - \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043E\u0433\u0440\u043E\u043C\u043D\u0430\u044F \u043D\u0435\u043D\u0430\u0432\u0438\u0441\u0442\u044C \u043A \u041D\u0422. \n\u0412 \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 \u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043D\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0430. \n\u0415\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u043C\u0435\u0448\u0430\u044E\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u041C\u044B \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u043C \u0438\u043C.",position:"bottom-start"})]})]})})})},u=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.actionsIcon,N=p.blocked_TGUI_rows,x=[{blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"}];return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u0414\u0435\u043B\u044F\u0442\u0441\u044F \u043D\u0430 3 \u0440\u0430\u0437\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0418\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u0439 \u043F\u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044E \u0440\u0430\u0431\u043E\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F, \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0443\u043B\u0435\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0443\u0440\u043E\u0432\u043D\u044F \u0438\u0437 \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432",tooltipPosition:"bottom"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",alignContent:"center",ml:1.5,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{width:"100%",title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",ml:"0px",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u0440\u0435\u0434\u0438 \u0432\u0440\u0430\u0433\u043E\u0432, \u043D\u0430\u043F\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u0437 \u0442\u0435\u043D\u0438 \u0438 \u0431\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0440\u0438\u043C\u043E\u0439 \u0443\u0433\u0440\u043E\u0437\u043E\u0439, \u0432\u0441\u0451 \u0434\u043B\u044F \u0442\u043E\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u043D\u0438\u043A\u0442\u043E \u043D\u0435 \u0443\u0437\u043D\u0430\u043B! \u0411\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B \u043A\u0430\u043A \u043F\u0440\u0438\u0437\u0440\u0430\u043A!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(53, 94, 163, 0.8)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return v("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"smoke",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0414\u042B\u041C\u041E\u0412\u0410\u042F \u0417\u0410\u0412\u0415\u0421\u0410",content:"\u0412\u044B \u0441\u043E\u0437\u0434\u0430\u0451\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0443\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432. \n\u042D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0432\u0438\u0437\u043E\u0440\u043E\u043C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0442\u0435\u0440\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0441\u043A\u0430\u043D\u0435\u0440\u0430. \n\u0410 \u0442\u0430\u043A \u0436\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043C\u043E\u0434\u0443\u043B\u044F\u043C\u0438 \u0435\u0441\u043B\u0438 \u0432\u044B \u0442\u043E\u0433\u043E \u043F\u043E\u0436\u0435\u043B\u0430\u0435\u0442\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 250 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return v("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"ninja_cloak",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041D\u0415\u0412\u0418\u0414\u0418\u041C\u041E\u0421\u0422\u042C",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0441\u043A\u0440\u044B\u0432\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0441 \u0438\u0437 \u0432\u0438\u0434\u0443 \u0438 \u043F\u0440\u0438\u0433\u043B\u0443\u0448\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0448\u0438 \u0448\u0430\u0433\u0438. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \u0425\u043E\u0442\u044C \u043F\u043E\u043B\u0435 \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E, \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0443\u0431\u0438\u0439\u0446\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0445\u043B\u0430\u0434\u043D\u043E\u043A\u0440\u043E\u0432\u0435\u043D. \n\u041D\u0435 \u0441\u0442\u043E\u0438\u0442 \u043D\u0435\u0434\u043E\u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u0445 \u043B\u044E\u0434\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 15 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return v("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"ninja_clones",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u041A\u041B\u041E\u041D\u042B",content:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0443\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043C\u043E\u0447\u044C \u0432 \u0431\u0438\u0442\u0432\u0435 \u0438 \u0434\u0435\u0437\u043E\u0440\u0438\u0435\u043D\u0442\u0438- \u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u0430 \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u0441\u043C\u0435\u0449\u0430\u0435\u0442 \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0438\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043F\u0430\u0440\u044B \u043C\u0435\u0442\u0440\u043E\u0432. \n\u041F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435\u0441\u044C \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E. \u0421\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0435 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0435\u0440\u0435\u0442\u044C \u0432\u0430\u0441 \u0437\u0430 4-\u043C\u044F \u0441\u0442\u0435\u043D\u0430\u043C\u0438. \u0411\u0443\u0434\u044C\u0442\u0435 \u043A \u044D\u0442\u043E\u043C\u0443 \u0433\u043E\u0442\u043E\u0432\u044B. \n\u041A\u043B\u043E\u043D\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 20 \u0441\u0435\u043A\u0443\u043D\u0434. \u041A\u043B\u043E\u043D\u044B \u0438\u043C\u0435\u044E\u0442 \u0448\u0430\u043D\u0441 \u0440\u0430\u0437\u043C\u043D\u043E\u0436\u0438\u0442\u0441\u044F \u0430\u0442\u0430\u043A\u0443\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 8 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return v("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"chameleon",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0425\u0410\u041C\u0415\u041B\u0415\u041E\u041D",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u0433\u043E\u043B\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435 \u0438\u0441\u043A\u0430\u0436\u0430\u044E\u0449\u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0438 \u0441\u043B\u0443\u0445\u043E\u0432\u043E\u0435 \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432. \n\u0412\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u0438\u0434\u0435\u0442\u044C \u0438 \u0441\u043B\u044B\u0448\u0430\u0442\u044C \u043A\u0430\u043A \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C. \n\u042D\u0442\u043E \u0434\u0430\u0451\u0442 \u0432\u0430\u043C \u043E\u0433\u0440\u043E\u043C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u0442\u043E\u0440 \u043F\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044E \u0438 \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044D\u043A\u0438\u043F\u0430\u0436\u0430. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0445\u0430\u043C\u0435\u043B\u0435\u043E\u043D \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: \u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return v("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"ninja_spirit_form",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0424\u041E\u0420\u041C\u0410 \u0414\u0423\u0425\u0410",content:"\u0412\u044B \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u043D\u0430 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u043F\u043E\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u044D\u0442\u043E\u0439 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438. \n\u0414\u0435\u043B\u0430\u044F \u0432\u0430\u0448\u0435 \u0442\u0435\u043B\u043E \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u044D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u0440\u0443\u0435\u0442 \u0432\u0430\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0441\u043A\u0432\u043E\u0437\u044C \u0441\u0442\u0435\u043D\u044B. \n\u042D\u0442\u0430 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0443\u044F\u0437\u0432\u0438\u043C\u044B\u043C \u0434\u043B\u044F \u043F\u0443\u043B\u044C \u0438 \u043B\u0435\u0437\u0432\u0438\u0439! \n\u041D\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u0441\u043D\u044F\u0442\u044C \u0441 \u0441\u0435\u0431\u044F \u043D\u0430\u0440\u0443\u0447\u043D\u0438\u043A\u0438, \u0431\u043E\u043B\u044B \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B\u043B\u0435\u0437\u0442\u0438 \u0438\u0437 \u0433\u0440\u043E\u0431\u0430 \u0438\u043B\u0438 \u044F\u0449\u0438\u043A\u0430, \u043E\u043A\u0430\u0436\u0438\u0441\u044C \u0432\u044B \u0442\u0430\u043C \u0437\u0430\u043F\u0435\u0440\u0442\u044B... \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u0444\u043E\u0440\u043C\u0430 \u0434\u0443\u0445\u0430 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438! \u041F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043E\u0431\u044A\u0451\u043C\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 25 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{ml:"0px",width:"100%",title:"\u0417\u043C\u0435\u0439",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435! \u0422\u0440\u044E\u043A\u0438, \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0449\u0438\u0442\u044B. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C, \u0447\u0442\u043E \u0442\u0430\u043A\u043E\u0435 \u0431\u043E\u0439 \u0441 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u043C \u0443\u0431\u0438\u0439\u0446\u0435\u0439. \u0418\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0438 \u0438\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430\u0445\u043E\u0434\u044F \u0432\u044B\u0445\u043E\u0434 \u0438\u0437 \u043B\u044E\u0431\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0412\u0440\u0430\u0433\u0438 \u0432\u0441\u0435\u0433\u043E \u043B\u0438\u0448\u044C \u0433\u0440\u044B\u0437\u0443\u043D\u044B, \u0447\u044C\u0451 \u043B\u043E\u0433\u043E\u0432\u043E \u043D\u0430\u0432\u0435\u0441\u0442\u0438\u043B \u0437\u043C\u0435\u0439!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(0, 174, 208, 0.15)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return v("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"kunai",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u0422\u0420\u041E\u0415\u041D\u041D\u041E\u0415 \u0414\u0416\u041E\u0425\u042C\u0401",content:"\u0422\u0430\u043A \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u0430\u043A \u0428\u044D\u043D\u0431\u044F\u043E \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u041A\u0438\u043D\u0436\u0430\u043B \u043D\u0430 \u0446\u0435\u043F\u0438. \n\u0418\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0438 \u043F\u0440\u0438\u0442\u044F\u043D\u0443\u0442\u044C \u043A \u0441\u0435\u0431\u0435 \u0436\u0435\u0440\u0442\u0432\u0443 \u0437\u0430 \u0434\u043E\u043B\u0438 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u041E\u0440\u0443\u0436\u0438\u0435 \u043D\u0435 \u043E\u0447\u0435\u043D\u044C \u0433\u043E\u0434\u0438\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u043B\u0433\u0438\u0445 \u0431\u043E\u0451\u0432, \u043D\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u044B\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0434\u043D\u043E\u0439 \u0436\u0435\u0440\u0442\u0432\u044B - \u043D\u0430 \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0443\u0434\u0430\u0440\u0430! \n\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u0445\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0441\u0442\u0440\u0435\u043B\u044C\u0431\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 5 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return v("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"chem_injector",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0418\u0421\u0426\u0415\u041B\u042F\u042E\u0429\u0418\u0419 \u041A\u041E\u041A\u0422\u0415\u0419\u041B\u042C",content:"\u0412\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0435\u0447\u0435\u0431\u043D\u0443\u044E \u0441\u043C\u0435\u0441\u044C. \u0421\u043F\u043E\u0441\u043E\u0431\u043D\u0443\u044E \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u0434\u0430\u0436\u0435 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u0441\u0442\u0438 \u0438 \u043E\u0442\u043E\u0440\u0432\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u041F\u0440\u0435\u043F\u0430\u0440\u0430\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442- \n\u0432\u0435\u043D\u043D\u043E-\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u0434\u043E\u043A\u0441\u044B \u0438 \u043E\u0447\u0435\u043D\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0438\u0437 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0430! \n\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0435 \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043E\u043F\u0430\u0441\u043D\u044B \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 30 \u0435\u0434. \u043F\u0440\u0435\u043F\u0430\u0440\u0430\u0442\u0430 \u0432 \u0432\u0430\u0448 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C! \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u0438\u043C\u0435\u0435\u0442 3 \u0437\u0430\u0440\u044F\u0434\u0430. \u0418\u0445 \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return v("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"emergency_blink",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041A\u0421\u0422\u0420\u0415\u041D\u041D\u0410\u042F \u0422\u0415\u041B\u0415\u041F\u041E\u0420\u0422\u0410\u0426\u0418\u042F",content:"\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0443\u044E \u0437\u043E\u043D\u0443 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043E\u043A\u043E\u043B\u043E \u0434\u0432\u0443\u0445 \u0434\u0435\u0441\u044F\u0442\u043A\u043E\u0432 \u043C\u0435\u0442\u0440\u043E\u0432. \n\u0414\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043C\u043E\u0437\u0433\u043E\u0432\u044B\u0435 \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043F\u044B\u0442\u043D\u044B\u0435 \u0432\u043E\u0438\u043D\u044B \u043A\u043B\u0430\u043D\u0430, \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0451 \u0434\u0430\u0436\u0435 \u0432\u043E \u0441\u043D\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return v("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"caltrop",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E-\u0427\u0415\u0421\u041D\u041E\u041A",content:"\u0427\u0430\u0449\u0435 \u0438\u0445 \u043D\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u043E \u043A\u0430\u043B\u0442\u0440\u043E\u043F\u044B, \u0438\u0437-\u0437\u0430 \u0437\u0430\u043F\u0443\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0445 \u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0441 \u0431\u043E\u043B\u0435\u0435 \u0441\u044A\u0435\u0441\u0442\u043D\u044B\u043C \u0447\u0435\u0441\u043D\u043E\u043A\u043E\u043C. \n\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u043F\u043E\u0437\u0430\u0434\u0438 \u0432\u0430\u0441 \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043F\u0440\u0435\u0441\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043B\u043E\u0432\u0443\u0448\u043A\u0438. \n\u041B\u043E\u0432\u0443\u0448\u043A\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434. \u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043F\u0430\u0434\u0430\u044E\u0442 - \u0435\u0441\u043B\u0438 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0442\u044C. \n\u0411\u043E\u043B\u044C \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0438\u0433\u043D\u0435\u0442 \u0434\u0430\u0436\u0435 \u0440\u043E\u0431\u043E\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D- \u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u0412\u044B \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B \u043E\u0442 \u043D\u0438\u0445. \u041D\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0438 \u0436\u0435 \u043B\u043E\u0432\u0443\u0448\u043A\u0438! \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return v("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"cloning",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0422\u041E\u0420\u041E\u0419 \u0428\u0410\u041D\u0421",content:"\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u043C \u043C\u043D\u043E\u0433\u0438\u0435 \u0443\u0431\u0438\u0439\u0446\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0438\u0432\u0430\u044F \u0441\u0432\u043E\u0438 \u043C\u0438\u0441\u0441\u0438\u0438 \u0441\u043E\u0432\u0435\u0440\u0448\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430 \u0438\u043B\u0438 \u043E\u043A\u0430\u0437\u044B\u0432\u0430\u043B\u0438\u0441\u044C \u0432 \u043B\u0430\u043F\u0430\u0445 \u0432\u0440\u0430\u0433\u0430. \n\u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044C \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0434\u043E\u0440\u043E\u0433\u0430\u044F \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430. \u041C\u043E\u0449\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0432\u0430\u0441 \u043F\u0440\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441 \u0442\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430. \n\u042D\u0442\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0439 \u0448\u0430\u043D\u0441, \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0432 \u0432\u0430\u0441 \u043A \u0441\u0435\u0431\u0435 \u0438 \u0438\u0437\u043B\u0435\u0447\u0438\u0432 \u043B\u044E\u0431\u044B\u0435 \u0442\u0440\u0430\u0432\u043C\u044B. \n\u041C\u044B \u0441\u043B\u044B\u0448\u0430\u043B\u0438 \u043F\u0440\u043E \u0441\u043E\u043C\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 \u0438\u0434\u0435\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u043B\u0435\u043D\u043E\u0432 \u043A\u043B\u0430\u043D\u0430. \u041D\u043E \u0443\u0432\u0435\u0440\u044F\u0435\u043C \u0432\u0430\u0441, \u044D\u0442\u043E \u043D\u0435 \u0442\u0430\u043A. \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0438\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043D\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0438 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044E. \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u0430\u0441\u0451\u0442 \u0432\u0430\u0441 \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0440\u0438 \u0441\u043C\u0435\u0440\u0442\u0438.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{ml:"0px",width:"100%",title:"\u0421\u0442\u0430\u043B\u044C",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u042F\u0440\u043E\u0441\u0442\u044C \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C. \u0421\u0438\u043B\u0430, \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u043E\u0440\u0443\u0434\u0438\u044F \u0432\u044B\u0448\u0435 \u0438\u0445 \u043F\u043E\u043D\u0438\u043C\u0430\u043D\u0438\u044F. \u0420\u0430\u0437\u0438\u0442\u0435 \u0438\u0445 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A \u0447\u0442\u043E \u0440\u0430\u0437\u0438\u0442 \u0441\u0432\u043E\u044E \u0434\u043E\u0431\u044B\u0447\u0443. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0432\u043A\u0443\u0441 \u0441\u0442\u0430\u043B\u0438!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(80, 20, 20, 1)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return v("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"shuriken",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u0421\u042E\u0420\u0418\u041A\u0415\u041D\u042B",content:"\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043F\u0443\u0441\u043A\u043E\u0432\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043A\u0440\u044B\u0442\u043E\u0435 \u0432 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0430\u0445 \u043A\u043E\u0441\u0442\u044E\u043C\u0430. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u043F\u043E \u0442\u0440\u0438 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u0430, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u0436\u0430\u0442\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438, \u043E\u0447\u0435\u0440\u0435\u0434\u044C\u044E. \n\u0421\u044E\u0440\u0438\u043A\u0435\u043D\u044B \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u0438\u0437\u043D\u0443\u0440\u044F\u044E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0438 \u043D\u0430\u043D\u043E\u0441\u044F\u0442 \u0441\u043B\u0430\u0431\u044B\u0439 \u043E\u0436\u043E\u0433\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043B\u0435\u0442\u0430\u044E\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043A\u043B\u043E, \u043A\u0430\u043A \u0438 \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043B\u0430\u0437\u0435\u0440\u043D\u044B\u0435 \u0441\u043D\u0430\u0440\u044F\u0434\u044B. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 300 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return v("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"adrenal",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u041F\u041B\u0415\u0421\u041A \u0410\u0414\u0420\u0415\u041D\u0410\u041B\u0418\u041D\u0410",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0432\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u043C\u043E\u0449\u043D\u0443\u044E \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0443\u0441\u043A\u043E\u0440\u044F\u044E\u0449\u0443\u044E \u0432\u0430\u0441 \u0432 \u0431\u043E\u044E \u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0449\u0443\u044E \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u043A\u043B\u0435\u043C\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432. \n\u041A\u043E\u0441\u0442\u044E\u043C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442 \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0440\u0430\u043D\u0430. \u0427\u0442\u043E \u043A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0451\u0442 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u0444\u0444\u0435\u043A\u0442, \u0432 \u0432\u0438\u0434\u0435 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0434\u0438\u044F \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043E \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0443\u0440\u0430\u043D\u0430 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return v("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"emp",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E\u041C\u0410\u0413\u041D\u0418\u0422\u041D\u042B\u0419 \u0412\u0417\u0420\u042B\u0412",content:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043C\u0430\u0433\u043D\u0438\u0442\u043D\u044B\u0435 \u0432\u043E\u043B\u043D\u044B \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u044E\u0442, \u043F\u043E\u0434\u0440\u044B\u0432\u0430\u044E\u0442 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0430\u044E\u0442 - \u043A\u0438\u0431\u043E\u0440\u0433\u043E\u0432, \u0434\u0440\u043E\u043D\u043E\u0432, \u041A\u041F\u0411, \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435, \u043F\u043E\u0440\u0442\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0421\u0432\u0435\u0442\u043E\u0448\u0443\u043C\u043E\u0432\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u0432\u044F\u0437\u0438 \u0438 \u0442.\u0434. \n\u042D\u0442\u043E\u0442 \u0432\u0437\u0440\u044B\u0432 \u043C\u043E\u0436\u0435\u0442 \u043A\u0430\u043A \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0432 \u0431\u043E\u044E, \u0442\u0430\u043A \u0438 \u043D\u0435\u0432\u0435\u0440\u043E\u044F\u0442\u043D\u043E \u043D\u0430\u0432\u0440\u0435\u0434\u0438\u0442\u044C. \u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043C\u0435\u0441\u0442\u043D\u043E\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u043C. \n\u041D\u0435 \u0437\u0430\u0431\u044B\u0432\u0430\u0439\u0442\u0435 \u043E \u0437\u0430\u0449\u0438\u0449\u0430\u044E\u0449\u0435\u043C \u043E\u0442 \u0441\u0432\u0435\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u0432\u0438\u0437\u043E\u0440\u0430. \u041E\u043D \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0435 \u043E\u0441\u043B\u0435\u043F\u043D\u0443\u0442\u044C, \u043F\u0440\u0438 \u043F\u043E\u0434\u0440\u044B\u0432\u0435 \u043F\u043E\u0434\u043E\u0431\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432. \n\u0412\u0437\u0440\u044B\u0432 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 5000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 4 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return v("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"energynet",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0410\u042F \u0421\u0415\u0422\u042C",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043B\u043E\u0432\u0438\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u0432\u0430\u043C\u0438 \u0446\u0435\u043B\u044C \u0432 \u043E\u0431\u0435\u0437\u0434\u0432\u0438\u0436\u0438\u0432\u0430\u044E\u0449\u0443\u044E \u043B\u043E\u0432\u0443\u0448\u043A\u0443. \n\u0418\u0437 \u043B\u043E\u0432\u0443\u0448\u043A\u0438 \u043B\u0435\u0433\u043A\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u0441\u043B\u043E\u043C\u0430\u0432 \u0435\u0451 \u043B\u044E\u0431\u044B\u043C \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u043C. \n\u041E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0432\u0440\u0430\u0433\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u0432 \u043D\u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445 \u0438\u043B\u0438 \u043D\u0430\u0434\u043E\u0435\u0434\u043B\u0438\u0432\u044B\u0445 \u043E\u0445\u0440\u0430\u043D\u043D\u044B\u0445 \u0431\u043E\u0442\u043E\u0432. \n\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u0441\u0435\u0442\u044C \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0435 \u043E\u0442\u0441\u0442\u0440\u0435\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u0430\u0441. \n\u0422\u0430\u043A \u0436\u0435 \u0441\u0435\u0442\u044C \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u043C \u043F\u0443\u0442\u0451\u043C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u0435\u0442\u0438 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return v("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"spider_red",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0411\u041E\u0415\u0412\u041E\u0415 \u0418\u0421\u041A\u0423\u0421\u0421\u0422\u0412\u041E \n\u041F\u041E\u041B\u0417\u0423\u0427\u0415\u0419 \u0412\u0414\u041E\u0412\u042B",content:"\u0411\u043E\u0435\u0432\u043E\u0435 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u043E \u043D\u0438\u043D\u0434\u0437\u044F \u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E\u0435 \u043D\u0430 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0438\u0451\u043C\u043E\u0432. \n\u0412 \u0443\u0447\u0435\u043D\u0438\u0435 \u0432\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043F\u0440\u0438\u0451\u043C\u044B: \n\u0412\u044B\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435 \u0440\u0443\u043A\u0438 - \u0437\u0430\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u0432\u044B\u0440\u043E\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u043E\u0440\u0443\u0436\u0438\u0435. \n\u0423\u0434\u0430\u0440 \u043B\u0430\u0434\u043E\u043D\u044C\u044E - \u043E\u0442\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0435\u0442\u0440\u043E\u0432 \u043E\u0442 \u0432\u0430\u0441, \u043B\u0438\u0448\u0430\u044F \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u044F. \n\u041F\u0435\u0440\u0435\u0440\u0435\u0437\u0430\u043D\u0438\u0435 \u0448\u0435\u0438 - \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043E\u0431\u0435\u0437\u0433\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u043B\u0435\u0436\u0430\u0447\u0443\u044E \u0436\u0435\u0440\u0442\u0432\u0443 \u043A\u0430\u0442\u0430\u043D\u043E\u0439 \u0432\u043E \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0440\u0443\u043A\u0435. \n\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0442\u043E\u0440\u043D\u0430\u0434\u043E - \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0430\u0441 \u0438 \u0441\u043E\u0437\u0434\u0430\u0451\u0442 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u044B\u043C\u043E\u0432\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0438 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u044B \u043E\u0431\u0443\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0448\u0430\u043D\u0441\u043E\u043C \u043E\u0442\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043D\u044F\u0440\u044F\u0434\u044B \u0432\u0440\u0430\u0433\u043E\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E.",position:"right"})]})]})]})]})})},m=r.ShuttleConsole=function(){function s(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0448\u0430\u0442\u0442\u043B\u043E\u043C",mr:"5px",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041F\u0430\u043D\u0435\u043B\u044C \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0448\u0430\u0442\u0442\u043B\u043E\u043C. \u0422\u0430\u043A \u0436\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0441\u0430\u043C\u043E\u0433\u043E \u0448\u0430\u0442\u0442\u043B\u0430!",tooltipPosition:"right"}),children:(0,e.createComponentVNode)(2,t.Flex,{ml:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F",children:p.status?p.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0430\u0448\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F",children:p.player_pos}),!!p.shuttle&&(!!p.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0448\u0430\u0442\u0442\u043B",children:p.docking_ports.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:g.name,onClick:function(){function N(){return v("move",{move:g.id})}return N}()},g.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!p.admin_controlled&&(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044E",disabled:!p.status,onClick:function(){function g(){return v("request")}return g}()})})],0))]})})})}return s}(),l=function(i,C){var V=(0,a.useBackend)(C),v=V.data,p=v.randomPercent,g=v.actionsIcon,N=v.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:p,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+N,mt:1,children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"spider_"+N,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Loading ",p+"%"]}),2)})})},d=function(s){function i(V){var v;return v=s.call(this,V)||this,v.timer=null,v.state={lastText:"text do be there",currentDisplay:[]},v}k(i,s);var C=i.prototype;return C.tick=function(){function V(){var v=this.props,p=this.state;if(v.allMessages!==p.lastText&&!v.end_terminal){var g=p.currentDisplay;g.push(v.allMessages),p.lastText=v.allMessages}else v.end_terminal&&(clearTimeout(this.timer),setTimeout(v.onFinished,v.finishedTimeout))}return V}(),C.componentDidMount=function(){function V(){var v=this,p=this.props.linesPerSecond,g=p===void 0?2.5:p;this.timer=setInterval(function(){return v.tick()},1e3/g)}return V}(),C.componentWillUnmount=function(){function V(){clearTimeout(this.timer)}return V}(),C.render=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(v){return(0,e.createFragment)([v,(0,e.createVNode)(1,"br")],0,v)})})}return V}(),i}(e.Component)},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 y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,k)})})}return y}(),k=r.StationAlertConsoleContent=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=c.alarms||[];return Object.keys(u).map(function(m){var l,d;return(0,e.createComponentVNode)(2,t.Section,{title:m+" Alarms",children:(0,e.createVNode)(1,"ul",null,((l=u[m])==null?void 0:l.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(d=u[m])==null?void 0:d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)}),0)},m)})}return y}()},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),k=n(98595),y=5,S=9,b=function(V){return V===0?5:9},h="64px",c=function(V){return V[0]+"/"+V[1]},u=function(V){var v=V.align,p=V.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"}},l={neck:{displayName:"neck",gridSpot:c([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:c([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:c([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:c([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:c([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:c([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:c([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:c([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:c([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:c([1,4])},jumpsuit:{displayName:"uniform",gridSpot:c([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:c([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:c([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:c([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:c([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:c([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:c([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:c([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:c([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:c([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:c([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:c([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:c([4,4]),image:"inventory-pda.png"}},d={neck:{displayName:"neck",gridSpot:c([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:c([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:c([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:c([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:c([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:c([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:c([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:c([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:c([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:c([1,4])},jumpsuit:{displayName:"uniform",gridSpot:c([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:c([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:c([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:c([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:c([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:c([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:c([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:c([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:c([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:c([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:c([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:c([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:c([4,8]),image:"inventory-pda.png"}},s=function(C){return C[C.Completely=1]="Completely",C[C.Hidden=2]="Hidden",C}(s||{}),i=r.StripMenu=function(){function C(V,v){var p=(0,o.useBackend)(v),g=p.act,N=p.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":m>150?"average":"good"},S=function(m){return m>5e3?"bad":m>4e3?"average":"good"},b=function(m){return m>1e4?"bad":m>5e3?"average":"good"},h=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Detected Supermatter Shards",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function C(){return s("refresh")}return C}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:i.supermatters.length===0?(0,e.createVNode)(1,"h3",null,"No shards detected",16):(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Details"})]}),i.supermatters.map(function(C){return(0,e.createComponentVNode)(2,f.TableRow,{children:[(0,e.createComponentVNode)(2,f.TableCell,{children:C.area_name}),(0,e.createComponentVNode)(2,f.TableCell,{children:[C.integrity,"%"]}),(0,e.createComponentVNode)(2,f.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function V(){return s("view",{view:C.uid})}return V}()})})]},C)})]})})})})})},c=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Crystal Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"caret-square-left",content:"Back",onClick:function(){function C(){return s("back")}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[95,1/0],average:[80,94],bad:[-1/0,79]},minValue:"0",maxValue:"100",value:i.SM_integrity,children:[i.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:y(i.SM_power),children:[i.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:S(i.SM_ambienttemp),children:[i.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:b(i.SM_ambientpressure),children:[i.SM_ambientpressure," kPa"]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Gas Composition",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:[i.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[i.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[i.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[i.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[i.SM_gas_OTHER,"%"]})]})})]})})}},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(29319),f=n(98595),k=r.SyndicateComputerSimple=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:u.rows.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m.buttontitle,disabled:m.buttondisabled,tooltip:m.buttontooltip,tooltipPosition:"left",onClick:function(){function l(){return c(m.buttonact)}return l}()}),children:[m.status,!!m.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:m.bullets.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:l},l)})})]},m.title)})})})}return y}()},99279:function(w,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),k=n(98595),y=n(29319),S=n(25328),b=r.SyndieCargoConsole=function(){function l(d,s){return(0,e.createComponentVNode)(2,k.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,k.Window.Content,{children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m)]})})}return l}(),h=function(d,s){var i=(0,o.useLocalState)(s,"contentsModal",null),C=i[0],V=i[1],v=(0,o.useLocalState)(s,"contentsModalTitle",null),p=v[0],g=v[1];if(C!==null&&p!==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,[p,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:C.map(function(N){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function N(){V(null),g(null)}return N}()})})]})},c=function(d,s){var i=(0,o.useBackend)(s),C=i.act,V=i.data,v=V.is_public,p=v===void 0?0:v,g=V.cash,N=V.wait_time,x=V.is_cooldown,B=V.telepads_status,L=V.adminAddCash,I=B,A="",T=0,E="";return B==="Pads not linked!"?(T=0,A="Attempts to link telepads to the console.",E="Link pads"):x?x&&(E="Cooldown...",A="Pads are cooling off...",T=1,N!==1?I=""+B+" (ETA: "+N+" seconds)":I=""+B+" (ETA: "+N+" second)"):(T=0,A="Teleports your crates to the market. A reminder, some of the crates are directly stolen from NT trading routes. That means they can be locked. We are NOT sorry for the inconvenience",E="Teleport"),(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Money Available",children:[g,(0,e.createComponentVNode)(2,f.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function P(){return C("withdraw",{cash:g})}return P}()}),(0,e.createComponentVNode)(2,f.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function P(){return C("add_money",{cash:g})}return P}()})]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Telepads Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function P(){return C("teleport")}return P}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Syndicate Black Market Log",onClick:function(){function P(){return C("showMessages")}return P}()})]})]})})},u=function(d,s){var i=(0,o.useBackend)(s),C=i.act,V=i.data,v=V.categories,p=V.supply_packs,g=(0,o.useSharedState)(s,"category","Emergency"),N=g[0],x=g[1],B=(0,o.useSharedState)(s,"search_text",""),L=B[0],I=B[1],A=(0,o.useLocalState)(s,"contentsModal",null),T=A[0],E=A[1],P=(0,o.useLocalState)(s,"contentsModalTitle",null),M=P[0],O=P[1],R=(0,S.createSearch)(L,function(j){return j.name}),F=(0,a.flow)([(0,t.filter)(function(j){return j.cat===v.filter(function(U){return U.name===N})[0].category||L}),L&&(0,t.filter)(R),(0,t.sortBy)(function(j){return j.name.toLowerCase()})])(p),W="Crate Catalogue";return L?W="Results for '"+L+"':":N&&(W="Browsing "+N),(0,e.createComponentVNode)(2,f.Section,{title:W,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:v.map(function(j){return j.name}),selected:N,onSelected:function(){function j(U){return x(U)}return j}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function j(U,K){return I(K)}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:F.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",onClick:function(){function U(){return C("order",{crate:j.ref,multiple:0})}return U}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function U(){return C("order",{crate:j.ref,multiple:1})}return U}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function U(){E(j.contents),O(j.name)}return U}()})]})]},j.name)})})})]})},m=function(d,s){var i=(0,o.useBackend)(s),C=i.act,V=i.data,v=V.requests,p=V.canapprove,g=V.orders;return(0,e.createComponentVNode)(2,f.Section,{title:"Details",children:(0,e.createComponentVNode)(2,f.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:v.map(function(N){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!p,onClick:function(){function x(){return C("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",onClick:function(){function x(){return C("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},44852:function(w,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},k={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},y=function(c,u,m,l){return l===void 0&&(l=null),c.map(function(d){var s,i=(s=d[l])!=null?s:d;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:u.includes(d),content:i,onClick:function(){function C(){u.includes(d)?m(u.filter(function(V){var v;return((v=V[l])!=null?v:V)!==d})):m([d].concat(u))}return C}()},i)})},S=r.TTSSeedsExplorer=function(){function h(c,u){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,b)})})}return h}(),b=r.TTSSeedsExplorerContent=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.providers,i=d.seeds,C=d.selected_seed,V=d.phrases,v=d.donator_level,p=i.map(function(X){return X.category}).filter(function(X,Q,q){return q.indexOf(X)===Q}),g=i.map(function(X){return X.gender}).filter(function(X,Q,q){return q.indexOf(X)===Q}),N=i.map(function(X){return X.donator_level}).filter(function(X,Q,q){return q.indexOf(X)===Q}).map(function(X){return f[X]}),x=(0,a.useLocalState)(u,"selectedProviders",s),B=x[0],L=x[1],I=(0,a.useLocalState)(u,"selectedGenders",g),A=I[0],T=I[1],E=(0,a.useLocalState)(u,"selectedCategories",p),P=E[0],M=E[1],O=(0,a.useLocalState)(u,"selectedDonatorLevels",N),R=O[0],F=O[1],W=(0,a.useLocalState)(u,"selectedPhrase",V[0]),j=W[0],U=W[1],K=(0,a.useLocalState)(u,"searchtext",""),Y=K[0],ne=K[1],$=y(s,B,L,"name"),le=y(g,A,T),de=y(p,P,M),oe=y(N,R,F),re=(0,e.createComponentVNode)(2,t.Dropdown,{options:V,selected:j.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function X(Q){return U(Q)}return X}()}),Z=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function X(Q,q){return ne(q)}return X}()}),ae=i.sort(function(X,Q){var q=X.name.toLowerCase(),te=Q.name.toLowerCase();return q>te?1:q0&&C!==X.name?"orange":"white",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:C===X.name?.5:.25,textAlign:"left",children:X.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:C===X.name?"white":k[X.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:k[X.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:X.donator_level>0&&(0,e.createFragment)([f[X.donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},X.name)});return(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",fill:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:$}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:le}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:de}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:oe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:re}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Z})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{scrollable:!0,fill:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+ae.length+"/"+i.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:J})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}return h}()},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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.records,l=m===void 0?[]:m,d=u.explosion_target,s=u.toxins_tech,i=u.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:d}),(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:!l.length||i,align:"center",onClick:function(){function C(){return c("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!l.length,color:"bad",align:"center",onClick:function(){function C(){return c("delete_logs")}return C}()})]})]})}),l.length?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),k=r.TachyonArrayContent=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.records,l=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"})]}),l.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.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 c("delete_record",{index:d.index})}return s}()})})]},d.index)})]})})})})}return y}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u;return c.has_mask?u=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.connected?"check":"times",content:c.connected?"Internals On":"Internals Off",selected:c.connected,onClick:function(){function m(){return h("internals")}return m}()})}):u=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:300,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:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:c.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:c.ReleasePressure===c.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return h("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(c.releasePressure),width:"65px",unit:"kPa",minValue:c.minReleasePressure,maxValue:c.maxReleasePressure,onChange:function(){function m(l,d){return h("pressure",{pressure:d})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:c.ReleasePressure===c.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return h("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:c.ReleasePressure===c.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return h("pressure",{pressure:"reset"})}return m}()})]}),u]})})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.o_tanks,m=c.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:275,height:100,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Oxygen Tank ("+u+")",disabled:u===0,icon:"arrow-circle-down",onClick:function(){function l(){return h("oxygen")}return l}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function l(){return h("plasma")}return l}()})})]})})}return k}()},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(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.ion,i=(0,a.useLocalState)(u,"tabIndex",0),C=i[0],V=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,y);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:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===0,onClick:function(){function p(){return V(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===1,onClick:function(){function p(){return V(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===2,onClick:function(){function p(){return V(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),v(C)]})})}return h}(),k=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.active,i=d.sectors_available,C=d.nttc_toggle_jobs,V=d.nttc_toggle_job_color,v=d.nttc_toggle_name_color,p=d.nttc_toggle_command_bold,g=d.nttc_job_indicator_type,N=d.nttc_setting_language,x=d.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 B(){return l("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function B(){return l("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"On":"Off",selected:V,icon:"clipboard-list",onClick:function(){function B(){return l("nttc_toggle_job_color")}return B}()})}),(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 B(){return l("nttc_toggle_name_color")}return B}()})}),(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 B(){return l("nttc_toggle_command_bold")}return B}()})})]})}),(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:g||"Unset",selected:g,icon:"pencil-alt",onClick:function(){function B(){return l("nttc_job_indicator_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"globe",onClick:function(){function B(){return l("nttc_setting_language")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:x||"Unset",selected:x,icon:"server",onClick:function(){function B(){return l("network_id")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function B(){return l("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return l("export")}return B}()})]})],4)},S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.link_password,i=d.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 l("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"})]}),i.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 V(){return l("unlink",{addr:C.addr})}return V}()})})]},C.addr)})]})]})},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return l("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return l("remove_filter",{user:i})}return C}()})})]},i)})]})})}},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 c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.linked,d=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,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:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){function i(){return u("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return u("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:l===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),l===1?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,y)]})})}return S}(),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.linked_core_id,d=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:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return u("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return u("unlink")}return i}()})})]})})},y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=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"})]}),l.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return u("link",{addr:d.addr})}return s}()})})]},d.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=n(79646),k=r.Teleporter=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.targetsTeleport?u.targetsTeleport:{},l=0,d=1,s=2,i=u.calibrated,C=u.calibrating,V=u.powerstation,v=u.regime,p=u.teleporterhub,g=u.target,N=u.locked,x=u.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!V||!p)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[p,!V&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),V&&!p&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),V&&p&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Regime",children:[(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to another teleport hub. ",color:v===d?"good":null,onClick:function(){function B(){return c("setregime",{regime:d})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:v===l?"good":null,onClick:function(){function B(){return c("setregime",{regime:l})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:v===s?"good":null,disabled:!N,onClick:function(){function B(){return c("setregime",{regime:s})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[v===l&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(m),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return c("settarget",{x:m[L].x,y:m[L].y,z:m[L].z})}return B}()}),v===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(m),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return c("settarget",{x:m[L].x,y:m[L].y,z:m[L].z})}return B}()}),v===s&&(0,e.createComponentVNode)(2,t.Box,{children:g})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Calibration",children:[g!=="None"&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,f.GridColumn,{size:"2",children:C&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(i||x>=3)&&(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,f.GridColumn,{size:"3",children:(0,e.createComponentVNode)(2,t.Box,{class:"ml-1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",disabled:!!(i||C),onClick:function(){function B(){return c("calibrate")}return B}()})})})]}),g==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&V&&p&&v===s)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-around",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function B(){return c("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return c("eject")}return B}()})]})})]})})}return y}()},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),k=n(36036),y=n(98595),S=r.sanitizeMultiline=function(){function u(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return u}(),b=r.removeAllSkiplines=function(){function u(m){return m.replace(/[\r\n]+/,"")}return u}(),h=r.TextInputModal=function(){function u(m,l){var d=(0,o.useBackend)(l),s=d.act,i=d.data,C=i.max_length,V=i.message,v=V===void 0?"":V,p=i.multiline,g=i.placeholder,N=i.timeout,x=i.title,B=(0,o.useLocalState)(l,"input",g||""),L=B[0],I=B[1],A=function(){function P(M){if(M!==L){var O=p?S(M):b(M);I(O)}}return P}(),T=p||L.length>=40,E=130+(v.length>40?Math.ceil(v.length/3):0)+(T?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function P(M){var O=window.event?M.which:M.keyCode;O===f.KEY_ENTER&&(!T||!M.shiftKey)&&s("submit",{entry:L}),O===f.KEY_ESCAPE&&s("cancel")}return P}(),children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,children:(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,c,{input:L,onType:A})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+C})})]})})})]})}return u}(),c=function(m,l){var d=(0,o.useBackend)(l),s=d.act,i=d.data,C=i.max_length,V=i.multiline,v=m.input,p=m.onType,g=V||v.length>=40;return(0,e.createComponentVNode)(2,k.TextArea,{autoFocus:!0,autoSelect:!0,height:V||v.length>=40?"100%":"1.8rem",maxLength:C,onEscape:function(){function N(){return s("cancel")}return N}(),onEnter:function(){function N(x){g&&x.shiftKey||(x.preventDefault(),s("submit",{entry:v}))}return N}(),onInput:function(){function N(x,B){return p(B)}return N}(),placeholder:"\u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0447\u0442\u043E-\u043D\u0438\u0431\u0443\u0434\u044C...",value:v})}},69566:function(w,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ThiefKit=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.uses,m=c.possible_uses,l=c.multi_uses,d=c.kits,s=c.choosen_kits;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:900,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0431\u043E\u0440 \u0413\u0438\u043B\u044C\u0434\u0438\u0438 \u0412\u043E\u0440\u043E\u0432:",children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:[(0,e.createVNode)(1,"i",null,"\u0423\u0432\u0435\u0441\u0438\u0441\u0442\u0430\u044F \u043A\u043E\u0440\u043E\u0431\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u043B\u0435\u0436\u0438\u0442 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0433\u0438\u043B\u044C\u0434\u0438\u0438 \u0432\u043E\u0440\u043E\u0432.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"i",null,"\u041D\u0430\u0431\u043E\u0440 \u0432\u043E\u0440\u0430-\u0448\u0440\u0435\u0434\u0438\u043D\u0433\u0435\u0440\u0430. \u041D\u0435\u043B\u044C\u0437\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0447\u0442\u043E \u0432 \u043D\u0451\u043C, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u043B\u044F\u043D\u0435\u0448\u044C \u0432\u043D\u0443\u0442\u0440\u044C.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"p",null,(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043A\u043E\u0435 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0432 \u043D\u0451\u043C \u043B\u0435\u0436\u0438\u0442?:",16),2),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043D\u0430\u0431\u043E\u0440\u043E\u0432:"),(0,e.createComponentVNode)(2,t.Box,{as:"span",color:u<=0?"good":u=m,onClick:function(){function i(){return h("randomKit")}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d&&d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,buttons:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"upload",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",disabled:i.was_taken||u>=m,onClick:function(){function C(){return h("takeKit",{item:i.type})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!i.was_taken,onClick:function(){function C(){return h("undoKit",{item:i.type})}return C}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:i.desc})},i.type)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043D\u0430\u0431\u043E\u0440\u044B:",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:s&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",onClick:function(){function C(){return h("undoKit",{item:i.type})}return C}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},i.type)})})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",color:u0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),x.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers over]",16):"",x.contractor.accepted?(0,e.createVNode)(1,"i",null,"\xA0(Accepted)",16):!x.contractor.is_admin_forced&&x.contractor.available_offers<=0?"":(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:x.contractor.time_left,format:function(){function M(O,R){return" ("+R+")"}return M}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:h(I)})]})})]})}return V}(),u=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.crystals,L=x.cats,I=(0,k.useLocalState)(p,"uplinkItems",L[0].items),A=I[0],T=I[1],E=(0,k.useLocalState)(p,"searchText",""),P=E[0],M=E[1],O=function(K,Y){Y===void 0&&(Y="");var ne=(0,o.createSearch)(Y,function($){var le=$.hijack_only===1?"|hijack":"";return $.name+"|"+$.desc+"|"+$.cost+"tc"+le});return(0,t.flow)([(0,a.filter)(function($){return $==null?void 0:$.name}),Y&&(0,a.filter)(ne),(0,a.sortBy)(function($){return $==null?void 0:$.name})])(K)},R=function(K){if(M(K),K==="")return T(L[0].items);T(O(L.map(function(Y){return Y.items}).flat(),K))},F=(0,k.useLocalState)(p,"showDesc",1),W=F[0],j=F[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Button.Checkbox,{content:"Show Descriptions",checked:W,onClick:function(){function U(){return j(!W)}return U}()}),(0,e.createComponentVNode)(2,y.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return N("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,y.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return N("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(K,Y){R(Y)}return U}(),value:P})})})}),(0,e.createComponentVNode)(2,y.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,y.Tabs,{vertical:!0,children:L.map(function(U){return(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:P!==""?!1:U.items===A,onClick:function(){function K(){T(U.items),M("")}return K}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,y.Stack,{vertical:!0,children:A.map(function(U){return(0,e.createComponentVNode)(2,y.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:U,showDecription:W},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},m=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.cart,L=x.crystals,I=x.cart_price,A=(0,k.useLocalState)(p,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function P(){return E(!T)}return P}()}),(0,e.createComponentVNode)(2,y.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function P(){return N("empty_cart")}return P}(),disabled:!B}),(0,e.createComponentVNode)(2,y.Button,{content:"Purchase Cart ("+I+"TC)",icon:"shopping-cart",onClick:function(){function P(){return N("purchase_cart")}return P}(),disabled:!B||I>L})],4),children:(0,e.createComponentVNode)(2,y.Stack,{vertical:!0,children:B?B.map(function(P){return(0,e.createComponentVNode)(2,y.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:P,showDecription:T,buttons:(0,e.createComponentVNode)(2,i,{i:P})})},(0,o.decodeHtmlEntities)(P.name))}):(0,e.createComponentVNode)(2,y.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,l)]})},l=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,y.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function I(){return N("shuffle_lucky_numbers")}return I}()}),children:(0,e.createComponentVNode)(2,y.Stack,{wrap:!0,children:L.map(function(I){return B[I.cat].items[I.item]}).filter(function(I){return I!=null}).map(function(I,A){return(0,e.createComponentVNode)(2,y.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:I})},A)})})})})},d=function(v,p){var g=v.i,N=v.showDecription,x=N===void 0?1:N,B=v.buttons,L=B===void 0?(0,e.createComponentVNode)(2,s,{i:g}):B;return(0,e.createComponentVNode)(2,y.Section,{title:(0,o.decodeHtmlEntities)(g.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,y.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(g.desc)}):null})},s=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=v.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function I(){return N("add_to_cart",{item:B.obj_path})}return I}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,y.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 I(){return N("buyItem",{item:B.obj_path})}return I}(),disabled:B.cost>L})],4)},i=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=v.i,L=x.exploitable;return(0,e.createComponentVNode)(2,y.Stack,{children:[(0,e.createComponentVNode)(2,y.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function I(){return N("remove_from_cart",{item:B.obj_path})}return I}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function I(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return I}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,y.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function I(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return I}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,y.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function I(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return I}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},C=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.exploitable,L=(0,k.useLocalState)(p,"selectedRecord",B[0]),I=L[0],A=L[1],T=(0,k.useLocalState)(p,"searchText",""),E=T[0],P=T[1],M=function(F,W){W===void 0&&(W="");var j=(0,o.createSearch)(W,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),W&&(0,a.filter)(j),(0,a.sortBy)(function(U){return U.name})])(F)},O=M(B,E);return(0,e.createComponentVNode)(2,y.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function R(F,W){return P(W)}return R}()}),(0,e.createComponentVNode)(2,y.Tabs,{vertical:!0,children:O.map(function(R){return(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:R===I,onClick:function(){function F(){return A(R)}return F}(),children:R.name},R)})})]})}),(0,e.createComponentVNode)(2,y.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,title:I.name,scrollable:!0,children:(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:I.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:I.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:I.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:I.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:I.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Records",children:I.exploit_record})]})})})]})})};(0,b.modalRegisterBodyOverride)("become_contractor",function(V,v){var p,g,N,x,B=(0,k.useBackend)(v),L=B.data,I=L.contractor||{},A=I.time_left,T=!!(L!=null&&(p=L.contractor)!=null&&p.available),E=!!(L!=null&&(g=L.contractor)!=null&&g.affordable),P=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),M=L.contractor||{},O=M.available_offers,R=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,y.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,y.Box,{mx:"0.5rem",mb:"0.5rem",children:[(0,e.createVNode)(1,"b",null,"Your achievements for the Syndicate have not gone unnoticed, agent. We have decided to give you the rare opportunity of becoming a Contractor.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"For the small price of 20 telecrystals, we will upgrade your rank to that of a Contractor, allowing you to undertake kidnapping contracts for TC and credits.",(0,e.createVNode)(1,"br"),"In addition, you will be supplied with a Contractor Kit which contains a Contractor Uplink, standard issue contractor gear and three random low cost items.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"More detailed instructions can be found within your kit, should you accept this offer.",R?"":(0,e.createComponentVNode)(2,y.Box,{children:["Hurry up. You are not the only one who received this offer. Their number is limited. If other traitors accept all offers before you, you will not be able to accept one of them.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Available offers: "),O],0)]})]}),(0,e.createComponentVNode)(2,y.Button.Confirm,{disabled:!T||P,italic:!T,bold:T,icon:T&&!P&&"check",color:"good",content:P?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A,format:function(){function F(W,j){return" ("+j+")"}return F}()},"countdown")]:E?L.contractor.is_admin_forced?"Offer expired":L.contractor.available_offers>0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),L.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers are over]",16):"Insufficient TC",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function F(){return(0,b.modalAnswer)(v,V.id,1)}return F}()})]})})},80949:function(w,r,n){"use strict";r.__esModule=!0,r.UploadPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.UploadPanel=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.selected_target,m=c.new_law,l=c.id,d=c.transmitting,s=c.hacked;return(0,e.createComponentVNode)(2,o.Window,{width:900,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Silicon Law Upload",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Target",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d,selected:!!u,content:u||"No target selected",onClick:function(){function i(){return h("choose_silicon")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Law",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d,selected:!!m,content:m||"No module installed",onClick:function(){function i(){return h("insert_module")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{selected:!!l,content:l||(s?"$@!ERR0R!@#":"No ID card inserted"),onClick:function(){function i(){return h("authorization")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Upload Laws",children:(0,e.createComponentVNode)(2,t.Button,{disabled:!u||!m||(s?!1:!l),selected:!!d,content:d?"STOP UPLOAD":"START UPLOAD",onClick:function(){function i(){return h("change_laws")}return i}()})})]})})})})}return k}()},8946:function(w,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=r.UmbrMenu=r.HemoMenu=r.GarMenu=r.DantMenu=r.BestMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VampireSpecMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=(0,a.useLocalState)(m,"activeTab","hemomancer"),i=s[0],C=s[1],V=function(){function v(){switch(i){case"hemomancer":return(0,e.createComponentVNode)(2,k,{act:d});case"umbrae":return(0,e.createComponentVNode)(2,y,{act:d});case"gargantua":return(0,e.createComponentVNode)(2,S,{act:d});case"dantalion":return(0,e.createComponentVNode)(2,b,{act:d});case"bestia":return(0,e.createComponentVNode)(2,h,{act:d});default:return null}}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:890,resizable:!0,theme:"ntos_spooky",children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0435\u043C\u043E\u043C\u0430\u043D\u0441\u0435\u0440",onClick:function(){function v(){return C("hemomancer")}return v}(),selected:i==="hemomancer"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0423\u043C\u0431\u0440\u0430",onClick:function(){function v(){return C("umbrae")}return v}(),selected:i==="umbrae"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0430\u0440\u0433\u0430\u043D\u0442\u044E\u0430",onClick:function(){function v(){return C("gargantua")}return v}(),selected:i==="gargantua"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0414\u0430\u043D\u0442\u0430\u043B\u0438\u043E\u043D",onClick:function(){function v(){return C("dantalion")}return v}(),selected:i==="dantalion"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0411\u0435\u0441\u0442\u0438\u044F",onClick:function(){function v(){return C("bestia")}return v}(),selected:i==="bestia"})]}),(0,e.createComponentVNode)(2,t.Divider),V()]})})}return c}(),k=r.HemoMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.hemomancer;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0413\u0435\u043C\u043E\u043C\u0430\u043D\u0441\u0435\u0440",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043C\u0430\u0433\u0438\u0438 \u043A\u0440\u043E\u0432\u0438 \u0438 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0435\u044E.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u043E\u0433\u0442\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u0443 \u0441\u043C\u0435\u0440\u0442\u043E\u043D\u043E\u0441\u043D\u044B\u0445 \u043A\u043E\u0433\u0442\u0435\u0439, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0438\u0445 \u0431\u044B\u0441\u0442\u0440\u043E \u0430\u0442\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u0446\u0435\u043B\u044C, \u043F\u043E\u0433\u043B\u043E\u0449\u0430\u044F \u0435\u0435 \u043A\u0440\u043E\u0432\u044C \u0438 \u0440\u0435\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u044F \u0441\u0432\u043E\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u0435.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0431\u0430\u0440\u044C\u0435\u0440",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0432\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u0436\u0434\u0443 \u043D\u0438\u043C\u0438 \u0441\u0442\u0435\u043D\u044B.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0435 \u0449\u0443\u043F\u0430\u043B\u044C\u0446\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0441\u043B\u0435 \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0437\u0430\u043C\u0435\u0434\u043B\u0438\u0442\u044C \u0432\u0441\u0435\u0445 \u0432\u043D\u0443\u0442\u0440\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 3x3.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0433\u0440\u0443\u0436\u0435\u043D\u0438\u0435 \u0432 \u043A\u0440\u043E\u0432\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043D\u0435\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044C\u0441\u044F \u0441 \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u044E, \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u044F \u0432\u0441\u0435 \u043F\u0440\u0435\u043F\u044F\u0442\u0441\u0442\u0432\u0438\u044F, \u043A\u0440\u043E\u043C\u0435 \u0441\u0442\u0435\u043D \u0438 \u043A\u043E\u0441\u043C\u043E\u0441\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043E\u0441\u0442\u0430\u0432\u043B\u044F\u044F \u0437\u0430 \u0441\u043E\u0431\u043E\u0439 \u043A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0441\u043B\u0435\u0434.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0427\u0443\u0442\u044C\u0451 \u0445\u0438\u0449\u043D\u0438\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u043E\u0447\u0443\u0432\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0433\u043E-\u0443\u0433\u043E\u0434\u043D\u043E \u0432 \u043F\u0440\u0435\u0434\u0435\u043B\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0441\u0435\u043A\u0442\u043E\u0440\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0418\u0437\u0432\u0435\u0440\u0436\u0435\u043D\u0438\u0435 \u043A\u0440\u043E\u0432\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("800 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043C\u0430\u043D\u0438\u043F\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u043C\u0438 \u0432\u0430\u0441 \u043B\u0443\u0436\u0430\u043C\u0438 \u043A\u0440\u043E\u0432\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u0447\u0435\u0442\u044B\u0440\u0435\u0445 \u043C\u0435\u0442\u0440\u043E\u0432, \u043F\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044F \u0438\u0445 \u0432 \u0448\u0438\u043F\u044B, \u043F\u0440\u043E\u0442\u044B\u043A\u0430\u044E\u0449\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0432\u0448\u0435\u0433\u043E \u043D\u0430 \u043D\u0438\u0445.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u043E\u0431\u0440\u044F\u0434",16),(0,e.createTextVNode)(": \u0411\u0443\u0434\u0443\u0447\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u043E\u0433\u043B\u043E\u0449\u0430\u0442\u044C \u043A\u0440\u043E\u0432\u044C \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u0432\u0430\u0441 \u0441\u0443\u0449\u0435\u0441\u0442\u0432, \u0431\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u0447\u0435\u043C\u0443 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u043B\u0435\u0447\u0438\u0442\u044C\u0441\u044F \u0438 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043A\u0430\u043A\u0438\u0445-\u043B\u0438\u0431\u043E \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0435\u043C\u043E\u043C\u0430\u043D\u0441\u0435\u0440",onClick:function(){function C(){return d("hemomancer")}return C}()})]})}return c}(),y=r.UmbrMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.umbrae;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043C\u0431\u0440\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u0442\u0435\u043C\u043D\u043E\u0442\u0435, \u0437\u0430\u0441\u0430\u0434\u0430\u0445 \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u043E\u043C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0438.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043A\u0440\u043E\u0432 \u0442\u044C\u043C\u044B",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0431\u0443\u0434\u0443\u0447\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0431\u044B\u0442\u044C \u043F\u043E\u0447\u0442\u0438 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u043C \u0438 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044C\u0441\u044F \u0432 \u0442\u0435\u043C\u043D\u044B\u0445 \u0443\u0447\u0430\u0441\u0442\u043A\u0430\u0445 \u0441\u0442\u0430\u043D\u0446\u0438\u0438. \u0422\u0430\u043A\u0436\u0435, \u0431\u0443\u0434\u0443\u0447\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C, \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043B\u044E\u0431\u043E\u0439 \u0443\u0440\u043E\u043D \u043E\u0442 \u043E\u0436\u043E\u0433\u043E\u0432 \u043F\u043E \u0432\u0430\u043C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0422\u0435\u043D\u0435\u0432\u043E\u0439 \u044F\u043A\u043E\u0440\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u043D\u0430 \u043C\u0435\u0441\u0442\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043C\u0430\u044F\u043A \u043F\u043E\u0441\u043B\u0435 \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438. \u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u0441 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043A \u043C\u0430\u044F\u043A\u0443. \u0415\u0441\u043B\u0438 \u0441\u043F\u0443\u0441\u0442\u044F \u0434\u0432\u0435 \u043C\u0438\u043D\u0443\u0442\u044B \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0432\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043D\u0435 \u0431\u044B\u043B\u0430 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043D\u043E\u0432\u0430, \u0442\u043E \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u044B \u043A \u043C\u0430\u044F\u043A\u0443. \u041C\u0430\u044F\u043A \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0441 \u043C\u0435\u0436\u0434\u0443 \u0441\u0435\u043A\u0442\u043E\u0440\u0430\u043C\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0422\u0435\u043D\u0435\u0432\u0430\u044F \u043B\u043E\u0432\u0443\u0448\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0442\u0440\u0430\u0432\u043C\u0438\u0440\u0443\u044E\u0449\u0438\u0435 \u0438 \u043E\u0441\u043B\u0435\u043F\u043B\u044F\u044E\u0449\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0432\u0448\u0435\u0433\u043E \u0432 \u043D\u0438\u0445. \u041B\u043E\u0432\u0443\u0448\u043A\u0443 \u0442\u044F\u0436\u0435\u043B\u043E \u0437\u0430\u043C\u0435\u0442\u0438\u0442\u044C, \u043D\u043E \u043E\u043D\u0430 \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442 \u043F\u043E\u0434 \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043C \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u0432 \u044F\u0440\u043A\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0428\u0430\u0433 \u0432 \u0442\u0435\u043D\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043B\u044E\u0431\u043E\u0435 \u043C\u0435\u0441\u0442\u043E \u0432 \u043F\u0440\u0435\u0434\u0435\u043B\u0430\u0445 \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0433\u0430\u0441\u0438\u0442\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u044C \u0438\u0437 \u0441\u0442\u0440\u043E\u044F \u043B\u044E\u0431\u044B\u0435 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438 \u0441\u0432\u0435\u0442\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0433\u043B\u043E\u0443\u0448\u0440\u0443\u043C\u044B.")],0),(0,e.createVNode)(1,"b",null,"\u0411\u043E\u0439 \u0441 \u0442\u0435\u043D\u044C\u044E",16),": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"," ",(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("800 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),", \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u0442\u0435\u043D\u0435\u0432\u044B\u0445 \u043A\u043B\u043E\u043D\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u0430\u0442\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u0446\u0435\u043B\u044C, \u043F\u043E\u043A\u0430 \u0432\u044B \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0435\u0441\u044C \u0440\u044F\u0434\u043E\u043C.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u0412\u0435\u0447\u043D\u0430\u044F \u0442\u044C\u043C\u0430",16),(0,e.createTextVNode)(": \u043F\u043E\u0441\u043B\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0432\u044B \u0440\u0430\u0441\u0441\u0442\u0432\u043E\u0440\u044F\u0435\u0442\u0435\u0441\u044C \u0432 \u043D\u0435\u0447\u0435\u0441\u0442\u0438\u0432\u043E\u0439 \u0442\u0435\u043C\u043D\u043E\u0442\u0435, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u0435\u043D \u043B\u0438\u0448\u044C \u0441\u0438\u043B\u044C\u043D\u0435\u0439\u0448\u0438\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0441\u0432\u0435\u0442\u0430. \u0425\u043E\u043B\u043E\u0434, \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0435\u0439 \u0432\u0430\u0441 \u0442\u044C\u043C\u044B \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043C\u043E\u0440\u0430\u0436\u0438\u0432\u0430\u0442\u044C \u0432\u0441\u0435\u0445 \u0436\u0438\u0432\u044B\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u043F\u043E\u0431\u043B\u0438\u0437\u043E\u0441\u0442\u0438.")],4),(0,e.createVNode)(1,"p",null,"\u0412\u044B \u0442\u0430\u043A\u0436\u0435 \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442\u0435 X-ray \u0437\u0440\u0435\u043D\u0438\u0435",16),(0,e.createComponentVNode)(2,t.Button,{content:"\u0423\u043C\u0431\u0440\u0430",onClick:function(){function C(){return d("umbrae")}return C}()})]})}return c}(),S=r.GarMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.gargantua;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0413\u0430\u0440\u0433\u0430\u043D\u0442\u044E\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u0442\u043E\u0439\u043A\u043E\u0441\u0442\u0438 \u0438 \u0431\u043B\u0438\u0436\u043D\u0435\u043C \u0431\u043E\u0435.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u0411\u0443\u0434\u0435\u0442 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u0435 \u0442\u0435\u043C \u0441\u0438\u043B\u044C\u043D\u0435\u0435, \u0447\u0435\u043C \u0431\u043E\u043B\u044C\u0448\u0435 \u0443\u0440\u043E\u043D\u0430 \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u043B\u0438.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0432\u0430\u043B",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 150"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0435 \u0441\u043E\u043F\u0440\u043E\u0442\u0438\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0433\u043B\u0443\u0448\u0435\u043D\u0438\u044E, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u043E\u043C\u0443 \u0438 \u0441\u0442\u0430\u043C\u0438\u043D\u0430 \u0443\u0440\u043E\u043D\u0443. \u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0441\u0442\u0440\u0435\u043B\u044F\u0442\u044C \u043F\u043E\u043A\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0423\u0434\u0430\u0440\u043D\u0430\u044F \u0432\u043E\u043B\u043D\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 250"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0441\u043E\u0442\u0440\u044F\u0441\u0430\u0442\u044C \u0437\u0435\u043C\u043B\u044E \u043F\u043E\u0434 \u043D\u043E\u0433\u0430\u043C\u0438, \u0447\u0442\u043E\u0431\u044B \u043E\u0433\u043B\u0443\u0448\u0438\u0442\u044C \u0438 \u043E\u0442\u0442\u043E\u043B\u043A\u043D\u0443\u0442\u044C \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0434\u0440\u0430\u0439\u0432",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 250"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0434\u0430\u0435\u0442 \u0432\u0430\u043C \u043F\u0440\u0438\u0431\u0430\u0432\u043A\u0443 \u043A \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0432\u0430\u043B II",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 400"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0435\u0441\u044C \u0443\u0440\u043E\u043D \u0432 \u0431\u043B\u0438\u0436\u043D\u0435\u043C \u0431\u043E\u044E \u043D\u0430 10.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041D\u0435\u0443\u0434\u0435\u0440\u0436\u0438\u043C\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 600"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0431\u0443\u0434\u0443\u0447\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0434\u0432\u0435\u0440\u0438 \u043F\u0440\u0438 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u0434\u0430\u0436\u0435 \u043D\u0435 \u0438\u043C\u0435\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430. \u0412\u0430\u0441 \u0442\u0430\u043A\u0436\u0435 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0442\u043E\u043B\u043A\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0442\u0430\u0449\u0438\u0442\u044C, \u043F\u043E\u043A\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u043D\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0414\u0435\u043C\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0445\u0432\u0430\u0442\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 800"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A \u0446\u0435\u043B\u0438 \u0434\u0435\u043C\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0440\u0443\u043A\u0443. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u0438\u043D\u0442\u0435\u043D\u0442\u0430, disarm/grab, \u0432\u044B \u043E\u0442\u0442\u043E\u043B\u043A\u043D\u0435\u0442\u0435/\u043F\u0440\u0438\u0442\u044F\u043D\u0435\u0442\u0435 \u0446\u0435\u043B\u044C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u0420\u044B\u0432\u043E\u043A",16),(0,e.createTextVNode)(": \u0412\u044B \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0435\u043B\u0430\u0442\u044C \u0440\u044B\u0432\u043E\u043A \u0432 \u0432\u0430\u0448\u0443 \u0446\u0435\u043B\u044C, \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u044F \u0438 \u043E\u0442\u0442\u0430\u043B\u043A\u0438\u0432\u0430\u044F \u0432\u0441\u0435, \u0432\u043E \u0447\u0442\u043E \u0432\u0440\u0435\u0436\u0435\u0442\u0435\u0441\u044C.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0430\u0440\u0433\u0430\u043D\u0442\u044E\u0430",onClick:function(){function C(){return d("gargantua")}return C}()})]})}return c}(),b=r.DantMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.dantalion;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0414\u0430\u043D\u0442\u0430\u043B\u0438\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0435\u043D\u0438\u0438 \u0438 \u0438\u043B\u043B\u044E\u0437\u0438\u044F\u0445.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0434\u0447\u0438\u043D\u044F\u0435\u0442 \u0446\u0435\u043B\u044C \u0432\u0430\u0448\u0435\u0439 \u0432\u043E\u043B\u0435, \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043E\u0442 \u0432\u0430\u0441 \u043D\u0435 \u0448\u0435\u0432\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0435\u043D\u0438\u044F. \u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u043D\u0430 \u043D\u043E\u0441\u0438\u0442\u0435\u043B\u0435\u0439 \u0438\u043C\u043F\u043B\u0430\u043D\u0442\u0430 \u0437\u0430\u0449\u0438\u0442\u044B \u0440\u0430\u0437\u0443\u043C\u0430 \u0438 \u043D\u0430 \u0443\u0436\u0435 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0435\u043D\u043D\u044B\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0435\u0434\u0435\u043B \u0440\u0430\u0431\u043E\u0432",16),(0,e.createTextVNode)(": \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0440\u0430\u0431\u043E\u0442\u0438\u0442\u044C \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C \u043E\u0434\u043D\u043E\u0433\u043E \u0440\u0430\u0431\u0430 \u0437\u0430 \u0440\u0430\u0437. \u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0431\u043E\u0432 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0442\u0438 \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0438"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(","),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u0438 \u043F\u043E\u043B\u043D\u043E\u0439 \u0441\u0438\u043B\u044B \u0441 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u043E\u043C \u0432 4 \u0440\u0430\u0431\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0422\u0435\u043B\u0435\u043F\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0441\u0432\u044F\u0437\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0440\u0430\u0437\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0442\u044C \u0441 \u0432\u0430\u0448\u0438\u043C\u0438 \u0440\u0430\u0431\u0430\u043C\u0438, \u0432\u0430\u0448\u0438 \u0440\u0430\u0431\u044B \u0442\u0430\u043A\u0436\u0435 \u043C\u043E\u0433\u0443\u0442 \u043E\u0442\u0432\u0435\u0447\u0430\u0442\u044C \u0432\u0430\u043C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0434\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u043E\u0431\u043C\u0435\u043D",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043C\u0435\u043D\u044F\u0442\u044C\u0441\u044F \u043C\u0435\u0441\u0442\u0430\u043C\u0438 \u0441 \u0446\u0435\u043B\u044C\u044E.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0423\u043C\u0438\u0440\u043E\u0442\u0432\u043E\u0440\u0435\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0443\u0441\u043F\u043E\u043A\u043E\u0438\u0442\u044C \u0446\u0435\u043B\u044C, \u043E\u0442\u043E\u0431\u0440\u0430\u0432 \u0443 \u043D\u0435\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043D\u0430\u043D\u0435\u0441\u0442\u0438 \u0432\u0440\u0435\u0434 \u043A\u043E\u043C\u0443-\u043B\u0438\u0431\u043E \u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435 40 \u0441\u0435\u043A\u0443\u043D\u0434.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0438\u043C\u0430\u043D\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043D\u0435\u043D\u0430\u0434\u043E\u043B\u0433\u043E \u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u043C \u0438 \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u043A\u043E\u043F\u0438\u044E \u043E\u0431\u043C\u0430\u043D\u043A\u0443.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0421\u043F\u043B\u043E\u0442\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0432",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0441\u043D\u0438\u043C\u0430\u0435\u0442 \u0441 \u0431\u043B\u0438\u0437\u0441\u0442\u043E\u044F\u0449\u0438\u0445 \u0440\u0430\u0431\u043E\u0432 \u043B\u044E\u0431\u044B\u0435 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0435 \u0443\u0437\u044B",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("800 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0441\u0432\u044F\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u0441\u043E \u0432\u0441\u0435\u043C\u0438 \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u043C\u0438 \u0432\u0430\u0441 \u0440\u0430\u0431\u0430\u043C\u0438, \u0435\u0441\u043B\u0438 \u043A\u0442\u043E-\u043B\u0438\u0431\u043E \u0432 \u0441\u0432\u044F\u0437\u043A\u0435 \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442 \u0443\u0440\u043E\u043D, \u0442\u043E \u043E\u043D \u0434\u0435\u043B\u0438\u0442\u0441\u044F \u043C\u0435\u0436\u0434\u0443 \u0432\u0441\u0435\u043C\u0438 \u043E\u0441\u0442\u0430\u043B\u044C\u043D\u044B\u043C\u0438. \u0415\u0441\u043B\u0438 \u0440\u0430\u0431 \u0443\u0445\u043E\u0434\u0438\u0442 \u0434\u0430\u043B\u0435\u043A\u043E \u043E\u0442 \u0432\u0430\u0441, \u0442\u043E \u0432\u044B \u0442\u0435\u0440\u044F\u0435\u0442\u0435 \u0441\u0432\u044F\u0437\u044C \u0441 \u043D\u0438\u043C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u041C\u0430\u0441\u0441\u043E\u0432\u0430\u044F \u0438\u0441\u0442\u0435\u0440\u0438\u044F",16),(0,e.createTextVNode)(": \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u043C\u0430\u0441\u0441\u043E\u0432\u0443\u044E \u0433\u0430\u043B\u043B\u044E\u0446\u0438\u043D\u0430\u0446\u0438\u044E, \u043E\u0441\u043B\u0435\u043F\u0438\u0432 \u0432\u0441\u0435\u0445 \u043F\u043E\u0431\u043B\u0438\u0437\u043E\u0441\u0442\u0438, \u0430 \u0437\u0430\u0442\u0435\u043C \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0432 \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u0432\u0438\u0434\u0435\u0442\u044C \u0434\u0440\u0443\u0433 \u0432 \u0434\u0440\u0443\u0433\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0414\u0430\u043D\u0442\u0430\u043B\u0438\u043E\u043D",onClick:function(){function C(){return d("dantalion")}return C}()})]})}return c}(),h=r.BestMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.bestia;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0411\u0435\u0441\u0442\u0438\u044F",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0438 \u0434\u043E\u0431\u044B\u0447\u0435 \u0442\u0440\u043E\u0444\u0435\u0435\u0432.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0442\u0440\u043E\u0444\u0435\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0442\u0440\u043E\u0444\u0435\u0435\u0432, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0432\u0441\u0435 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B, \u0447\u0442\u043E \u043E\u043D\u0438 \u0434\u0430\u044E\u0442.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0435\u043F\u0430\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0432\u0434\u043E\u0431\u0430\u0432\u043E\u043A \u043A \u043A\u0440\u043E\u0432\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u043E\u0433\u043B\u043E\u0449\u0430\u0442\u044C \u043E\u0440\u0433\u0430\u043D\u044B \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u043E\u0444\u0435\u0435\u0432 \u0434\u043B\u044F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0438\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0435\u0434\u0435\u043B \u043F\u0440\u0435\u043F\u0430\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0439",16),(0,e.createTextVNode)(": \u0437\u0430 \u0440\u0430\u0437 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0433\u043B\u043E\u0442\u0438\u0442\u044C \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C \u043E\u0434\u0438\u043D \u043E\u0440\u0433\u0430\u043D. \u041F\u0440\u0435\u0434\u0435\u043B \u0431\u0443\u0434\u0435\u0442 \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0438"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u0438 \u043F\u043E\u043B\u043D\u043E\u0439 \u0441\u0438\u043B\u044B \u0441 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u043E\u043C \u0432 \u0442\u0440\u0438 \u043E\u0440\u0433\u0430\u043D\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0417\u0430\u0440\u0430\u0436\u0435\u043D\u043D\u044B\u0439 \u0442\u0440\u043E\u0444\u0435\u0439",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432 \u0441 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0439 \u0434\u0438\u0441\u0442\u0430\u043D\u0446\u0438\u0438, \u0437\u0430\u0440\u0430\u0436\u0430\u044F \u0438\u0445 \u043C\u043E\u0433\u0438\u043B\u044C\u043D\u043E\u0439 \u043B\u0438\u0445\u043E\u0440\u0430\u0434\u043A\u043E\u0439.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0420\u044B\u0432\u043E\u043A",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0431\u044B\u0441\u0442\u0440\u043E \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u0442\u044C \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0432\u0430\u043C\u0438 \u0438 \u0446\u0435\u043B\u044C\u044E \u0438\u043B\u0438 \u0441\u0431\u0435\u0436\u0430\u0442\u044C \u0438\u0437 \u043E\u043F\u0430\u0441\u043D\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043C\u0435\u0442\u0438\u0442\u044C \u0434\u043E\u0431\u044B\u0447\u0443",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0442\u043C\u0435\u0442\u0438\u0442\u044C \u0436\u0435\u0440\u0442\u0432\u0443, \u0443\u043C\u0435\u043D\u044C\u0448\u0438\u0432 \u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0432 \u0435\u0435 \u043F\u0443\u0442\u0430\u0442\u044C\u0441\u044F \u0432 \u043D\u043E\u0433\u0430\u0445.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041C\u0435\u0442\u0430\u043C\u043E\u0440\u0444\u043E\u0437\u0430 - \u041B\u0435\u0442\u0443\u0447\u0438\u0435 \u043C\u044B\u0448\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u044C\u0441\u044F \u0441\u043C\u0435\u0440\u0442\u043E\u043D\u043E\u0441\u043D\u044B\u043C\u0438 \u043A\u043E\u0441\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u043B\u0435\u0442\u0443\u0447\u0438\u043C\u0438 \u043C\u044B\u0448\u0430\u043C\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0410\u043D\u0430\u0431\u0438\u043E\u0437",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0434\u0440\u0435\u0432\u043D\u044F\u044F \u0442\u0435\u0445\u043D\u0438\u043A\u0430, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0430\u044F \u0432\u0430\u043C \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u043F\u043E\u0447\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u0440\u0430\u043D\u0435\u043D\u0438\u044F \u0437\u0430 \u0441\u0447\u0435\u0442 \u0441\u043D\u0430 \u0432 \u0433\u0440\u043E\u0431\u0443.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0438\u0437\u044B\u0432 \u043B\u0435\u0442\u0443\u0447\u0438\u0445 \u043C\u044B\u0448\u0435\u0439",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0435\u0442\u0443\u0447\u0438\u0445 \u043C\u044B\u0448\u0435\u0439 \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0431\u043E\u044E.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u041C\u0435\u0442\u0430\u043C\u043E\u0440\u0444\u043E\u0437\u0430 - \u0413\u043E\u043D\u0447\u0430\u044F",16),(0,e.createTextVNode)(": \u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u044C\u0441\u044F \u0432 \u0441\u043E\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u0443\u044E \u0444\u043E\u0440\u043C\u0443 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438, \u0437\u0430\u0432\u043B\u0430\u0434\u0435\u0432\u0448\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u0434\u0443\u0448\u043E\u0439.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0411\u0435\u0441\u0442\u0438\u044F",onClick:function(){function C(){return d("bestia")}return C}()})]})}return c}()},45770:function(w,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(V){return(Math.round(V*10)/10).toFixed(1)},k=r.VampireTrophiesStatus=function(){function C(V,v){return(0,e.createComponentVNode)(2,o.Window,{theme:"ntos_spooky",width:700,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,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i)]})})})}return C}(),y=function(V,v){var p=(0,a.useBackend)(v),g=p.act,N=p.data,x=N.hearts,B=N.lungs,L=N.livers,I=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,P=N.trophies_max_crit,M=N.organs_icon,O=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,W=N.icon_kidneys,j=N.icon_eyes,U=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0422\u0440\u043E\u0444\u0435\u0438",color:"red",textAlign:"center",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,width:"16.6%",children:[(0,e.createComponentVNode)(2,t.DmIcon,{icon:M,icon_state:O,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xv;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.DmIcon,{verticalAlign:"middle",icon:s,icon_state:i,fallback:(0,e.createComponentVNode)(2,o.Icon,{p:.66,name:"spinner",size:2,spin:!0})})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:l.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:d<=0&&"bad"||d<=l.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:I,icon:L,content:B,textAlign:"left",onClick:function(){function A(){return u("vend",{inum:l.inum})}return A}()})})]})},y=r.Vending=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.user,d=m.guestNotice,s=m.userMoney,i=m.chargesMoney,C=m.product_records,V=C===void 0?[]:C,v=m.coin_records,p=v===void 0?[]:v,g=m.hidden_records,N=g===void 0?[]:g,x=m.stock,B=m.vend_ready,L=m.coin_name,I=m.inserted_item_name,A=m.panel_open,T=m.speaker,E=m.imagelist,P;return P=[].concat(V,p),m.extended_inventory&&(P=[].concat(P,N)),P=P.filter(function(M){return!!M}),(0,e.createComponentVNode)(2,f.Window,{width:470,height:100+Math.min(V.length*38,500),title:"\u0422\u043E\u0440\u0433\u043E\u0432\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",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:[!!i&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:l&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,l.name,0),","," ",(0,e.createVNode)(1,"b",null,l.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[s,(0,e.createTextVNode)(" credits")],0),"."]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:d})}),!!L&&(0,e.createComponentVNode)(2,o.Section,{title:"Coin",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Remove Coin",onClick:function(){function M(){return u("remove_coin",{})}return M}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!I&&(0,e.createComponentVNode)(2,o.Section,{title:"Item",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject Item",onClick:function(){function M(){return u("eject_item",{})}return M}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:I})}),!!A&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:T?"check":"volume-mute",selected:T,content:"Speaker",textAlign:"left",onClick:function(){function M(){return u("toggle_voice",{})}return M}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:P.map(function(M){return(0,e.createComponentVNode)(2,k,{product:M,productStock:x[M.name],productIcon:M.icon,productIconState:M.icon_state},M.name)})})})})]})})})}return S}()},87710:function(w,r,n){"use strict";r.__esModule=!0,r.VethPlayerPanel=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=n(98595),k=n(25328),y=r.VethPlayerPanel=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=(0,a.sortBy)(function(N){return N.name})(m.Data||[]),d=(0,t.useLocalState)(h,"searchText",""),s=d[0],i=d[1],C=(0,t.useLocalState)(h,"selectedPlayerCkey",""),V=C[0],v=C[1],p=(0,k.createSearch)(s,function(N){var x,B,L;return((x=N.name)==null?void 0:x.toLowerCase())+"|"+((B=N.job)==null?void 0:B.toLowerCase())+"|"+((L=N.ckey)==null?void 0:L.toLowerCase())}),g=function(){function N(x,B){B!=null&&B.ckey&&v(B.ckey),u(x,Object.assign({},B,{selectedPlayerCkey:(B==null?void 0:B.ckey)||V}))}return N}();return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,f.Window,{title:"Player Panel Veth",width:1100,height:640,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"refresh",content:"Refresh",onClick:function(){function N(){return g("refresh")}return N}()})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Grid,{children:[(0,e.createComponentVNode)(2,o.Grid.Column,{children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Game Panel",onClick:function(){function N(){return g("gamePanel")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Fax Panel",onClick:function(){function N(){return g("faxPanel")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Check Antags",onClick:function(){function N(){return g("checkAntags")}return N}()})]}),(0,e.createComponentVNode)(2,o.Grid.Column,{children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Create Command Report",onClick:function(){function N(){return g("createCommandReport")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Toggle Adv Admin Interact",onClick:function(){function N(){return g("adminaiinteract")}return N}()})]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Search Players",children:(0,e.createComponentVNode)(2,o.TextArea,{autoFocus:!0,placeholder:"Search by name, job, or ckey",value:s,onInput:function(){function N(x,B){return i(B)}return N}(),rows:1,height:"2rem"})}),(0,e.createComponentVNode)(2,o.Section,{title:"Players",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:"Ckey"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Char Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Job"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Antagonist"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Last IP"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Actions"})]}),l.filter(p).map(function(N){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.ckey}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:N.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.job}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.is_antagonist?(0,e.createComponentVNode)(2,o.Box,{color:"red",children:"Yes"}):(0,e.createComponentVNode)(2,o.Box,{color:"green",children:"No"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.last_ip}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("sendPrivateMessage",{ckey:N.ckey})}return x}(),content:"PM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("follow",{ckey:N.ckey})}return x}(),content:"Follow"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("smite",{ckey:N.ckey})}return x}(),content:"Smite"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("openAdditionalPanel",{ckey:N.ckey})}return x}(),content:"PP",icon:"external-link"}),(0,e.createComponentVNode)(2,o.Button,{icon:"book",content:"Logs",onClick:function(){function x(){return u("logs",{selectedPlayerCkey:N.ckey})}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"clipboard",content:"Notes",onClick:function(){function x(){return u("notes",{selectedPlayerCkey:N.ckey})}return x}()}),(0,e.createComponentVNode)(2,o.Button,{content:"VV",onClick:function(){function x(){return u("vv",{selectedPlayerCkey:N.ckey})}return x}()}),(0,e.createComponentVNode)(2,o.Button,{content:"TP",onClick:function(){function x(){return u("tp",{selectedPlayerCkey:N.ckey})}return x}()})]})]},N.ckey)})]})})]})})})}return S}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+u.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:u.map(function(m,l){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:l>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:"\u0432\u044B\u043A\u043B. \u0437\u0432\u0443\u043A",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return h("volume",{channel:m.num,volume:0})}return d}()})})}),(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 d(s,i){return h("volume",{channel:m.num,volume:i})}return d}()})}),(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:"\u0432\u043A\u043B. \u0437\u0432\u0443\u043A",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return h("volume",{channel:m.num,volume:100})}return d}()})})})]})})],4,m.num)})})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.remaining,m=c.question,l=c.choices,d=c.user_vote,s=c.counts,i=c.show_counts,C=c.show_cancel;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(u/10),"s"]}),l.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:V+(i?" ("+(s[V]||0)+")":""),onClick:function(){function v(){return h("vote",{target:V})}return v}(),selected:V===d})},V)}),!!C&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function V(){return h("cancel")}return V}()})},"Cancel")]})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.wires||[],m=c.status||[],l=56+u.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:l,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:u.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:d.color_name,labelColor:d.seen_color,color:d.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:d.cut?"Mend":"Cut",onClick:function(){function s(){return h("cut",{wire:d.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return h("pulse",{wire:d.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function s(){return h("attach",{wire:d.color})}return s}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return k}()},30995:function(w,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(73379),k=n(98595),y=["title","items"];function S(l,d){if(l==null)return{};var s={};for(var i in l)if({}.hasOwnProperty.call(l,i)){if(d.includes(i))continue;s[i]=l[i]}return s}var b=function(d,s,i){return d.requirements===null?!0:!(d.requirements.brass>s||d.requirements.power>i)},h=r.Workshop=function(){function l(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.brass_amount,p=V.power_amount,g=V.building,N=V.buildStart,x=V.buildEnd,B=V.worldTime,L=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),I=p.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,k.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,k.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,c),(0,e.createComponentVNode)(2,o.Section,{title:"Materials",children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Brass",children:[L,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",height:"19px",tooltip:"Dispense Brass",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function E(){return C("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:I})]}),g&&(0,e.createComponentVNode)(2,o.ProgressBar.Countdown,{mt:2,start:N,current:B,end:x,bold:!0,children:["Building ",g,"\xA0(",(0,e.createComponentVNode)(2,f.Countdown,{current:B,timeLeft:x-B,format:function(){function E(P,M){return M.substr(3)}return E}()}),")"]})]})]}),(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,u)})})]})})})}return l}(),c=function(d,s){var i=(0,t.useLocalState)(s,"search",""),C=i[0],V=i[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],g=v[1],N=(0,t.useLocalState)(s,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",mr:"0.5rem",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(I,A){return V(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"19px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function L(){return B(!x)}return L}()})})]})})},u=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.items,p=(0,t.useLocalState)(s,"search",""),g=p[0],N=p[1],x=(0,t.useLocalState)(s,"sort","Alphabetical"),B=x[0],L=x[1],I=(0,t.useLocalState)(s,"descending",!1),A=I[0],T=I[1],E=(0,a.createSearch)(g,function(O){return O[0]}),P=!1,M=Object.entries(v).map(function(O,R){var F=Object.entries(O[1]).filter(E).map(function(W){return W[1].affordable=b(W[1],V.brass_amount,V.power_amount),W[1]});if(F.length!==0)return A&&(F=F.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:O[0],items:F},O[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:P?M:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},m=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=d.title,p=d.items,g=S(d,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},g,{children:p.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.DmIcon,{icon:N.icon,icon_state:N.icon_state,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!b(N,V.brass_amount,V.power_amount),onClick:function(){function x(){return C("make",{cat:v,name:N.name})}return x}(),children:(0,a.toTitleCase)((0,a.toTitleCase)(N.name))}),(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"right"},children:N.requirements&&Object.keys(N.requirements).map(function(x){return(0,a.toTitleCase)(x)+": "+N.requirements[x]}).join(", ")||(0,e.createComponentVNode)(2,o.Box,{children:"No resources required."})}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},N.name)})})))}},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,c){var u=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(u)return(u=u.call(h)).next.bind(u);if(Array.isArray(h)||(u=k(h))||c&&h&&typeof h.length=="number"){u&&(h=u);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 k(h,c){if(h){if(typeof h=="string")return y(h,c);var u={}.toString.call(h).slice(8,-1);return u==="Object"&&h.constructor&&(u=h.constructor.name),u==="Map"||u==="Set"?Array.from(h):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?y(h,c):void 0}}function y(h,c){(c==null||c>h.length)&&(c=h.length);for(var u=0,m=Array(c);u0&&!N.includes(F.ref)&&!p.includes(F.ref),checked:p.includes(F.ref),onClick:function(){function W(){return x(F.ref)}return W}()},F.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,c,u){return Sc?"average":S>u?"bad":"good"},k=r.AtmosScan=function(){function y(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(c){return c.val!=="0"||c.entry==="Pressure"||c.entry==="Temperature"})(h).map(function(c){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:c.entry,color:f(c.val,c.bad_low,c.poor_low,c.poor_high,c.bad_high),children:[c.val,c.units]},c.entry)})})})}return y}()},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(y){return y+" \u0435\u0434\u0438\u043D\u0438\u0446"+(y%10===1&&y%100!==11?"\u0430":"")+(y%10>1&&y%10<5&&!(y%100>11)&&!(y%100<15)?"\u044B":"")},f=r.BeakerContents=function(){function k(y){var S=y.beakerLoaded,b=y.beakerContents,h=b===void 0?[]:b,c=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442."})||h.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043F\u0443\u0441\u0442\u0430."}),h.map(function(u,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(u.volume)," ",u.name]},u.name),!!c&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:c(u,m)})]},u.name)})]})}return k}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},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(c,u,m){var l=(0,a.useBackend)(c),d=l.act,s=l.data,i=Object.assign(s.modal?s.modal.args:{},m||{});d("modal_open",{id:u,arguments:JSON.stringify(i)})}return h}(),k=r.modalRegisterBodyOverride=function(){function h(c,u){o[c]=u}return h}(),y=r.modalAnswer=function(){function h(c,u,m,l){var d=(0,a.useBackend)(c),s=d.act,i=d.data;if(i.modal){var C=Object.assign(i.modal.args||{},l||{});s("modal_answer",{id:u,answer:m,arguments:JSON.stringify(C)})}}return h}(),S=r.modalClose=function(){function h(c,u){var m=(0,a.useBackend)(c),l=m.act;l("modal_close",{id:u})}return h}(),b=r.ComplexModal=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.data;if(l.modal){var d=l.modal,s=d.id,i=d.text,C=d.type,V,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",onClick:function(){function L(){return S(u)}return L}()}),p,g,N="auto";if(o[s])p=o[s](l.modal,u);else if(C==="input"){var x=l.modal.value;V=function(){function L(I){return y(u,s,x)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:l.modal.value,placeholder:"ENTER \u0434\u043B\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(I,A){x=A}return L}()}),g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",color:"grey",onClick:function(){function L(){return S(u)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",color:"good",float:"right",m:"0",onClick:function(){function L(){return y(u,s,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var B=typeof l.modal.choices=="object"?Object.values(l.modal.choices):l.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:l.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(I){return y(u,s,I)}return L}()}),N="initial"}else C==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:l.modal.choices.map(function(L,I){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:I+1===parseInt(l.modal.value,10),onClick:function(){function A(){return y(u,s,I+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},I)})}):C==="boolean"&&(g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:l.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return y(u,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:l.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return y(u,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:c.maxWidth||window.innerWidth/2+"px",maxHeight:c.maxHeight||window.innerHeight/2+"px",onEnter:V,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&v,p,g]})}}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),k=f.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return y.indexOf(m)!==-1?"green":"orange"},b=function(m){if(y.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(l){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(l.real_rank),bold:b(l.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(l.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(l.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.active})]},l.name+l.rank)})]})},c=r.CrewManifest=function(){function u(m,l){var d=(0,a.useBackend)(l),s=d.act,i;if(m.data)i=m.data;else{var C=(0,a.useBackend)(l),V=C.data;i=V}var v=i,p=v.manifest,g=p.heads,N=p.pro,x=p.sec,B=p.eng,L=p.med,I=p.sci,A=p.ser,T=p.sup,E=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.procedure,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Procedure"})}),level:2,children:h(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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:k.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(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(T)}),(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(E)})]})}return u}()},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(k,y){var S=(0,t.useBackend)(y),b=S.act,h=S.data,c=h.large_buttons,u=h.swapped_buttons,m=k.input,l=k.message,d=k.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C",bold:!!c,fluid:!!c,onClick:function(){function C(){return b("submit",{entry:m})}return C}(),textAlign:"center",tooltip:c&&l,disabled:d,width:!c&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",bold:!!c,fluid:!!c,onClick:function(){function C(){return b("cancel")}return C}(),textAlign:"center",width:!c&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:u?"row-reverse":"row",justify:"space-around",children:[c?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:u?.5:0,mr:u?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!c&&l&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:l})}),c?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:u?.5:0,ml:u?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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=k.siliconUser,u=c===void 0?h.siliconUser:c,m=k.locked,l=m===void 0?h.locked:m,d=k.normallyLocked,s=d===void 0?h.normallyLocked:d,i=k.onLockStatusChange,C=i===void 0?function(){return b("lock")}:i,V=k.accessText,v=V===void 0?"ID-\u043A\u0430\u0440\u0442\u043E\u0439":V;return u?(0,e.createComponentVNode)(2,t.NoticeBox,{color:u&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"\u0411\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:"}),(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?"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E":"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E",onClick:function(){function p(){C&&C(!l)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["\u041F\u0440\u043E\u0432\u0435\u0434\u0438\u0442\u0435 ",v,", \u0447\u0442\u043E\u0431\u044B"," ",l?"\u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C":"\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C"," \u044D\u0442\u043E\u0442 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441."]})}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(k){var y=k.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return f}()},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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=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:["\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D \u0432\u0445\u043E\u0434 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u043A\u0430\u043A: ",c.name," (",c.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043C\u044B",color:"good",onClick:function(){function u(){return b("login_logout")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!c.id,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C ID",color:"good",onClick:function(){function u(){return b("login_eject")}return u}()})]})]})})}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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.loginState,u=h.isAI,m=h.isRobot,l=h.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0414\u043E\u0431\u0440\u043E \u043F\u043E\u0436\u0430\u043B\u043E\u0432\u0430\u0442\u044C",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"}),"\u0413\u043E\u0441\u0442\u044C"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.id?c.id:"----------",ml:"0.5rem",onClick:function(){function d(){return b("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!c.id,content:"\u0412\u043E\u0439\u0442\u0438",onClick:function(){function d(){return b("login_login",{login_type:1})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"\u0412\u043E\u0439\u0442\u0438 \u043A\u0430\u043A \u0418\u0418",onClick:function(){function d(){return b("login_login",{login_type:2})}return d}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"\u0412\u043E\u0439\u0442\u0438 \u043A\u0430\u043A \u043A\u0438\u0431\u043E\u0440\u0433",onClick:function(){function d(){return b("login_login",{login_type:3})}return d}()}),!!l&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"\u0412\u043E\u0439\u0442\u0438 \u043A\u0430\u043A \u0426\u0435\u043D\u0442\u041A\u043E\u043C",onClick:function(){function d(){return b("login_login",{login_type:4})}return d}()})]})})})}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(k){var y=k.operating,S=k.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},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 k(y,S){var b=(0,t.useBackend)(S),h=b.act,c=y.data,u=c.code,m=c.frequency,l=c.minFrequency,d=c.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:l/10,maxValue:d/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,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:u,width:"80px",onDrag:function(){function s(i,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 k}()},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),k=n(36036),y=r.SimpleRecords=function(){function h(c,u){var m=c.data.records;return(0,e.createComponentVNode)(2,k.Box,{children:m?(0,e.createComponentVNode)(2,b,{data:c.data,recordType:c.recordType}):(0,e.createComponentVNode)(2,S,{data:c.data})})}return h}(),S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=c.data.recordsList,s=(0,a.useLocalState)(u,"searchText",""),i=s[0],C=s[1],V=function(g,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,f.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,f.filter)(x),(0,f.sortBy)(function(B){return B.Name})])(d)},v=V(d,i);return(0,e.createComponentVNode)(2,k.Box,{children:[(0,e.createComponentVNode)(2,k.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(g,N){return C(N)}return p}()}),v.map(function(p){return(0,e.createComponentVNode)(2,k.Box,{children:(0,e.createComponentVNode)(2,k.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function g(){return l("Records",{target:p.uid})}return g}()})},p)})]})},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=c.data.records,s=d.general,i=d.medical,C=d.security,V;switch(c.recordType){case"MED":V=(0,e.createComponentVNode)(2,k.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,k.LabeledList,{children:[(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,k.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":V=(0,e.createComponentVNode)(2,k.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,k.LabeledList,{children:[(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:C.notes})]}):(0,e.createComponentVNode)(2,k.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,k.Box,{children:[(0,e.createComponentVNode)(2,k.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,k.LabeledList,{children:[(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,k.Box,{color:"red",bold:!0,children:"General record lost!"})}),V]})}},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(k,y){var S,b=(0,a.useBackend)(y),h=b.act,c=b.data,u=c.temp;if(u){var m=(S={},S[u.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:u.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function l(){return h("cleartemp")}return l}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return f}()},25443: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(20342),f=n(98595),k=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],y=["good","average","bad","black","white"],S=[{title:"Button",component:function(){function p(){return h}return p}()},{title:"Box",component:function(){function p(){return c}return p}()},{title:"ProgressBar",component:function(){function p(){return u}return p}()},{title:"Tabs",component:function(){function p(){return m}return p}()},{title:"Tooltip",component:function(){function p(){return l}return p}()},{title:"Input / Control",component:function(){function p(){return d}return p}()},{title:"Collapsible",component:function(){function p(){return s}return p}()},{title:"BlockQuote",component:function(){function p(){return C}return p}()},{title:"ByondUi",component:function(){function p(){return V}return p}()},{title:"Themes",component:function(){function p(){return v}return p}()}],b=r.KitchenSink=function(){function p(g,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,a.useLocalState)(N,"pageIndex",0),I=L[0],A=L[1],T=S[I].component();return(0,e.createComponentVNode)(2,f.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:S.map(function(E,P){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:P===I,onClick:function(){function M(){return A(P)}return M}(),children:E.title},P)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return p}(),h=function(g){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),k.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),k.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},c=function(g){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,t.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"right",children:"right"})]})},u=function(g,N){var x=(0,a.useLocalState)(N,"progress",.5),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:B,children:["Value: ",Number(B).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function I(){return L(B-.1)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function I(){return L(B+.1)}return I}()})]})]})},m=function(g,N){var x=(0,a.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],I=(0,a.useLocalState)(N,"tabVert"),A=I[0],T=I[1],E=(0,a.useLocalState)(N,"tabAlt"),P=E[0],M=E[1],O=[1,2,3,4,5];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:A,onClick:function(){function R(){return T(!A)}return R}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:P,onClick:function(){function R(){return M(!P)}return R}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:O.map(function(R,F){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:P,selected:F===B,onClick:function(){function W(){return L(F)}return W}(),children:["Tab #",R]},F)})})]})},l=function(g){var N=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:["Box (hover me).",(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text."})]}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:N.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:x,content:x},x)})})],4)},d=function(g,N){var x=(0,a.useLocalState)(N,"number",0),B=x[0],L=x[1],I=(0,a.useLocalState)(N,"text","Sample text"),A=I[0],T=I[1];return(0,e.createComponentVNode)(2,t.Box,{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:A,onChange:function(){function E(P,M){return T(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onInput:function(){function E(P,M){return T(M)}return E}()})}),(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:B,minValue:-100,maxValue:100,onChange:function(){function E(P,M){return L(M)}return E}()})}),(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:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()})}),(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:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()})]}),(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,o.DraggableControl,{value:B,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function E(P,M){return L(M)}return E}(),children:function(){function E(P){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:P.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:P.displayValue*4}),P.inputElement]})}return E}()})})})]})})},s=function(g){return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,i)})})},i=function(g){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,t.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))},C=function(g){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,i)})},V=function(g,N){var x=(0,a.useBackend)(N),B=x.config;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Button",level:2,children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",parent:B.window,text:"Button"}})})})},v=function(g,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{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:B,onInput:function(){function I(A,T){return L(T)}return I}()})})})})}},96572:function(w,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_advsecrecords=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options:",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Records",onClick:function(){function c(){return b("ui_interact")}return c}()})})})}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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.holder,m=c.dead,l=c.health,d=c.brute,s=c.oxy,i=c.tox,C=c.burn,V=c.reagents,v=c.addictions,p=c.fractures,g=c.internal_bleeding;return u?(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:l/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:d})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagents",children:V?V.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,children:(0,e.createComponentVNode)(2,t.Box,{color:N.overdosed?"bad":"good",children:[" ",N.volume," ",N.overdosed?"OVERDOSED":""," "]})},N.id)}):"Reagents not found."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Addictions",children:v?v.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.addiction_name,children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[" Stage: ",N.stage," "]})},N.id)}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Addictions not found."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fractures",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:["Fractures ",p?"":"not"," detected."]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Bleedings",children:(0,e.createComponentVNode)(2,t.Box,{color:g?"bad":"good",children:["Internal Bleedings ",g?"":"not"," detected."]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},79592:function(w,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_camera_bug=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Monitor",onClick:function(){function c(){return b("ui_interact")}return c}()})})})}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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.master,m=c.dna,l=c.prime,d=c.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:u?u+" ("+m+")":"None"}),u&&(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:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:d||"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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.cable,m=c.machine,l=c.inprogress,d=c.progress,s=c.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:u?"Extended":"Retracted",color:u?"orange":null,onClick:function(){function V(){return b("cable")}return V}()});var C;return m&&(C=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:l?"green":"red",children:[" ","In progress: ",l?"Yes":"No"," "]}),l?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function V(){return b("cancel")}return V}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function V(){return b("jack")}return V}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),C]})}return f}()},43816:function(w,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_encoder=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.radio_name,m=c.radio_rank;return(0,e.createComponentVNode)(2,t.Section,{title:"Your name and rank in radio channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Your current name and rank",children:[u,", ",m]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function l(d,s){return b("set_newname",{newname:s})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function l(d,s){return b("set_newrank",{newrank:s})}return l}()})})]})})}return f}()},88895:function(w,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_gps_module=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"GPS menu",children:(0,e.createComponentVNode)(2,t.Button,{content:"Open GPS",onClick:function(){function c(){return b("ui_interact")}return 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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.available_software,m=c.installed_software,l=c.installed_toggles,d=c.available_ram,s=c.emotions,i=c.current_emotion,C=[];return m.map(function(V){return C[V.key]=V.name}),l.map(function(V){return C[V.key]=V.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:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[u.filter(function(V){return!C[V.key]}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{color:V.syndi?"red":"default",content:V.name+" ("+V.cost+")",icon:V.icon,disabled:V.cost>d,onClick:function(){function v(){return b("purchaseSoftware",{key:V.key})}return v}()},V.key)}),u.filter(function(V){return!C[V.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(V){return V.key!=="mainmenu"}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,onClick:function(){function v(){return b("startSoftware",{software_key:V.key})}return v}()},V.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[l.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,selected:V.active,onClick:function(){function v(){return b("setToggle",{toggle_key:V.key})}return v}()},V.key)}),l.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{color:V.syndi?"red":"default",content:V.name,selected:V.id===i,onClick:function(){function v(){return b("setEmotion",{emotion:V.id})}return v}()},V.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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data.active_convo;return c?(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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.app_data,m=u.minFrequency,l=u.maxFrequency,d=u.frequency,s=u.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:l/10,value:d/10,format:function(){function i(C){return(0,t.toFixed)(C,1)}return i}(),onChange:function(){function i(C,V){return h("freq",{freq:V})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return h("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return h("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return k}()},19873:function(w,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_sec_chem=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.holder,m=c.dead,l=c.health,d=c.current_chemicals,s=c.available_chemicals;return u?(0,e.createComponentVNode)(2,t.Box,{children:(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:l/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.name+" ("+i.cost+")",tooltip:i.desc,disabled:i.cost>d,onClick:function(){function C(){return b("secreteChemicals",{key:i.key})}return C}()},i.key)}),s.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.janitor,u=c.user_loc,m=c.mops,l=c.buckets,d=c.cleanbots,s=c.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[u.x,",",u.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - ",i.status]},i)})}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:l.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - [",i.volume,"/",i.max_volume,"]"]},i)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - ",i.status]},i)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - [",i.volume,"/",i.max_volume,"]"]},i)})})]})}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 k(y,S){var b=(0,t.useBackend)(S),h=b.act,c=b.data,u=c.owner,m=c.ownjob,l=c.idInserted,d=c.categories,s=c.pai,i=c.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:[u,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!l,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:d.map(function(C){var V=c.apps[C];return!V||!V.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:C,children:V.map(function(v){return(0,e.createComponentVNode)(2,o.Button,{icon:v.uid in i?v.notify_icon:v.icon,iconSpin:v.uid in i,color:v.uid in i?"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 k}()},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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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,c){var u=(0,t.useBackend)(c),m=u.act,l=u.data,d=l.active_convo;return d?(0,e.createComponentVNode)(2,k,{data:l}):(0,e.createComponentVNode)(2,y,{data:l})}return b}(),k=r.ActiveConversation=function(){function b(h,c){var u=(0,t.useBackend)(c),m=u.act,l=h.data,d=l.convo_device,s=l.messages,i=l.active_convo,C=(0,t.useLocalState)(c,"clipboardMode",!1),V=C[0],v=C[1],p=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:V,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return v(!V)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return m("Message",{target:i})}return g}(),content:"Reply"})],4),children:(0,a.filter)(function(g){return g.target===i})(s).map(function(g,N){return(0,e.createComponentVNode)(2,o.Box,{textAlign:g.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:g.sent?"#4d9121":"#cd7a0d",position:"absolute",left:g.sent?null:"0px",right:g.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:g.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:g.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:g.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[g.sent?"You:":"Them:"," ",g.message]})]},N)})});return V&&(p=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:V,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return v(!V)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return m("Message",{target:i})}return g}(),content:"Reply"})],4),children:(0,a.filter)(function(g){return g.target===i})(s).map(function(g,N){return(0,e.createComponentVNode)(2,o.Box,{color:g.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[g.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:g.message})]},N)})})),(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 g(){return m("Clear",{option:"Convo"})}return g}()})})})}),p]})}return b}(),y=r.MessengerList=function(){function b(h,c){var u=(0,t.useBackend)(c),m=u.act,l=h.data,d=l.convopdas,s=l.pdas,i=l.charges,C=l.silent,V=l.toff,v=(0,t.useLocalState)(c,"searchTerm",""),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function N(){return m("Toggle Ringer")}return N}(),children:["Ringer: ",C?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:V?"bad":"green",icon:"power-off",onClick:function(){function N(){return m("Toggle Messenger")}return N}(),children:["Messenger: ",V?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return m("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return m("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!V&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!d.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:p,onInput:function(){function N(x,B){g(B)}return N}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:l,pdas:d,msgAct:"Select Conversation",searchTerm:p}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:l,searchTerm:p})]})}return b}(),S=function(h,c){var u=(0,t.useBackend)(c),m=u.act,l=h.data,d=h.pdas,s=h.title,i=h.msgAct,C=h.searchTerm,V=l.charges,v=l.plugins;return!d||!d.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:d.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 g(){return m(i,{target:p.uid})}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!V&&v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.icon,content:g.name,onClick:function(){function N(){return m("Messenger Plugin",{plugin:g.uid,target:p.uid})}return N}()},g.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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mulebot,l=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:l?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mulebot,l=m.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[l.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function s(){return c("AccessBot",{uid:d.uid})}return s}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return c("Rescan")}return d}()})})]})},k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mulebot,l=m.botstatus,d=m.active,s=l.mode,i=l.loca,C=l.load,V=l.powr,v=l.dest,p=l.home,g=l.retn,N=l.pick,x;switch(s){case 0:x="Ready";break;case 1:x="Loading/Unloading";break;case 2:case 12:x="Navigating to delivery location";break;case 3:x="Navigating to Home";break;case 4:x="Waiting for clear path";break;case 5:case 6:x="Calculating navigation path";break;case 7:x="Unable to locate destination";break;default:x=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[V,"%"]}),(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 B(){return c("SetDest")}return B}()})}),(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 B(){return c("Unload")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function B(){return c("SetAutoPickup",{autoPickupType:N?"pickoff":"pickon"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Yes":"No",selected:g,onClick:function(){function B(){return c("SetAutoReturn",{autoReturnType:g?"retoff":"reton"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function B(){return c("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return c("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return c("ReturnHome")}return B}()})]})]})]})}},97085:function(w,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_notes=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:c}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function u(){return b("Edit")}return u}(),content:"Edit"})]})}return f}()},57513:function(w,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(89005),a=n(72253),t=n(61631),o=r.pda_power=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return f}()},57635:function(w,r,n){"use strict";r.__esModule=!0,r.pda_request_console=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25472),f=r.pda_request_console=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.screen,m=c.selected_console,l=c.consoles_data,d=c.app;return m?(0,e.createComponentVNode)(2,t.Box,{children:[(o.pages[u]||o.pages.default)(),u===0?(0,e.createComponentVNode)(2,t.Button,{content:"Back to console selection",icon:"arrow-left",onClick:function(){function s(){return h("back")}return s}()}):""]}):(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:l.map(function(s){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{color:s.priority===1?"green":s.priority===2?"red":"default",content:s.name,onClick:function(){function i(){return h("select",{name:s.name})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:s.muted?"volume-mute":"volume-up",onClick:function(){function i(){return h("mute",{name:s.name})}return i}()})]})})},s.name)})})})}return k}()},99808:function(w,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_secbot=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.beepsky,l=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:l?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.beepsky,l=m.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[l.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function s(){return c("AccessBot",{uid:d.uid})}return s}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return c("Rescan")}return d}()})})]})},k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.beepsky,l=m.botstatus,d=m.active,s=l.mode,i=l.loca,C;switch(s){case 0:C="Ready";break;case 1:C="Apprehending target";break;case 2:case 3:C="Arresting target";break;case 4:C="Starting patrol";break;case 5:C="On patrol";break;case 6:C="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:C}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function V(){return c("Go")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function V(){return c("Stop")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function V(){return c("Summon")}return V}()})]})]})]})}},77168:function(w,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_security=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b,recordType:"SEC"})}return f}()},21773:function(w,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pda_signaler=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:h})}return f}()},81857:function(w,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_status_display=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function u(){return b("Status",{statdisp:"blank"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function u(){return b("Status",{statdisp:"shuttle"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function u(){return b("Status",{statdisp:"message"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"redalert"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"default"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"lockdown"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"biohazard"})}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:c.message1+" (set)",icon:"pen",onClick:function(){function u(){return b("Status",{statdisp:"setmsg1"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:c.message2+" (set)",icon:"pen",onClick:function(){function u(){return b("Status",{statdisp:"setmsg2"})}return u}()})})]})})}return f}()},70287:function(w,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_supplyrecords=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.supply,u=c.shuttle_loc,m=c.shuttle_time,l=c.shuttle_moving,d=c.approved,s=c.approved_count,i=c.requests,C=c.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:l?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",m]}):(0,e.createComponentVNode)(2,t.Box,{children:u})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:C>0&&i.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{children:["#",V.Number,' - "',V.Name,'" for "',V.OrderedBy,'"']},V)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&d.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{children:["#",V.Number,' - "',V.Name,'" for "',V.ApprovedBy,'"']},V)})})]})}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"],k=["className","scrollable","children"];/** + */var k=r.RequestManager=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.requests,i=(0,t.useLocalState)(u,"filteredTypes",Object.fromEntries(Object.entries(y).map(function(B){var L=B[0],I=B[1];return[L,!0]}))),C=i[0],V=i[1],v=(0,t.useLocalState)(u,"searchText"),p=v[0],g=v[1],N=s.filter(function(B){return C[B.req_type]});if(p){var x=p.toLowerCase();N=N.filter(function(B){return(0,a.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,f.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:p,onInput:function(){function B(L,I){return g(I)}return B}(),placeholder:"Search...",mr:1}),children:N.map(function(B){return(0,e.createVNode)(1,"div","RequestManager__row",[(0,e.createVNode)(1,"div","RequestManager__rowContents",[(0,e.createVNode)(1,"h2","RequestManager__header",[(0,e.createVNode)(1,"span","RequestManager__headerText",[B.owner_name,B.owner===null&&" [DC]"],0),(0,e.createVNode)(1,"span","RequestManager__timestamp",B.timestamp_str,0)],4),(0,e.createVNode)(1,"div","RequestManager__message",[(0,e.createComponentVNode)(2,S,{requestType:B.req_type}),(0,a.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,b,{request:B})],0,null,B.id)})})})})}return h}(),y={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},S=function(c){var u=c.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+u,[y[u],(0,e.createTextVNode)(":")],0)},b=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m._,s=c.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("pp",{id:s.id})}return i}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("vv",{id:s.id})}return i}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("sm",{id:s.id})}return i}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("tp",{id:s.id})}return i}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("logs",{id:s.id})}return i}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("bless",{id:s.id})}return i}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("smite",{id:s.id})}return i}(),children:"SMITE"}),s.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("rply",{id:s.id})}return i}(),children:"RPLY"}),s.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("ertreply",{id:s.id})}return i}(),children:"ERTREPLY"}),s.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return l("getcode",{id:s.id})}return i}(),children:"GETCODE"})],0)}},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),k=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},y=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function b(h,c){var u=(0,a.useBackend)(c),m=u.data,l=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:m.ui_theme,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:k.MAIN,render:function(){function d(){return(0,e.createComponentVNode)(2,f.MainMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.LEVELS,render:function(){function d(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.DISK,render:function(){function d(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.DESTROY,render:function(){function d(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function d(s){return s===k.LATHE||s===k.IMPRINTER}return d}(),render:function(){function d(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return d}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:k.SETTINGS,render:function(){function d(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return d}()}),l?(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:l})})}):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(k,y){var S=(0,a.useBackend)(y),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(c,u){var m=c.name,l=c.level,d=c.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[u>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",l]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",d]})]},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),k="design",y="tech",S=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.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 g(){return v("updt_tech")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function g(){return v("clear_tech")}return g}()}),(0,e.createComponentVNode)(2,c)]})]}):null},b=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.disk_data;if(!p)return null;var g=p.name,N=p.lathe_types,x=p.materials,B=N.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:g}),B?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:B}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),x.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,c)]})]})},h=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:v===y?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,c)]})]})},c=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.disk_type;return p?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function g(){var N=p===y?"eject_tech":"eject_design";v(N)}return g}()}):null},u=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.disk_data,p=V.disk_type,g=function(){if(!v)return(0,e.createComponentVNode)(2,h);switch(p){case k:return(0,e.createComponentVNode)(2,b);case y:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:g()})},m=function(s,i){var C=(0,a.useBackend)(i),V=C.data,v=C.act,p=V.disk_type,g=V.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:g.sort(function(N,x){return N.name.localeCompare(x.name)}).map(function(N){var x=N.name,B=N.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:x,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){p===y?v("copy_tech",{id:B}):v("copy_design",{id:B})}return L}()})},B)})})})})},l=r.DataDiskMenu=function(){function d(s,i){var C=(0,a.useBackend)(i),V=C.data,v=V.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,u)}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 d}()},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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=S.act,c=b.loaded_item,u=b.linked_destroy;return u?c?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",c.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:c.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 k(y,S){var b=(0,a.useBackend)(S),h=b.data,c=b.act,u=h.category,m=h.matching_designs,l=h.menu,d=l===4,s=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var C=i.id,V=i.name,v=i.can_build,p=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:V,disabled:v<1,onClick:function(){function g(){return c(s,{id:C,amount:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function g(){return c(s,{id:C,amount:5})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function g(){return c(s,{id:C,amount:10})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(g){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",g.is_red?"color-red":null,[g.amount,(0,e.createTextVNode)(" "),g.name],0)],0)})})]},C)})})]})}return k}()},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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=S.act,c=b.loaded_chemicals,u=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 l=u?"disposeallP":"disposeallI";h(l)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(m){var l=m.volume,d=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+l+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var C=u?"disposeP":"disposeI";h(C,{id:s})}return i}()})},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 k(y,S){var b=(0,a.useBackend)(S),h=b.data,c=b.act,u=h.menu,m=h.categories,l=u===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:l+" 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(d){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:d,onClick:function(){function s(){c("setCategory",{category:d})}return s}()})},d)})})]})}return k}()},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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=S.act,c=b.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:c.map(function(u){var m=u.id,l=u.amount,d=u.name,s=function(){function v(p){var g=b.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";h(g,{id:m,amount:p})}return v}(),i=Math.floor(l/2e3),C=l<1,V=i===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:["* ",l," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",V,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l>=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}()}),l>=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(k,y){var S=(0,a.useBackend)(y),b=S.data,h=b.total_materials,c=b.max_materials,u=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}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):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}),u?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+u}):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),k=n(16475),y=r.LatheMenu=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.data,m=u.menu,l=u.linked_lathe,d=u.linked_imprinter;return m===4&&!l?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!d?(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:k.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:k.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:k.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:k.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(k,y){var S=(0,a.useBackend)(y),b=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function h(c,u){return b("search",{to_search:u})}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),k=r.MainMenu=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=c.disk_type,m=c.linked_destroy,l=c.linked_lathe,d=c.linked_imprinter,s=c.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:!u,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:!l,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(i){var C=i.name,V=i.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:V},C)})})]})}return y}()},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(k,y){var S=k.icon,b=k.children,h=k.disabled,c=k.content,u=(0,a.useBackend)(y),m=u.data,l=u.act,d=m.menu,s=m.submenu,i=d,C=s;return k.menu!==null&&k.menu!==void 0&&(i=k.menu),k.submenu!==null&&k.submenu!==void 0&&(C=k.submenu),(0,e.createComponentVNode)(2,t.Button,{content:c,icon:S,disabled:h,onClick:function(){function V(){l("nav",{menu:i,submenu:C})}return V}(),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 k(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S!==o.MENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function y(S){return S!==o.SUBMENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return y}(),submenu:o.SUBMENU.MAIN,render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return y}()})]})}return k}()},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 k=o.render,y=(0,e.useBackend)(f),S=y.data,b=S.menu,h=S.submenu,c=function(){function m(l,d){return l==null?!0:typeof l=="function"?l(d):l===d}return m}(),u=c(o.menu,b)&&c(o.submenu,h);return u?k():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),k=r.SettingsMenu=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=h.act,m=c.sync,l=c.admin,d=c.linked_destroy,s=c.linked_lathe,i=c.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 V(){u("sync")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function V(){u("togglesync")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function V(){u("togglesync")}return V}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),l===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function V(){return u("maxresearch")}return V}()}):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 V(){return u("find_device")}return V}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[d?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function V(){return u("disconnect",{item:"destroy"})}return V}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function V(){u("disconnect",{item:"lathe"})}return V}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function V(){return u("disconnect",{item:"imprinter"})}return V}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return C}()})]})}return y}()},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 k=n(71964);r.LatheMainMenu=k.LatheMainMenu;var y=n(83706);r.LatheMaterials=y.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 c=n(17180);r.MainMenu=c.MainMenu;var u=n(94942);r.RndNavbar=u.RndNavbar;var m=n(63459);r.RndNavButton=m.RndNavButton;var l=n(12059);r.RndRoute=l.RndRoute;var d=n(52580);r.SettingsMenu=d.SettingsMenu},40026:function(w,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),k=r.RoboQuest=function(){function y(S,b){var h=(0,t.useBackend)(b),c=h.act,u=h.data,m=u.hasID,l=u.name,d=u.questInfo,s=u.hasTask,i=u.canCheck,C=u.canSend,V=u.checkMessage,v=u.style,p=u.cooldown,g=u.instant_teleport,N=u.shopItems,x=u.points,B=u.cats,L=(0,t.useLocalState)(b,"shopState",!1),I=L[0],A=L[1],T={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,f.Window,{theme:v,width:1e3,height:540,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0437\u0430\u043A\u0430\u0437",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043C\u0435\u0445\u0430",icon:"search",tooltipPosition:"bottom",tooltip:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0445 \u0434\u043B\u044F \u0437\u0430\u043A\u0430\u0437\u0430 \u043C\u043E\u0434\u0443\u043B\u0435\u0439.",disabled:!m||!s||!i||p,onClick:function(){function E(){return c("Check")}return E}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!s&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest_large128x128",d.icon]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:42,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&d.modules.map(function(E){return E.id<4&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",E.icon]),null,1,null,E.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&d.modules.map(function(E){return E.id>3&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",E.icon]),null,1,null,E.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,V,0)],4),!!p&&(0,e.createFragment)([(0,e.createVNode)(1,"b",null,"\u0417\u0430 \u043E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0437\u0430\u043A\u0430\u0437\u0430, \u0432\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u044B \u043E\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,p,0)],4)]}),!!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u0447\u0435\u0440\u0442\u0435\u0436\u0435\u0439",(0,e.createComponentVNode)(2,o.Box,{children:["\u041E\u0447\u043A\u0438: ",(0,e.createVNode)(1,"b",null,x.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,x.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,x.security,0,{style:{color:"red"}})]})]}),children:Object.keys(N).map(function(E){return(0,e.createFragment)(!(N[E]===void 0||N[E].length===0||E==="robo")&&N[E].map(function(P){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:T[E],image:P.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[P.name," ",(0,e.createVNode)(1,"b",null,P.cost.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,P.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,P.cost.security,0,{style:{color:"red"}})]}),content:P.desc,onClick:function(){function M(){return c("buyItem",{item:P.path})}return M}()},P.path)}),0,E)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0414\u0440\u0443\u0433\u043E\u0435",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u041C\u0430\u0433\u0430\u0437\u0438\u043D",width:"7rem",icon:"shopping-cart",onClick:function(){function E(){return A(!I)}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",tooltipPosition:"bottom",tooltip:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0441\u0442\u0438\u043B\u044F \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.",onClick:function(){function E(){return c("ChangeStyle")}return E}()})],4),children:[!!l&&(0,e.createFragment)([(0,e.createTextVNode)("\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435,"),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,l,0),(0,e.createVNode)(1,"br")],4),(0,e.createFragment)([(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041F\u0440\u0438 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u043A\u0430\u0437\u0430 \u043D\u0430 \u044D\u043A\u0437\u043A\u043E\u0441\u0442\u044E\u043C, \u0432\u044B\u0431\u043E\u0440 \u043F\u043E\u0434\u0442\u0438\u043F\u0430 \u043C\u0435\u0445\u0430 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0442\u0438\u043F \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043E\u0447\u043A\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u043D\u0430\u0447\u0438\u0441\u043B\u0435\u043D\u044B \u0437\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0437\u0430\u043A\u0430\u0437\u0430."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"brown",children:[" ","\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438. \u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"teal",children:[" ","\u0433\u043E\u043B\u0443\u0431\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438. \u0411\u043E\u0435\u0432\u044B\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"red",children:[" ","\u043A\u0440\u0430\u0441\u043D\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041A\u0430\u0436\u0434\u044B\u0439 \u043C\u0435\u0445, \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043F\u043E\u0434\u0442\u0438\u043F\u0430, \u043F\u0440\u0438\u043D\u043E\u0441\u0438\u0442 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043E\u0447\u043A\u043E\u0432 \u0434\u043B\u044F \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430 \u043E\u0441\u043E\u0431\u044B\u0445 \u043D\u0430\u0433\u0440\u0430\u0434.")],0)]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u0418\u043D\u0444\u043E",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"\u0412\u044B\u043D\u0443\u0442\u044C ID",disabled:!m,onClick:function(){function E(){return c("RemoveID")}return E}()}),!s&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043C\u0435\u0445",disabled:!m||p,onClick:function(){function E(){return c("GetTask")}return E}()}),!!s&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u041F\u0435\u0447\u0430\u0442\u044C",icon:"print",onClick:function(){function E(){return c("printOrder")}return E}(),disabled:!s}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"\u041E\u0442\u043A\u0430\u0437\u0430\u0442\u044C\u0441\u044F",disabled:!m||p,onClick:function(){function E(){return c("RemoveTask")}return E}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435: ",16),d.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435: ",16),d.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"\u0422\u0440\u0435\u0431\u0443\u0435\u043C\u044B\u0435 \u041C\u043E\u0434\u0443\u043B\u0438:",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!s&&d.modules.map(function(E){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),E.id],0),(0,e.createTextVNode)(": "),E.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,E.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"14rem",bold:!0,content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"top",tooltip:"\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u043C\u0435\u0445\u0430 \u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0432\u0430\u043C\u0438 \u0442\u0435\u043B\u0435\u043F\u0430\u0434.",disabled:!m||!s||!C||p,onClick:function(){function E(){return c("SendMech",{type:"send"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"14rem",bold:!0,content:"\u0423\u043F\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"top",tooltip:"\u0423\u043F\u0430\u043A\u043E\u0432\u043A\u0430 \u043C\u0435\u0445\u0430 \u0434\u043B\u044F \u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438 \u0432 \u043A\u0430\u0440\u0433\u043E.",disabled:!m||!s||!C||p,onClick:function(){function E(){return c("SendMech",{type:"only_packing"})}return E}()})]}),(0,e.createVNode)(1,"box",null,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"30rem",bold:!0,content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"bottom",tooltip:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043C\u0435\u0445\u0430 \u0437\u0430\u043A\u0430\u0437\u0447\u0438\u043A\u0443.",disabled:!m||!s||!C||p||!g,onClick:function(){function E(){return c("SendMech",{type:"instant"})}return E}()}),2,{mb:"1.5rem",textAlign:"center"})]}),!!I&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u043E\u0441\u043E\u0431\u044B\u0445 \u043D\u0430\u0433\u0440\u0430\u0434"),(0,e.createComponentVNode)(2,o.Box,{children:["\u041E\u0447\u043A\u0438: ",x.robo]})],4),children:N.robo.map(function(E){return(!E.emagOnly||v==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:E.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[E.name," ",(0,e.createVNode)(1,"b",null,E.cost.robo,0,{style:{color:"purple"}})]}),content:E.desc,onClick:function(){function P(){return c("buyItem",{item:E.path})}return P}()},E.name)})})]})]})})})}return y}()},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),k=function(b,h){var c=b/h;return c<=.2?"good":c<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.data,m=u.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(l,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(l.name),children:l.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:l.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:k(l.brute_damage,l.max_damage),children:l.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:k(l.electronic_damage,l.max_damage),children:l.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:l.powered?"good":"bad",children:l.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:l.status?"good":"bad",children:l.status?"Yes":"No"})]})})]})},d)})})})}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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.can_hack,l=u.safety,d=u.show_detonate_all,s=u.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Self Destruct",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l?"lock":"unlock",content:l?"Disable Safety":"Enable Safety",selected:l,onClick:function(){function C(){return c("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:l,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function C(){return c("nuke",{})}return C}()})]}),(0,e.createComponentVNode)(2,k,{cyborgs:i,can_hack:m})]})})}return y}(),k=function(S,b){var h=S.cyborgs,c=S.can_hack,u=(0,a.useBackend)(b),m=u.act,l=u.data;return h.length?h.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createFragment)([!!d.hackable&&!d.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function s(){return m("hackbot",{uid:d.uid})}return s}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:d.locked_down?"unlock":"lock",color:d.locked_down?"good":"default",content:d.locked_down?"Release":"Lockdown",disabled:!l.auth,onClick:function(){function s(){return m("stopbot",{uid:d.uid})}return s}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!l.auth,color:"bad",onClick:function(){function s(){return m("killbot",{uid:d.uid})}return s}()})],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:d.status?"bad":d.locked_down?"average":"good",children:d.status?"Not Responding":d.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:d.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.health>50?"good":"bad",value:d.health/100})}),typeof d.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.charge>30?"good":"bad",value:d.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:d.cell_capacity<3e4?"average":"good",children:d.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"})}),!!d.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:d.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:d.synchronization?"default":"average",children:d.synchronization||"None"})})]})},d.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(79140),t=n(72253),o=n(36036),f=n(98595),k=r.Safe=function(){function h(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.dial,i=d.open,C=d.locked,V=d.contents;return(0,e.createComponentVNode)(2,f.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,o.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),i?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,o.Box,{as:"img",className:"Safe--dial",src:(0,a.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*s+"deg)","z-index":0}})]}),!i&&(0,e.createComponentVNode)(2,b)]})})}return h}(),y=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.dial,i=d.open,C=d.locked,V=function(p,g){return(0,e.createComponentVNode)(2,o.Button,{disabled:i||g&&!C,icon:"arrow-"+(g?"right":"left"),content:(g?"Right":"Left")+" "+p,iconRight:g,onClick:function(){function N(){return l(g?"turnleft":"turnright",{num:p})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:C,icon:i?"lock":"lock-open",content:i?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return l("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{position:"absolute",children:[V(50),V(10),V(1)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[V(1,!0),V(10,!0),V(50,!0)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--number",children:s})]})},S=function(c,u){var m=(0,t.useBackend)(u),l=m.act,d=m.data,s=d.contents;return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--contents",overflow:"auto",children:s.map(function(i,C){return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{mb:"0.5rem",onClick:function(){function V(){return l("retrieve",{index:C+1})}return V}(),children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:i.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),i.name]}),(0,e.createVNode)(1,"br")],4,i)})})},b=function(c,u){return(0,e.createComponentVNode)(2,o.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,o.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,o.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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.satellites,m=c.notice,l=c.meteor_shield,d=c.meteor_shield_coverage,s=c.meteor_shield_coverage_max,i=c.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:[l&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:d,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:c.notice}),u.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 V(){return h("toggle",{id:C.id})}return V}()})]},C.id)})]})})]})})}return k}()},44162:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SecureStorage=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.emagged,m=c.locked,l=c.l_set,d=c.l_setshort,s=c.current_code,i=function(){function C(V){var v=V.buttonValue,p=V.color;return p||(p="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:u||d,type:"button",color:p,onClick:function(){function g(){return h("setnumber",{buttonValue:v})}return g}(),children:v})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:520,height:200,children:(0,e.createComponentVNode)(2,t.Flex,{spacing:"1",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:16,shrink:0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Code Panel",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"1"}),(0,e.createComponentVNode)(2,i,{buttonValue:"2"}),(0,e.createComponentVNode)(2,i,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"4"}),(0,e.createComponentVNode)(2,i,{buttonValue:"5"}),(0,e.createComponentVNode)(2,i,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"7"}),(0,e.createComponentVNode)(2,i,{buttonValue:"8"}),(0,e.createComponentVNode)(2,i,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,i,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,i,{buttonValue:"0"}),(0,e.createComponentVNode)(2,i,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:u||d?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),u?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"NEW INPUT, ASSHOLE"})}):""]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secure Code",children:(0,e.createComponentVNode)(2,t.Box,{color:l?"red":"green",children:l?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:m?"red":"green",children:m?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:s||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:m,color:"red",content:"Lock",icon:"lock",onClick:function(){function C(){return h("close")}return C}()})]})})]})})}return k}()},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),k=n(3939),y=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"},c=function(g,N){(0,k.modalOpen)(g,"edit",{field:N.edit,value:N.value})},u=r.SecurityRecords=function(){function p(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.loginState,A=L.currentPage,T;if(I.logged_in)A===1?T=(0,e.createComponentVNode)(2,l):A===2?T=(0,e.createComponentVNode)(2,i):A===3&&(T=(0,e.createComponentVNode)(2,C));else return(0,e.createComponentVNode)(2,f.Window,{width:800,height:900,theme:"security",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,k.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,m),T]})})]})}return p}(),m=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function T(){return B("page",{page:1})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"list"}),"List Records"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),I===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},l=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],P=(0,t.useLocalState)(N,"sortId","name"),M=P[0],O=P[1],R=(0,t.useLocalState)(N,"sortOrder",!0),F=R[0],W=R[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,d,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,d,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,d,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,d,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,d,{id:"status",children:"Criminal Status"})]}),I.filter((0,a.createSearch)(T,function(j){return j.name+"|"+j.id+"|"+j.rank+"|"+j.fingerprint+"|"+j.status})).sort(function(j,U){var K=F?1:-1;return j[M].localeCompare(U[M])*K}).map(function(j){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+h[j.status],onClick:function(){function U(){return B("view",{uid_gen:j.uid_gen,uid_sec:j.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",j.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:j.status})]},j.id)})]})})})],4)},d=function(g,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],I=(0,t.useLocalState)(N,"sortOrder",!0),A=I[0],T=I[1],E=g.id,P=g.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!==E&&"transparent",fluid:!0,onClick:function(){function M(){B===E?T(!A):(L(E),T(!0))}return M}(),children:[P,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.isPrinting,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[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 P(){return B("new_general")}return P}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:I,icon:I?"spinner":"print",iconSpin:!!I,content:"Print Cell Log",onClick:function(){function P(){return(0,k.modalOpen)(N,"print_cell_log")}return P}()})}),(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 P(M,O){return E(O)}return P}()})})]})},i=function(g,N){var x=(0,t.useBackend)(N),B=x.act;return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"download",content:"Backup to Disk",tooltip:"This feature is not available.",tooltipPosition:"right"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"upload",content:"Upload from Disk",tooltip:"This feature is not available.",tooltipPosition:"right",my:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){function L(){return B("delete_security_all")}return L}(),mb:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Cell Logs",onClick:function(){function L(){return B("delete_cell_logs")}return L}()})]})},C=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.isPrinting,A=L.general,T=L.security;return!A||!A.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,level:2,mt:"-6px",title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:I,icon:I?"spinner":"print",iconSpin:!!I,content:"Print Record",onClick:function(){function E(){return B("print_record")}return E}()}),(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 E(){return B("delete_general")}return E}()})],4),children:(0,e.createComponentVNode)(2,V)})}),!T||!T.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 E(){return B("new_security")}return E}()}),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:T.empty,content:"Delete Record",onClick:function(){function E(){return B("delete_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:T.fields.map(function(E,P){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(E.value),!!E.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:E.line_break?"1rem":"initial",onClick:function(){function M(){return c(N,E)}return M}()})]},P)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},V=function(g,N){var x=(0,t.useBackend)(N),B=x.data,L=B.general;return!L||!L.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:L.fields.map(function(I,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:I.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+I.value),!!I.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:I.line_break?"1rem":"initial",onClick:function(){function T(){return c(N,I)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(I,A){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:I,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",A+1]},A)})]})},v=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,I=L.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 A(){return(0,k.modalOpen)(N,"comment_add")}return A}()}),children:I.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):I.comments.map(function(A,T){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:A.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),A.text||A,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function E(){return B("comment_delete",{id:T+1})}return E}()})]},T)})})})}},5099:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(35840),o=n(72253),f=n(36036),k=n(98595),y=n(3939);function S(s,i){var C=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(C)return(C=C.call(s)).next.bind(C);if(Array.isArray(s)||(C=b(s))||i&&s&&typeof s.length=="number"){C&&(s=C);var V=0;return function(){return V>=s.length?{done:!0}:{done:!1,value:s[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 b(s,i){if(s){if(typeof s=="string")return h(s,i);var C={}.toString.call(s).slice(8,-1);return C==="Object"&&s.constructor&&(C=s.constructor.name),C==="Map"||C==="Set"?Array.from(s):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?h(s,i):void 0}}function h(s,i){(i==null||i>s.length)&&(i=s.length);for(var C=0,V=Array(i);C=T},v=function(A,T){return A<=T},p=i.split(" "),g=[],N=function(){var A=L.value,T=A.split(":");if(T.length===0)return 0;if(T.length===1)return g.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function M(O){return!1}return M}()};var E,P=C;if(T[1][T[1].length-1]==="-"?(P=v,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(P=V,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function M(O){return!1}return M}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":g.push(function(M){return P(M.lifespan,E)});break;case"e":case"end":case"endurance":g.push(function(M){return P(M.endurance,E)});break;case"m":case"mat":case"maturation":g.push(function(M){return P(M.maturation,E)});break;case"pr":case"prod":case"production":g.push(function(M){return P(M.production,E)});break;case"y":case"yield":g.push(function(M){return P(M.yield,E)});break;case"po":case"pot":case"potency":g.push(function(M){return P(M.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":g.push(function(M){return P(M.amount,E)});break;default:return{v:function(){function M(O){return!1}return M}()}}},x,B=S(p),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(I){for(var A=0,T=g;A=1?Number(P):1)}return T}()})]})]})}},2916:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleConsole=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=c.type,i=s===void 0?"shuttle":s,C=c.blind_drop,V=d.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!V&&(0,e.createComponentVNode)(2,t.Modal,{ml:1,mt:1,width:26,height:12,fontSize:"28px",fontFamily:"monospace",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,children:(0,e.createComponentVNode)(2,t.Icon,{name:"minus-circle"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,ml:2,color:"bad",children:i==="shuttle"?"SHUTTLE LOCKED":"BASE LOCKED"})]}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"18px",mt:4,children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:"40px",icon:"arrow-circle-right",content:"Request Authorization",color:"bad",onClick:function(){function v(){return l("request")}return v}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,b,{type:i,blind_drop:C})})]})}return h}(),k=function(c,u){var m;return c==null||(m=c.find(function(l){return l.id===u}))==null?void 0:m.name},y=function(c,u){var m;return c==null||(m=c.find(function(l){return l.name===u}))==null?void 0:m.id},S={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},b=r.ShuttleConsoleContent=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=c.type,i=c.blind_drop,C=d.status,V=d.locked,v=d.authorization_required,p=d.destination,g=d.docked_location,N=d.timer_str,x=d.locations,B=x===void 0?[]:x;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"26px",textAlign:"center",fontFamily:"monospace",children:N||"00:00"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",fontSize:"14px",mb:1,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,bold:!0,children:"STATUS:"}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:S[C]||"bad",ml:1,children:C||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:s==="shuttle"?"Shuttle Controls":"Base Launch Controls",level:2,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:g||"Not Available"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",buttons:s!=="shuttle"&&B.length===0&&!!i&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:v||!i,content:"Blind Drop",onClick:function(){function L(){return l("random")}return L}()}),children:B.length===0&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"bad",children:"Not Available"})||B.length===1&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"average",children:k(B,p)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:V||v,selected:k(B,p)||"Select a Destination",onSelected:function(){function L(I){return l("set_destination",{destination:y(B,I)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!k(B,p)||V||v||C!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return l("move",{shuttle_id:p})}return L}()})]})]})}return h}()},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,c){var u=(0,a.useLocalState)(c,"tabIndex",0),m=u[0],l=u[1],d=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return l(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return l(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return l(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),d(m)]})})})}return b}(),k=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},y=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.templates_tabs,s=l.existing_shuttle,i=l.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===s.id,icon:"file",onClick:function(){function V(){return m("select_template_category",{cat:C})}return V}(),children:C},C)})}),!!s&&i[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 V(){return m("select_template",{shuttle_id:C.shuttle_id})}return V}()})})]})},C.name)})]})},S=function(h,c){var u=(0,a.useBackend)(c),m=u.act,l=u.data,d=l.existing_shuttle,s=l.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[d?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+d.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:d.status}),d.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:d.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:d.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},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),k=[["good","\u041D\u043E\u0440\u043C\u0430"],["average","\u041A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435"],["bad","\u0417\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043C\u0435\u0440\u0442\u044C"]],y=[["\u0423\u0434\u0443\u0448\u044C\u0435","oxyLoss"],["\u041E\u0442\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435","toxLoss"],["\u041C\u0435\u0445.","bruteLoss"],["\u0422\u0435\u0440\u043C.","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.Sleeper=function(){function i(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.hasOccupant,x=N?(0,e.createComponentVNode)(2,c):(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:x}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l)})]})})})}return i}(),c=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4)},u=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.occupant,x=g.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"\u0410\u0432\u0442\u043E-\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0442\u0440\u0443\u043F\u043E\u0432:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"\u0414\u0430":"\u041D\u0435\u0442",onClick:function(){function B(){return p("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",onClick:function(){function B(){return p("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0437\u0434\u043E\u0440\u0432\u043E\u044C\u044F",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",color:k[N.stat][0],children:k[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:b[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius,0),"\xB0C,",(0,a.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043A\u0440\u043E\u0432\u0438",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0443\u043B\u044C\u0441",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},m=function(C,V){var v=(0,t.useBackend)(V),p=v.data,g=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u0431\u0449\u0438\u0439 \u0443\u0440\u043E\u043D",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(N,x){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:g[N[1]]/100,ranges:S,children:(0,a.round)(g[N[1]],0)},x)},x)})})})},l=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.hasOccupant,x=g.isBeakerLoaded,B=g.beakerMaxSpace,L=g.beakerFreeSpace,I=g.dialysis,A=I&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"\u0414\u0438\u0430\u043B\u0438\u0437",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!x||L<=0||!N,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E":"\u0412\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u043E",onClick:function(){function T(){return p("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C",onClick:function(){function T(){return p("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u044B\u0439 \u043E\u0431\u044A\u0451\u043C",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:L/B,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430."})})},d=function(C,V){var v=(0,t.useBackend)(V),p=v.act,g=v.data,N=g.occupant,x=g.chemicals,B=g.maxchem,L=g.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0440\u043E\u0432\u043E\u0442\u043E\u043A \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",children:x.map(function(I,A){var T="",E;return I.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 \u041F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0430!"]})):I.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 \u0420\u0438\u0441\u043A \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0438"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:I.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:B,value:I.occ_amount/B,color:T,title:"\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u043E\u0431\u044A\u0451\u043C \u0432\u0435\u0449\u0435\u0441\u0442\u0432 \u0432 \u043A\u0440\u043E\u0432\u043E\u0442\u043E\u043A\u0435 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 / \u041E\u0431\u0449\u0438\u0439 \u043E\u0431\u044A\u0451\u043C, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0434\u043B\u044F \u0432\u0432\u043E\u0434\u0430 \u0430\u043F\u043F\u0430\u0440\u0430\u0442\u043E\u043C",mr:"0.5rem",children:[I.pretty_amount,"/",B,"u"]}),L.map(function(P,M){return(0,e.createComponentVNode)(2,o.Button,{disabled:!I.injectable||I.occ_amount+P>B||N.stat===2,icon:"syringe",content:"\u0412\u0432\u0435\u0441\u0442\u0438 "+P+"u",title:"\u0412\u0432\u0435\u0441\u0442\u0438 "+P+"u \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430 "+I.title+" \u0432 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",mb:"0",height:"19px",onClick:function(){function O(){return p("chemical",{chemid:I.id,amount:P})}return O}()},M)})]})})},A)})})},s=function(C,V){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u0432\u043D\u0443\u0442\u0440\u0438 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data;if(c.money===null)return(0,e.createComponentVNode)(2,o.Window,{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.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 u;return c.plays===1?u=c.plays+" player has tried their luck today!":u=c.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{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.Box,{lineHeight:2,children:u}),(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:c.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:c.working,content:c.working?"Spinning...":"Spin",onClick:function(){function m(){return h("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:c.resultlvl,children:c.result})]})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.secure,m=c.can_dry,l=c.drying,d=c.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:[!!u&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u0435\u0434\u044A\u044F\u0432\u0438\u0442\u0435 \u0441\u0432\u043E\u044E ID-\u043A\u0430\u0440\u0442\u0443."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"\u0421\u0443\u0448\u0438\u043B\u044C\u043D\u0430\u044F \u0441\u0442\u043E\u0439\u043A\u0430":"\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:l?"power-off":"times",content:l?"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u0443\u0448\u043A\u0443":"\u0417\u0430\u043A\u043E\u043D\u0447\u0438\u0442\u044C \u0441\u0443\u0448\u043A\u0443",selected:l,onClick:function(){function s(){return h("drying")}return s}()}),children:[!d&&(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"),"\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u043F\u0443\u0441\u0442\u043E."]})}),!!d&&d.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," \u0432 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"\u0412\u0437\u044F\u0442\u044C \u043E\u0434\u043D\u0443 \u0448\u0442\u0443\u043A\u0443.",content:"1",onClick:function(){function i(){return h("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(C,V){return h("vend",{index:s.vend,amount:V})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"\u0412\u0441\u0451",tooltip:"\u0412\u0437\u044F\u0442\u044C \u0432\u0441\u0451.",tooltipPosition:"bottom-start",onClick:function(){function i(){return h("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return k}()},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),k=1e3,y=r.Smes=function(){function S(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.capacityPercent,d=m.capacity,s=m.charge,i=m.inputAttempt,C=m.inputting,V=m.inputLevel,v=m.inputLevelMax,p=m.inputAvailable,g=m.outputPowernet,N=m.outputAttempt,x=m.outputting,B=m.outputLevel,L=m.outputLevelMax,I=m.outputUsed,A=l>=100&&"good"||C&&"average"||"bad",T=x&&"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:l*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return u("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:l>=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:V===0,onClick:function(){function E(){return u("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:V===0,onClick:function(){function E(){return u("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:V/k,fillValue:p/k,minValue:0,maxValue:v/k,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*k,1)}return E}(),onChange:function(){function E(P,M){return u("input",{target:M*k})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:V===v,onClick:function(){function E(){return u("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:V===v,onClick:function(){function E(){return u("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:N?"power-off":"times",selected:N,onClick:function(){function E(){return u("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:g?x?"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:B===0,onClick:function(){function E(){return u("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return u("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/k,minValue:0,maxValue:L/k,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*k,1)}return E}(),onChange:function(){function E(P,M){return u("output",{target:M*k})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:B===L,onClick:function(){function E(){return u("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return u("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(I)})]})})]})})})}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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=0,m=1,l=2,d=c.generated,s=c.generated_ratio,i=c.tracking_state,C=c.tracking_rate,V=c.connected_panels,v=c.connected_tracker,p=c.cdir,g=c.direction,N=c.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:300,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 x(){return h("refresh")}return x}()}),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:V>0?"good":"bad",children:V})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[p,"\xB0 (",g,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===l&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",N,")"," "]}),i===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==l&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function x(B,L){return h("cdir",{cdir:L})}return x}()}),i===l&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===u,onClick:function(){function x(){return h("track",{track:u})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function x(){return h("track",{track:m})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===l,disabled:!v,onClick:function(){function x(){return h("track",{track:l})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:C,format:function(){function x(B){var L=Math.sign(B)>0?"+":"-";return L+Math.abs(B)}return x}(),onDrag:function(){function x(B,L){return h("tdir",{tdir:L})}return x}()}),i===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===l&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.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:u.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 l(){return h("jump",{ID:m.uids})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function l(){return h("spawn",{ID:m.uids})}return l}()})],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 k}()},7957:function(w,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),f=n(98595);function k(s,i){s.prototype=Object.create(i.prototype),s.prototype.constructor=s,y(s,i)}function y(s,i){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,V){return C.__proto__=V,C},y(s,i)}var S=r.SpiderOS=function(){function s(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g;return p.suit_tgui_state===0?g=(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"column",width:"60%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,u)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,m)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})]}):p.suit_tgui_state===1&&(g=(0,e.createComponentVNode)(2,t.Flex,{width:"100%",height:"100%",direction:"column",shrink:1,spacing:1,children:(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100%",children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,d,{allMessages:p.current_load_text,finishedTimeout:3e3,current_initialisation_phase:p.current_initialisation_phase,end_terminal:p.end_terminal,onFinished:function(){function N(){return v("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,f.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:g})})})}return s}(),b=function(i,C){var V=(0,a.useBackend)(C),v=V.data,p=v.stylesIcon,g=v.style_preview_icon_state;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},m:"0px",width:"100%",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u041D\u0430\u0448\u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u0432\u0430\u043C \u043F\u043E\u0434\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u043E\u0434 \u0441\u0435\u0431\u044F, \u043F\u0440\u0438 \u044D\u0442\u043E\u043C \u043D\u0435 \u0442\u0435\u0440\u044F\u044F \u043E\u0431\u043E\u0440\u043E\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0430\u0447\u0435\u0441\u0442\u0432. \u041F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u043E \u0432\u0430\u0436\u043D\u043E \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0433\u043E \u0443\u0431\u0438\u0439\u0446\u044B.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},mr:10,ml:10,children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"128px",width:"128px",icon:p,icon_state:g,style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})})})},h=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.designs,N=p.design_choice,x=p.scarf_design_choice,B=p.colors,L=p.color_choice,I=p.genders,A=p.preferred_clothes_gender,T=p.suit_state,E=p.preferred_scarf_over_hood,P=p.show_charge_UI,M=p.has_martial_art,O=p.show_concentration_UI,R;T===0?R="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":R="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var F;E===0?F="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":F="\u0428\u0430\u0440\u0444";var W;E===1?W=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C \u0448\u0430\u0440\u0444\u0430",content:(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:x,onSelected:function(){function U(K){return v("set_scarf_design",{scarf_design_choice:K})}return U}()})}):W=null;var j;return M?j=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u044F",content:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{selected:O,width:"78px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function U(){return v("toggle_ui_concentration")}return U}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0441\u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043B\u0438 \u0432\u044B \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u043E\u0435\u0432\u043E\u0433\u043E \u0438\u0441\u0441\u043A\u0443\u0441\u0442\u0432\u0430.",tooltipPosition:"top-start"})]})}):j=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,width:"100%",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:N,onSelected:function(){function U(K){return v("set_design",{design_choice:K})}return U}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0432\u0435\u0442",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:L,onSelected:function(){function U(K){return v("set_color",{color_choice:K})}return U}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439/\u041C\u0443\u0436\u0441\u043A\u043E\u0439",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:A,onSelected:function(){function U(K){return v("set_gender",{preferred_clothes_gender:K})}return U}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0428\u0430\u0440\u0444/\u041A\u0430\u043F\u044E\u0448\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Button,{className:T===0?"":"Button_disabled",width:"90px",selected:E,disabled:T,textAlign:"left",content:F,onClick:function(){function U(){return v("toggle_scarf")}return U}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:'\u0421 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 "\u0428\u0430\u0440\u0444" \u0432\u0430\u0448 \u043A\u0430\u043F\u044E\u0448\u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u043E\u043B\u043E\u0441\u044B. \u041D\u043E \u044D\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u0447\u0438\u0442, \u0447\u0442\u043E \u0432\u0430\u0448\u0430 \u0433\u043E\u043B\u043E\u0432\u0430 \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u0430! \u0410\u0434\u0430\u043F\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043D\u043E-\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044E\u0442 \u043D\u0430 \u043F\u043E\u0442\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0443\u0433\u0440\u043E\u0437\u044B \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u044F \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443! \u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435: \u043D\u0430\u043D\u043E\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u0442\u0430\u043A \u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443 \u0438 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u043B\u043E\u0432\u043D\u044B\u0445 \u0443\u0431\u043E\u0440\u043E\u0432 \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u0435\u0445 \u0432 \u0438\u0445 \u0440\u0430\u0431\u043E\u0442\u0435.',tooltipPosition:"top-start"})]}),W,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0440\u044F\u0434 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{selected:P,width:"90px",textAlign:"left",content:P?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function U(){return v("toggle_ui_charge")}return U}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u0430\u0440\u044F\u0434 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430.",tooltipPosition:"top-start"})]}),j]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,mt:-1.3,mb:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",textAlign:"center",content:R,backgroundColor:L,tooltip:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0432 \u043D\u0451\u043C \u0437\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445. \n\u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u0441\u0442\u044E\u043C \u0431\u0443\u0434\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u044F\u0435\u0442 \u0437\u0430\u0440\u044F\u0434 \u0434\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0438 \u043C\u043E\u0434\u0443\u043B\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043D\u0435\u043B\u044C\u0437\u044F \u0441\u043D\u044F\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C, \u043F\u043E\u043A\u0430 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u043E\u0432\u043D\u043E \u043A\u0430\u043A \u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438. \u041F\u043E\u0434\u0443\u043C\u0430\u0439\u0442\u0435 \u0434\u0432\u0430\u0436\u0434\u044B \u043F\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043C \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0435\u0433\u043E \u043D\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u0438 \u0432\u0440\u0430\u0433\u0430!",tooltipPosition:"top-start",onClick:function(){function U(){return v("initialise_suit")}return U}()})})]})})},c=function(i,C){var V=(0,a.useBackend)(C),v=V.data,p=v.actionsIcon;return(0,e.createComponentVNode)(2,t.Section,{m:"0",title:"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041C\u043E\u043B\u043E\u0434\u044B\u043C \u0443\u0431\u0438\u0439\u0446\u0430\u043C \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u043B\u0435\u0433\u043A\u043E \u043E\u0441\u0432\u043E\u0438\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435\u0432\u044B\u0445 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445, \u0434\u0430\u0436\u0435 \u043F\u043E\u0441\u043B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u044B\u0445 \u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043E\u043A. \n\u042D\u0442\u043E\u0442 \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0441\u043E\u0432\u0435\u0442\u0430\u043C\u0438 \u043F\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0447\u0430\u0441\u0442\u043E \u0432\u043E\u0437\u043D\u0438\u043A\u0430\u044E\u0449\u0438\u043C \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u043A\u0430\u0441\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0445 \u043C\u0438\u0441\u0441\u0438\u0439 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u043C \u0432\u044B\u0434\u0430\u0434\u0443\u0442 \u0438\u043B\u0438 \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u043E \u043C\u0430\u043B\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0431\u0435\u0440\u043D\u0443\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ninja_teleport",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u0438 \u0448\u0430\u0442\u0442\u043B",content:"\u0412 \u0432\u0430\u0448\u0435\u043C \u0414\u043E\u0434\u0437\u0451 \u0435\u0441\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0438 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0422\u043E\u0447\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0430\u044F, \u043D\u043E \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0438\u0434\u0451\u0442 \u043D\u0430 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0442\u043E\u043D\u043D\u0435\u043B\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u043C\u0430\u043B\u043E\u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u044B\u0435 \u043C\u0435\u0441\u0442\u0430. \n\u042D\u0442\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u044B\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0440\u0438\u0441\u0442\u0443\u043F\u0438\u0442\u044C \u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \n\u041F\u043E\u043B\u044C\u0437\u0443\u044F\u0441\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440\u043E\u043C \u0448\u0430\u0442\u0442\u043B\u0430, \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u043A \u0441\u0435\u0431\u0435 \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434. \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B \u0440\u0435\u0448\u0438\u0442\u0435 \u043F\u043E\u043B\u0435\u0442\u0435\u0442\u044C \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C \u0432\u0430\u043C, \u0447\u0442\u043E \u0432\u043E \u0438\u0437\u0431\u0435\u0436\u0430\u043D\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043A\u0440\u0430\u0436\u0438 \u0448\u0430\u0442\u0442\u043B\u0430 \u0438 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443 \u043F\u043E\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0445 \u043B\u0438\u0446, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043F\u0440\u0430\u043A\u0442\u0438\u043A\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"headset_green",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A",content:"\u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0438 \u043E\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u043E\u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u0430 \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0439, \u043D\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0438. \u0412 \u043D\u0435\u0433\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0431\u043E\u0440\u0433\u043E\u043C \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0447\u043B\u0435\u043D\u0430\u043C\u0438 \u043A\u043B\u0430\u043D\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043E\u043D \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438 \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043B\u0443\u0448\u043A\u0438 \u0438/\u0438\u043B\u0438 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043A\u0430\u043D\u0430\u043B\u044B \u0438\u0445 \u043A\u043B\u044E\u0447\u0435\u0439. \u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u043D\u0430\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0432\u0430\u043C \u043C\u0435\u0441\u0442\u043D\u044B\u0435 \u043A\u0430\u043D\u0430\u043B\u044B \u0441\u0432\u044F\u0437\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438- \u0447\u0435\u0441\u043A\u0438 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442 \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u0441\u0438\u0433\u043D\u0430\u043B\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C\u044B\u0435 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u043A\u0430\u043C\u0438 \u043F\u0440\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043E\u043C. \u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044F \u0432\u0430\u043C \u0441\u0430\u043C\u0438\u043C \u043E\u0431\u0449\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0438\u043C\u0438.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ninja_sleeper",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0445\u0438\u0449\u0435\u043D\u0438\u0435 \u044D\u043A\u0438\u043F\u0430\u0436\u0430",content:"\u041F\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u043D\u0443 \u043D\u0443\u0436\u043D\u044B \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0431\u043B\u0430\u0434\u0430\u0442\u044C \u043B\u044E\u0434\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0435 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0412 \u0442\u0430\u043A\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u0430\u043C \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0441\u043E\u0431\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0443\u0436\u043E\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430. \u0414\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u0430\u043C \u043D\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044F \u043D\u0430\u0439\u0442\u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0432\u0441\u0435\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0431\u0440\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u043E \u043A\u0440\u0443\u043F\u0438\u0446\u0430\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \n\u0414\u043B\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0445\u0438- \u0442\u0438\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \u0423 \u0432\u0430\u0441 \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435 \u0435\u0441\u0442\u044C \u0441\u043A\u0430\u0444\u0430\u043D\u0434\u0440\u044B, \u0430 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0437\u0430\u043F\u0430\u0441 \u043D\u0430- \u0440\u0443\u0447\u043D\u0438\u043A\u043E\u0432, \u043A\u0438\u0441\u043B\u043E\u0440\u043E\u0434\u0430 \u0438 \u0431\u0430\u043B\u043B\u043E- \u043D\u043E\u0432. \n\u0422\u0430\u043A \u0436\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u043B\u044E\u0434\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0438\u043C\u043F\u0443\u043B\u044C\u0441, \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0441\u0442\u0430\u043D\u044F \u0438\u0445 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. ",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ai_face",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0418\u0418",content:"\u0418\u043D\u043E\u0433\u0434\u0430 \u0443 \u043D\u0430\u0441 \u0437\u0430\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u0441\u0430\u0431\u043E- \u0442\u0430\u0436 \u0418\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u042D\u0442\u043E \u043F\u0440\u043E- \u0446\u0435\u0441\u0441 \u0441\u043B\u043E\u0436\u043D\u044B\u0439 \u0438 \u0442\u0440\u0435\u0431\u0443\u044E\u0449\u0438\u0439 \u043E\u0442 \u043D\u0430\u0441 \u043E\u0441\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0438. \n\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u043D\u043E\u043C \u043C\u0435\u0442\u043E\u0434 \u044D\u0442\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u044F\u0437\u0432\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0440\u044F\u043C\u043E \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043A\u043E\u043D\u043E\u0432 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0435\u0439 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0418\u0418 \u0438\u0437 \u0441\u0442\u0440\u043E\u044F. \u0412 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043C\u044B \u043C\u043E\u0436\u0435\u043C \u043B\u0435\u0433\u043A\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0418\u0418 \u0430\u0431\u0441\u0443\u0440\u0434\u043D\u044B\u043C\u0438 \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u043D\u043E \u044D\u0442\u043E \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441 \u0432 \u0442\u043E\u043C \u043F\u043B\u0430\u043D\u0435, \u0447\u0442\u043E \u0434\u043B\u044F \u0432\u0437\u043B\u043E\u043C\u0430 \u0432 \u0438\u0442\u043E\u0433\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0432 \u0441\u0430\u043C\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439. \u0422\u0430\u043A \u0436\u0435 \u0432\u0437\u043B\u043E\u043C \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435\u043B\u0451\u0433\u043A\u0430\u044F - \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u0435\u0441\u0442\u044C \u0432\u0435\u0437\u0434\u0435. \u0410 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F. \u041D\u0435 \u0443\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435\u0441\u044C \u0435\u0441\u043B\u0438 \u0418\u0418 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442- \u0432\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0438\u043C \u043F\u043E\u043F\u044B\u0442\u043A\u0430\u043C \u0435\u0433\u043E \u0441\u043B\u043E\u043C\u0430\u0442\u044C.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"ninja_borg",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0440\u043E\u0431\u043E\u0442\u043E\u0432",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044F \u0432\u0430\u0448\u0438 \u0448\u0430\u043D\u0441\u044B \u043D\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043C\u0438\u0441\u0441\u0438\u0438 \u0434\u043B\u044F \u0438\u0445 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445, \u0447\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u0440\u043E\u0431\u043E\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u0446\u0435\u043B\u0435\u0439, \u043C\u044B \u0434\u0430\u0451\u043C \u0432\u0430\u043C \u043E\u0441\u043E\u0431\u044B\u0439 "\u0423\u043B\u0443\u0447\u0448\u0430\u044E\u0449\u0438\u0439" \u0438\u0445 \u043F\u0440\u0438\u0431\u043E\u0440, \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0432 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438. \n\u041F\u0440\u0438 \u0432\u0437\u043B\u043E\u043C\u0435 \u043A\u0438\u0431\u043E\u0440\u0433\u0430 \u0442\u0430\u043A\u0438\u043C \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u043C(\u0412\u0437\u043B\u043E\u043C \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F) \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043B\u043E\u044F\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043B\u0430\u043D\u0443 \u0438 \u0432\u0430\u043C \u043B\u0438\u0447\u043D\u043E \u0441\u043B\u0443\u0433\u0443 \u0441\u043F\u043E\u0441\u043E\u0431- \u043D\u043E\u0433\u043E \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043A\u0430\u043A \u0432 \u0441\u0430\u0431\u043E\u0442\u0430\u0436\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0442\u0430\u043A \u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u043B\u0435\u0447\u0435\u043D\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0440\u043E\u0431\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u043D\u0430\u0449\u0451\u043D \u043B\u0438\u0447\u043D\u043E\u0439 \u043A\u0430\u0442\u0430\u043D\u043E\u0439, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043A\u0438, \u043F\u0438\u043D\u043F\u043E\u0438\u043D\u0442\u0435\u0440\u043E\u043C \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u043C \u0435\u043C\u0443 \u043D\u0430 \u0432\u0430\u0441 \u0438 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u043E\u0432. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u043A\u0430\u0442\u0430\u043D\u0430 \u0440\u043E\u0431\u043E\u0442\u0430 \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u0435\u0433\u043E \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0442\u0440\u0430\u043D\u0441\u043B\u043E\u043A\u0430\u0446\u0438\u044E!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"server",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",content:"\u041D\u0430 \u043D\u0430\u0443\u0447\u043D\u044B\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044C \u0441\u0432\u043E\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0447\u0451\u043D\u044B\u0445 \u0438 \u043C\u043D\u043E- \u0436\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u0438\u0445\u043E- \u0434\u0438\u0442\u0441\u044F \u0433\u0434\u0435 \u0442\u043E \u0445\u0440\u0430\u043D\u0438\u0442\u044C. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u044B\u0441\u0442\u0443- \u043F\u0430\u044E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0410 \u043A\u0430\u043A \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0447\u043D\u043E \u0433\u0440\u044B\u0437\u0443\u0442\u0441\u044F \u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u044F. \u0427\u0442\u043E \u043D\u0430\u043C \u043D\u0430 \u0440\u0443\u043A\u0443. \n\u041C\u044B \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0438\u0440\u0443\u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043F\u0438\u0441\u0430\u043D \u043D\u0430 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0441\u0441\u0438\u0435\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0440\u043E\u0434\u0430. \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043B\u0438\u0448\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0433\u043E \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043D\u0430 \u0438\u0445 \u043D\u0430\u0443\u0447\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u0441\u0435 \u0438\u0445 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0431\u0443\u0434\u0443\u0442 \u0443\u0442\u0435\u0440\u044F\u043D\u044B. \n\u041D\u043E \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0432\u0438\u0440\u0443\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u043C\u043D\u043E\u0433\u0438\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0434\u0440\u0435\u043C\u043B\u044E\u0442. \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u043E \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u043F\u044B\u0442\u043A\u0435 \u0432\u0437\u043B\u043E\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0451\u043D \u043C\u0435\u0441\u0442\u043D\u044B\u0439 \u0418\u0418. \u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u044D\u0442\u043E\u043C\u0443.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"buckler",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0417\u0430\u0449\u0438\u0442\u0430 \u0446\u0435\u043B\u0438",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u0431\u043E\u0433\u0430\u0442\u044B\u0435 \u0448\u0438\u0448\u043A\u0438 \u043F\u043B\u0430\u0442\u044F\u0442 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438 \u0437\u0430\u0449\u0438\u0442\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. \u0415\u0441\u043B\u0438 \u0432\u0430\u043C \u0434\u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0442\u0430\u043A\u0430\u044F \u0446\u0435\u043B\u044C \u043F\u043E\u043C\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435: \n * \u0417\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043E\u0431\u044F\u0437\u0430\u043D \u0434\u043E\u0436\u0438\u0442\u044C \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0441\u043C\u0435\u043D\u044B! \n * \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043D\u0435 \u0437\u043D\u0430\u0435\u0442 \u043E \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435. \u0418 \u043B\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437\u043D\u0430\u043B! \n * \u041D\u0435 \u0432\u0430\u0436\u043D\u043E \u043A\u0442\u043E \u0438\u043B\u0438 \u0447\u0442\u043E \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u043D\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0437\u0430\u0449\u0438\u0442\u043D\u043E\u0433\u043E, \u043D\u043E \u0434\u043B\u044F \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0433\u0434\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u043C\u0438\u0441\u0441\u0438\u044F \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043D\u0435\u0436\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u043B\u0438\u0446\u043E. \u041D\u0435 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0431\u044F \u0431\u0435\u0437 \u043D\u0443\u0436\u0434\u044B, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u0441\u0435\u0431\u0435 \u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0443 \u0438 \u043D\u0430 \u0432\u0430\u0441 \u0441\u0430\u043C\u0438\u0445 \u043D\u0435 \u0432\u0435\u043B\u0438 \u043E\u0445\u043E\u0442\u0443! \n\u0422\u0430\u043A \u0436\u0435 \u043C\u044B \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u043A\u043B\u0430\u043D \u043D\u0435 \u043E\u0434\u043E\u0431\u0440\u044F\u0435\u0442 \u0432\u0430\u0440\u0432\u0430\u0440\u0441\u043A\u0438\u0435 \u043C\u0435\u0442\u043E\u0434\u044B "\u0417\u0430\u0449\u0438\u0442\u044B" \u0446\u0435\u043B\u0438. \u041D\u0435\u0442 \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0430\u0434\u0438\u0442\u044C \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0432 \u043A\u043B\u0435\u0442\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438\u0442\u044C \u0437\u0430 \u043D\u0438\u043C \u0442\u0430\u043C! \u041D\u0435 \u043F\u043E\u0440\u0442\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u0440\u0435\u043F\u0443\u0442\u0430\u0446\u0438\u044E \u0432 \u0433\u043B\u0430\u0437\u0430\u0445 \u043D\u0430\u0448\u0438\u0445 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"cash",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041A\u0440\u0430\u0436\u0430 \u0434\u0435\u043D\u0435\u0433",content:"\u041A\u0430\u043A \u0431\u044B \u044D\u0442\u043E \u043D\u0435 \u0431\u044B\u043B\u043E \u0442\u0440\u0438\u0432\u0438\u0430\u043B\u044C\u043D\u043E. \u0418\u043D\u043E\u0433\u0434\u0430 \u043A\u043B\u0430\u043D \u043D\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044F \u0432 \u0434\u0435\u043D\u044C- \u0433\u0430\u0445. \u0418\u043B\u0438 \u0434\u0430\u0436\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0432\u044B \u0437\u0430\u0434\u043E\u043B\u0436\u0430\u043B\u0438 \u043D\u0430\u043C. \u0412 \u0442\u0430\u043A\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u043C\u044B \u0441\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0434\u0430\u0434\u0438\u043C \u0432\u0430\u043C \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u043D\u0430\u0441 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \n\u0414\u043B\u044F \u0432\u0430\u0441 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435 \u0442\u0440\u0443\u0434\u043D\u0430\u044F, \u043D\u043E \u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0442\u0440\u0430\u0442\u043D\u0430\u044F. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0430\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B\u0445 \u043A\u0430\u0440\u043C\u0430\u043D\u043D\u044B\u0445 \u043A\u0440\u0430\u0436. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0440\u0430\u0436\u0438 \u0447\u0443\u0436\u0438\u0445 \u043A\u0430\u0440\u0442 \u0438 \u043E\u0431\u043D\u0430\u043B\u0438\u0447\u0438- \u0432\u0430\u043D\u0438\u044F \u0438\u0445 \u0441\u0447\u0435\u0442\u043E\u0432. \u041B\u0438\u0431\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u043C\u0435\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435 \u0438 \u043E\u0433\u0440\u0430\u0431\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0438\u043B\u0438 \u0441\u0447\u0435\u0442\u0430 \u0441\u0430\u043C\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435. \u0414\u043E\u0441\u0442\u0430\u043D\u044C\u0442\u0435 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438!",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"handcuff",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430",content:"\u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044F\u0445 \u0447\u0443\u0436\u043E\u0439 \u043F\u043E\u0437\u043E\u0440 \u0434\u043B\u044F \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u0435\u0435 \u0447\u0435\u043C \u0441\u043C\u0435\u0440\u0442\u044C. \u0412 \u0442\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0432\u0430\u043C \u043F\u0440\u0438\u0439\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u044F\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0430\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0438 \u0434\u043E\u0431\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0432\u0430\u0448\u0443 \u0436\u0435\u0440\u0442\u0432\u0443 \u043F\u043E \u0437\u0430\u043A\u043E\u043D\u043D\u044B\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F\u043C \u0443\u043F\u0435\u043A\u043B\u0438 \u0437\u0430 \u0440\u0435\u0448\u0451\u0442\u043A\u0443 \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435 \u0447\u0442\u043E\u0431\u044B \u0432 \u043A\u0440\u0438\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0446\u0435\u043B\u0438 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441\u043B\u0435\u0434. \u041D\u043E \u0432 \u0442\u043E \u0436\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u0438\u0439\u0442\u0438 \u0438 \u0432\u043F\u0438\u0441\u0430\u0442\u044C \u0446\u0435\u043B\u0438 \u0441\u0440\u043E\u043A \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 - \u043D\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u043C\u0435\u0442\u043E\u0434. \u0426\u0435\u043B\u044C \u043B\u0435\u0433\u043A\u043E \u043E\u043F\u0440\u0430\u0432\u0434\u0430\u044E\u0442 \u0432 \u0441\u0443\u0434\u0435, \u0447\u0442\u043E \u043D\u0435 \u0443\u0441\u0442\u0440\u043E\u0438\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \n \u0423 \u0432\u0430\u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u043B\u0438\u0447\u0438\u043D\u043E\u0439 \u0446\u0435\u043B\u0438. \u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438\u0441\u044C \u0431\u0435\u0437 \u0441\u043B\u0438\u0448- \u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u043F\u043E\u0441\u043B\u0435\u0434\u0441\u0442\u0432\u0438\u0439. \u041B\u0438\u0448\u043D\u044F\u044F \u0434\u044B\u0440\u0430 \u0432 \u043E\u0431\u0448\u0438\u0432\u043A\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u0442\u0440\u0443\u043F\u044B - \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0442 \u0448\u0430\u043D\u0441\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"spider_charge",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0440\u044B\u0432 \u043E\u0442\u0434\u0435\u043B\u0430",content:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0434\u043E\u0431\u0440\u044B\u0435 \u0431\u043E\u043C\u0431\u044B. \u042D\u0444\u0444\u0435\u043A- \u0442\u0438\u0432\u043D\u044B\u0435 \u043E\u0440\u0443\u0434\u0438\u044F \u0443\u043D\u0438\u0447\u0442\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0441\u0435\u0433\u043E \u0436\u0438\u0432\u043E\u0433\u043E \u0438 \u043D\u0435\u0436\u0438\u0432\u043E\u0433\u043E \u0432 \u0431\u043E\u043B\u044C\u0448\u043E\u043C \u0440\u0430\u0434\u0438\u0443\u0441\u0435. \u041A\u043E\u0433\u0434\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u044B \u043F\u0440\u043E\u0441\u044F\u0442 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u043E\u0431\u044C\u0435\u043A\u0442, \u043E\u043D\u0438 \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u044E\u0442 \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0434\u043E\u0440\u043E\u0433\u043E \u0441\u0442\u043E\u0438\u0442 \u0442\u0430\u043A\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u041D\u043E \u0440\u0435\u0434\u043A\u043E \u0433\u043E\u0442\u043E\u0432\u044B \u0441\u0434\u0430\u0442\u044C\u0441\u044F. \u041A\u0430\u043A \u0440\u0430\u0437 \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043C\u043D\u043E\u0433\u0438\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B \u043D\u0430 \u043F\u043E\u0434\u0440\u044B\u0432 \u043E\u0434\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0438\u043B\u0438 \u043E\u0442\u0434\u0435\u043B\u0430. \n\u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u043F\u043E\u0441\u043B\u0435 \u0432\u0437\u0440\u044B\u0432\u0430 \u043D\u0430 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044C \u043E\u0445\u043E\u0442\u0430. \n \u041D\u0430\u0448\u0438 \u0431\u043E\u043C\u0431\u044B \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0438\u0437\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u044B \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u0435\u043B\u044F\u043C\u0438. \u041D\u0438\u043A\u0442\u043E \u043A\u0440\u043E\u043C\u0435 \u0432\u0430\u0441 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0445 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u043B\u0438\u0448\u044C \u0432 \u0437\u043E\u043D\u0435 \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0441\u0440\u0430\u0437\u0443 \u0431\u0435\u0436\u0430\u0442\u044C \u043F\u043E\u0434\u0430\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u043B\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438. \u0425\u043E\u0442\u044F \u044D\u0442\u043E \u0438 \u0442\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0434\u043B\u044F \u0432\u0430\u0441 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"BSM",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u0440\u043E\u0432\u0438",content:'"\u0417\u043D\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0432\u0440\u0430\u0433\u0430" - \u043F\u0440\u043E\u0441\u0442\u0430\u044F \u0438\u0441\u0442\u0438\u043D\u0430. \n\u0417\u0430 \u0433\u043E\u0434\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u043D\u0430 \u043C\u044B \u0438\u0437\u0443\u0447\u0438\u043B\u0438 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0442\u0432\u0430\u0440\u0435\u0439. \u0418 \u0434\u043E \u0441\u0438\u0445 \u043F\u043E\u0440 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u043C \u0438\u0437\u0443\u0447\u0435\u043D\u0438\u0435 \u043D\u0435\u043A\u043E- \u0442\u043E\u0440\u044B\u0445. \u0410 \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E, \u0447\u0442\u043E \u0438\u0437\u0443\u0447\u0430\u0442\u044C, \u043D\u0443\u0436\u043D\u043E \u0434\u043E\u0431\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B. \u041A\u0440\u043E\u0432\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u0430\u043C\u044B\u0445 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u043D\u0430\u0448\u0438\u043C \u0443\u0447\u0451\u043D\u044B\u043C. \n\u0418\u043C\u0435\u044E\u0449\u0430\u044F\u0441\u044F \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0446\u0435\u043D\u0442\u0440\u0438\u0444\u0443\u0433\u0430 \u0434\u043B\u044F \u043A\u0440\u043E\u0432\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0440\u043E\u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u043D\u0435 \u043F\u043E\u0432\u0440\u0435\u0434\u0438\u0432 \u0438\u0445 \u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043D\u0430\u043C. \n\u0414\u043B\u044F \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u0440\u043E\u0432\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C 3 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0431\u0440\u0430\u0437\u0446\u0430. \u0418 \u043F\u043E\u043C\u0435- \u0441\u0442\u0438\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u043E\u0431\u0438\u0440\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0442\u043E\u043C \u043D\u0430\u0434\u043E \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E. \n\u041F\u0440\u0438\u043C\u0435\u0441\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"changeling",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0413\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u044B",content:"\u0427\u0435\u0440\u0432\u0438 \u0432\u043E\u0437\u043E\u043C\u043D\u0438\u0432\u0448\u0438\u0435 \u0441\u0435\u0431\u044F \u0432\u044B\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u043E\u0432 \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0443\u043C\u0435\u044E\u0442 \u043A\u0440\u0430\u0441\u0442\u044C \u0433\u0435\u043D\u044B \u0438 \u0438\u043C\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445. \n\u0421\u0432\u043E\u0438\u043C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043E\u043D\u0438 \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0440\u043E\u0431- \u043B\u0435\u043C, \u0447\u0435\u043C \u043F\u043E\u043B\u044C\u0437\u044B. \n\u042D\u0442\u0438 \u0442\u0432\u0430\u0440\u0438 \u0441\u0442\u043E\u043B\u044C \u0436\u0435 \u0445\u0438\u0442\u0440\u044B \u0441\u043A\u043E\u043B\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u044B. \u041D\u0435 \u0434\u043E\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441 \u043D\u0438\u043C\u0438 \u043D\u0438 \u043E \u0447\u0451\u043C! \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0436\u0435 \u043D\u0430\u043C \u0441\u043B\u043E\u0436\u043D\u043E \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u043D\u0435 \u0437\u0430\u043F\u0438\u0445- \u043D\u0443\u0432 \u0435\u0433\u043E \u0432 \u043B\u0430\u0431\u043E\u0440\u0430\u0442\u043E\u0440\u0438\u044E \u0438 \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u044F \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0442\u0435\u0441\u0442\u043E\u0432. \u041D\u043E \u043E\u043D\u0438 \u0438\u043D\u043E\u0433\u0434\u0430 \u0432\u044B\u0434\u0430\u044E\u0442 \u0441\u0435\u0431\u044F \u0441\u0432\u043E\u0438\u043C\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438. \u0418 \u0442\u0430\u043A \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043B\u043E\u0436\u0430\u0442\u0441\u044F \u043D\u0430 \u0434\u043D\u043E \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u0427\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0438\u0445 \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0434\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u043E\u043F\u043B\u044F\u0441\u0430\u0442\u044C, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0432\u044B\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0430 \u0441\u0446\u0435\u043D\u0443. \u0418 \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043B\u0443\u0448\u0430\u0439\u0442\u0435 \u0440\u0430\u0434\u0438\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043C\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0445\u0440\u0430\u043D\u0430 \u0443\u0436\u0435 \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u0437\u0430 \u043E\u0434\u043D\u0438\u043C \u0438\u0437 \u043D\u0438\u0445. \n\u041D\u0438\u043A\u0442\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432 \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u043E \u043F\u043E\u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u043C \u0441 \u044D\u0442\u0438\u043C...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"vampire",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u043C\u043F\u0438\u0440\u044B",content:"\u0414\u0435\u0448\u0451\u0432\u044B\u0435 \u0440\u043E\u043C\u0430\u043D\u044B, \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0438 \u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u043E\u0448\u043B\u043E\u0433\u043E \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u043B\u0438 \u0432\u0430\u043C\u043F\u0438\u0440\u043E\u0432 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A\u043E\u0432 \u043F\u044C\u044E\u0449\u0438\u0445 \u043A\u0440\u043E\u0432\u044C \u043B\u044E\u0434\u0435\u0439 \u0432 \u043D\u043E\u0447\u0438 \u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E- \u0449\u0438\u0445 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E- \u0441\u0442\u044F\u043C\u0438. \u0418\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u043D\u0435\u0435 \u0440\u043E\u043C\u0430\u043D\u0442\u0438\u0447\u043D\u044B... \n\u041C\u044B \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435, \u043D\u043E \u043D\u0430\u0448\u0438 \u043F\u043E\u0434\u043E\u0437\u0440\u0435- \u043D\u0438\u044F \u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435 \u043D\u0435\u043A\u043E\u0439 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438. \u0422\u0430\u043A \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435, \u0434\u043E \u0442\u0435\u0445 \u043F\u043E\u0440 \u043F\u043E\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440 \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0443\u0433\u0440\u043E\u0436\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043D\u0438. \u0412\u044B \u0432\u043E\u043B\u044C\u043D\u044B \u0435\u0433\u043E \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C. \n\u0412\u0430\u043C\u043F\u0438\u0440\u044B \u043E\u0447\u0435\u043D\u044C \u043E\u043F\u0430\u0441\u043D\u044B \u0432 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u043E\u043D\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u0432\u0437\u0433\u043B\u044F\u0434\u043E\u043C \u0438 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0430\u0442\u044C \u0440\u0430\u0437\u0443\u043C \u0441\u0432\u043E\u0438\u0445 \u0436\u0435\u0440\u0442\u0432. \u041D\u0435 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0438\u043C, \u043D\u043E \u0442\u0430\u043A \u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u0435 - \u043E\u043D\u0438 \u043B\u0438\u0448\u044C \u0436\u0435\u0440\u0442\u0432\u044B \u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u0441\u0442\u0432. \u0418 \u044D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"32px",width:"32px",icon:p,icon_state:"syndicate",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442",content:"\u041D\u0430\u0448\u0438 \u0445\u043E\u0440\u043E\u0448\u0438\u0435 \u0437\u043D\u0430\u043A\u043E\u043C\u044B\u0435. \u0421\u0431\u043E\u0440\u0438\u0449\u0435 \u043C\u043E\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0444\u0438\u0433\u0443\u0440 \u0432 \u043F\u043E\u0434\u043F\u043E\u043B\u044C\u043D\u043E\u043C \u043C\u0438\u0440\u0435 \u0441 \u0437\u0430\u043A\u0440\u044B\u0442\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0430 \u043E \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043C\u0430\u043B\u043E... \n\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u043E\u0432. \u041D\u043E \u0441\u0430\u043C\u043E\u0439 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E\u0439, \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u043A\u0442\u043E \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0445 \u0438\u0437\u0443\u0447\u0438\u0442, \u0447\u0435\u0440\u0442\u043E\u0439 \u044D\u0442\u043E\u0439 \u0433\u0440\u0443\u043F\u043F\u044B - \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043E\u0433\u0440\u043E\u043C\u043D\u0430\u044F \u043D\u0435\u043D\u0430\u0432\u0438\u0441\u0442\u044C \u043A \u041D\u0422. \n\u0412 \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 \u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043D\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0430. \n\u0415\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u043C\u0435\u0448\u0430\u044E\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u041C\u044B \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u043C \u0438\u043C.",position:"bottom-start"})]})]})})})},u=function(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data,g=p.actionsIcon,N=p.blocked_TGUI_rows,x=[{blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"}];return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u0414\u0435\u043B\u044F\u0442\u0441\u044F \u043D\u0430 3 \u0440\u0430\u0437\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0418\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u0439 \u043F\u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044E \u0440\u0430\u0431\u043E\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F, \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0443\u043B\u0435\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0443\u0440\u043E\u0432\u043D\u044F \u0438\u0437 \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432",tooltipPosition:"bottom"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",alignContent:"center",ml:1.5,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{width:"100%",title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",ml:"0px",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u0440\u0435\u0434\u0438 \u0432\u0440\u0430\u0433\u043E\u0432, \u043D\u0430\u043F\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u0437 \u0442\u0435\u043D\u0438 \u0438 \u0431\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0440\u0438\u043C\u043E\u0439 \u0443\u0433\u0440\u043E\u0437\u043E\u0439, \u0432\u0441\u0451 \u0434\u043B\u044F \u0442\u043E\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u043D\u0438\u043A\u0442\u043E \u043D\u0435 \u0443\u0437\u043D\u0430\u043B! \u0411\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B \u043A\u0430\u043A \u043F\u0440\u0438\u0437\u0440\u0430\u043A!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(53, 94, 163, 0.8)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return v("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"smoke",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0414\u042B\u041C\u041E\u0412\u0410\u042F \u0417\u0410\u0412\u0415\u0421\u0410",content:"\u0412\u044B \u0441\u043E\u0437\u0434\u0430\u0451\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0443\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432. \n\u042D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0432\u0438\u0437\u043E\u0440\u043E\u043C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0442\u0435\u0440\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0441\u043A\u0430\u043D\u0435\u0440\u0430. \n\u0410 \u0442\u0430\u043A \u0436\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043C\u043E\u0434\u0443\u043B\u044F\u043C\u0438 \u0435\u0441\u043B\u0438 \u0432\u044B \u0442\u043E\u0433\u043E \u043F\u043E\u0436\u0435\u043B\u0430\u0435\u0442\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 250 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return v("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"ninja_cloak",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041D\u0415\u0412\u0418\u0414\u0418\u041C\u041E\u0421\u0422\u042C",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0441\u043A\u0440\u044B\u0432\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0441 \u0438\u0437 \u0432\u0438\u0434\u0443 \u0438 \u043F\u0440\u0438\u0433\u043B\u0443\u0448\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0448\u0438 \u0448\u0430\u0433\u0438. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \u0425\u043E\u0442\u044C \u043F\u043E\u043B\u0435 \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E, \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0443\u0431\u0438\u0439\u0446\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0445\u043B\u0430\u0434\u043D\u043E\u043A\u0440\u043E\u0432\u0435\u043D. \n\u041D\u0435 \u0441\u0442\u043E\u0438\u0442 \u043D\u0435\u0434\u043E\u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u0445 \u043B\u044E\u0434\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 15 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return v("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"ninja_clones",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u041A\u041B\u041E\u041D\u042B",content:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0443\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043C\u043E\u0447\u044C \u0432 \u0431\u0438\u0442\u0432\u0435 \u0438 \u0434\u0435\u0437\u043E\u0440\u0438\u0435\u043D\u0442\u0438- \u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u0430 \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u0441\u043C\u0435\u0449\u0430\u0435\u0442 \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0438\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043F\u0430\u0440\u044B \u043C\u0435\u0442\u0440\u043E\u0432. \n\u041F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435\u0441\u044C \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E. \u0421\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0435 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0435\u0440\u0435\u0442\u044C \u0432\u0430\u0441 \u0437\u0430 4-\u043C\u044F \u0441\u0442\u0435\u043D\u0430\u043C\u0438. \u0411\u0443\u0434\u044C\u0442\u0435 \u043A \u044D\u0442\u043E\u043C\u0443 \u0433\u043E\u0442\u043E\u0432\u044B. \n\u041A\u043B\u043E\u043D\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 20 \u0441\u0435\u043A\u0443\u043D\u0434. \u041A\u043B\u043E\u043D\u044B \u0438\u043C\u0435\u044E\u0442 \u0448\u0430\u043D\u0441 \u0440\u0430\u0437\u043C\u043D\u043E\u0436\u0438\u0442\u0441\u044F \u0430\u0442\u0430\u043A\u0443\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 8 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return v("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"chameleon",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0425\u0410\u041C\u0415\u041B\u0415\u041E\u041D",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u0433\u043E\u043B\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435 \u0438\u0441\u043A\u0430\u0436\u0430\u044E\u0449\u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0438 \u0441\u043B\u0443\u0445\u043E\u0432\u043E\u0435 \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432. \n\u0412\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u0438\u0434\u0435\u0442\u044C \u0438 \u0441\u043B\u044B\u0448\u0430\u0442\u044C \u043A\u0430\u043A \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C. \n\u042D\u0442\u043E \u0434\u0430\u0451\u0442 \u0432\u0430\u043C \u043E\u0433\u0440\u043E\u043C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u0442\u043E\u0440 \u043F\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044E \u0438 \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044D\u043A\u0438\u043F\u0430\u0436\u0430. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0445\u0430\u043C\u0435\u043B\u0435\u043E\u043D \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: \u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return v("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"ninja_spirit_form",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0424\u041E\u0420\u041C\u0410 \u0414\u0423\u0425\u0410",content:"\u0412\u044B \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u043D\u0430 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u043F\u043E\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u044D\u0442\u043E\u0439 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438. \n\u0414\u0435\u043B\u0430\u044F \u0432\u0430\u0448\u0435 \u0442\u0435\u043B\u043E \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u044D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u0440\u0443\u0435\u0442 \u0432\u0430\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0441\u043A\u0432\u043E\u0437\u044C \u0441\u0442\u0435\u043D\u044B. \n\u042D\u0442\u0430 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0443\u044F\u0437\u0432\u0438\u043C\u044B\u043C \u0434\u043B\u044F \u043F\u0443\u043B\u044C \u0438 \u043B\u0435\u0437\u0432\u0438\u0439! \n\u041D\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u0441\u043D\u044F\u0442\u044C \u0441 \u0441\u0435\u0431\u044F \u043D\u0430\u0440\u0443\u0447\u043D\u0438\u043A\u0438, \u0431\u043E\u043B\u044B \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B\u043B\u0435\u0437\u0442\u0438 \u0438\u0437 \u0433\u0440\u043E\u0431\u0430 \u0438\u043B\u0438 \u044F\u0449\u0438\u043A\u0430, \u043E\u043A\u0430\u0436\u0438\u0441\u044C \u0432\u044B \u0442\u0430\u043C \u0437\u0430\u043F\u0435\u0440\u0442\u044B... \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u0444\u043E\u0440\u043C\u0430 \u0434\u0443\u0445\u0430 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438! \u041F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043E\u0431\u044A\u0451\u043C\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 25 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{ml:"0px",width:"100%",title:"\u0417\u043C\u0435\u0439",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435! \u0422\u0440\u044E\u043A\u0438, \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0449\u0438\u0442\u044B. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C, \u0447\u0442\u043E \u0442\u0430\u043A\u043E\u0435 \u0431\u043E\u0439 \u0441 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u043C \u0443\u0431\u0438\u0439\u0446\u0435\u0439. \u0418\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0438 \u0438\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430\u0445\u043E\u0434\u044F \u0432\u044B\u0445\u043E\u0434 \u0438\u0437 \u043B\u044E\u0431\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0412\u0440\u0430\u0433\u0438 \u0432\u0441\u0435\u0433\u043E \u043B\u0438\u0448\u044C \u0433\u0440\u044B\u0437\u0443\u043D\u044B, \u0447\u044C\u0451 \u043B\u043E\u0433\u043E\u0432\u043E \u043D\u0430\u0432\u0435\u0441\u0442\u0438\u043B \u0437\u043C\u0435\u0439!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(0, 174, 208, 0.15)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return v("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"kunai",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u0422\u0420\u041E\u0415\u041D\u041D\u041E\u0415 \u0414\u0416\u041E\u0425\u042C\u0401",content:"\u0422\u0430\u043A \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u0430\u043A \u0428\u044D\u043D\u0431\u044F\u043E \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u041A\u0438\u043D\u0436\u0430\u043B \u043D\u0430 \u0446\u0435\u043F\u0438. \n\u0418\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0438 \u043F\u0440\u0438\u0442\u044F\u043D\u0443\u0442\u044C \u043A \u0441\u0435\u0431\u0435 \u0436\u0435\u0440\u0442\u0432\u0443 \u0437\u0430 \u0434\u043E\u043B\u0438 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u041E\u0440\u0443\u0436\u0438\u0435 \u043D\u0435 \u043E\u0447\u0435\u043D\u044C \u0433\u043E\u0434\u0438\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u043B\u0433\u0438\u0445 \u0431\u043E\u0451\u0432, \u043D\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u044B\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0434\u043D\u043E\u0439 \u0436\u0435\u0440\u0442\u0432\u044B - \u043D\u0430 \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0443\u0434\u0430\u0440\u0430! \n\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u0445\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0441\u0442\u0440\u0435\u043B\u044C\u0431\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 5 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return v("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"chem_injector",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0418\u0421\u0426\u0415\u041B\u042F\u042E\u0429\u0418\u0419 \u041A\u041E\u041A\u0422\u0415\u0419\u041B\u042C",content:"\u0412\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0435\u0447\u0435\u0431\u043D\u0443\u044E \u0441\u043C\u0435\u0441\u044C. \u0421\u043F\u043E\u0441\u043E\u0431\u043D\u0443\u044E \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u0434\u0430\u0436\u0435 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u0441\u0442\u0438 \u0438 \u043E\u0442\u043E\u0440\u0432\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u041F\u0440\u0435\u043F\u0430\u0440\u0430\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442- \n\u0432\u0435\u043D\u043D\u043E-\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u0434\u043E\u043A\u0441\u044B \u0438 \u043E\u0447\u0435\u043D\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0438\u0437 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0430! \n\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0435 \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043E\u043F\u0430\u0441\u043D\u044B \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 30 \u0435\u0434. \u043F\u0440\u0435\u043F\u0430\u0440\u0430\u0442\u0430 \u0432 \u0432\u0430\u0448 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C! \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u0438\u043C\u0435\u0435\u0442 3 \u0437\u0430\u0440\u044F\u0434\u0430. \u0418\u0445 \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return v("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"emergency_blink",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041A\u0421\u0422\u0420\u0415\u041D\u041D\u0410\u042F \u0422\u0415\u041B\u0415\u041F\u041E\u0420\u0422\u0410\u0426\u0418\u042F",content:"\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0443\u044E \u0437\u043E\u043D\u0443 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043E\u043A\u043E\u043B\u043E \u0434\u0432\u0443\u0445 \u0434\u0435\u0441\u044F\u0442\u043A\u043E\u0432 \u043C\u0435\u0442\u0440\u043E\u0432. \n\u0414\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043C\u043E\u0437\u0433\u043E\u0432\u044B\u0435 \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043F\u044B\u0442\u043D\u044B\u0435 \u0432\u043E\u0438\u043D\u044B \u043A\u043B\u0430\u043D\u0430, \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0451 \u0434\u0430\u0436\u0435 \u0432\u043E \u0441\u043D\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return v("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"caltrop",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E-\u0427\u0415\u0421\u041D\u041E\u041A",content:"\u0427\u0430\u0449\u0435 \u0438\u0445 \u043D\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u043E \u043A\u0430\u043B\u0442\u0440\u043E\u043F\u044B, \u0438\u0437-\u0437\u0430 \u0437\u0430\u043F\u0443\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0445 \u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0441 \u0431\u043E\u043B\u0435\u0435 \u0441\u044A\u0435\u0441\u0442\u043D\u044B\u043C \u0447\u0435\u0441\u043D\u043E\u043A\u043E\u043C. \n\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u043F\u043E\u0437\u0430\u0434\u0438 \u0432\u0430\u0441 \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043F\u0440\u0435\u0441\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043B\u043E\u0432\u0443\u0448\u043A\u0438. \n\u041B\u043E\u0432\u0443\u0448\u043A\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434. \u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043F\u0430\u0434\u0430\u044E\u0442 - \u0435\u0441\u043B\u0438 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0442\u044C. \n\u0411\u043E\u043B\u044C \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0438\u0433\u043D\u0435\u0442 \u0434\u0430\u0436\u0435 \u0440\u043E\u0431\u043E\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D- \u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u0412\u044B \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B \u043E\u0442 \u043D\u0438\u0445. \u041D\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0438 \u0436\u0435 \u043B\u043E\u0432\u0443\u0448\u043A\u0438! \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return v("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"cloning",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0422\u041E\u0420\u041E\u0419 \u0428\u0410\u041D\u0421",content:"\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u043C \u043C\u043D\u043E\u0433\u0438\u0435 \u0443\u0431\u0438\u0439\u0446\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0438\u0432\u0430\u044F \u0441\u0432\u043E\u0438 \u043C\u0438\u0441\u0441\u0438\u0438 \u0441\u043E\u0432\u0435\u0440\u0448\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430 \u0438\u043B\u0438 \u043E\u043A\u0430\u0437\u044B\u0432\u0430\u043B\u0438\u0441\u044C \u0432 \u043B\u0430\u043F\u0430\u0445 \u0432\u0440\u0430\u0433\u0430. \n\u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044C \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0434\u043E\u0440\u043E\u0433\u0430\u044F \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430. \u041C\u043E\u0449\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0432\u0430\u0441 \u043F\u0440\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441 \u0442\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430. \n\u042D\u0442\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0439 \u0448\u0430\u043D\u0441, \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0432 \u0432\u0430\u0441 \u043A \u0441\u0435\u0431\u0435 \u0438 \u0438\u0437\u043B\u0435\u0447\u0438\u0432 \u043B\u044E\u0431\u044B\u0435 \u0442\u0440\u0430\u0432\u043C\u044B. \n\u041C\u044B \u0441\u043B\u044B\u0448\u0430\u043B\u0438 \u043F\u0440\u043E \u0441\u043E\u043C\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 \u0438\u0434\u0435\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u043B\u0435\u043D\u043E\u0432 \u043A\u043B\u0430\u043D\u0430. \u041D\u043E \u0443\u0432\u0435\u0440\u044F\u0435\u043C \u0432\u0430\u0441, \u044D\u0442\u043E \u043D\u0435 \u0442\u0430\u043A. \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0438\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043D\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0438 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044E. \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u0430\u0441\u0451\u0442 \u0432\u0430\u0441 \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0440\u0438 \u0441\u043C\u0435\u0440\u0442\u0438.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{ml:"0px",width:"100%",title:"\u0421\u0442\u0430\u043B\u044C",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u042F\u0440\u043E\u0441\u0442\u044C \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C. \u0421\u0438\u043B\u0430, \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u043E\u0440\u0443\u0434\u0438\u044F \u0432\u044B\u0448\u0435 \u0438\u0445 \u043F\u043E\u043D\u0438\u043C\u0430\u043D\u0438\u044F. \u0420\u0430\u0437\u0438\u0442\u0435 \u0438\u0445 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A \u0447\u0442\u043E \u0440\u0430\u0437\u0438\u0442 \u0441\u0432\u043E\u044E \u0434\u043E\u0431\u044B\u0447\u0443. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0432\u043A\u0443\u0441 \u0441\u0442\u0430\u043B\u0438!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(80, 20, 20, 1)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return v("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"shuriken",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u0421\u042E\u0420\u0418\u041A\u0415\u041D\u042B",content:"\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043F\u0443\u0441\u043A\u043E\u0432\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043A\u0440\u044B\u0442\u043E\u0435 \u0432 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0430\u0445 \u043A\u043E\u0441\u0442\u044E\u043C\u0430. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u043F\u043E \u0442\u0440\u0438 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u0430, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u0436\u0430\u0442\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438, \u043E\u0447\u0435\u0440\u0435\u0434\u044C\u044E. \n\u0421\u044E\u0440\u0438\u043A\u0435\u043D\u044B \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u0438\u0437\u043D\u0443\u0440\u044F\u044E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0438 \u043D\u0430\u043D\u043E\u0441\u044F\u0442 \u0441\u043B\u0430\u0431\u044B\u0439 \u043E\u0436\u043E\u0433\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043B\u0435\u0442\u0430\u044E\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043A\u043B\u043E, \u043A\u0430\u043A \u0438 \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043B\u0430\u0437\u0435\u0440\u043D\u044B\u0435 \u0441\u043D\u0430\u0440\u044F\u0434\u044B. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 300 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return v("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"adrenal",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u041F\u041B\u0415\u0421\u041A \u0410\u0414\u0420\u0415\u041D\u0410\u041B\u0418\u041D\u0410",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0432\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u043C\u043E\u0449\u043D\u0443\u044E \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0443\u0441\u043A\u043E\u0440\u044F\u044E\u0449\u0443\u044E \u0432\u0430\u0441 \u0432 \u0431\u043E\u044E \u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0449\u0443\u044E \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u043A\u043B\u0435\u043C\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432. \n\u041A\u043E\u0441\u0442\u044E\u043C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442 \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0440\u0430\u043D\u0430. \u0427\u0442\u043E \u043A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0451\u0442 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u0444\u0444\u0435\u043A\u0442, \u0432 \u0432\u0438\u0434\u0435 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0434\u0438\u044F \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043E \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0443\u0440\u0430\u043D\u0430 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return v("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"emp",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E\u041C\u0410\u0413\u041D\u0418\u0422\u041D\u042B\u0419 \u0412\u0417\u0420\u042B\u0412",content:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043C\u0430\u0433\u043D\u0438\u0442\u043D\u044B\u0435 \u0432\u043E\u043B\u043D\u044B \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u044E\u0442, \u043F\u043E\u0434\u0440\u044B\u0432\u0430\u044E\u0442 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0430\u044E\u0442 - \u043A\u0438\u0431\u043E\u0440\u0433\u043E\u0432, \u0434\u0440\u043E\u043D\u043E\u0432, \u041A\u041F\u0411, \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435, \u043F\u043E\u0440\u0442\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0421\u0432\u0435\u0442\u043E\u0448\u0443\u043C\u043E\u0432\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u0432\u044F\u0437\u0438 \u0438 \u0442.\u0434. \n\u042D\u0442\u043E\u0442 \u0432\u0437\u0440\u044B\u0432 \u043C\u043E\u0436\u0435\u0442 \u043A\u0430\u043A \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0432 \u0431\u043E\u044E, \u0442\u0430\u043A \u0438 \u043D\u0435\u0432\u0435\u0440\u043E\u044F\u0442\u043D\u043E \u043D\u0430\u0432\u0440\u0435\u0434\u0438\u0442\u044C. \u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043C\u0435\u0441\u0442\u043D\u043E\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u043C. \n\u041D\u0435 \u0437\u0430\u0431\u044B\u0432\u0430\u0439\u0442\u0435 \u043E \u0437\u0430\u0449\u0438\u0449\u0430\u044E\u0449\u0435\u043C \u043E\u0442 \u0441\u0432\u0435\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u0432\u0438\u0437\u043E\u0440\u0430. \u041E\u043D \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0435 \u043E\u0441\u043B\u0435\u043F\u043D\u0443\u0442\u044C, \u043F\u0440\u0438 \u043F\u043E\u0434\u0440\u044B\u0432\u0435 \u043F\u043E\u0434\u043E\u0431\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432. \n\u0412\u0437\u0440\u044B\u0432 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 5000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 4 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return v("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"energynet",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0410\u042F \u0421\u0415\u0422\u042C",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043B\u043E\u0432\u0438\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u0432\u0430\u043C\u0438 \u0446\u0435\u043B\u044C \u0432 \u043E\u0431\u0435\u0437\u0434\u0432\u0438\u0436\u0438\u0432\u0430\u044E\u0449\u0443\u044E \u043B\u043E\u0432\u0443\u0448\u043A\u0443. \n\u0418\u0437 \u043B\u043E\u0432\u0443\u0448\u043A\u0438 \u043B\u0435\u0433\u043A\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u0441\u043B\u043E\u043C\u0430\u0432 \u0435\u0451 \u043B\u044E\u0431\u044B\u043C \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u043C. \n\u041E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0432\u0440\u0430\u0433\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u0432 \u043D\u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445 \u0438\u043B\u0438 \u043D\u0430\u0434\u043E\u0435\u0434\u043B\u0438\u0432\u044B\u0445 \u043E\u0445\u0440\u0430\u043D\u043D\u044B\u0445 \u0431\u043E\u0442\u043E\u0432. \n\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u0441\u0435\u0442\u044C \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0435 \u043E\u0442\u0441\u0442\u0440\u0435\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u0430\u0441. \n\u0422\u0430\u043A \u0436\u0435 \u0441\u0435\u0442\u044C \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u043C \u043F\u0443\u0442\u0451\u043C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u0435\u0442\u0438 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return v("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"spider_red",style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0411\u041E\u0415\u0412\u041E\u0415 \u0418\u0421\u041A\u0423\u0421\u0421\u0422\u0412\u041E \n\u041F\u041E\u041B\u0417\u0423\u0427\u0415\u0419 \u0412\u0414\u041E\u0412\u042B",content:"\u0411\u043E\u0435\u0432\u043E\u0435 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u043E \u043D\u0438\u043D\u0434\u0437\u044F \u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E\u0435 \u043D\u0430 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0438\u0451\u043C\u043E\u0432. \n\u0412 \u0443\u0447\u0435\u043D\u0438\u0435 \u0432\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043F\u0440\u0438\u0451\u043C\u044B: \n\u0412\u044B\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435 \u0440\u0443\u043A\u0438 - \u0437\u0430\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u0432\u044B\u0440\u043E\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u043E\u0440\u0443\u0436\u0438\u0435. \n\u0423\u0434\u0430\u0440 \u043B\u0430\u0434\u043E\u043D\u044C\u044E - \u043E\u0442\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0435\u0442\u0440\u043E\u0432 \u043E\u0442 \u0432\u0430\u0441, \u043B\u0438\u0448\u0430\u044F \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u044F. \n\u041F\u0435\u0440\u0435\u0440\u0435\u0437\u0430\u043D\u0438\u0435 \u0448\u0435\u0438 - \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043E\u0431\u0435\u0437\u0433\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u043B\u0435\u0436\u0430\u0447\u0443\u044E \u0436\u0435\u0440\u0442\u0432\u0443 \u043A\u0430\u0442\u0430\u043D\u043E\u0439 \u0432\u043E \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0440\u0443\u043A\u0435. \n\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0442\u043E\u0440\u043D\u0430\u0434\u043E - \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0430\u0441 \u0438 \u0441\u043E\u0437\u0434\u0430\u0451\u0442 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u044B\u043C\u043E\u0432\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0438 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u044B \u043E\u0431\u0443\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0448\u0430\u043D\u0441\u043E\u043C \u043E\u0442\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043D\u044F\u0440\u044F\u0434\u044B \u0432\u0440\u0430\u0433\u043E\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E.",position:"right"})]})]})]})]})})},m=r.ShuttleConsole=function(){function s(i,C){var V=(0,a.useBackend)(C),v=V.act,p=V.data;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0448\u0430\u0442\u0442\u043B\u043E\u043C",mr:"5px",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041F\u0430\u043D\u0435\u043B\u044C \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0448\u0430\u0442\u0442\u043B\u043E\u043C. \u0422\u0430\u043A \u0436\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0441\u0430\u043C\u043E\u0433\u043E \u0448\u0430\u0442\u0442\u043B\u0430!",tooltipPosition:"right"}),children:(0,e.createComponentVNode)(2,t.Flex,{ml:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F",children:p.status?p.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0430\u0448\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F",children:p.player_pos}),!!p.shuttle&&(!!p.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0448\u0430\u0442\u0442\u043B",children:p.docking_ports.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:g.name,onClick:function(){function N(){return v("move",{move:g.id})}return N}()},g.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!p.admin_controlled&&(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044E",disabled:!p.status,onClick:function(){function g(){return v("request")}return g}()})})],0))]})})})}return s}(),l=function(i,C){var V=(0,a.useBackend)(C),v=V.data,p=v.randomPercent,g=v.actionsIcon,N=v.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:p,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+N,mt:1,children:[(0,e.createComponentVNode)(2,t.DmIcon,{height:"64px",width:"64px",icon:g,icon_state:"spider_"+N,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Loading ",p+"%"]}),2)})})},d=function(s){function i(V){var v;return v=s.call(this,V)||this,v.timer=null,v.state={lastText:"text do be there",currentDisplay:[]},v}k(i,s);var C=i.prototype;return C.tick=function(){function V(){var v=this.props,p=this.state;if(v.allMessages!==p.lastText&&!v.end_terminal){var g=p.currentDisplay;g.push(v.allMessages),p.lastText=v.allMessages}else v.end_terminal&&(clearTimeout(this.timer),setTimeout(v.onFinished,v.finishedTimeout))}return V}(),C.componentDidMount=function(){function V(){var v=this,p=this.props.linesPerSecond,g=p===void 0?2.5:p;this.timer=setInterval(function(){return v.tick()},1e3/g)}return V}(),C.componentWillUnmount=function(){function V(){clearTimeout(this.timer)}return V}(),C.render=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(v){return(0,e.createFragment)([v,(0,e.createVNode)(1,"br")],0,v)})})}return V}(),i}(e.Component)},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 y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,k)})})}return y}(),k=r.StationAlertConsoleContent=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.data,u=c.alarms||[];return Object.keys(u).map(function(m){var l,d;return(0,e.createComponentVNode)(2,t.Section,{title:m+" Alarms",children:(0,e.createVNode)(1,"ul",null,((l=u[m])==null?void 0:l.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(d=u[m])==null?void 0:d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)}),0)},m)})}return y}()},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),k=n(98595),y=5,S=9,b=function(V){return V===0?5:9},h="64px",c=function(V){return V[0]+"/"+V[1]},u=function(V){var v=V.align,p=V.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"}},l={neck:{displayName:"neck",gridSpot:c([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:c([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:c([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:c([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:c([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:c([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:c([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:c([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:c([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:c([1,4])},jumpsuit:{displayName:"uniform",gridSpot:c([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:c([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:c([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:c([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:c([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:c([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:c([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:c([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:c([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:c([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:c([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:c([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:c([4,4]),image:"inventory-pda.png"}},d={neck:{displayName:"neck",gridSpot:c([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:c([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:c([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:c([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:c([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:c([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:c([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:c([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:c([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:c([1,4])},jumpsuit:{displayName:"uniform",gridSpot:c([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:c([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:c([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:c([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:c([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:c([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:c([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:c([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:c([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:c([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:c([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:c([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:c([4,8]),image:"inventory-pda.png"}},s=function(C){return C[C.Completely=1]="Completely",C[C.Hidden=2]="Hidden",C}(s||{}),i=r.StripMenu=function(){function C(V,v){var p=(0,o.useBackend)(v),g=p.act,N=p.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":m>150?"average":"good"},S=function(m){return m>5e3?"bad":m>4e3?"average":"good"},b=function(m){return m>1e4?"bad":m>5e3?"average":"good"},h=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Detected Supermatter Shards",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function C(){return s("refresh")}return C}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:i.supermatters.length===0?(0,e.createVNode)(1,"h3",null,"No shards detected",16):(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Details"})]}),i.supermatters.map(function(C){return(0,e.createComponentVNode)(2,f.TableRow,{children:[(0,e.createComponentVNode)(2,f.TableCell,{children:C.area_name}),(0,e.createComponentVNode)(2,f.TableCell,{children:[C.integrity,"%"]}),(0,e.createComponentVNode)(2,f.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function V(){return s("view",{view:C.uid})}return V}()})})]},C)})]})})})})})},c=function(m,l){var d=(0,a.useBackend)(l),s=d.act,i=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Crystal Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"caret-square-left",content:"Back",onClick:function(){function C(){return s("back")}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[95,1/0],average:[80,94],bad:[-1/0,79]},minValue:"0",maxValue:"100",value:i.SM_integrity,children:[i.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:y(i.SM_power),children:[i.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:S(i.SM_ambienttemp),children:[i.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:b(i.SM_ambientpressure),children:[i.SM_ambientpressure," kPa"]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Gas Composition",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:[i.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[i.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[i.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[i.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[i.SM_gas_OTHER,"%"]})]})})]})})}},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(29319),f=n(98595),k=r.SyndicateComputerSimple=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:u.rows.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m.buttontitle,disabled:m.buttondisabled,tooltip:m.buttontooltip,tooltipPosition:"left",onClick:function(){function l(){return c(m.buttonact)}return l}()}),children:[m.status,!!m.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:m.bullets.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:l},l)})})]},m.title)})})})}return y}()},99279:function(w,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),k=n(98595),y=n(29319),S=n(25328),b=r.SyndieCargoConsole=function(){function l(d,s){return(0,e.createComponentVNode)(2,k.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,k.Window.Content,{children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m)]})})}return l}(),h=function(d,s){var i=(0,o.useLocalState)(s,"contentsModal",null),C=i[0],V=i[1],v=(0,o.useLocalState)(s,"contentsModalTitle",null),p=v[0],g=v[1];if(C!==null&&p!==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,[p,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:C.map(function(N){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function N(){V(null),g(null)}return N}()})})]})},c=function(d,s){var i=(0,o.useBackend)(s),C=i.act,V=i.data,v=V.is_public,p=v===void 0?0:v,g=V.cash,N=V.wait_time,x=V.is_cooldown,B=V.telepads_status,L=V.adminAddCash,I=B,A="",T=0,E="";return B==="Pads not linked!"?(T=0,A="Attempts to link telepads to the console.",E="Link pads"):x?x&&(E="Cooldown...",A="Pads are cooling off...",T=1,N!==1?I=""+B+" (ETA: "+N+" seconds)":I=""+B+" (ETA: "+N+" second)"):(T=0,A="Teleports your crates to the market. A reminder, some of the crates are directly stolen from NT trading routes. That means they can be locked. We are NOT sorry for the inconvenience",E="Teleport"),(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Money Available",children:[g,(0,e.createComponentVNode)(2,f.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function P(){return C("withdraw",{cash:g})}return P}()}),(0,e.createComponentVNode)(2,f.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function P(){return C("add_money",{cash:g})}return P}()})]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Telepads Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function P(){return C("teleport")}return P}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Syndicate Black Market Log",onClick:function(){function P(){return C("showMessages")}return P}()})]})]})})},u=function(d,s){var i=(0,o.useBackend)(s),C=i.act,V=i.data,v=V.categories,p=V.supply_packs,g=(0,o.useSharedState)(s,"category","Emergency"),N=g[0],x=g[1],B=(0,o.useSharedState)(s,"search_text",""),L=B[0],I=B[1],A=(0,o.useLocalState)(s,"contentsModal",null),T=A[0],E=A[1],P=(0,o.useLocalState)(s,"contentsModalTitle",null),M=P[0],O=P[1],R=(0,S.createSearch)(L,function(j){return j.name}),F=(0,a.flow)([(0,t.filter)(function(j){return j.cat===v.filter(function(U){return U.name===N})[0].category||L}),L&&(0,t.filter)(R),(0,t.sortBy)(function(j){return j.name.toLowerCase()})])(p),W="Crate Catalogue";return L?W="Results for '"+L+"':":N&&(W="Browsing "+N),(0,e.createComponentVNode)(2,f.Section,{title:W,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:v.map(function(j){return j.name}),selected:N,onSelected:function(){function j(U){return x(U)}return j}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function j(U,K){return I(K)}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:F.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",onClick:function(){function U(){return C("order",{crate:j.ref,multiple:0})}return U}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function U(){return C("order",{crate:j.ref,multiple:1})}return U}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function U(){E(j.contents),O(j.name)}return U}()})]})]},j.name)})})})]})},m=function(d,s){var i=(0,o.useBackend)(s),C=i.act,V=i.data,v=V.requests,p=V.canapprove,g=V.orders;return(0,e.createComponentVNode)(2,f.Section,{title:"Details",children:(0,e.createComponentVNode)(2,f.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:v.map(function(N){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!p,onClick:function(){function x(){return C("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",onClick:function(){function x(){return C("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},44852:function(w,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},k={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},y=function(c,u,m,l){return l===void 0&&(l=null),c.map(function(d){var s,i=(s=d[l])!=null?s:d;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:u.includes(d),content:i,onClick:function(){function C(){u.includes(d)?m(u.filter(function(V){var v;return((v=V[l])!=null?v:V)!==d})):m([d].concat(u))}return C}()},i)})},S=r.TTSSeedsExplorer=function(){function h(c,u){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,b)})})}return h}(),b=r.TTSSeedsExplorerContent=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.providers,i=d.seeds,C=d.selected_seed,V=d.phrases,v=d.donator_level,p=i.map(function(X){return X.category}).filter(function(X,Q,q){return q.indexOf(X)===Q}),g=i.map(function(X){return X.gender}).filter(function(X,Q,q){return q.indexOf(X)===Q}),N=i.map(function(X){return X.donator_level}).filter(function(X,Q,q){return q.indexOf(X)===Q}).map(function(X){return f[X]}),x=(0,a.useLocalState)(u,"selectedProviders",s),B=x[0],L=x[1],I=(0,a.useLocalState)(u,"selectedGenders",g),A=I[0],T=I[1],E=(0,a.useLocalState)(u,"selectedCategories",p),P=E[0],M=E[1],O=(0,a.useLocalState)(u,"selectedDonatorLevels",N),R=O[0],F=O[1],W=(0,a.useLocalState)(u,"selectedPhrase",V[0]),j=W[0],U=W[1],K=(0,a.useLocalState)(u,"searchtext",""),Y=K[0],ne=K[1],$=y(s,B,L,"name"),le=y(g,A,T),de=y(p,P,M),oe=y(N,R,F),re=(0,e.createComponentVNode)(2,t.Dropdown,{options:V,selected:j.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function X(Q){return U(Q)}return X}()}),Z=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function X(Q,q){return ne(q)}return X}()}),ae=i.sort(function(X,Q){var q=X.name.toLowerCase(),te=Q.name.toLowerCase();return q>te?1:q0&&C!==X.name?"orange":"white",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:C===X.name?.5:.25,textAlign:"left",children:X.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:C===X.name?"white":k[X.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:k[X.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:X.donator_level>0&&(0,e.createFragment)([f[X.donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},X.name)});return(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",fill:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:$}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:le}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:de}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:oe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:re}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Z})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{scrollable:!0,fill:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+ae.length+"/"+i.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:J})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}return h}()},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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.records,l=m===void 0?[]:m,d=u.explosion_target,s=u.toxins_tech,i=u.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:d}),(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:!l.length||i,align:"center",onClick:function(){function C(){return c("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!l.length,color:"bad",align:"center",onClick:function(){function C(){return c("delete_logs")}return C}()})]})]})}),l.length?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),k=r.TachyonArrayContent=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.records,l=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"})]}),l.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.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 c("delete_record",{index:d.index})}return s}()})})]},d.index)})]})})})})}return y}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u;return c.has_mask?u=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.connected?"check":"times",content:c.connected?"Internals On":"Internals Off",selected:c.connected,onClick:function(){function m(){return h("internals")}return m}()})}):u=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:300,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:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:c.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:c.ReleasePressure===c.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return h("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(c.releasePressure),width:"65px",unit:"kPa",minValue:c.minReleasePressure,maxValue:c.maxReleasePressure,onChange:function(){function m(l,d){return h("pressure",{pressure:d})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:c.ReleasePressure===c.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return h("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:c.ReleasePressure===c.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return h("pressure",{pressure:"reset"})}return m}()})]}),u]})})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.o_tanks,m=c.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:275,height:100,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Oxygen Tank ("+u+")",disabled:u===0,icon:"arrow-circle-down",onClick:function(){function l(){return h("oxygen")}return l}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function l(){return h("plasma")}return l}()})})]})})}return k}()},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(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.ion,i=(0,a.useLocalState)(u,"tabIndex",0),C=i[0],V=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,y);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:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===0,onClick:function(){function p(){return V(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===1,onClick:function(){function p(){return V(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===2,onClick:function(){function p(){return V(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),v(C)]})})}return h}(),k=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.active,i=d.sectors_available,C=d.nttc_toggle_jobs,V=d.nttc_toggle_job_color,v=d.nttc_toggle_name_color,p=d.nttc_toggle_command_bold,g=d.nttc_job_indicator_type,N=d.nttc_setting_language,x=d.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 B(){return l("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function B(){return l("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"On":"Off",selected:V,icon:"clipboard-list",onClick:function(){function B(){return l("nttc_toggle_job_color")}return B}()})}),(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 B(){return l("nttc_toggle_name_color")}return B}()})}),(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 B(){return l("nttc_toggle_command_bold")}return B}()})})]})}),(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:g||"Unset",selected:g,icon:"pencil-alt",onClick:function(){function B(){return l("nttc_job_indicator_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"globe",onClick:function(){function B(){return l("nttc_setting_language")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:x||"Unset",selected:x,icon:"server",onClick:function(){function B(){return l("network_id")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function B(){return l("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return l("export")}return B}()})]})],4)},S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.link_password,i=d.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 l("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"})]}),i.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 V(){return l("unlink",{addr:C.addr})}return V}()})})]},C.addr)})]})]})},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=m.data,s=d.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return l("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return l("remove_filter",{user:i})}return C}()})})]},i)})]})})}},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 c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.linked,d=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,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:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){function i(){return u("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return u("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:l===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),l===1?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,y)]})})}return S}(),k=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=m.linked_core_id,d=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:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return u("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return u("unlink")}return i}()})})]})})},y=function(b,h){var c=(0,a.useBackend)(h),u=c.act,m=c.data,l=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"})]}),l.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return u("link",{addr:d.addr})}return s}()})})]},d.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=n(79646),k=r.Teleporter=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.targetsTeleport?u.targetsTeleport:{},l=0,d=1,s=2,i=u.calibrated,C=u.calibrating,V=u.powerstation,v=u.regime,p=u.teleporterhub,g=u.target,N=u.locked,x=u.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!V||!p)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[p,!V&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),V&&!p&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),V&&p&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Regime",children:[(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to another teleport hub. ",color:v===d?"good":null,onClick:function(){function B(){return c("setregime",{regime:d})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:v===l?"good":null,onClick:function(){function B(){return c("setregime",{regime:l})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:v===s?"good":null,disabled:!N,onClick:function(){function B(){return c("setregime",{regime:s})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[v===l&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(m),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return c("settarget",{x:m[L].x,y:m[L].y,z:m[L].z})}return B}()}),v===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(m),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return c("settarget",{x:m[L].x,y:m[L].y,z:m[L].z})}return B}()}),v===s&&(0,e.createComponentVNode)(2,t.Box,{children:g})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Calibration",children:[g!=="None"&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,f.GridColumn,{size:"2",children:C&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(i||x>=3)&&(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,f.GridColumn,{size:"3",children:(0,e.createComponentVNode)(2,t.Box,{class:"ml-1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",disabled:!!(i||C),onClick:function(){function B(){return c("calibrate")}return B}()})})})]}),g==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&V&&p&&v===s)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-around",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function B(){return c("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return c("eject")}return B}()})]})})]})})}return y}()},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),k=n(36036),y=n(98595),S=r.sanitizeMultiline=function(){function u(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return u}(),b=r.removeAllSkiplines=function(){function u(m){return m.replace(/[\r\n]+/,"")}return u}(),h=r.TextInputModal=function(){function u(m,l){var d=(0,o.useBackend)(l),s=d.act,i=d.data,C=i.max_length,V=i.message,v=V===void 0?"":V,p=i.multiline,g=i.placeholder,N=i.timeout,x=i.title,B=(0,o.useLocalState)(l,"input",g||""),L=B[0],I=B[1],A=function(){function P(M){if(M!==L){var O=p?S(M):b(M);I(O)}}return P}(),T=p||L.length>=40,E=130+(v.length>40?Math.ceil(v.length/3):0)+(T?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function P(M){var O=window.event?M.which:M.keyCode;O===f.KEY_ENTER&&(!T||!M.shiftKey)&&s("submit",{entry:L}),O===f.KEY_ESCAPE&&s("cancel")}return P}(),children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,children:(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,c,{input:L,onType:A})}),(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+C})})]})})})]})}return u}(),c=function(m,l){var d=(0,o.useBackend)(l),s=d.act,i=d.data,C=i.max_length,V=i.multiline,v=m.input,p=m.onType,g=V||v.length>=40;return(0,e.createComponentVNode)(2,k.TextArea,{autoFocus:!0,autoSelect:!0,height:V||v.length>=40?"100%":"1.8rem",maxLength:C,onEscape:function(){function N(){return s("cancel")}return N}(),onEnter:function(){function N(x){g&&x.shiftKey||(x.preventDefault(),s("submit",{entry:v}))}return N}(),onInput:function(){function N(x,B){return p(B)}return N}(),placeholder:"\u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0447\u0442\u043E-\u043D\u0438\u0431\u0443\u0434\u044C...",value:v})}},69566:function(w,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ThiefKit=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.uses,m=c.possible_uses,l=c.multi_uses,d=c.kits,s=c.choosen_kits;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:900,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0431\u043E\u0440 \u0413\u0438\u043B\u044C\u0434\u0438\u0438 \u0412\u043E\u0440\u043E\u0432:",children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:[(0,e.createVNode)(1,"i",null,"\u0423\u0432\u0435\u0441\u0438\u0441\u0442\u0430\u044F \u043A\u043E\u0440\u043E\u0431\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u043B\u0435\u0436\u0438\u0442 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0433\u0438\u043B\u044C\u0434\u0438\u0438 \u0432\u043E\u0440\u043E\u0432.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"i",null,"\u041D\u0430\u0431\u043E\u0440 \u0432\u043E\u0440\u0430-\u0448\u0440\u0435\u0434\u0438\u043D\u0433\u0435\u0440\u0430. \u041D\u0435\u043B\u044C\u0437\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0447\u0442\u043E \u0432 \u043D\u0451\u043C, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u043B\u044F\u043D\u0435\u0448\u044C \u0432\u043D\u0443\u0442\u0440\u044C.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"p",null,(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043A\u043E\u0435 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0432 \u043D\u0451\u043C \u043B\u0435\u0436\u0438\u0442?:",16),2),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043D\u0430\u0431\u043E\u0440\u043E\u0432:"),(0,e.createComponentVNode)(2,t.Box,{as:"span",color:u<=0?"good":u=m,onClick:function(){function i(){return h("randomKit")}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d&&d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,buttons:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"upload",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",disabled:i.was_taken||u>=m,onClick:function(){function C(){return h("takeKit",{item:i.type})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!i.was_taken,onClick:function(){function C(){return h("undoKit",{item:i.type})}return C}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:i.desc})},i.type)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043D\u0430\u0431\u043E\u0440\u044B:",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:s&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",onClick:function(){function C(){return h("undoKit",{item:i.type})}return C}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},i.type)})})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",color:u0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),x.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers over]",16):"",x.contractor.accepted?(0,e.createVNode)(1,"i",null,"\xA0(Accepted)",16):!x.contractor.is_admin_forced&&x.contractor.available_offers<=0?"":(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:x.contractor.time_left,format:function(){function M(O,R){return" ("+R+")"}return M}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:h(I)})]})})]})}return V}(),u=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.crystals,L=x.cats,I=(0,k.useLocalState)(p,"uplinkItems",L[0].items),A=I[0],T=I[1],E=(0,k.useLocalState)(p,"searchText",""),P=E[0],M=E[1],O=function(K,Y){Y===void 0&&(Y="");var ne=(0,o.createSearch)(Y,function($){var le=$.hijack_only===1?"|hijack":"";return $.name+"|"+$.desc+"|"+$.cost+"tc"+le});return(0,t.flow)([(0,a.filter)(function($){return $==null?void 0:$.name}),Y&&(0,a.filter)(ne),(0,a.sortBy)(function($){return $==null?void 0:$.name})])(K)},R=function(K){if(M(K),K==="")return T(L[0].items);T(O(L.map(function(Y){return Y.items}).flat(),K))},F=(0,k.useLocalState)(p,"showDesc",1),W=F[0],j=F[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Button.Checkbox,{content:"Show Descriptions",checked:W,onClick:function(){function U(){return j(!W)}return U}()}),(0,e.createComponentVNode)(2,y.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return N("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,y.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return N("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(K,Y){R(Y)}return U}(),value:P})})})}),(0,e.createComponentVNode)(2,y.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,y.Tabs,{vertical:!0,children:L.map(function(U){return(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:P!==""?!1:U.items===A,onClick:function(){function K(){T(U.items),M("")}return K}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,y.Stack,{vertical:!0,children:A.map(function(U){return(0,e.createComponentVNode)(2,y.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:U,showDecription:W},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},m=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.cart,L=x.crystals,I=x.cart_price,A=(0,k.useLocalState)(p,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function P(){return E(!T)}return P}()}),(0,e.createComponentVNode)(2,y.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function P(){return N("empty_cart")}return P}(),disabled:!B}),(0,e.createComponentVNode)(2,y.Button,{content:"Purchase Cart ("+I+"TC)",icon:"shopping-cart",onClick:function(){function P(){return N("purchase_cart")}return P}(),disabled:!B||I>L})],4),children:(0,e.createComponentVNode)(2,y.Stack,{vertical:!0,children:B?B.map(function(P){return(0,e.createComponentVNode)(2,y.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:P,showDecription:T,buttons:(0,e.createComponentVNode)(2,i,{i:P})})},(0,o.decodeHtmlEntities)(P.name))}):(0,e.createComponentVNode)(2,y.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,l)]})},l=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,y.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function I(){return N("shuffle_lucky_numbers")}return I}()}),children:(0,e.createComponentVNode)(2,y.Stack,{wrap:!0,children:L.map(function(I){return B[I.cat].items[I.item]}).filter(function(I){return I!=null}).map(function(I,A){return(0,e.createComponentVNode)(2,y.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:I})},A)})})})})},d=function(v,p){var g=v.i,N=v.showDecription,x=N===void 0?1:N,B=v.buttons,L=B===void 0?(0,e.createComponentVNode)(2,s,{i:g}):B;return(0,e.createComponentVNode)(2,y.Section,{title:(0,o.decodeHtmlEntities)(g.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,y.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(g.desc)}):null})},s=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=v.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function I(){return N("add_to_cart",{item:B.obj_path})}return I}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,y.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 I(){return N("buyItem",{item:B.obj_path})}return I}(),disabled:B.cost>L})],4)},i=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=v.i,L=x.exploitable;return(0,e.createComponentVNode)(2,y.Stack,{children:[(0,e.createComponentVNode)(2,y.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function I(){return N("remove_from_cart",{item:B.obj_path})}return I}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function I(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return I}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,y.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function I(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return I}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,y.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function I(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return I}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},C=function(v,p){var g=(0,k.useBackend)(p),N=g.act,x=g.data,B=x.exploitable,L=(0,k.useLocalState)(p,"selectedRecord",B[0]),I=L[0],A=L[1],T=(0,k.useLocalState)(p,"searchText",""),E=T[0],P=T[1],M=function(F,W){W===void 0&&(W="");var j=(0,o.createSearch)(W,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),W&&(0,a.filter)(j),(0,a.sortBy)(function(U){return U.name})])(F)},O=M(B,E);return(0,e.createComponentVNode)(2,y.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function R(F,W){return P(W)}return R}()}),(0,e.createComponentVNode)(2,y.Tabs,{vertical:!0,children:O.map(function(R){return(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:R===I,onClick:function(){function F(){return A(R)}return F}(),children:R.name},R)})})]})}),(0,e.createComponentVNode)(2,y.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,title:I.name,scrollable:!0,children:(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:I.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:I.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:I.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:I.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:I.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Records",children:I.exploit_record})]})})})]})})};(0,b.modalRegisterBodyOverride)("become_contractor",function(V,v){var p,g,N,x,B=(0,k.useBackend)(v),L=B.data,I=L.contractor||{},A=I.time_left,T=!!(L!=null&&(p=L.contractor)!=null&&p.available),E=!!(L!=null&&(g=L.contractor)!=null&&g.affordable),P=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),M=L.contractor||{},O=M.available_offers,R=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,y.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,y.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,y.Box,{mx:"0.5rem",mb:"0.5rem",children:[(0,e.createVNode)(1,"b",null,"Your achievements for the Syndicate have not gone unnoticed, agent. We have decided to give you the rare opportunity of becoming a Contractor.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"For the small price of 20 telecrystals, we will upgrade your rank to that of a Contractor, allowing you to undertake kidnapping contracts for TC and credits.",(0,e.createVNode)(1,"br"),"In addition, you will be supplied with a Contractor Kit which contains a Contractor Uplink, standard issue contractor gear and three random low cost items.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"More detailed instructions can be found within your kit, should you accept this offer.",R?"":(0,e.createComponentVNode)(2,y.Box,{children:["Hurry up. You are not the only one who received this offer. Their number is limited. If other traitors accept all offers before you, you will not be able to accept one of them.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Available offers: "),O],0)]})]}),(0,e.createComponentVNode)(2,y.Button.Confirm,{disabled:!T||P,italic:!T,bold:T,icon:T&&!P&&"check",color:"good",content:P?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A,format:function(){function F(W,j){return" ("+j+")"}return F}()},"countdown")]:E?L.contractor.is_admin_forced?"Offer expired":L.contractor.available_offers>0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),L.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers are over]",16):"Insufficient TC",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function F(){return(0,b.modalAnswer)(v,V.id,1)}return F}()})]})})},80949:function(w,r,n){"use strict";r.__esModule=!0,r.UploadPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.UploadPanel=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.selected_target,m=c.new_law,l=c.id,d=c.transmitting,s=c.hacked;return(0,e.createComponentVNode)(2,o.Window,{width:900,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Silicon Law Upload",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Target",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d,selected:!!u,content:u||"No target selected",onClick:function(){function i(){return h("choose_silicon")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Law",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d,selected:!!m,content:m||"No module installed",onClick:function(){function i(){return h("insert_module")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{selected:!!l,content:l||(s?"$@!ERR0R!@#":"No ID card inserted"),onClick:function(){function i(){return h("authorization")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Upload Laws",children:(0,e.createComponentVNode)(2,t.Button,{disabled:!u||!m||(s?!1:!l),selected:!!d,content:d?"STOP UPLOAD":"START UPLOAD",onClick:function(){function i(){return h("change_laws")}return i}()})})]})})})})}return k}()},8946:function(w,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=r.UmbrMenu=r.HemoMenu=r.GarMenu=r.DantMenu=r.BestMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VampireSpecMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=(0,a.useLocalState)(m,"activeTab","hemomancer"),i=s[0],C=s[1],V=function(){function v(){switch(i){case"hemomancer":return(0,e.createComponentVNode)(2,k,{act:d});case"umbrae":return(0,e.createComponentVNode)(2,y,{act:d});case"gargantua":return(0,e.createComponentVNode)(2,S,{act:d});case"dantalion":return(0,e.createComponentVNode)(2,b,{act:d});case"bestia":return(0,e.createComponentVNode)(2,h,{act:d});default:return null}}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:890,resizable:!0,theme:"ntos_spooky",children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0435\u043C\u043E\u043C\u0430\u043D\u0441\u0435\u0440",onClick:function(){function v(){return C("hemomancer")}return v}(),selected:i==="hemomancer"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0423\u043C\u0431\u0440\u0430",onClick:function(){function v(){return C("umbrae")}return v}(),selected:i==="umbrae"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0430\u0440\u0433\u0430\u043D\u0442\u044E\u0430",onClick:function(){function v(){return C("gargantua")}return v}(),selected:i==="gargantua"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0414\u0430\u043D\u0442\u0430\u043B\u0438\u043E\u043D",onClick:function(){function v(){return C("dantalion")}return v}(),selected:i==="dantalion"}),(0,e.createComponentVNode)(2,t.Button,{content:"\u0411\u0435\u0441\u0442\u0438\u044F",onClick:function(){function v(){return C("bestia")}return v}(),selected:i==="bestia"})]}),(0,e.createComponentVNode)(2,t.Divider),V()]})})}return c}(),k=r.HemoMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.hemomancer;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0413\u0435\u043C\u043E\u043C\u0430\u043D\u0441\u0435\u0440",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043C\u0430\u0433\u0438\u0438 \u043A\u0440\u043E\u0432\u0438 \u0438 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0435\u044E.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u043E\u0433\u0442\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u0443 \u0441\u043C\u0435\u0440\u0442\u043E\u043D\u043E\u0441\u043D\u044B\u0445 \u043A\u043E\u0433\u0442\u0435\u0439, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0438\u0445 \u0431\u044B\u0441\u0442\u0440\u043E \u0430\u0442\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u0446\u0435\u043B\u044C, \u043F\u043E\u0433\u043B\u043E\u0449\u0430\u044F \u0435\u0435 \u043A\u0440\u043E\u0432\u044C \u0438 \u0440\u0435\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u044F \u0441\u0432\u043E\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u0435.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0431\u0430\u0440\u044C\u0435\u0440",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0432\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u0436\u0434\u0443 \u043D\u0438\u043C\u0438 \u0441\u0442\u0435\u043D\u044B.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0435 \u0449\u0443\u043F\u0430\u043B\u044C\u0446\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0441\u043B\u0435 \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0437\u0430\u043C\u0435\u0434\u043B\u0438\u0442\u044C \u0432\u0441\u0435\u0445 \u0432\u043D\u0443\u0442\u0440\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 3x3.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0433\u0440\u0443\u0436\u0435\u043D\u0438\u0435 \u0432 \u043A\u0440\u043E\u0432\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043D\u0435\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044C\u0441\u044F \u0441 \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u044E, \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u044F \u0432\u0441\u0435 \u043F\u0440\u0435\u043F\u044F\u0442\u0441\u0442\u0432\u0438\u044F, \u043A\u0440\u043E\u043C\u0435 \u0441\u0442\u0435\u043D \u0438 \u043A\u043E\u0441\u043C\u043E\u0441\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043E\u0441\u0442\u0430\u0432\u043B\u044F\u044F \u0437\u0430 \u0441\u043E\u0431\u043E\u0439 \u043A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0441\u043B\u0435\u0434.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0427\u0443\u0442\u044C\u0451 \u0445\u0438\u0449\u043D\u0438\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u043E\u0447\u0443\u0432\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0433\u043E-\u0443\u0433\u043E\u0434\u043D\u043E \u0432 \u043F\u0440\u0435\u0434\u0435\u043B\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0441\u0435\u043A\u0442\u043E\u0440\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0418\u0437\u0432\u0435\u0440\u0436\u0435\u043D\u0438\u0435 \u043A\u0440\u043E\u0432\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("800 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043C\u0430\u043D\u0438\u043F\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u043C\u0438 \u0432\u0430\u0441 \u043B\u0443\u0436\u0430\u043C\u0438 \u043A\u0440\u043E\u0432\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u0447\u0435\u0442\u044B\u0440\u0435\u0445 \u043C\u0435\u0442\u0440\u043E\u0432, \u043F\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044F \u0438\u0445 \u0432 \u0448\u0438\u043F\u044B, \u043F\u0440\u043E\u0442\u044B\u043A\u0430\u044E\u0449\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0432\u0448\u0435\u0433\u043E \u043D\u0430 \u043D\u0438\u0445.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u043E\u0431\u0440\u044F\u0434",16),(0,e.createTextVNode)(": \u0411\u0443\u0434\u0443\u0447\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u043E\u0433\u043B\u043E\u0449\u0430\u0442\u044C \u043A\u0440\u043E\u0432\u044C \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u0432\u0430\u0441 \u0441\u0443\u0449\u0435\u0441\u0442\u0432, \u0431\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u0447\u0435\u043C\u0443 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u043B\u0435\u0447\u0438\u0442\u044C\u0441\u044F \u0438 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043A\u0430\u043A\u0438\u0445-\u043B\u0438\u0431\u043E \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0435\u043C\u043E\u043C\u0430\u043D\u0441\u0435\u0440",onClick:function(){function C(){return d("hemomancer")}return C}()})]})}return c}(),y=r.UmbrMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.umbrae;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043C\u0431\u0440\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u0442\u0435\u043C\u043D\u043E\u0442\u0435, \u0437\u0430\u0441\u0430\u0434\u0430\u0445 \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u043E\u043C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0438.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043A\u0440\u043E\u0432 \u0442\u044C\u043C\u044B",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0431\u0443\u0434\u0443\u0447\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0431\u044B\u0442\u044C \u043F\u043E\u0447\u0442\u0438 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u043C \u0438 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044C\u0441\u044F \u0432 \u0442\u0435\u043C\u043D\u044B\u0445 \u0443\u0447\u0430\u0441\u0442\u043A\u0430\u0445 \u0441\u0442\u0430\u043D\u0446\u0438\u0438. \u0422\u0430\u043A\u0436\u0435, \u0431\u0443\u0434\u0443\u0447\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C, \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043B\u044E\u0431\u043E\u0439 \u0443\u0440\u043E\u043D \u043E\u0442 \u043E\u0436\u043E\u0433\u043E\u0432 \u043F\u043E \u0432\u0430\u043C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0422\u0435\u043D\u0435\u0432\u043E\u0439 \u044F\u043A\u043E\u0440\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u043D\u0430 \u043C\u0435\u0441\u0442\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043C\u0430\u044F\u043A \u043F\u043E\u0441\u043B\u0435 \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438. \u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u0441 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043A \u043C\u0430\u044F\u043A\u0443. \u0415\u0441\u043B\u0438 \u0441\u043F\u0443\u0441\u0442\u044F \u0434\u0432\u0435 \u043C\u0438\u043D\u0443\u0442\u044B \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0432\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043D\u0435 \u0431\u044B\u043B\u0430 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441\u043D\u043E\u0432\u0430, \u0442\u043E \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u044B \u043A \u043C\u0430\u044F\u043A\u0443. \u041C\u0430\u044F\u043A \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0441 \u043C\u0435\u0436\u0434\u0443 \u0441\u0435\u043A\u0442\u043E\u0440\u0430\u043C\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0422\u0435\u043D\u0435\u0432\u0430\u044F \u043B\u043E\u0432\u0443\u0448\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0442\u0440\u0430\u0432\u043C\u0438\u0440\u0443\u044E\u0449\u0438\u0435 \u0438 \u043E\u0441\u043B\u0435\u043F\u043B\u044F\u044E\u0449\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0432\u0448\u0435\u0433\u043E \u0432 \u043D\u0438\u0445. \u041B\u043E\u0432\u0443\u0448\u043A\u0443 \u0442\u044F\u0436\u0435\u043B\u043E \u0437\u0430\u043C\u0435\u0442\u0438\u0442\u044C, \u043D\u043E \u043E\u043D\u0430 \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442 \u043F\u043E\u0434 \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043C \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u0432 \u044F\u0440\u043A\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0428\u0430\u0433 \u0432 \u0442\u0435\u043D\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043B\u044E\u0431\u043E\u0435 \u043C\u0435\u0441\u0442\u043E \u0432 \u043F\u0440\u0435\u0434\u0435\u043B\u0430\u0445 \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0433\u0430\u0441\u0438\u0442\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u044C \u0438\u0437 \u0441\u0442\u0440\u043E\u044F \u043B\u044E\u0431\u044B\u0435 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438 \u0441\u0432\u0435\u0442\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0433\u043B\u043E\u0443\u0448\u0440\u0443\u043C\u044B.")],0),(0,e.createVNode)(1,"b",null,"\u0411\u043E\u0439 \u0441 \u0442\u0435\u043D\u044C\u044E",16),": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"," ",(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("800 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),", \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u0442\u0435\u043D\u0435\u0432\u044B\u0445 \u043A\u043B\u043E\u043D\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u0430\u0442\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u0446\u0435\u043B\u044C, \u043F\u043E\u043A\u0430 \u0432\u044B \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0435\u0441\u044C \u0440\u044F\u0434\u043E\u043C.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u0412\u0435\u0447\u043D\u0430\u044F \u0442\u044C\u043C\u0430",16),(0,e.createTextVNode)(": \u043F\u043E\u0441\u043B\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0432\u044B \u0440\u0430\u0441\u0441\u0442\u0432\u043E\u0440\u044F\u0435\u0442\u0435\u0441\u044C \u0432 \u043D\u0435\u0447\u0435\u0441\u0442\u0438\u0432\u043E\u0439 \u0442\u0435\u043C\u043D\u043E\u0442\u0435, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u0435\u043D \u043B\u0438\u0448\u044C \u0441\u0438\u043B\u044C\u043D\u0435\u0439\u0448\u0438\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0441\u0432\u0435\u0442\u0430. \u0425\u043E\u043B\u043E\u0434, \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0435\u0439 \u0432\u0430\u0441 \u0442\u044C\u043C\u044B \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043C\u043E\u0440\u0430\u0436\u0438\u0432\u0430\u0442\u044C \u0432\u0441\u0435\u0445 \u0436\u0438\u0432\u044B\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u043F\u043E\u0431\u043B\u0438\u0437\u043E\u0441\u0442\u0438.")],4),(0,e.createVNode)(1,"p",null,"\u0412\u044B \u0442\u0430\u043A\u0436\u0435 \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442\u0435 X-ray \u0437\u0440\u0435\u043D\u0438\u0435",16),(0,e.createComponentVNode)(2,t.Button,{content:"\u0423\u043C\u0431\u0440\u0430",onClick:function(){function C(){return d("umbrae")}return C}()})]})}return c}(),S=r.GarMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.gargantua;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0413\u0430\u0440\u0433\u0430\u043D\u0442\u044E\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u0442\u043E\u0439\u043A\u043E\u0441\u0442\u0438 \u0438 \u0431\u043B\u0438\u0436\u043D\u0435\u043C \u0431\u043E\u0435.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u0411\u0443\u0434\u0435\u0442 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044C\u0435 \u0442\u0435\u043C \u0441\u0438\u043B\u044C\u043D\u0435\u0435, \u0447\u0435\u043C \u0431\u043E\u043B\u044C\u0448\u0435 \u0443\u0440\u043E\u043D\u0430 \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u043B\u0438.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0432\u0430\u043B",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 150"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0435 \u0441\u043E\u043F\u0440\u043E\u0442\u0438\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0433\u043B\u0443\u0448\u0435\u043D\u0438\u044E, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u043E\u043C\u0443 \u0438 \u0441\u0442\u0430\u043C\u0438\u043D\u0430 \u0443\u0440\u043E\u043D\u0443. \u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0441\u0442\u0440\u0435\u043B\u044F\u0442\u044C \u043F\u043E\u043A\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0423\u0434\u0430\u0440\u043D\u0430\u044F \u0432\u043E\u043B\u043D\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 250"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0441\u043E\u0442\u0440\u044F\u0441\u0430\u0442\u044C \u0437\u0435\u043C\u043B\u044E \u043F\u043E\u0434 \u043D\u043E\u0433\u0430\u043C\u0438, \u0447\u0442\u043E\u0431\u044B \u043E\u0433\u043B\u0443\u0448\u0438\u0442\u044C \u0438 \u043E\u0442\u0442\u043E\u043B\u043A\u043D\u0443\u0442\u044C \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0434\u0440\u0430\u0439\u0432",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 250"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0434\u0430\u0435\u0442 \u0432\u0430\u043C \u043F\u0440\u0438\u0431\u0430\u0432\u043A\u0443 \u043A \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0439 \u0432\u0430\u043B II",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 400"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0435\u0441\u044C \u0443\u0440\u043E\u043D \u0432 \u0431\u043B\u0438\u0436\u043D\u0435\u043C \u0431\u043E\u044E \u043D\u0430 10.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041D\u0435\u0443\u0434\u0435\u0440\u0436\u0438\u043C\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 600"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u0431\u0443\u0434\u0443\u0447\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0434\u0432\u0435\u0440\u0438 \u043F\u0440\u0438 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u0434\u0430\u0436\u0435 \u043D\u0435 \u0438\u043C\u0435\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430. \u0412\u0430\u0441 \u0442\u0430\u043A\u0436\u0435 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0442\u043E\u043B\u043A\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0442\u0430\u0449\u0438\u0442\u044C, \u043F\u043E\u043A\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u043D\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0414\u0435\u043C\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0445\u0432\u0430\u0442\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442 800"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"}),2),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A \u0446\u0435\u043B\u0438 \u0434\u0435\u043C\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0440\u0443\u043A\u0443. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u0438\u043D\u0442\u0435\u043D\u0442\u0430, disarm/grab, \u0432\u044B \u043E\u0442\u0442\u043E\u043B\u043A\u043D\u0435\u0442\u0435/\u043F\u0440\u0438\u0442\u044F\u043D\u0435\u0442\u0435 \u0446\u0435\u043B\u044C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u0420\u044B\u0432\u043E\u043A",16),(0,e.createTextVNode)(": \u0412\u044B \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0435\u043B\u0430\u0442\u044C \u0440\u044B\u0432\u043E\u043A \u0432 \u0432\u0430\u0448\u0443 \u0446\u0435\u043B\u044C, \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u044F \u0438 \u043E\u0442\u0442\u0430\u043B\u043A\u0438\u0432\u0430\u044F \u0432\u0441\u0435, \u0432\u043E \u0447\u0442\u043E \u0432\u0440\u0435\u0436\u0435\u0442\u0435\u0441\u044C.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0413\u0430\u0440\u0433\u0430\u043D\u0442\u044E\u0430",onClick:function(){function C(){return d("gargantua")}return C}()})]})}return c}(),b=r.DantMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.dantalion;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0414\u0430\u043D\u0442\u0430\u043B\u0438\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0435\u043D\u0438\u0438 \u0438 \u0438\u043B\u043B\u044E\u0437\u0438\u044F\u0445.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0434\u0447\u0438\u043D\u044F\u0435\u0442 \u0446\u0435\u043B\u044C \u0432\u0430\u0448\u0435\u0439 \u0432\u043E\u043B\u0435, \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043E\u0442 \u0432\u0430\u0441 \u043D\u0435 \u0448\u0435\u0432\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0435\u043D\u0438\u044F. \u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u043D\u0430 \u043D\u043E\u0441\u0438\u0442\u0435\u043B\u0435\u0439 \u0438\u043C\u043F\u043B\u0430\u043D\u0442\u0430 \u0437\u0430\u0449\u0438\u0442\u044B \u0440\u0430\u0437\u0443\u043C\u0430 \u0438 \u043D\u0430 \u0443\u0436\u0435 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0435\u043D\u043D\u044B\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0435\u0434\u0435\u043B \u0440\u0430\u0431\u043E\u0432",16),(0,e.createTextVNode)(": \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0440\u0430\u0431\u043E\u0442\u0438\u0442\u044C \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C \u043E\u0434\u043D\u043E\u0433\u043E \u0440\u0430\u0431\u0430 \u0437\u0430 \u0440\u0430\u0437. \u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0431\u043E\u0432 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0442\u0438 \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0438"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(","),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u0438 \u043F\u043E\u043B\u043D\u043E\u0439 \u0441\u0438\u043B\u044B \u0441 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u043E\u043C \u0432 4 \u0440\u0430\u0431\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0422\u0435\u043B\u0435\u043F\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0441\u0432\u044F\u0437\u044C",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0440\u0430\u0437\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0442\u044C \u0441 \u0432\u0430\u0448\u0438\u043C\u0438 \u0440\u0430\u0431\u0430\u043C\u0438, \u0432\u0430\u0448\u0438 \u0440\u0430\u0431\u044B \u0442\u0430\u043A\u0436\u0435 \u043C\u043E\u0433\u0443\u0442 \u043E\u0442\u0432\u0435\u0447\u0430\u0442\u044C \u0432\u0430\u043C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0434\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u043E\u0431\u043C\u0435\u043D",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043C\u0435\u043D\u044F\u0442\u044C\u0441\u044F \u043C\u0435\u0441\u0442\u0430\u043C\u0438 \u0441 \u0446\u0435\u043B\u044C\u044E.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0423\u043C\u0438\u0440\u043E\u0442\u0432\u043E\u0440\u0435\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0443\u0441\u043F\u043E\u043A\u043E\u0438\u0442\u044C \u0446\u0435\u043B\u044C, \u043E\u0442\u043E\u0431\u0440\u0430\u0432 \u0443 \u043D\u0435\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043D\u0430\u043D\u0435\u0441\u0442\u0438 \u0432\u0440\u0435\u0434 \u043A\u043E\u043C\u0443-\u043B\u0438\u0431\u043E \u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435 40 \u0441\u0435\u043A\u0443\u043D\u0434.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0438\u043C\u0430\u043D\u043A\u0430",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043D\u0435\u043D\u0430\u0434\u043E\u043B\u0433\u043E \u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u043C \u0438 \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u043A\u043E\u043F\u0438\u044E \u043E\u0431\u043C\u0430\u043D\u043A\u0443.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0421\u043F\u043B\u043E\u0442\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0432",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0441\u043D\u0438\u043C\u0430\u0435\u0442 \u0441 \u0431\u043B\u0438\u0437\u0441\u0442\u043E\u044F\u0449\u0438\u0445 \u0440\u0430\u0431\u043E\u0432 \u043B\u044E\u0431\u044B\u0435 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041A\u0440\u043E\u0432\u0430\u0432\u044B\u0435 \u0443\u0437\u044B",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("800 "),(0,e.createVNode)(1,"font",null,"\u0435\u0434. \u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0441\u0432\u044F\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u0441\u043E \u0432\u0441\u0435\u043C\u0438 \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u043C\u0438 \u0432\u0430\u0441 \u0440\u0430\u0431\u0430\u043C\u0438, \u0435\u0441\u043B\u0438 \u043A\u0442\u043E-\u043B\u0438\u0431\u043E \u0432 \u0441\u0432\u044F\u0437\u043A\u0435 \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442 \u0443\u0440\u043E\u043D, \u0442\u043E \u043E\u043D \u0434\u0435\u043B\u0438\u0442\u0441\u044F \u043C\u0435\u0436\u0434\u0443 \u0432\u0441\u0435\u043C\u0438 \u043E\u0441\u0442\u0430\u043B\u044C\u043D\u044B\u043C\u0438. \u0415\u0441\u043B\u0438 \u0440\u0430\u0431 \u0443\u0445\u043E\u0434\u0438\u0442 \u0434\u0430\u043B\u0435\u043A\u043E \u043E\u0442 \u0432\u0430\u0441, \u0442\u043E \u0432\u044B \u0442\u0435\u0440\u044F\u0435\u0442\u0435 \u0441\u0432\u044F\u0437\u044C \u0441 \u043D\u0438\u043C.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u041C\u0430\u0441\u0441\u043E\u0432\u0430\u044F \u0438\u0441\u0442\u0435\u0440\u0438\u044F",16),(0,e.createTextVNode)(": \u0441\u043E\u0437\u0434\u0430\u0435\u0442 \u043C\u0430\u0441\u0441\u043E\u0432\u0443\u044E \u0433\u0430\u043B\u043B\u044E\u0446\u0438\u043D\u0430\u0446\u0438\u044E, \u043E\u0441\u043B\u0435\u043F\u0438\u0432 \u0432\u0441\u0435\u0445 \u043F\u043E\u0431\u043B\u0438\u0437\u043E\u0441\u0442\u0438, \u0430 \u0437\u0430\u0442\u0435\u043C \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0432 \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u0432\u0438\u0434\u0435\u0442\u044C \u0434\u0440\u0443\u0433 \u0432 \u0434\u0440\u0443\u0433\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0414\u0430\u043D\u0442\u0430\u043B\u0438\u043E\u043D",onClick:function(){function C(){return d("dantalion")}return C}()})]})}return c}(),h=r.BestMenu=function(){function c(u,m){var l=(0,a.useBackend)(m),d=l.act,s=l.data,i=s.bestia;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0411\u0435\u0441\u0442\u0438\u044F",children:[(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.DmIcon,{height:"256px",width:"256px",icon:i[0],icon_state:i[1],style:{"-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createVNode)(1,"h3",null,"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0438 \u0434\u043E\u0431\u044B\u0447\u0435 \u0442\u0440\u043E\u0444\u0435\u0435\u0432.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0442\u0440\u043E\u0444\u0435\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0442\u0440\u043E\u0444\u0435\u0435\u0432, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0432\u0441\u0435 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B, \u0447\u0442\u043E \u043E\u043D\u0438 \u0434\u0430\u044E\u0442.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0435\u043F\u0430\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0432\u0434\u043E\u0431\u0430\u0432\u043E\u043A \u043A \u043A\u0440\u043E\u0432\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u043E\u0433\u043B\u043E\u0449\u0430\u0442\u044C \u043E\u0440\u0433\u0430\u043D\u044B \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u043E\u0444\u0435\u0435\u0432 \u0434\u043B\u044F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0438\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0435\u0434\u0435\u043B \u043F\u0440\u0435\u043F\u0430\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0439",16),(0,e.createTextVNode)(": \u0437\u0430 \u0440\u0430\u0437 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0433\u043B\u043E\u0442\u0438\u0442\u044C \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C \u043E\u0434\u0438\u043D \u043E\u0440\u0433\u0430\u043D. \u041F\u0440\u0435\u0434\u0435\u043B \u0431\u0443\u0434\u0435\u0442 \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0438"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u0438 \u043F\u043E\u043B\u043D\u043E\u0439 \u0441\u0438\u043B\u044B \u0441 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u043E\u043C \u0432 \u0442\u0440\u0438 \u043E\u0440\u0433\u0430\u043D\u0430.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0417\u0430\u0440\u0430\u0436\u0435\u043D\u043D\u044B\u0439 \u0442\u0440\u043E\u0444\u0435\u0439",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("150 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432 \u0441 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0439 \u0434\u0438\u0441\u0442\u0430\u043D\u0446\u0438\u0438, \u0437\u0430\u0440\u0430\u0436\u0430\u044F \u0438\u0445 \u043C\u043E\u0433\u0438\u043B\u044C\u043D\u043E\u0439 \u043B\u0438\u0445\u043E\u0440\u0430\u0434\u043A\u043E\u0439.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0420\u044B\u0432\u043E\u043A",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0431\u044B\u0441\u0442\u0440\u043E \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u0442\u044C \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0432\u0430\u043C\u0438 \u0438 \u0446\u0435\u043B\u044C\u044E \u0438\u043B\u0438 \u0441\u0431\u0435\u0436\u0430\u0442\u044C \u0438\u0437 \u043E\u043F\u0430\u0441\u043D\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043C\u0435\u0442\u0438\u0442\u044C \u0434\u043E\u0431\u044B\u0447\u0443",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("250 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0442\u043C\u0435\u0442\u0438\u0442\u044C \u0436\u0435\u0440\u0442\u0432\u0443, \u0443\u043C\u0435\u043D\u044C\u0448\u0438\u0432 \u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0432 \u0435\u0435 \u043F\u0443\u0442\u0430\u0442\u044C\u0441\u044F \u0432 \u043D\u043E\u0433\u0430\u0445.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041C\u0435\u0442\u0430\u043C\u043E\u0440\u0444\u043E\u0437\u0430 - \u041B\u0435\u0442\u0443\u0447\u0438\u0435 \u043C\u044B\u0448\u0438",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("400 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u044C\u0441\u044F \u0441\u043C\u0435\u0440\u0442\u043E\u043D\u043E\u0441\u043D\u044B\u043C\u0438 \u043A\u043E\u0441\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u043B\u0435\u0442\u0443\u0447\u0438\u043C\u0438 \u043C\u044B\u0448\u0430\u043C\u0438.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u0410\u043D\u0430\u0431\u0438\u043E\u0437",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u0434\u0440\u0435\u0432\u043D\u044F\u044F \u0442\u0435\u0445\u043D\u0438\u043A\u0430, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0430\u044F \u0432\u0430\u043C \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u043F\u043E\u0447\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u0440\u0430\u043D\u0435\u043D\u0438\u044F \u0437\u0430 \u0441\u0447\u0435\u0442 \u0441\u043D\u0430 \u0432 \u0433\u0440\u043E\u0431\u0443.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u0440\u0438\u0437\u044B\u0432 \u043B\u0435\u0442\u0443\u0447\u0438\u0445 \u043C\u044B\u0448\u0435\u0439",16),(0,e.createTextVNode)(": \u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043E\u0442"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("600 "),(0,e.createVNode)(1,"font",null,"\u043A\u0440\u043E\u0432\u0438",16,{color:"red"})],4),(0,e.createTextVNode)(", \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0435\u0442\u0443\u0447\u0438\u0445 \u043C\u044B\u0448\u0435\u0439 \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0431\u043E\u044E.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0438\u043B\u0430",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"\u041C\u0435\u0442\u0430\u043C\u043E\u0440\u0444\u043E\u0437\u0430 - \u0413\u043E\u043D\u0447\u0430\u044F",16),(0,e.createTextVNode)(": \u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u044C\u0441\u044F \u0432 \u0441\u043E\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u0443\u044E \u0444\u043E\u0440\u043C\u0443 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438, \u0437\u0430\u0432\u043B\u0430\u0434\u0435\u0432\u0448\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u0434\u0443\u0448\u043E\u0439.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"\u0411\u0435\u0441\u0442\u0438\u044F",onClick:function(){function C(){return d("bestia")}return C}()})]})}return c}()},45770:function(w,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(V){return(Math.round(V*10)/10).toFixed(1)},k=r.VampireTrophiesStatus=function(){function C(V,v){return(0,e.createComponentVNode)(2,o.Window,{theme:"ntos_spooky",width:700,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,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i)]})})})}return C}(),y=function(V,v){var p=(0,a.useBackend)(v),g=p.act,N=p.data,x=N.hearts,B=N.lungs,L=N.livers,I=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,P=N.trophies_max_crit,M=N.organs_icon,O=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,W=N.icon_kidneys,j=N.icon_eyes,U=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0422\u0440\u043E\u0444\u0435\u0438",color:"red",textAlign:"center",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,width:"16.6%",children:[(0,e.createComponentVNode)(2,t.DmIcon,{icon:M,icon_state:O,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xv;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,o.DmIcon,{verticalAlign:"middle",icon:s,icon_state:i,fallback:(0,e.createComponentVNode)(2,o.Icon,{p:.66,name:"spinner",size:2,spin:!0})})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:l.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:d<=0&&"bad"||d<=l.max_amount/2&&"average"||"good",children:[d," \u0432 \u043D\u0430\u043B\u0438\u0447\u0438\u0438"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:I,icon:L,content:B,textAlign:"left",onClick:function(){function A(){return u("vend",{inum:l.inum})}return A}()})})]})},y=r.Vending=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=m.user,d=m.guestNotice,s=m.userMoney,i=m.chargesMoney,C=m.product_records,V=C===void 0?[]:C,v=m.coin_records,p=v===void 0?[]:v,g=m.hidden_records,N=g===void 0?[]:g,x=m.stock,B=m.vend_ready,L=m.coin_name,I=m.inserted_item_name,A=m.panel_open,T=m.speaker,E=m.imagelist,P;return P=[].concat(V,p),m.extended_inventory&&(P=[].concat(P,N)),P=P.filter(function(M){return!!M}),(0,e.createComponentVNode)(2,f.Window,{width:710,height:100+Math.min(V.length*38,500),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:[!!i&&(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C",children:l&&(0,e.createComponentVNode)(2,o.Box,{children:["\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435, ",(0,e.createVNode)(1,"b",null,l.name,0),","," ",(0,e.createVNode)(1,"b",null,l.job||"\u0411\u0435\u0437\u0440\u0430\u0431\u043E\u0442\u043D\u044B\u0439",0),"!",(0,e.createVNode)(1,"br"),"\u0412\u0430\u0448 \u0431\u0430\u043B\u0430\u043D\u0441: ",(0,e.createVNode)(1,"b",null,[s,(0,e.createTextVNode)(" \u043A\u0440.")],0)]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:d})}),!!L&&(0,e.createComponentVNode)(2,o.Section,{title:"\u041C\u043E\u043D\u0435\u0442\u0430",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043C\u043E\u043D\u0435\u0442\u0443",onClick:function(){function M(){return u("remove_coin",{})}return M}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!I&&(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0440\u0435\u0434\u043C\u0435\u0442",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u043F\u0440\u0435\u0434\u043C\u0435\u0442",onClick:function(){function M(){return u("eject_item",{})}return M}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:I})}),!!A&&(0,e.createComponentVNode)(2,o.Section,{title:"\u0422\u0435\u0445. \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,o.Button,{icon:T?"check":"volume-mute",selected:T,content:"\u0414\u0438\u043D\u0430\u043C\u0438\u043A",textAlign:"left",onClick:function(){function M(){return u("toggle_voice",{})}return M}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u044F",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:P.map(function(M){return(0,e.createComponentVNode)(2,k,{product:M,productStock:x[M.name],productIcon:M.icon,productIconState:M.icon_state},M.name)})})})})]})})})}return S}()},87710:function(w,r,n){"use strict";r.__esModule=!0,r.VethPlayerPanel=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=n(98595),k=n(25328),y=r.VethPlayerPanel=function(){function S(b,h){var c=(0,t.useBackend)(h),u=c.act,m=c.data,l=(0,a.sortBy)(function(N){return N.name})(m.Data||[]),d=(0,t.useLocalState)(h,"searchText",""),s=d[0],i=d[1],C=(0,t.useLocalState)(h,"selectedPlayerCkey",""),V=C[0],v=C[1],p=(0,k.createSearch)(s,function(N){var x,B,L;return((x=N.name)==null?void 0:x.toLowerCase())+"|"+((B=N.job)==null?void 0:B.toLowerCase())+"|"+((L=N.ckey)==null?void 0:L.toLowerCase())}),g=function(){function N(x,B){B!=null&&B.ckey&&v(B.ckey),u(x,Object.assign({},B,{selectedPlayerCkey:(B==null?void 0:B.ckey)||V}))}return N}();return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,f.Window,{title:"Player Panel Veth",width:1100,height:640,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"refresh",content:"Refresh",onClick:function(){function N(){return g("refresh")}return N}()})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Grid,{children:[(0,e.createComponentVNode)(2,o.Grid.Column,{children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Game Panel",onClick:function(){function N(){return g("gamePanel")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Fax Panel",onClick:function(){function N(){return g("faxPanel")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Check Antags",onClick:function(){function N(){return g("checkAntags")}return N}()})]}),(0,e.createComponentVNode)(2,o.Grid.Column,{children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Create Command Report",onClick:function(){function N(){return g("createCommandReport")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Toggle Adv Admin Interact",onClick:function(){function N(){return g("adminaiinteract")}return N}()})]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Search Players",children:(0,e.createComponentVNode)(2,o.TextArea,{autoFocus:!0,placeholder:"Search by name, job, or ckey",value:s,onInput:function(){function N(x,B){return i(B)}return N}(),rows:1,height:"2rem"})}),(0,e.createComponentVNode)(2,o.Section,{title:"Players",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:"Ckey"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Char Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Job"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Antagonist"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Last IP"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Actions"})]}),l.filter(p).map(function(N){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.ckey}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:N.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.job}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.is_antagonist?(0,e.createComponentVNode)(2,o.Box,{color:"red",children:"Yes"}):(0,e.createComponentVNode)(2,o.Box,{color:"green",children:"No"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:N.last_ip}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("sendPrivateMessage",{ckey:N.ckey})}return x}(),content:"PM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("follow",{ckey:N.ckey})}return x}(),content:"Follow"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("smite",{ckey:N.ckey})}return x}(),content:"Smite"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function x(){return g("openAdditionalPanel",{ckey:N.ckey})}return x}(),content:"PP",icon:"external-link"}),(0,e.createComponentVNode)(2,o.Button,{icon:"book",content:"Logs",onClick:function(){function x(){return u("logs",{selectedPlayerCkey:N.ckey})}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"clipboard",content:"Notes",onClick:function(){function x(){return u("notes",{selectedPlayerCkey:N.ckey})}return x}()}),(0,e.createComponentVNode)(2,o.Button,{content:"VV",onClick:function(){function x(){return u("vv",{selectedPlayerCkey:N.ckey})}return x}()}),(0,e.createComponentVNode)(2,o.Button,{content:"TP",onClick:function(){function x(){return u("tp",{selectedPlayerCkey:N.ckey})}return x}()})]})]},N.ckey)})]})})]})})})}return S}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+u.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:u.map(function(m,l){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:l>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:"\u0432\u044B\u043A\u043B. \u0437\u0432\u0443\u043A",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return h("volume",{channel:m.num,volume:0})}return d}()})})}),(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 d(s,i){return h("volume",{channel:m.num,volume:i})}return d}()})}),(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:"\u0432\u043A\u043B. \u0437\u0432\u0443\u043A",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return h("volume",{channel:m.num,volume:100})}return d}()})})})]})})],4,m.num)})})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.remaining,m=c.question,l=c.choices,d=c.user_vote,s=c.counts,i=c.show_counts,C=c.show_cancel;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(u/10),"s"]}),l.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:V+(i?" ("+(s[V]||0)+")":""),onClick:function(){function v(){return h("vote",{target:V})}return v}(),selected:V===d})},V)}),!!C&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function V(){return h("cancel")}return V}()})},"Cancel")]})})})}return k}()},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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.wires||[],m=c.status||[],l=56+u.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:l,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:u.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:d.color_name,labelColor:d.seen_color,color:d.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:d.cut?"Mend":"Cut",onClick:function(){function s(){return h("cut",{wire:d.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return h("pulse",{wire:d.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function s(){return h("attach",{wire:d.color})}return s}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return k}()},30995:function(w,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(73379),k=n(98595),y=["title","items"];function S(l,d){if(l==null)return{};var s={};for(var i in l)if({}.hasOwnProperty.call(l,i)){if(d.includes(i))continue;s[i]=l[i]}return s}var b=function(d,s,i){return d.requirements===null?!0:!(d.requirements.brass>s||d.requirements.power>i)},h=r.Workshop=function(){function l(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.brass_amount,p=V.power_amount,g=V.building,N=V.buildStart,x=V.buildEnd,B=V.worldTime,L=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),I=p.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,k.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,k.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,c),(0,e.createComponentVNode)(2,o.Section,{title:"Materials",children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Brass",children:[L,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",height:"19px",tooltip:"Dispense Brass",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function E(){return C("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:I})]}),g&&(0,e.createComponentVNode)(2,o.ProgressBar.Countdown,{mt:2,start:N,current:B,end:x,bold:!0,children:["Building ",g,"\xA0(",(0,e.createComponentVNode)(2,f.Countdown,{current:B,timeLeft:x-B,format:function(){function E(P,M){return M.substr(3)}return E}()}),")"]})]})]}),(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,u)})})]})})})}return l}(),c=function(d,s){var i=(0,t.useLocalState)(s,"search",""),C=i[0],V=i[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],g=v[1],N=(0,t.useLocalState)(s,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",mr:"0.5rem",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(I,A){return V(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"19px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function L(){return B(!x)}return L}()})})]})})},u=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=V.items,p=(0,t.useLocalState)(s,"search",""),g=p[0],N=p[1],x=(0,t.useLocalState)(s,"sort","Alphabetical"),B=x[0],L=x[1],I=(0,t.useLocalState)(s,"descending",!1),A=I[0],T=I[1],E=(0,a.createSearch)(g,function(O){return O[0]}),P=!1,M=Object.entries(v).map(function(O,R){var F=Object.entries(O[1]).filter(E).map(function(W){return W[1].affordable=b(W[1],V.brass_amount,V.power_amount),W[1]});if(F.length!==0)return A&&(F=F.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:O[0],items:F},O[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:P?M:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},m=function(d,s){var i=(0,t.useBackend)(s),C=i.act,V=i.data,v=d.title,p=d.items,g=S(d,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},g,{children:p.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.DmIcon,{icon:N.icon,icon_state:N.icon_state,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!b(N,V.brass_amount,V.power_amount),onClick:function(){function x(){return C("make",{cat:v,name:N.name})}return x}(),children:(0,a.toTitleCase)((0,a.toTitleCase)(N.name))}),(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"right"},children:N.requirements&&Object.keys(N.requirements).map(function(x){return(0,a.toTitleCase)(x)+": "+N.requirements[x]}).join(", ")||(0,e.createComponentVNode)(2,o.Box,{children:"No resources required."})}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},N.name)})})))}},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,c){var u=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(u)return(u=u.call(h)).next.bind(u);if(Array.isArray(h)||(u=k(h))||c&&h&&typeof h.length=="number"){u&&(h=u);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 k(h,c){if(h){if(typeof h=="string")return y(h,c);var u={}.toString.call(h).slice(8,-1);return u==="Object"&&h.constructor&&(u=h.constructor.name),u==="Map"||u==="Set"?Array.from(h):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?y(h,c):void 0}}function y(h,c){(c==null||c>h.length)&&(c=h.length);for(var u=0,m=Array(c);u0&&!N.includes(F.ref)&&!p.includes(F.ref),checked:p.includes(F.ref),onClick:function(){function W(){return x(F.ref)}return W}()},F.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,c,u){return Sc?"average":S>u?"bad":"good"},k=r.AtmosScan=function(){function y(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(c){return c.val!=="0"||c.entry==="Pressure"||c.entry==="Temperature"})(h).map(function(c){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:c.entry,color:f(c.val,c.bad_low,c.poor_low,c.poor_high,c.bad_high),children:[c.val,c.units]},c.entry)})})})}return y}()},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(y){return y+" \u0435\u0434\u0438\u043D\u0438\u0446"+(y%10===1&&y%100!==11?"\u0430":"")+(y%10>1&&y%10<5&&!(y%100>11)&&!(y%100<15)?"\u044B":"")},f=r.BeakerContents=function(){function k(y){var S=y.beakerLoaded,b=y.beakerContents,h=b===void 0?[]:b,c=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442."})||h.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043F\u0443\u0441\u0442\u0430."}),h.map(function(u,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(u.volume)," ",u.name]},u.name),!!c&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:c(u,m)})]},u.name)})]})}return k}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},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(c,u,m){var l=(0,a.useBackend)(c),d=l.act,s=l.data,i=Object.assign(s.modal?s.modal.args:{},m||{});d("modal_open",{id:u,arguments:JSON.stringify(i)})}return h}(),k=r.modalRegisterBodyOverride=function(){function h(c,u){o[c]=u}return h}(),y=r.modalAnswer=function(){function h(c,u,m,l){var d=(0,a.useBackend)(c),s=d.act,i=d.data;if(i.modal){var C=Object.assign(i.modal.args||{},l||{});s("modal_answer",{id:u,answer:m,arguments:JSON.stringify(C)})}}return h}(),S=r.modalClose=function(){function h(c,u){var m=(0,a.useBackend)(c),l=m.act;l("modal_close",{id:u})}return h}(),b=r.ComplexModal=function(){function h(c,u){var m=(0,a.useBackend)(u),l=m.data;if(l.modal){var d=l.modal,s=d.id,i=d.text,C=d.type,V,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",onClick:function(){function L(){return S(u)}return L}()}),p,g,N="auto";if(o[s])p=o[s](l.modal,u);else if(C==="input"){var x=l.modal.value;V=function(){function L(I){return y(u,s,x)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:l.modal.value,placeholder:"ENTER \u0434\u043B\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(I,A){x=A}return L}()}),g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",color:"grey",onClick:function(){function L(){return S(u)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",color:"good",float:"right",m:"0",onClick:function(){function L(){return y(u,s,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var B=typeof l.modal.choices=="object"?Object.values(l.modal.choices):l.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:l.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(I){return y(u,s,I)}return L}()}),N="initial"}else C==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:l.modal.choices.map(function(L,I){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:I+1===parseInt(l.modal.value,10),onClick:function(){function A(){return y(u,s,I+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},I)})}):C==="boolean"&&(g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:l.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return y(u,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:l.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return y(u,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:c.maxWidth||window.innerWidth/2+"px",maxHeight:c.maxHeight||window.innerHeight/2+"px",onEnter:V,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&v,p,g]})}}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),k=f.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return y.indexOf(m)!==-1?"green":"orange"},b=function(m){if(y.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(l){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(l.real_rank),bold:b(l.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(l.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(l.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.active})]},l.name+l.rank)})]})},c=r.CrewManifest=function(){function u(m,l){var d=(0,a.useBackend)(l),s=d.act,i;if(m.data)i=m.data;else{var C=(0,a.useBackend)(l),V=C.data;i=V}var v=i,p=v.manifest,g=p.heads,N=p.pro,x=p.sec,B=p.eng,L=p.med,I=p.sci,A=p.ser,T=p.sup,E=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.procedure,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Procedure"})}),level:2,children:h(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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:k.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(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:k.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(T)}),(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(E)})]})}return u}()},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(k,y){var S=(0,t.useBackend)(y),b=S.act,h=S.data,c=h.large_buttons,u=h.swapped_buttons,m=k.input,l=k.message,d=k.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C",bold:!!c,fluid:!!c,onClick:function(){function C(){return b("submit",{entry:m})}return C}(),textAlign:"center",tooltip:c&&l,disabled:d,width:!c&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",bold:!!c,fluid:!!c,onClick:function(){function C(){return b("cancel")}return C}(),textAlign:"center",width:!c&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:u?"row-reverse":"row",justify:"space-around",children:[c?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:u?.5:0,mr:u?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!c&&l&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:l})}),c?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:u?.5:0,ml:u?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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=k.siliconUser,u=c===void 0?h.siliconUser:c,m=k.locked,l=m===void 0?h.locked:m,d=k.normallyLocked,s=d===void 0?h.normallyLocked:d,i=k.onLockStatusChange,C=i===void 0?function(){return b("lock")}:i,V=k.accessText,v=V===void 0?"ID-\u043A\u0430\u0440\u0442\u043E\u0439":V;return u?(0,e.createComponentVNode)(2,t.NoticeBox,{color:u&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"\u0411\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:"}),(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?"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E":"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E",onClick:function(){function p(){C&&C(!l)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["\u041F\u0440\u043E\u0432\u0435\u0434\u0438\u0442\u0435 ",v,", \u0447\u0442\u043E\u0431\u044B"," ",l?"\u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C":"\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C"," \u044D\u0442\u043E\u0442 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441."]})}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(k){var y=k.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return f}()},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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=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:["\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D \u0432\u0445\u043E\u0434 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u043A\u0430\u043A: ",c.name," (",c.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043C\u044B",color:"good",onClick:function(){function u(){return b("login_logout")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!c.id,content:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C ID",color:"good",onClick:function(){function u(){return b("login_eject")}return u}()})]})]})})}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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.loginState,u=h.isAI,m=h.isRobot,l=h.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0414\u043E\u0431\u0440\u043E \u043F\u043E\u0436\u0430\u043B\u043E\u0432\u0430\u0442\u044C",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"}),"\u0413\u043E\u0441\u0442\u044C"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.id?c.id:"----------",ml:"0.5rem",onClick:function(){function d(){return b("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!c.id,content:"\u0412\u043E\u0439\u0442\u0438",onClick:function(){function d(){return b("login_login",{login_type:1})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"\u0412\u043E\u0439\u0442\u0438 \u043A\u0430\u043A \u0418\u0418",onClick:function(){function d(){return b("login_login",{login_type:2})}return d}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"\u0412\u043E\u0439\u0442\u0438 \u043A\u0430\u043A \u043A\u0438\u0431\u043E\u0440\u0433",onClick:function(){function d(){return b("login_login",{login_type:3})}return d}()}),!!l&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"\u0412\u043E\u0439\u0442\u0438 \u043A\u0430\u043A \u0426\u0435\u043D\u0442\u041A\u043E\u043C",onClick:function(){function d(){return b("login_login",{login_type:4})}return d}()})]})})})}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(k){var y=k.operating,S=k.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},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 k(y,S){var b=(0,t.useBackend)(S),h=b.act,c=y.data,u=c.code,m=c.frequency,l=c.minFrequency,d=c.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:l/10,maxValue:d/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,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:u,width:"80px",onDrag:function(){function s(i,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 k}()},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),k=n(36036),y=r.SimpleRecords=function(){function h(c,u){var m=c.data.records;return(0,e.createComponentVNode)(2,k.Box,{children:m?(0,e.createComponentVNode)(2,b,{data:c.data,recordType:c.recordType}):(0,e.createComponentVNode)(2,S,{data:c.data})})}return h}(),S=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=c.data.recordsList,s=(0,a.useLocalState)(u,"searchText",""),i=s[0],C=s[1],V=function(g,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,f.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,f.filter)(x),(0,f.sortBy)(function(B){return B.Name})])(d)},v=V(d,i);return(0,e.createComponentVNode)(2,k.Box,{children:[(0,e.createComponentVNode)(2,k.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(g,N){return C(N)}return p}()}),v.map(function(p){return(0,e.createComponentVNode)(2,k.Box,{children:(0,e.createComponentVNode)(2,k.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function g(){return l("Records",{target:p.uid})}return g}()})},p)})]})},b=function(c,u){var m=(0,a.useBackend)(u),l=m.act,d=c.data.records,s=d.general,i=d.medical,C=d.security,V;switch(c.recordType){case"MED":V=(0,e.createComponentVNode)(2,k.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,k.LabeledList,{children:[(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,k.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":V=(0,e.createComponentVNode)(2,k.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,k.LabeledList,{children:[(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:C.notes})]}):(0,e.createComponentVNode)(2,k.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,k.Box,{children:[(0,e.createComponentVNode)(2,k.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,k.LabeledList,{children:[(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,k.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,k.Box,{color:"red",bold:!0,children:"General record lost!"})}),V]})}},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(k,y){var S,b=(0,a.useBackend)(y),h=b.act,c=b.data,u=c.temp;if(u){var m=(S={},S[u.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:u.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function l(){return h("cleartemp")}return l}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return f}()},25443: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(20342),f=n(98595),k=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],y=["good","average","bad","black","white"],S=[{title:"Button",component:function(){function p(){return h}return p}()},{title:"Box",component:function(){function p(){return c}return p}()},{title:"ProgressBar",component:function(){function p(){return u}return p}()},{title:"Tabs",component:function(){function p(){return m}return p}()},{title:"Tooltip",component:function(){function p(){return l}return p}()},{title:"Input / Control",component:function(){function p(){return d}return p}()},{title:"Collapsible",component:function(){function p(){return s}return p}()},{title:"BlockQuote",component:function(){function p(){return C}return p}()},{title:"ByondUi",component:function(){function p(){return V}return p}()},{title:"Themes",component:function(){function p(){return v}return p}()}],b=r.KitchenSink=function(){function p(g,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,a.useLocalState)(N,"pageIndex",0),I=L[0],A=L[1],T=S[I].component();return(0,e.createComponentVNode)(2,f.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:S.map(function(E,P){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:P===I,onClick:function(){function M(){return A(P)}return M}(),children:E.title},P)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return p}(),h=function(g){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),k.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),k.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},c=function(g){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,t.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"right",children:"right"})]})},u=function(g,N){var x=(0,a.useLocalState)(N,"progress",.5),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:B,children:["Value: ",Number(B).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function I(){return L(B-.1)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function I(){return L(B+.1)}return I}()})]})]})},m=function(g,N){var x=(0,a.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],I=(0,a.useLocalState)(N,"tabVert"),A=I[0],T=I[1],E=(0,a.useLocalState)(N,"tabAlt"),P=E[0],M=E[1],O=[1,2,3,4,5];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:A,onClick:function(){function R(){return T(!A)}return R}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:P,onClick:function(){function R(){return M(!P)}return R}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:O.map(function(R,F){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:P,selected:F===B,onClick:function(){function W(){return L(F)}return W}(),children:["Tab #",R]},F)})})]})},l=function(g){var N=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:["Box (hover me).",(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text."})]}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:N.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:x,content:x},x)})})],4)},d=function(g,N){var x=(0,a.useLocalState)(N,"number",0),B=x[0],L=x[1],I=(0,a.useLocalState)(N,"text","Sample text"),A=I[0],T=I[1];return(0,e.createComponentVNode)(2,t.Box,{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:A,onChange:function(){function E(P,M){return T(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onInput:function(){function E(P,M){return T(M)}return E}()})}),(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:B,minValue:-100,maxValue:100,onChange:function(){function E(P,M){return L(M)}return E}()})}),(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:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()})}),(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:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(P,M){return L(M)}return E}()})]}),(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,o.DraggableControl,{value:B,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function E(P,M){return L(M)}return E}(),children:function(){function E(P){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:P.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:P.displayValue*4}),P.inputElement]})}return E}()})})})]})})},s=function(g){return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,i)})})},i=function(g){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,t.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))},C=function(g){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,i)})},V=function(g,N){var x=(0,a.useBackend)(N),B=x.config;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Button",level:2,children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",parent:B.window,text:"Button"}})})})},v=function(g,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{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:B,onInput:function(){function I(A,T){return L(T)}return I}()})})})})}},96572:function(w,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_advsecrecords=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options:",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Records",onClick:function(){function c(){return b("ui_interact")}return c}()})})})}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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.holder,m=c.dead,l=c.health,d=c.brute,s=c.oxy,i=c.tox,C=c.burn,V=c.reagents,v=c.addictions,p=c.fractures,g=c.internal_bleeding;return u?(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:l/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:d})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagents",children:V?V.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,children:(0,e.createComponentVNode)(2,t.Box,{color:N.overdosed?"bad":"good",children:[" ",N.volume," ",N.overdosed?"OVERDOSED":""," "]})},N.id)}):"Reagents not found."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Addictions",children:v?v.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.addiction_name,children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[" Stage: ",N.stage," "]})},N.id)}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Addictions not found."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fractures",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:["Fractures ",p?"":"not"," detected."]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Bleedings",children:(0,e.createComponentVNode)(2,t.Box,{color:g?"bad":"good",children:["Internal Bleedings ",g?"":"not"," detected."]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},79592:function(w,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_camera_bug=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Monitor",onClick:function(){function c(){return b("ui_interact")}return c}()})})})}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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.master,m=c.dna,l=c.prime,d=c.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:u?u+" ("+m+")":"None"}),u&&(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:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:d||"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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.cable,m=c.machine,l=c.inprogress,d=c.progress,s=c.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:u?"Extended":"Retracted",color:u?"orange":null,onClick:function(){function V(){return b("cable")}return V}()});var C;return m&&(C=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:l?"green":"red",children:[" ","In progress: ",l?"Yes":"No"," "]}),l?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function V(){return b("cancel")}return V}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function V(){return b("jack")}return V}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),C]})}return f}()},43816:function(w,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_encoder=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.radio_name,m=c.radio_rank;return(0,e.createComponentVNode)(2,t.Section,{title:"Your name and rank in radio channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Your current name and rank",children:[u,", ",m]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function l(d,s){return b("set_newname",{newname:s})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function l(d,s){return b("set_newrank",{newrank:s})}return l}()})})]})})}return f}()},88895:function(w,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_gps_module=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"GPS menu",children:(0,e.createComponentVNode)(2,t.Button,{content:"Open GPS",onClick:function(){function c(){return b("ui_interact")}return 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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.available_software,m=c.installed_software,l=c.installed_toggles,d=c.available_ram,s=c.emotions,i=c.current_emotion,C=[];return m.map(function(V){return C[V.key]=V.name}),l.map(function(V){return C[V.key]=V.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:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[u.filter(function(V){return!C[V.key]}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{color:V.syndi?"red":"default",content:V.name+" ("+V.cost+")",icon:V.icon,disabled:V.cost>d,onClick:function(){function v(){return b("purchaseSoftware",{key:V.key})}return v}()},V.key)}),u.filter(function(V){return!C[V.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(V){return V.key!=="mainmenu"}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,onClick:function(){function v(){return b("startSoftware",{software_key:V.key})}return v}()},V.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[l.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,selected:V.active,onClick:function(){function v(){return b("setToggle",{toggle_key:V.key})}return v}()},V.key)}),l.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{color:V.syndi?"red":"default",content:V.name,selected:V.id===i,onClick:function(){function v(){return b("setEmotion",{emotion:V.id})}return v}()},V.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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data.active_convo;return c?(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 k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.app_data,m=u.minFrequency,l=u.maxFrequency,d=u.frequency,s=u.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:l/10,value:d/10,format:function(){function i(C){return(0,t.toFixed)(C,1)}return i}(),onChange:function(){function i(C,V){return h("freq",{freq:V})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return h("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return h("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return k}()},19873:function(w,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_sec_chem=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.app_data,u=c.holder,m=c.dead,l=c.health,d=c.current_chemicals,s=c.available_chemicals;return u?(0,e.createComponentVNode)(2,t.Box,{children:(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:l/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.name+" ("+i.cost+")",tooltip:i.desc,disabled:i.cost>d,onClick:function(){function C(){return b("secreteChemicals",{key:i.key})}return C}()},i.key)}),s.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.janitor,u=c.user_loc,m=c.mops,l=c.buckets,d=c.cleanbots,s=c.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[u.x,",",u.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - ",i.status]},i)})}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:l.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - [",i.volume,"/",i.max_volume,"]"]},i)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - ",i.status]},i)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:[i.x,",",i.y," (",i.dir,") - [",i.volume,"/",i.max_volume,"]"]},i)})})]})}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 k(y,S){var b=(0,t.useBackend)(S),h=b.act,c=b.data,u=c.owner,m=c.ownjob,l=c.idInserted,d=c.categories,s=c.pai,i=c.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:[u,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!l,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:d.map(function(C){var V=c.apps[C];return!V||!V.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:C,children:V.map(function(v){return(0,e.createComponentVNode)(2,o.Button,{icon:v.uid in i?v.notify_icon:v.icon,iconSpin:v.uid in i,color:v.uid in i?"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 k}()},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(k,y){var S=(0,a.useBackend)(y),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(k,y){var S=(0,a.useBackend)(y),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,c){var u=(0,t.useBackend)(c),m=u.act,l=u.data,d=l.active_convo;return d?(0,e.createComponentVNode)(2,k,{data:l}):(0,e.createComponentVNode)(2,y,{data:l})}return b}(),k=r.ActiveConversation=function(){function b(h,c){var u=(0,t.useBackend)(c),m=u.act,l=h.data,d=l.convo_device,s=l.messages,i=l.active_convo,C=(0,t.useLocalState)(c,"clipboardMode",!1),V=C[0],v=C[1],p=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:V,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return v(!V)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return m("Message",{target:i})}return g}(),content:"Reply"})],4),children:(0,a.filter)(function(g){return g.target===i})(s).map(function(g,N){return(0,e.createComponentVNode)(2,o.Box,{textAlign:g.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:g.sent?"#4d9121":"#cd7a0d",position:"absolute",left:g.sent?null:"0px",right:g.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:g.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:g.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:g.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[g.sent?"You:":"Them:"," ",g.message]})]},N)})});return V&&(p=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:V,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return v(!V)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return m("Message",{target:i})}return g}(),content:"Reply"})],4),children:(0,a.filter)(function(g){return g.target===i})(s).map(function(g,N){return(0,e.createComponentVNode)(2,o.Box,{color:g.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[g.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:g.message})]},N)})})),(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 g(){return m("Clear",{option:"Convo"})}return g}()})})})}),p]})}return b}(),y=r.MessengerList=function(){function b(h,c){var u=(0,t.useBackend)(c),m=u.act,l=h.data,d=l.convopdas,s=l.pdas,i=l.charges,C=l.silent,V=l.toff,v=(0,t.useLocalState)(c,"searchTerm",""),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function N(){return m("Toggle Ringer")}return N}(),children:["Ringer: ",C?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:V?"bad":"green",icon:"power-off",onClick:function(){function N(){return m("Toggle Messenger")}return N}(),children:["Messenger: ",V?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return m("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return m("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!V&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!d.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:p,onInput:function(){function N(x,B){g(B)}return N}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:l,pdas:d,msgAct:"Select Conversation",searchTerm:p}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:l,searchTerm:p})]})}return b}(),S=function(h,c){var u=(0,t.useBackend)(c),m=u.act,l=h.data,d=h.pdas,s=h.title,i=h.msgAct,C=h.searchTerm,V=l.charges,v=l.plugins;return!d||!d.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:d.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 g(){return m(i,{target:p.uid})}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!V&&v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.icon,content:g.name,onClick:function(){function N(){return m("Messenger Plugin",{plugin:g.uid,target:p.uid})}return N}()},g.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 y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mulebot,l=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:l?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mulebot,l=m.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[l.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function s(){return c("AccessBot",{uid:d.uid})}return s}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return c("Rescan")}return d}()})})]})},k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.mulebot,l=m.botstatus,d=m.active,s=l.mode,i=l.loca,C=l.load,V=l.powr,v=l.dest,p=l.home,g=l.retn,N=l.pick,x;switch(s){case 0:x="Ready";break;case 1:x="Loading/Unloading";break;case 2:case 12:x="Navigating to delivery location";break;case 3:x="Navigating to Home";break;case 4:x="Waiting for clear path";break;case 5:case 6:x="Calculating navigation path";break;case 7:x="Unable to locate destination";break;default:x=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[V,"%"]}),(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 B(){return c("SetDest")}return B}()})}),(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 B(){return c("Unload")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function B(){return c("SetAutoPickup",{autoPickupType:N?"pickoff":"pickon"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Yes":"No",selected:g,onClick:function(){function B(){return c("SetAutoReturn",{autoReturnType:g?"retoff":"reton"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function B(){return c("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return c("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return c("ReturnHome")}return B}()})]})]})]})}},97085:function(w,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_notes=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:c}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function u(){return b("Edit")}return u}(),content:"Edit"})]})}return f}()},57513:function(w,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(89005),a=n(72253),t=n(61631),o=r.pda_power=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return f}()},57635:function(w,r,n){"use strict";r.__esModule=!0,r.pda_request_console=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25472),f=r.pda_request_console=function(){function k(y,S){var b=(0,a.useBackend)(S),h=b.act,c=b.data,u=c.screen,m=c.selected_console,l=c.consoles_data,d=c.app;return m?(0,e.createComponentVNode)(2,t.Box,{children:[(o.pages[u]||o.pages.default)(),u===0?(0,e.createComponentVNode)(2,t.Button,{content:"Back to console selection",icon:"arrow-left",onClick:function(){function s(){return h("back")}return s}()}):""]}):(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:l.map(function(s){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{color:s.priority===1?"green":s.priority===2?"red":"default",content:s.name,onClick:function(){function i(){return h("select",{name:s.name})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:s.muted?"volume-mute":"volume-up",onClick:function(){function i(){return h("mute",{name:s.name})}return i}()})]})})},s.name)})})})}return k}()},99808:function(w,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_secbot=function(){function y(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.beepsky,l=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:l?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.beepsky,l=m.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[l.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function s(){return c("AccessBot",{uid:d.uid})}return s}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return c("Rescan")}return d}()})})]})},k=function(S,b){var h=(0,a.useBackend)(b),c=h.act,u=h.data,m=u.beepsky,l=m.botstatus,d=m.active,s=l.mode,i=l.loca,C;switch(s){case 0:C="Ready";break;case 1:C="Apprehending target";break;case 2:case 3:C="Arresting target";break;case 4:C="Starting patrol";break;case 5:C="On patrol";break;case 6:C="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:C}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function V(){return c("Go")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function V(){return c("Stop")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function V(){return c("Summon")}return V}()})]})]})]})}},77168:function(w,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_security=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b,recordType:"SEC"})}return f}()},21773:function(w,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pda_signaler=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:h})}return f}()},81857:function(w,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_status_display=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function u(){return b("Status",{statdisp:"blank"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function u(){return b("Status",{statdisp:"shuttle"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function u(){return b("Status",{statdisp:"message"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"redalert"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"default"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"lockdown"})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function u(){return b("Status",{statdisp:"alert",alert:"biohazard"})}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:c.message1+" (set)",icon:"pen",onClick:function(){function u(){return b("Status",{statdisp:"setmsg1"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:c.message2+" (set)",icon:"pen",onClick:function(){function u(){return b("Status",{statdisp:"setmsg2"})}return u}()})})]})})}return f}()},70287:function(w,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_supplyrecords=function(){function f(k,y){var S=(0,a.useBackend)(y),b=S.act,h=S.data,c=h.supply,u=c.shuttle_loc,m=c.shuttle_time,l=c.shuttle_moving,d=c.approved,s=c.approved_count,i=c.requests,C=c.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:l?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",m]}):(0,e.createComponentVNode)(2,t.Box,{children:u})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:C>0&&i.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{children:["#",V.Number,' - "',V.Name,'" for "',V.OrderedBy,'"']},V)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&d.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{children:["#",V.Number,' - "',V.Name,'" for "',V.ApprovedBy,'"']},V)})})]})}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"],k=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT