diff --git a/code/modules/economy/robotic_quests/robo_quest_console.dm b/code/modules/economy/robotic_quests/robo_quest_console.dm index d42e7761d94..4a9e7aa95cf 100644 --- a/code/modules/economy/robotic_quests/robo_quest_console.dm +++ b/code/modules/economy/robotic_quests/robo_quest_console.dm @@ -73,8 +73,11 @@ /obj/machinery/computer/roboquest/attackby(obj/item/O, mob/user, params) if(istype(O, /obj/item/card/id)) - currentID = O user.drop_item_ground(O) + if(currentID) + currentID.forceMove(loc) + user.put_in_any_hand_if_possible(currentID) + currentID = O O.forceMove(src) SStgui.try_update_ui(user, src) if(istype(O, /obj/item/multitool)) @@ -201,7 +204,7 @@ if("GetTask") var/list/mecha_types = list("Working Mech" = WORKING_CLASS, "Medical Mech" = MEDICAL_CLASS, "Combat Mech" = COMBAT_CLASS, "Random Mech" = RANDOM_CLASS) var/mecha_type = tgui_input_list(usr, "Select event type.", "Select", mecha_types) - if(!mecha_type) + if(!mecha_type || !currentID || currentID.robo_bounty) return pick_mecha(mecha_types[mecha_type]) if("RemoveTask") diff --git a/code/modules/economy/robotic_quests/robo_quests.dm b/code/modules/economy/robotic_quests/robo_quests.dm index 0457b2997b3..34331e011a0 100644 --- a/code/modules/economy/robotic_quests/robo_quests.dm +++ b/code/modules/economy/robotic_quests/robo_quests.dm @@ -74,7 +74,7 @@ var/list/newmodule = list() var/obj/module = new i newmodule["id"] = modules_amount - newmodule["icon"] = icon2base64(icon(module.icon, module.icon_state, SOUTH, 1)) + newmodule["icon"] = path2assetID(i) newmodule["name"] = capitalize(module.name) questinfo["modules"] += list(newmodule) qdel(module) diff --git a/tgui/packages/tgui/interfaces/RoboQuest.js b/tgui/packages/tgui/interfaces/RoboQuest.js index c9eeabf3057..b1a600e4b80 100644 --- a/tgui/packages/tgui/interfaces/RoboQuest.js +++ b/tgui/packages/tgui/interfaces/RoboQuest.js @@ -46,7 +46,7 @@ export const RoboQuest = (props, context) => { }; return ( - + @@ -301,22 +301,25 @@ export const RoboQuest = (props, context) => { {shopItems.robo.map( (i) => (!i.emagOnly || style === 'syndicate') && ( -
- act('buyItem', { - item: i.path, - }) - } - /> + asset + color="purple" + image={i.icon} + imageAsset="roboquest64x64" + title={ + + {i.name}{' '} + {i.cost.robo} + } - > - {i.desc} -
+ content={i.desc} + onClick={() => + act('buyItem', { + item: i.path, + }) + } + /> ) )} diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index b00430f8b46..5f027ebd2bb 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -243,7 +243,7 @@ * @copyright 2021 bobbahbrown (https://github.com/bobbahbrown) * @coauthor 2022 BeebBeebBoob (https://github.com/BeebBeebBoob) * @license MIT - */var y=r.RequestManager=function(){function p(a,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.requests,l=(0,t.useLocalState)(c,"filteredTypes",Object.fromEntries(Object.entries(V).map(function(B){var L=B[0],w=B[1];return[L,!0]}))),v=l[0],b=l[1],C=(0,t.useLocalState)(c,"searchText"),h=C[0],g=C[1],N=m.filter(function(B){return v[B.req_type]});if(h){var x=h.toLowerCase();N=N.filter(function(B){return(0,i.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,s.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:h,onInput:function(){function B(L,w){return g(w)}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,k,{requestType:B.req_type}),(0,i.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,S,{request:B})],0,null,B.id)})})})})}return p}(),V={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},k=function(a){var c=a.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+c,[V[c],(0,e.createTextVNode)(":")],0)},S=function(a,c){var f=(0,t.useBackend)(c),u=f.act,d=f._,m=a.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("pp",{id:m.id})}return l}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("vv",{id:m.id})}return l}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("sm",{id:m.id})}return l}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("tp",{id:m.id})}return l}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("logs",{id:m.id})}return l}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("bless",{id:m.id})}return l}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("smite",{id:m.id})}return l}(),children:"SMITE"}),m.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("rply",{id:m.id})}return l}(),children:"RPLY"}),m.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("ertreply",{id:m.id})}return l}(),children:"ERTREPLY"}),m.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("getcode",{id:m.id})}return l}(),children:"GETCODE"})],0)}},89641:function(I,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),i=n(17899),t=n(45493),o=n(24674),s=n(3422),y=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},V=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},k=r.RndConsole=function(){function S(p,a){var c=(0,i.useBackend)(a),f=c.data,u=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:f.ui_theme,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,s.RndNavbar),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.MAIN,render:function(){function d(){return(0,e.createComponentVNode)(2,s.MainMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.LEVELS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.CurrentLevels)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DISK,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DataDiskMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DESTROY,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DeconstructionMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:function(){function d(m){return m===y.LATHE||m===y.IMPRINTER}return d}(),render:function(){function d(){return(0,e.createComponentVNode)(2,s.LatheMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.SETTINGS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.SettingsMenu)}return d}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return S}()},19348:function(I,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.CurrentLevels=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=S.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(a,c){var f=a.name,u=a.level,d=a.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",d]})]},f)})]})}return s}()},338:function(I,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=n(89641),y="design",V="tech",k=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function g(){return C("updt_tech")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function g(){return C("clear_tech")}return g}()}),(0,e.createComponentVNode)(2,a)]})]}):null},S=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_data;if(!h)return null;var g=h.name,N=h.lathe_types,x=h.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 C("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return C("clear_design")}return L}()}),(0,e.createComponentVNode)(2,a)]})]})},p=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=b.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:s.SUBMENU.DISK_COPY,icon:"arrow-down",content:C===V?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,a)]})]})},a=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function g(){var N=h===V?"eject_tech":"eject_design";C(N)}return g}()}):null},c=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=b.disk_data,h=b.disk_type,g=function(){if(!C)return(0,e.createComponentVNode)(2,p);switch(h){case y:return(0,e.createComponentVNode)(2,S);case V:return(0,e.createComponentVNode)(2,k);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:g()})},f=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_type,g=b.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(){h===V?C("copy_tech",{id:B}):C("copy_design",{id:B})}return L}()})},B)})})})})},u=r.DataDiskMenu=function(){function d(m,l){var v=(0,i.useBackend)(l),b=v.data,C=b.disk_type;return C?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,f)}return h}()})],4):null}return d}()},90785:function(I,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=k.act,a=S.loaded_item,c=S.linked_destroy;return c?a?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",a.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:a.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return s}()},34492:function(I,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=r.LatheCategory=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.data,a=S.act,c=p.category,f=p.matching_designs,u=p.menu,d=u===4,m=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(l){var v=l.id,b=l.name,C=l.can_build,h=l.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:b,disabled:C<1,onClick:function(){function g(){return a(m,{id:v,amount:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function g(){return a(m,{id:v,amount:5})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function g(){return a(m,{id:v,amount:10})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.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)})})]},v)})})]})}return y}()},84275:function(I,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=k.act,a=S.loaded_chemicals,c=S.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=c?"disposeallP":"disposeallI";p(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:a.map(function(f){var u=f.volume,d=f.name,m=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function l(){var v=c?"disposeP":"disposeI";p(v,{id:m})}return l}()})},m)})})]})}return s}()},12638:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=r.LatheMainMenu=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.data,a=S.act,c=p.menu,f=p.categories,u=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(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 m(){a("setCategory",{category:d})}return m}()})},d)})})]})}return y}()},89004:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=k.act,a=S.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:a.map(function(c){var f=c.id,u=c.amount,d=c.name,m=function(){function C(h){var g=S.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(g,{id:f,amount:h})}return C}(),l=Math.floor(u/2e3),v=u<1,b=l===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:v?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",l," sheet",b,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function C(){return m(1)}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function C(){return m("custom")}return C}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function C(){return m(5)}return C}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function C(){return m(50)}return C}()})],0):null})]},f)})})})}return s}()},73856:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheMaterials=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=S.total_materials,a=S.max_materials,c=S.max_chemicals,f=S.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),a?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+a}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return s}()},75955:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),i=n(17899),t=n(78345),o=n(3422),s=n(24674),y=n(89641),V=r.LatheMenu=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.data,f=c.menu,u=c.linked_lathe,d=c.linked_imprinter;return f===4&&!u?(0,e.createComponentVNode)(2,s.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!d?(0,e.createComponentVNode)(2,s.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.MAIN,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CATEGORY,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_MAT_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return m}()})]})}return k}()},72880:function(I,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheSearch=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(a,c){return S("search",{to_search:c})}return p}()})})}return s}()},62306:function(I,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=n(89641),y=r.MainMenu=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.data,c=a.disk_type,f=a.linked_destroy,u=a.linked_lathe,d=a.linked_imprinter,m=a.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:s.MENU.DISK,submenu:s.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:s.MENU.DESTROY,submenu:s.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:s.MENU.LATHE,submenu:s.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:s.MENU.IMPRINTER,submenu:s.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:s.MENU.SETTINGS,submenu:s.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:m.map(function(l){var v=l.name,b=l.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:v,children:b},v)})})]})}return V}()},99941:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.RndNavButton=function(){function s(y,V){var k=y.icon,S=y.children,p=y.disabled,a=y.content,c=(0,i.useBackend)(V),f=c.data,u=c.act,d=f.menu,m=f.submenu,l=d,v=m;return y.menu!==null&&y.menu!==void 0&&(l=y.menu),y.submenu!==null&&y.submenu!==void 0&&(v=y.submenu),(0,e.createComponentVNode)(2,t.Button,{content:a,icon:k,disabled:p,onClick:function(){function b(){u("nav",{menu:l,submenu:v})}return b}(),children:S})}return s}()},24448:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),i=n(3422),t=n(24674),o=n(89641),s=r.RndNavbar=function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,i.RndRoute,{menu:function(){function V(k){return k!==o.MENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,i.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return V}()}),(0,e.createComponentVNode)(2,i.RndRoute,{submenu:function(){function V(k){return k!==o.SUBMENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.DISK,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return k}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.LATHE,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return k}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return k}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return k}()})]})}return V}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:function(){function V(k){return k===o.MENU.LATHE||k===o.MENU.IMPRINTER}return V}(),submenu:o.SUBMENU.MAIN,render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return V}()})]})}return y}()},78345:function(I,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),i=r.RndRoute=function(){function t(o,s){var y=o.render,V=(0,e.useBackend)(s),k=V.data,S=k.menu,p=k.submenu,a=function(){function f(u,d){return u==null?!0:typeof u=="function"?u(d):u===d}return f}(),c=a(o.menu,S)&&a(o.submenu,p);return c?y():null}return t}()},56454:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=n(89641),y=r.SettingsMenu=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.data,c=p.act,f=a.sync,u=a.admin,d=a.linked_destroy,m=a.linked_lathe,l=a.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function b(){c("sync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:s.MENU.SETTINGS,submenu:s.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function b(){return c("maxresearch")}return b}()}):null]})})}return v}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.SETTINGS_DEVICES,render:function(){function v(){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 b(){return c("find_device")}return b}()}),(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 b(){return c("disconnect",{item:"destroy"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),m?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){c("disconnect",{item:"lathe"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return c("disconnect",{item:"imprinter"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return v}()})]})}return V}()},3422:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var i=n(338);r.DataDiskMenu=i.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var s=n(84275);r.LatheChemicalStorage=s.LatheChemicalStorage;var y=n(12638);r.LatheMainMenu=y.LatheMainMenu;var V=n(73856);r.LatheMaterials=V.LatheMaterials;var k=n(89004);r.LatheMaterialStorage=k.LatheMaterialStorage;var S=n(75955);r.LatheMenu=S.LatheMenu;var p=n(72880);r.LatheSearch=p.LatheSearch;var a=n(62306);r.MainMenu=a.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var f=n(99941);r.RndNavButton=f.RndNavButton;var u=n(78345);r.RndRoute=u.RndRoute;var d=n(56454);r.SettingsMenu=d.SettingsMenu},65020:function(I,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(96524),i=n(28234),t=n(17899),o=n(24674),s=n(45493),y=r.RoboQuest=function(){function V(k,S){var p=(0,t.useBackend)(S),a=p.act,c=p.data,f=c.hasID,u=c.name,d=c.questInfo,m=c.hasTask,l=c.canCheck,v=c.canSend,b=c.checkMessage,C=c.style,h=c.cooldown,g=c.shopItems,N=c.points,x=c.cats,B=(0,t.useLocalState)(S,"shopState",!1),L=B[0],w=B[1],A={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,s.Window,{theme:C,width:940,height:540,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Mecha",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Check Mech",icon:"search",disabled:!f||!m||!l||h,onClick:function(){function T(){return a("Check")}return T}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!m&&(0,e.createVNode)(1,"img",(0,i.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:!!m&&d.modules.map(function(T){return T.id<4&&(0,e.createVNode)(1,"img",(0,i.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&d.modules.map(function(T){return T.id>3&&(0,e.createVNode)(1,"img",(0,i.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,b,0)],4),!!h&&(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,h,0)],4)]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["Corps bounties",(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",(0,e.createVNode)(1,"b",null,N.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,N.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,N.security,0,{style:{color:"red"}})]})]}),children:Object.keys(g).map(function(T){return(0,e.createFragment)(!(g[T]===void 0||g[T].length===0||T==="robo")&&g[T].map(function(E){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:A[T],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.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.security,0,{style:{color:"red"}})]}),content:E.desc,onClick:function(){function O(){return a("buyItem",{item:E.path})}return O}()},E.path)}),0,T)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Other",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Shop",icon:"shopping-cart",onClick:function(){function T(){return w(!L)}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",onClick:function(){function T(){return a("ChangeStyle")}return T}()})],4),children:!!u&&(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,u,0),(0,e.createVNode)(1,"br")],4)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Info",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"Eject ID",disabled:!f,onClick:function(){function T(){return a("RemoveID")}return T}()}),!m&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"Get Task",disabled:!f||h,onClick:function(){function T(){return a("GetTask")}return T}()}),!!m&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Print",icon:"print",onClick:function(){function T(){return a("printOrder")}return T}(),disabled:!m}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Remove Task",disabled:!f||h,onClick:function(){function T(){return a("RemoveTask")}return T}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"Name: ",16),d.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"Desc: ",16),d.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"Modules",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!m&&d.modules.map(function(T){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),T.id],0),(0,e.createTextVNode)(": "),T.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,T.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Send Mech",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return a("SendMech",{type:"send"})}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Pack",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return a("SendMech",{type:"only_packing"})}return T}()})]})]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("RoboQuest Shop"),(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",N.robo]})],4),children:g.robo.map(function(T){return(!T.emagOnly||C==="syndicate")&&(0,e.createComponentVNode)(2,o.Section,{title:T.name,buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Buy ("+T.cost.robo+"P)",onClick:function(){function E(){return a("buyItem",{item:T.path})}return E}()}),children:(0,e.createComponentVNode)(2,o.Box,{italic:!0,children:T.desc})},T.name)})})]})]})})})}return V}()},71123:function(I,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=n(78234),y=function(S,p){var a=S/p;return a<=.2?"good":a<=.5?"average":"bad"},V=r.RobotSelfDiagnosis=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.data,f=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,s.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:y(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:y(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},d)})})})}return k}()},98951:function(I,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.RoboticsControlConsole=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.can_hack,u=c.safety,d=c.show_detonate_all,m=c.cyborgs,l=m===void 0?[]:m;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:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function v(){return a("arm",{})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function v(){return a("nuke",{})}return v}()})]}),(0,e.createComponentVNode)(2,y,{cyborgs:l,can_hack:f})]})})}return V}(),y=function(k,S){var p=k.cyborgs,a=k.can_hack,c=(0,i.useBackend)(S),f=c.act,u=c.data;return p.length?p.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 m(){return f("hackbot",{uid:d.uid})}return m}()}),(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:!u.auth,onClick:function(){function m(){return f("stopbot",{uid:d.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!u.auth,color:"bad",onClick:function(){function m(){return f("killbot",{uid:d.uid})}return m}()})],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."})}},2289:function(I,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Safe=function(){function S(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.dial,m=u.open,l=u.locked,v=u.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),m?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*d+"deg)","z-index":0}})]}),!m&&(0,e.createComponentVNode)(2,k)]})})}return S}(),y=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.dial,m=u.open,l=u.locked,v=function(C,h){return(0,e.createComponentVNode)(2,t.Button,{disabled:m||h&&!l,icon:"arrow-"+(h?"right":"left"),content:(h?"Right":"Left")+" "+C,iconRight:h,onClick:function(){function g(){return f(h?"turnleft":"turnright",{num:C})}return g}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:l,icon:m?"lock":"lock-open",content:m?"Close":"Open",mb:"0.5rem",onClick:function(){function b(){return f("open")}return b}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[v(50),v(10),v(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[v(1,!0),v(10,!0),v(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:d})]})},V=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:d.map(function(m,l){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function v(){return f("retrieve",{index:l+1})}return v}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:m.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),m.name]}),(0,e.createVNode)(1,"br")],4,m)})})},k=function(p,a){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(I,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SatelliteControl=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.satellites,f=a.notice,u=a.meteor_shield,d=a.meteor_shield_coverage,m=a.meteor_shield_coverage_max,l=a.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:l>=100?"good":"average",value:d,maxValue:m,children:[l," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:a.notice}),c.map(function(v){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+v.id,children:[v.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:v.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function b(){return p("toggle",{id:v.id})}return b}()})]},v.id)})]})})]})})}return y}()},54892:function(I,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SecureStorage=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.emagged,f=a.locked,u=a.l_set,d=a.l_setshort,m=a.current_code,l=function(){function v(b){var C=b.buttonValue,h=b.color;return h||(h="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:c||d,type:"button",color:h,onClick:function(){function g(){return p("setnumber",{buttonValue:C})}return g}(),children:C})}return v}();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,l,{buttonValue:"1"}),(0,e.createComponentVNode)(2,l,{buttonValue:"2"}),(0,e.createComponentVNode)(2,l,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"4"}),(0,e.createComponentVNode)(2,l,{buttonValue:"5"}),(0,e.createComponentVNode)(2,l,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"7"}),(0,e.createComponentVNode)(2,l,{buttonValue:"8"}),(0,e.createComponentVNode)(2,l,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,l,{buttonValue:"0"}),(0,e.createComponentVNode)(2,l,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:c||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:c?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),c?(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:u?"red":"green",children:u?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:f?"red":"green",children:f?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:m||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:f,color:"red",content:"Lock",icon:"lock",onClick:function(){function v(){return p("close")}return v}()})]})})]})})}return y}()},56798:function(I,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),i=n(78234),t=n(17899),o=n(24674),s=n(45493),y=n(99665),V=n(68159),k=n(27527),S=n(84537),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},a=function(g,N){(0,y.modalOpen)(g,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function h(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.loginState,A=L.currentPage,T;if(w.logged_in)A===1?T=(0,e.createComponentVNode)(2,u):A===2?T=(0,e.createComponentVNode)(2,l):A===3&&(T=(0,e.createComponentVNode)(2,v));else return(0,e.createComponentVNode)(2,s.Window,{width:800,height:900,theme:"security",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});return(0,e.createComponentVNode)(2,s.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,f),T]})})]})}return h}(),f=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===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:w===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),w===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},u=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],O=(0,t.useLocalState)(N,"sortId","name"),P=O[0],R=O[1],F=(0,t.useLocalState)(N,"sortOrder",!0),j=F[0],U=F[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,m)}),(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"})]}),w.filter((0,i.createSearch)(T,function(_){return _.name+"|"+_.id+"|"+_.rank+"|"+_.fingerprint+"|"+_.status})).sort(function(_,K){var Y=j?1:-1;return _[P].localeCompare(K[P])*Y}).map(function(_){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[_.status],onClick:function(){function K(){return B("view",{uid_gen:_.uid_gen,uid_sec:_.uid_sec})}return K}(),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:_.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:_.status})]},_.id)})]})})})],4)},d=function(g,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],w=(0,t.useLocalState)(N,"sortOrder",!0),A=w[0],T=w[1],E=g.id,O=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 P(){B===E?T(!A):(L(E),T(!0))}return P}(),children:[O,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},m=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=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 O(){return B("new_general")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function O(){return(0,y.modalOpen)(N,"print_cell_log")}return O}()})}),(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 O(P,R){return E(R)}return O}()})})]})},l=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}()})]})},v=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=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:w,icon:w?"spinner":"print",iconSpin:!!w,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,b)})}),!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,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,i.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 P(){return a(N,E)}return P}()})]},O)})})})})}),(0,e.createComponentVNode)(2,C)],4)],0)},b=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(w,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,preserveWhitespace:!0,children:[(0,i.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function T(){return a(N,w)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(w,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:w,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)})]})},C=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=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,y.modalOpen)(N,"comment_add")}return A}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.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)})})})}},59981:function(I,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),i=n(78234),t=n(28234),o=n(17899),s=n(24674),y=n(45493),V=n(99665);function k(m,l){var v=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(v)return(v=v.call(m)).next.bind(v);if(Array.isArray(m)||(v=S(m))||l&&m&&typeof m.length=="number"){v&&(m=v);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(m,l){if(m){if(typeof m=="string")return p(m,l);var v=Object.prototype.toString.call(m).slice(8,-1);if(v==="Object"&&m.constructor&&(v=m.constructor.name),v==="Map"||v==="Set")return Array.from(m);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return p(m,l)}}function p(m,l){(l==null||l>m.length)&&(l=m.length);for(var v=0,b=new Array(l);v=T},C=function(A,T){return A<=T},h=l.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(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function P(R){return!1}return P}()};var E,O=v;if(T[1][T[1].length-1]==="-"?(O=C,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(O=b,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function P(R){return!1}return P}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":g.push(function(P){return O(P.lifespan,E)});break;case"e":case"end":case"endurance":g.push(function(P){return O(P.endurance,E)});break;case"m":case"mat":case"maturation":g.push(function(P){return O(P.maturation,E)});break;case"pr":case"prod":case"production":g.push(function(P){return O(P.production,E)});break;case"y":case"yield":g.push(function(P){return O(P.yield,E)});break;case"po":case"pot":case"potency":g.push(function(P){return O(P.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":g.push(function(P){return O(P.amount,E)});break;default:return{v:function(){function P(R){return!1}return P}()}}},x,B=k(h),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(w){for(var A=0,T=g;A=1?Number(O):1)}return T}()})]})]})}},33454:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.ShuttleConsole=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=a.type,l=m===void 0?"shuttle":m,v=a.blind_drop,b=d.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!b&&(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:l==="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 C(){return u("request")}return C}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S,{type:l,blind_drop:v})})]})}return p}(),y=function(a,c){var f;return a==null||(f=a.find(function(u){return u.id===c}))==null?void 0:f.name},V=function(a,c){var f;return a==null||(f=a.find(function(u){return u.name===c}))==null?void 0:f.id},k={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},S=r.ShuttleConsoleContent=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=a.type,l=a.blind_drop,v=d.status,b=d.locked,C=d.authorization_required,h=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:k[v]||"bad",ml:1,children:v||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:m==="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:m!=="shuttle"&&B.length===0&&!!l&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:C||!l,content:"Blind Drop",onClick:function(){function L(){return u("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:y(B,h)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:b||C,selected:y(B,h)||"Select a Destination",onSelected:function(){function L(w){return u("set_destination",{destination:V(B,w)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!y(B,h)||b||C||v!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return u("move",{shuttle_id:h})}return L}()})]})]})}return p}()},50451:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.ShuttleManipulator=function(){function S(p,a){var c=(0,i.useLocalState)(a,"tabIndex",0),f=c[0],u=c[1],d=function(){function m(l){switch(l){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,V);case 2:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}}return m}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function m(){return u(0)}return m}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function m(){return u(1)}return m}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function m(){return u(2)}return m}(),icon:"tools",children:"Modification"},"Modification")]}),d(f)]})})})}return S}(),y=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.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:"ID",children:m.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:m.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:m.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:m.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function l(){return f("jump_to",{type:"mobile",id:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function l(){return f("fast_travel",{id:m.id})}return l}()})]})]})},m.name)})})},V=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.templates_tabs,m=u.existing_shuttle,l=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(v){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===m.id,icon:"file",onClick:function(){function b(){return f("select_template_category",{cat:v})}return b}(),children:v},v)})}),!!m&&l[m.id].templates.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:v.description}),v.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:v.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 b(){return f("select_template",{shuttle_id:v.shuttle_id})}return b}()})})]})},v.name)})]})},k=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.existing_shuttle,m=u.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 l(){return f("jump_to",{type:"mobile",id:d.id})}return l}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),m?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:m.description}),m.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:m.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function l(){return f("preview",{shuttle_id:m.shuttle_id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function l(){return f("load",{shuttle_id:m.shuttle_id})}return l}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(I,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),i=n(36121),t=n(17899),o=n(24674),s=n(45493),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function l(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.hasOccupant,x=N?(0,e.createComponentVNode)(2,a):(0,e.createComponentVNode)(2,m);return(0,e.createComponentVNode)(2,s.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,s.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,u)})]})})})}return l}(),a=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,d)],4)},c=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.occupant,x=g.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"On":"Off",onClick:function(){function B(){return h("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function B(){return h("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",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,i.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:y[N.stat][0],children:y[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:S[N.temperatureSuitability+3],children:[(0,i.round)(N.btCelsius,0),"\xB0C,",(0,i.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",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:"Pulse",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},f=function(v,b){var C=(0,t.useBackend)(b),h=C.data,g=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:V.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:k,children:(0,i.round)(g[N[1]],0)},x)},x)})})})},u=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.hasOccupant,x=g.isBeakerLoaded,B=g.beakerMaxSpace,L=g.beakerFreeSpace,w=g.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",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?"Active":"Inactive",onClick:function(){function T(){return h("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"Eject",onClick:function(){function T(){return h("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max: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:"No beaker loaded."})})},d=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.occupant,x=g.chemicals,B=g.maxchem,L=g.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:x.map(function(w,A){var T="",E;return w.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.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:w.occ_amount/B,color:T,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",B,"u"]}),L.map(function(O,P){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+O>B||N.stat===2,icon:"syringe",content:"Inject "+O+"u",title:"Inject "+O+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function R(){return h("chemical",{chemid:w.id,amount:O})}return R}()},P)})]})})},A)})})},m=function(v,b){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(I,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SlotMachine=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data;if(a.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 c;return a.plays===1?c=a.plays+" player has tried their luck today!":c=a.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:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:a.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:a.working,content:a.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:a.resultlvl,children:a.result})]})})})}return y}()},26654:function(I,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Smartfridge=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.secure,f=a.can_dry,u=a.drying,d=a.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function m(){return p("drying")}return m}()}),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"),"No products loaded."]})}),!!d&&d.slice().sort(function(m,l){return m.display_name.localeCompare(l.display_name)}).map(function(m){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:m.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",m.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function l(){return p("vend",{index:m.vend,amount:1})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:m.quantity,step:1,stepPixelSize:3,onChange:function(){function l(v,b){return p("vend",{index:m.vend,amount:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function l(){return p("vend",{index:m.vend,amount:m.quantity})}return l}()})]})]},m)})]})]})})})}return y}()},71124:function(I,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(92986),s=n(45493),y=1e3,V=r.Smes=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.capacityPercent,d=f.capacity,m=f.charge,l=f.inputAttempt,v=f.inputting,b=f.inputLevel,C=f.inputLevelMax,h=f.inputAvailable,g=f.outputPowernet,N=f.outputAttempt,x=f.outputting,B=f.outputLevel,L=f.outputLevelMax,w=f.outputUsed,A=u>=100&&"good"||v&&"average"||"bad",T=x&&"good"||m>0&&"average"||"bad";return(0,e.createComponentVNode)(2,s.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l?"sync-alt":"times",selected:l,onClick:function(){function E(){return c("tryinput")}return E}(),children:l?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||v&&"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:b===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:b===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:b/y,fillValue:h/y,minValue:0,maxValue:C/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("input",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:b===C,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:b===C,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){function E(){return c("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:g?x?"Sending":m>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 c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/y,minValue:0,maxValue:L/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("output",{target:P*y})}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 c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return k}()},21786:function(I,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SolarControl=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=0,f=1,u=2,d=a.generated,m=a.generated_ratio,l=a.tracking_state,v=a.tracking_rate,b=a.connected_panels,C=a.connected_tracker,h=a.cdir,g=a.direction,N=a.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 p("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:C?"good":"bad",children:C?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:b>0?"good":"bad",children:b})]})}),(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:m,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",g,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),l===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",v,"\xB0/h (",N,")"," "]}),l===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[l!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function x(B,L){return p("cdir",{cdir:L})}return x}()}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:l===c,onClick:function(){function x(){return p("track",{track:c})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:l===f,onClick:function(){function x(){return p("track",{track:f})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:l===u,disabled:!C,onClick:function(){function x(){return p("track",{track:u})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:v,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 p("tdir",{tdir:L})}return x}()}),l===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return y}()},31202:function(I,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SpawnersMenu=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return y}()},54015:function(I,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(91097),s=n(45493);function y(m,l){m.prototype=Object.create(l.prototype),m.prototype.constructor=m,V(m,l)}function V(m,l){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(b,C){return b.__proto__=C,b}return v}(),V(m,l)}var k=r.SpiderOS=function(){function m(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.data,g;return h.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,c)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,f)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,a),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})]}):h.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,u),(0,e.createComponentVNode)(2,d,{allMessages:h.current_load_text,finishedTimeout:3e3,current_initialisation_phase:h.current_initialisation_phase,end_terminal:h.end_terminal,onFinished:function(){function N(){return C("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,s.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:g})})})}return m}(),S=function(l,v){var b=(0,i.useBackend)(v),C=b.data,h=C.allStylesPreview,g=C.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"},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.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+h[g],style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}})})})})})},p=function(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.data,g=h.designs,N=h.design_choice,x=h.scarf_design_choice,B=h.colors,L=h.color_choice,w=h.genders,A=h.preferred_clothes_gender,T=h.suit_state,E=h.preferred_scarf_over_hood,O=h.show_charge_UI,P=h.has_martial_art,R=h.show_concentration_UI,F;T===0?F="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":F="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var j;E===0?j="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":j="\u0428\u0430\u0440\u0444";var U;E===1?U=(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 K(Y){return C("set_scarf_design",{scarf_design_choice:Y})}return K}()})}):U=null;var _;return P?_=(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:R,width:"78px",textAlign:"left",content:R?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function K(){return C("toggle_ui_concentration")}return K}()}),(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"})]})}):_=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",ml:.5,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 K(Y){return C("set_design",{design_choice:Y})}return K}()})}),(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 K(Y){return C("set_color",{color_choice:Y})}return K}()})}),(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:w,selected:A,onSelected:function(){function K(Y){return C("set_gender",{preferred_clothes_gender:Y})}return K}()})}),(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:j,onClick:function(){function K(){return C("toggle_scarf")}return K}()}),(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"})]}),U,(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:O,width:"90px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function K(){return C("toggle_ui_charge")}return K}()}),(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"})]}),_]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+L,success:0,danger:0,mt:-1.2,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",mt:.5,textAlign:"center",content:F,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 K(){return C("initialise_suit")}return K}()})})]})})},a=function(l,v){var b=(0,i.useBackend)(v),C=b.data,h=C.allActionsPreview;return(0,e.createComponentVNode)(2,t.Section,{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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_teleport,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.headset_green,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_sleeper,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ai_face,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_borg,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.server,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.buckler,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.cash,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.handcuff,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.spider_charge,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.BSM,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.changeling,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.vampire,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.syndicate,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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"})]})]})})})},c=function(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.data,g=h.allActionsPreview,N=h.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,{title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",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 C("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.smoke,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.ninja_cloak,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.ninja_clones,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.chameleon,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.ninja_spirit_form,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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,{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 C("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.kunai,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.chem_injector,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.emergency_blink,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.caltrop,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.cloning,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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,{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 C("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.shuriken,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.adrenal,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.emp,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.energynet,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.spider_red,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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"})]})]})]})]})})},f=r.ShuttleConsole=function(){function m(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.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",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:h.status?h.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:h.player_pos}),!!h.shuttle&&(!!h.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:h.docking_ports.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:g.name,onClick:function(){function N(){return C("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"})}),!!h.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:!h.status,onClick:function(){function g(){return C("request")}return g}()})})],0))]})})})}return m}(),u=function(l,v){var b=(0,i.useBackend)(v),C=b.data,h=C.randomPercent,g=C.allActionsPreview,N=C.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:h,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.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g["spider_"+N],style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createVNode)(1,"br"),"Loading ",h+"%"]}),2)})})},d=function(m){function l(b){var C;return C=m.call(this,b)||this,C.timer=null,C.state={lastText:"text do be there",currentDisplay:[]},C}y(l,m);var v=l.prototype;return v.tick=function(){function b(){var C=this.props,h=this.state;if(C.allMessages!==h.lastText&&!C.end_terminal){var g=h.currentDisplay;g.push(C.allMessages),h.lastText=C.allMessages}else C.end_terminal&&(clearTimeout(this.timer),setTimeout(C.onFinished,C.finishedTimeout))}return b}(),v.componentDidMount=function(){function b(){var C=this,h=this.props.linesPerSecond,g=h===void 0?2.5:h;this.timer=setInterval(function(){return C.tick()},1e3/g)}return b}(),v.componentWillUnmount=function(){function b(){clearTimeout(this.timer)}return b}(),v.render=function(){function b(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(C){return(0,e.createFragment)([C,(0,e.createVNode)(1,"br")],0,C)})})}return b}(),l}(e.Component)},46501:function(I,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.StationAlertConsole=function(){function V(){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,y)})})}return V}(),y=r.StationAlertConsoleContent=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.data,c=a.alarms||[];return Object.keys(c).map(function(f){var u,d;return(0,e.createComponentVNode)(2,t.Section,{title:f+" Alarms",children:(0,e.createVNode)(1,"ul",null,((u=c[f])==null?void 0:u.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(d=c[f])==null?void 0:d.map(function(m){return(0,e.createVNode)(1,"li","color-average",m,0,null,m)}),0)},f)})}return V}()},95147:function(I,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),i=n(50640),t=n(17442),o=n(17899),s=n(24674),y=n(45493),V=5,k=9,S=function(b){return b===0?5:9},p="64px",a=function(b){return b[0]+"/"+b[1]},c=function(b){var C=b.align,h=b.children;return(0,e.createComponentVNode)(2,s.Box,{style:{position:"absolute",left:C==="left"?"6px":"48px","text-align":C,"text-shadow":"2px 2px 2px #000",top:"2px"},children:h})},f={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"}},u={neck:{displayName:"neck",gridSpot:a([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:a([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:a([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:a([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:a([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:a([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:a([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:a([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:a([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:a([1,4])},jumpsuit:{displayName:"uniform",gridSpot:a([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:a([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:a([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:a([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:a([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:a([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:a([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:a([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:a([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:a([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:a([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:a([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:a([4,4]),image:"inventory-pda.png"}},d={neck:{displayName:"neck",gridSpot:a([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:a([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:a([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:a([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:a([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:a([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:a([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:a([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:a([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:a([1,4])},jumpsuit:{displayName:"uniform",gridSpot:a([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:a([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:a([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:a([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:a([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:a([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:a([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:a([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:a([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:a([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:a([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:a([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:a([4,8]),image:"inventory-pda.png"}},m=function(v){return v[v.Completely=1]="Completely",v[v.Hidden=2]="Hidden",v}(m||{}),l=r.StripMenu=function(){function v(b,C){var h=(0,o.useBackend)(C),g=h.act,N=h.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":f>150?"average":"good"},k=function(f){return f>5e3?"bad":f>4e3?"average":"good"},S=function(f){return f>1e4?"bad":f>5e3?"average":"good"},p=function(f,u){var d=(0,i.useBackend)(u),m=d.act,l=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 v(){return m("refresh")}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:l.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,s.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Details"})]}),l.supermatters.map(function(v){return(0,e.createComponentVNode)(2,s.TableRow,{children:[(0,e.createComponentVNode)(2,s.TableCell,{children:v.area_name}),(0,e.createComponentVNode)(2,s.TableCell,{children:[v.integrity,"%"]}),(0,e.createComponentVNode)(2,s.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function b(){return m("view",{view:v.uid})}return b}()})})]},v)})]})})})})})},a=function(f,u){var d=(0,i.useBackend)(u),m=d.act,l=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 v(){return m("back")}return v}()}),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:l.SM_integrity,children:[l.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:V(l.SM_power),children:[l.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(l.SM_ambienttemp),children:[l.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:S(l.SM_ambientpressure),children:[l.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:[l.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[l.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[l.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[l.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[l.SM_gas_OTHER,"%"]})]})})]})})}},30047:function(I,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(91097),s=n(45493),y=r.SyndicateComputerSimple=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data;return(0,e.createComponentVNode)(2,s.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:c.rows.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f.buttontitle,disabled:f.buttondisabled,tooltip:f.buttontooltip,tooltipPosition:"left",onClick:function(){function u(){return a(f.buttonact)}return u}()}),children:[f.status,!!f.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:f.bullets.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:u},u)})})]},f.title)})})})}return V}()},92869:function(I,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(96524),i=n(74041),t=n(50640),o=n(17899),s=n(24674),y=n(45493),V=n(91097),k=n(78234),S=r.SyndieCargoConsole=function(){function u(d,m){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,a),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})}return u}(),p=function(d,m){var l=(0,o.useLocalState)(m,"contentsModal",null),v=l[0],b=l[1],C=(0,o.useLocalState)(m,"contentsModalTitle",null),h=C[0],g=C[1];if(v!==null&&h!==null)return(0,e.createComponentVNode)(2,s.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,s.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[h,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,s.Box,{children:v.map(function(N){return(0,e.createComponentVNode)(2,s.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,s.Box,{m:2,children:(0,e.createComponentVNode)(2,s.Button,{content:"Close",onClick:function(){function N(){b(null),g(null)}return N}()})})]})},a=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,C=b.is_public,h=C===void 0?0:C,g=b.cash,N=b.wait_time,x=b.is_cooldown,B=b.telepads_status,L=b.adminAddCash,w=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?w=""+B+" (ETA: "+N+" seconds)":w=""+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,s.Section,{title:"Status",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Money Available",children:[g,(0,e.createComponentVNode)(2,s.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function O(){return v("withdraw",g)}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function O(){return v("add_money",g)}return O}()})]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Telepads Status",children:w}),h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,s.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function O(){return v("teleport")}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Syndicate Black Market Log",onClick:function(){function O(){return v("showMessages")}return O}()})]})]})})},c=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,C=b.categories,h=b.supply_packs,g=(0,o.useSharedState)(m,"category","Emergency"),N=g[0],x=g[1],B=(0,o.useSharedState)(m,"search_text",""),L=B[0],w=B[1],A=(0,o.useLocalState)(m,"contentsModal",null),T=A[0],E=A[1],O=(0,o.useLocalState)(m,"contentsModalTitle",null),P=O[0],R=O[1],F=(0,k.createSearch)(L,function(_){return _.name}),j=(0,i.flow)([(0,t.filter)(function(_){return _.cat===C.filter(function(K){return K.name===N})[0].category||L}),L&&(0,t.filter)(F),(0,t.sortBy)(function(_){return _.name.toLowerCase()})])(h),U="Crate Catalogue";return L?U="Results for '"+L+"':":N&&(U="Browsing "+N),(0,e.createComponentVNode)(2,s.Section,{title:U,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"190px",options:C.map(function(_){return _.name}),selected:N,onSelected:function(){function _(K){return x(K)}return _}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function _(K,Y){return w(Y)}return _}(),mb:1}),(0,e.createComponentVNode)(2,s.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:j.map(function(_){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{bold:!0,children:[_.name," (",_.cost," Credits)"]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function K(){return v("order",{crate:_.ref,multiple:0})}return K}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function K(){return v("order",{crate:_.ref,multiple:1})}return K}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Contents",icon:"search",onClick:function(){function K(){E(_.contents),R(_.name)}return K}()})]})]},_.name)})})})]})},f=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,C=b.requests,h=b.canapprove,g=b.orders;return(0,e.createComponentVNode)(2,s.Section,{title:"Details",children:(0,e.createComponentVNode)(2,s.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:C.map(function(N){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Approve",color:"green",disabled:!h,onClick:function(){function x(){return v("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Deny",color:"red",onClick:function(){function x(){return v("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,s.Table.Row,{children:(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},96606:function(I,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},V=function(a,c,f,u){return u===void 0&&(u=null),a.map(function(d){var m,l=(m=d[u])!=null?m:d;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:c.includes(d),content:l,onClick:function(){function v(){c.includes(d)?f(c.filter(function(b){var C;return((C=b[u])!=null?C:b)!==d})):f([d].concat(c))}return v}()},l)})},k=r.TTSSeedsExplorer=function(){function p(a,c){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),S=r.TTSSeedsExplorerContent=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.providers,l=d.seeds,v=d.selected_seed,b=d.phrases,C=d.donator_level,h=l.map(function(X){return X.category}).filter(function(X,Q,te){return te.indexOf(X)===Q}),g=l.map(function(X){return X.gender}).filter(function(X,Q,te){return te.indexOf(X)===Q}),N=l.map(function(X){return X.donator_level}).filter(function(X,Q,te){return te.indexOf(X)===Q}).map(function(X){return s[X]}),x=(0,i.useLocalState)(c,"selectedProviders",m),B=x[0],L=x[1],w=(0,i.useLocalState)(c,"selectedGenders",g),A=w[0],T=w[1],E=(0,i.useLocalState)(c,"selectedCategories",h),O=E[0],P=E[1],R=(0,i.useLocalState)(c,"selectedDonatorLevels",N),F=R[0],j=R[1],U=(0,i.useLocalState)(c,"selectedPhrase",b[0]),_=U[0],K=U[1],Y=(0,i.useLocalState)(c,"searchtext",""),G=Y[0],ne=Y[1],$=V(m,B,L,"name"),se=V(g,A,T),Ne=V(h,O,P),be=V(N,F,j),xe=(0,e.createComponentVNode)(2,t.Dropdown,{options:b,selected:_.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function X(Q){return K(Q)}return X}()}),Ie=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function X(Q,te){return ne(te)}return X}()}),Te=l.sort(function(X,Q){var te=X.name.toLowerCase(),ee=Q.name.toLowerCase();return te>ee?1:te0&&v!==X.name?"orange":"white",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===X.name?.5:.25,textAlign:"left",children:X.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===X.name?"white":y[X.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[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)([s[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:se}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:Ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:be}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:xe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Ie})]})})}),(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 ("+Te.length+"/"+l.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:he})})}),(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 p}()},39903:function(I,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TachyonArray=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.records,u=f===void 0?[]:f,d=c.explosion_target,m=c.toxins_tech,l=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||l,align:"center",onClick:function(){function v(){return a("print_logs")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function v(){return a("delete_logs")}return v}()})]})]})}),u.length?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return V}(),y=r.TachyonArrayContent=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(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 m(){return a("delete_record",{index:d.index})}return m}()})})]},d.index)})]})})})})}return V}()},17068:function(I,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Tank=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c;return a.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:a.connected?"check":"times",content:a.connected?"Internals On":"Internals Off",selected:a.connected,onClick:function(){function f(){return p("internals")}return f}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width: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:a.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:a.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:a.ReleasePressure===a.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(a.releasePressure),width:"65px",unit:"kPa",minValue:a.minReleasePressure,maxValue:a.maxReleasePressure,onChange:function(){function f(u,d){return p("pressure",{pressure:d})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:a.ReleasePressure===a.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:a.ReleasePressure===a.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),c]})})})})}return y}()},69161:function(I,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TankDispenser=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.o_tanks,f=a.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 ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})}return y}()},87394:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TcommsCore=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.ion,l=(0,i.useLocalState)(c,"tabIndex",0),v=l[0],b=l[1],C=function(){function h(g){switch(g){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[m===1&&(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return b(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),C(v)]})})}return p}(),y=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."})},V=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.active,l=d.sectors_available,v=d.nttc_toggle_jobs,b=d.nttc_toggle_job_color,C=d.nttc_toggle_name_color,h=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:m?"On":"Off",selected:m,icon:"power-off",onClick:function(){function B(){return u("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:l})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"On":"Off",selected:b,icon:"clipboard-list",onClick:function(){function B(){return u("nttc_toggle_job_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_name_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function B(){return u("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 u("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 u("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 u("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 u("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return u("export")}return B}()})]})],4)},k=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.link_password,l=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:m||"Unset",selected:m,icon:"lock",onClick:function(){function v(){return u("change_password")}return v}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),l.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.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 b(){return u("unlink",{addr:v.addr})}return b}()})})]},v.addr)})]})]})},S=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=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 l(){return u("add_filter")}return l}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),m.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function v(){return u("remove_filter",{user:l})}return v}()})})]},l)})]})})}},55684:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TcommsRelay=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.linked,d=f.active,m=f.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 l(){return c("toggle_active")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"server",onClick:function(){function l(){return c("network_id")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.linked_core_id,d=f.linked_core_addr,m=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"Yes":"No",icon:m?"eye-slash":"eye",selected:m,onClick:function(){function l(){return c("toggle_hidden_link")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function l(){return c("unlink")}return l}()})})]})})},V=function(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(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 m(){return c("link",{addr:d.addr})}return m}()})})]},d.addr)})]})})}},81088:function(I,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=n(17956),y=r.Teleporter=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.targetsTeleport?c.targetsTeleport:{},u=0,d=1,m=2,l=c.calibrated,v=c.calibrating,b=c.powerstation,C=c.regime,h=c.teleporterhub,g=c.target,N=c.locked,x=c.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!b||!h)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[h,!b&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),b&&!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),b&&h&&(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:C===d?"good":null,onClick:function(){function B(){return a("setregime",{regime:d})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:C===u?"good":null,onClick:function(){function B(){return a("setregime",{regime:u})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:C===m?"good":null,disabled:!N,onClick:function(){function B(){return a("setregime",{regime:m})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[C===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(f),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return a("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),C===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(f),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return a("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),C===m&&(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,s.GridColumn,{size:"2",children:v&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(l||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,s.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:!!(l||v),onClick:function(){function B(){return a("calibrate")}return B}()})})})]}),g==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&b&&h&&C===m)&&(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 a("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return a("eject")}return B}()})]})})]})})}return V}()},95484:function(I,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),i=n(14299),t=n(15113),o=n(17899),s=n(68100),y=n(24674),V=n(45493),k=r.sanitizeMultiline=function(){function c(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),S=r.removeAllSkiplines=function(){function c(f){return f.replace(/[\r\n]+/,"")}return c}(),p=r.TextInputModal=function(){function c(f,u){var d=(0,o.useBackend)(u),m=d.act,l=d.data,v=l.max_length,b=l.message,C=b===void 0?"":b,h=l.multiline,g=l.placeholder,N=l.timeout,x=l.title,B=(0,o.useLocalState)(u,"input",g||""),L=B[0],w=B[1],A=function(){function O(P){if(P!==L){var R=h?k(P):S(P);w(R)}}return O}(),T=h||L.length>=40,E=130+(C.length>40?Math.ceil(C.length/4):0)+(T?80:0);return(0,e.createComponentVNode)(2,V.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,i.Loader,{value:N}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function O(P){var R=window.event?P.which:P.keyCode;R===s.KEY_ENTER&&(!T||!P.shiftKey)&&m("submit",{entry:L}),R===s.KEY_ESCAPE&&m("cancel")}return O}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:C})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,a,{input:L,onType:A})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+v})})]})})})]})}return c}(),a=function(f,u){var d=(0,o.useBackend)(u),m=d.act,l=d.data,v=l.max_length,b=l.multiline,C=f.input,h=f.onType,g=b||C.length>=40;return(0,e.createComponentVNode)(2,y.TextArea,{autoFocus:!0,autoSelect:!0,height:b||C.length>=40?"100%":"1.8rem",maxLength:v,onEscape:function(){function N(){return m("cancel")}return N}(),onEnter:function(){function N(x){g&&x.shiftKey||(x.preventDefault(),m("submit",{entry:C}))}return N}(),onInput:function(){function N(x,B){return h(B)}return N}(),placeholder:"Type something...",value:C})}},16387:function(I,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.ThiefKit=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.uses,f=a.possible_uses,u=a.multi_uses,d=a.kits,m=a.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:c<=0?"good":c=f,onClick:function(){function l(){return p("randomKit")}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d&&d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.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:l.was_taken||c>=f,onClick:function(){function v(){return p("takeKit",{item:l.type})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!l.was_taken,onClick:function(){function v(){return p("undoKit",{item:l.type})}return v}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:l.desc})},l.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:m&&m.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.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 v(){return p("undoKit",{item:l.type})}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},l.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:c0?(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,s.Countdown,{timeLeft:x.contractor.time_left,format:function(){function P(R,F){return" ("+F+")"}return P}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return N("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:p(w)})]})})]})}return b}(),c=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.crystals,L=x.cats,w=(0,y.useLocalState)(h,"uplinkItems",L[0].items),A=w[0],T=w[1],E=(0,y.useLocalState)(h,"searchText",""),O=E[0],P=E[1],R=function(Y,G){G===void 0&&(G="");var ne=(0,o.createSearch)(G,function($){var se=$.hijack_only===1?"|hijack":"";return $.name+"|"+$.desc+"|"+$.cost+"tc"+se});return(0,t.flow)([(0,i.filter)(function($){return $==null?void 0:$.name}),G&&(0,i.filter)(ne),(0,i.sortBy)(function($){return $==null?void 0:$.name})])(Y)},F=function(Y){if(P(Y),Y==="")return T(L[0].items);T(R(L.map(function(G){return G.items}).flat(),Y))},j=(0,y.useLocalState)(h,"showDesc",1),U=j[0],_=j[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:U,onClick:function(){function K(){return _(!U)}return K}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function K(){return N("buyRandom")}return K}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function K(){return N("refund")}return K}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function K(Y,G){F(G)}return K}(),value:O})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:L.map(function(K){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O!==""?!1:K.items===A,onClick:function(){function Y(){T(K.items),P("")}return Y}(),children:K.cat},K)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:A.map(function(K){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:K,showDecription:U},(0,o.decodeHtmlEntities)(K.name))},(0,o.decodeHtmlEntities)(K.name))})})})})]})]})},f=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.cart,L=x.crystals,w=x.cart_price,A=(0,y.useLocalState)(h,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function O(){return E(!T)}return O}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function O(){return N("empty_cart")}return O}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function O(){return N("purchase_cart")}return O}(),disabled:!B||w>L})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(O){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:O,showDecription:T,buttons:(0,e.createComponentVNode)(2,l,{i:O})})},(0,o.decodeHtmlEntities)(O.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,u)]})},u=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return N("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:L.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,A){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:w})},A)})})})})},d=function(C,h){var g=C.i,N=C.showDecription,x=N===void 0?1:N,B=C.buttons,L=B===void 0?(0,e.createComponentVNode)(2,m,{i:g}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(g.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(g.desc)}):null})},m=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=C.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return N("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return N("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>L})],4)},l=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=C.i,L=x.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return N("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},v=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.exploitable,L=(0,y.useLocalState)(h,"selectedRecord",B[0]),w=L[0],A=L[1],T=(0,y.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=function(j,U){U===void 0&&(U="");var _=(0,o.createSearch)(U,function(K){return K.name});return(0,t.flow)([(0,i.filter)(function(K){return K==null?void 0:K.name}),U&&(0,i.filter)(_),(0,i.sortBy)(function(K){return K.name})])(j)},R=P(B,E);return(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function F(j,U){return O(U)}return F}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:R.map(function(F){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:F===w,onClick:function(){function j(){return A(F)}return j}(),children:F.name},F)})})]})}),(0,e.createComponentVNode)(2,V.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:w.name,scrollable:!0,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:w.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Records",children:w.exploit_record})]})})})]})})};(0,S.modalRegisterBodyOverride)("become_contractor",function(b,C){var h,g,N,x,B=(0,y.useBackend)(C),L=B.data,w=L.contractor||{},A=w.time_left,T=!!(L!=null&&(h=L.contractor)!=null&&h.available),E=!!(L!=null&&(g=L.contractor)!=null&&g.affordable),O=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),P=L.contractor||{},R=P.available_offers,F=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,V.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,V.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.",F?"":(0,e.createComponentVNode)(2,V.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: "),R],0)]})]}),(0,e.createComponentVNode)(2,V.Button.Confirm,{disabled:!T||O,italic:!T,bold:T,icon:T&&!O&&"check",color:"good",content:O?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:A,format:function(){function j(U,_){return" ("+_+")"}return j}()},"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 j(){return(0,S.modalAnswer)(C,b.id,1)}return j}()})]})})},22732:function(I,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.VampireSpecMenu=function(){function a(c,f){return(0,e.createComponentVNode)(2,o.Window,{width:1500,height:820,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,p)]})})})}return a}(),y=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Hemomancer",children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Hemomancer",onClick:function(){function v(){return d("hemomancer")}return v}()})]})})},V=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Umbrae",children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you are forced back to the anchor. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. It will also cause nearby creatures to freeze.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permament X-ray vision.",16),(0,e.createComponentVNode)(2,t.Button,{content:"Umbrae",onClick:function(){function v(){return d("umbrae")}return v}()})]})})},k=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Gargantua",children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you dont have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": You gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Gargantua",onClick:function(){function v(){return d("gargantua")}return v}()})]})})},S=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Dantalion",children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that, blinds then make everyone nearby perceive others to looks like random animals.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Dantalion",onClick:function(){function v(){return d("dantalion")}return v}()})]})})},p=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Bestia",children:[(0,e.createVNode)(1,"h3",null,"Focuses on transformations and trophies harvesting.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Check Trophies",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to check current trophies amount and all the passive effects they provide.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect",16),(0,e.createTextVNode)(": Unlocked at 150 blood, main source of gaining power, besides blood, allows you to harvest human organs, as a trophies, to passively increase your might.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect Cap",16),(0,e.createTextVNode)(": You can only harvest one organ trophie at a time. This can be increased at 600 blood and at full power to a max of 3 trophies per victim.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Infected Trophy",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to stun enemies from the safe distance and infect them with the deadly Grave Fever.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Lunge",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to rapidly close distance to a victim or escape a dangerous situation.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Mark the Prey",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to mark a victim which drastically reduces their movement speed and forces them to take spontaneous actions.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Metamorphosis - Bats",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to shapeshift into the deadly and vicious space bats swarm.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Anabiosis",16),(0,e.createTextVNode)(": Unlocked at 600 blood, ancient technique which allows you to cure almost any wounds while sleeping in a coffin.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Summon Bats",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to call extraplanar space bats to aid you in combat.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Metamorphosis - Hound",16),(0,e.createTextVNode)(": Allows you to shapeshift into the ultimate form of bluespace entity which took over your soul.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Bestia",onClick:function(){function v(){return d("bestia")}return v}()})]})})}},4644:function(I,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=function(b){return(Math.round(b*10)/10).toFixed(1)},y=r.VampireTrophiesStatus=function(){function v(b,C){return(0,e.createComponentVNode)(2,o.Window,{theme:"nologo",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,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,a),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)]})})})}return v}(),V=function(b,C){var h=(0,i.useBackend)(C),g=h.act,N=h.data,x=N.hearts,B=N.lungs,L=N.livers,w=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,O=N.trophies_max_crit,P=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,j=N.icon_kidneys,U=N.icon_eyes,_=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Trophies",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.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+P,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xb;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,"+m,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:d<=0&&"bad"||d<=u.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:L,icon:B,content:x,textAlign:"left",onClick:function(){function w(){return c("vend",{inum:u.inum})}return w}()})})]})},V=r.Vending=function(){function k(S,p){var a=(0,t.useBackend)(p),c=a.act,f=a.data,u=f.user,d=f.guestNotice,m=f.userMoney,l=f.chargesMoney,v=f.product_records,b=v===void 0?[]:v,C=f.coin_records,h=C===void 0?[]:C,g=f.hidden_records,N=g===void 0?[]:g,x=f.stock,B=f.vend_ready,L=f.coin_name,w=f.inserted_item_name,A=f.panel_open,T=f.speaker,E=f.imagelist,O;return O=[].concat(b,h),f.extended_inventory&&(O=[].concat(O,N)),O=O.filter(function(P){return!!P}),(0,e.createComponentVNode)(2,s.Window,{width:470,height:100+Math.min(b.length*38,500),title:"Vending Machine",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[!!l&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:u&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,u.name,0),","," ",(0,e.createVNode)(1,"b",null,u.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[m,(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 P(){return c("remove_coin",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!w&&(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 P(){return c("eject_item",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:w})}),!!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 P(){return c("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:O.map(function(P){return(0,e.createComponentVNode)(2,y,{product:P,productStock:x[P.name],productImage:E[P.path]},P.name)})})})})]})})})}return k}()},33045:function(I,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.VolumeMixer=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:f.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:f.volume,onChange:function(){function d(m,l){return p("volume",{channel:f.num,volume:l})}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:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:f.num,volume:100})}return d}()})})})]})})],4,f.num)})})})})}return y}()},53792:function(I,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.VotePanel=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.remaining,f=a.question,u=a.choices,d=a.user_vote,m=a.counts,l=a.show_counts,v=a.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:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:b+(l?" ("+(m[b]||0)+")":""),onClick:function(){function C(){return p("vote",{target:b})}return C}(),selected:b===d})},b)}),!!v&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function b(){return p("cancel")}return b}()})},"Cancel")]})})})}return y}()},64860:function(I,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Wires=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.wires||[],f=a.status||[],u=56+c.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(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 m(){return p("cut",{wire:d.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function m(){return p("pulse",{wire:d.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function m(){return p("attach",{wire:d.color})}return m}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return y}()},49253:function(I,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(96524),i=n(78234),t=n(17899),o=n(24674),s=n(99509),y=n(45493),V=["title","items"];function k(u,d){if(u==null)return{};var m={},l=Object.keys(u),v,b;for(b=0;b=0)&&(m[v]=u[v]);return m}var S=function(d,m,l){return d.requirements===null?!0:!(d.requirements.brass>m||d.requirements.power>l)},p=r.Workshop=function(){function u(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,C=b.brass_amount,h=b.power_amount,g=b.building,N=b.buildStart,x=b.buildEnd,B=b.worldTime,L=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),w=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,y.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,y.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,a),(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 v("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:w})]}),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,s.Countdown,{current:B,timeLeft:x-B,format:function(){function E(O,P){return P.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,c)})})]})})})}return u}(),a=function(d,m){var l=(0,t.useLocalState)(m,"search",""),v=l[0],b=l[1],C=(0,t.useLocalState)(m,"sort",""),h=C[0],g=C[1],N=(0,t.useLocalState)(m,"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(w,A){return b(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}()})})]})})},c=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,C=b.items,h=(0,t.useLocalState)(m,"search",""),g=h[0],N=h[1],x=(0,t.useLocalState)(m,"sort","Alphabetical"),B=x[0],L=x[1],w=(0,t.useLocalState)(m,"descending",!1),A=w[0],T=w[1],E=(0,i.createSearch)(g,function(R){return R[0]}),O=!1,P=Object.entries(C).map(function(R,F){var j=Object.entries(R[1]).filter(E).map(function(U){return U[1].affordable=S(U[1],b.brass_amount,b.power_amount),U[1]});if(j.length!==0)return A&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,f,{title:R[0],items:j},R[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:O?P:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},f=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,C=d.title,h=d.items,g=k(d,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:C},g,{children:h.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!S(N,b.brass_amount,b.power_amount),onClick:function(){function x(){return v("make",{cat:C,name:N.name})}return x}(),children:(0,i.toTitleCase)((0,i.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,i.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)})})))}},57842:function(I,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),i=n(50640),t=n(17899),o=n(24674);function s(p,a){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=y(p))||a&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(p,a){if(p){if(typeof p=="string")return V(p,a);var c=Object.prototype.toString.call(p).slice(8,-1);if(c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set")return Array.from(p);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return V(p,a)}}function V(p,a){(a==null||a>p.length)&&(a=p.length);for(var c=0,f=new Array(a);c0&&!N.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function U(){return x(j.ref)}return U}()},j.desc)})]})]})})}return p}()},79449:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),i=n(50640),t=n(17899),o=n(24674),s=function(k,S,p,a,c){return ka?"average":k>c?"bad":"good"},y=r.AtmosScan=function(){function V(k,S){var p=k.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,i.filter)(function(a){return a.val!=="0"||a.entry==="Pressure"||a.entry==="Temperature"})(p).map(function(a){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:a.entry,color:s(a.val,a.bad_low,a.poor_low,a.poor_high,a.bad_high),children:[a.val,a.units]},a.entry)})})})}return V}()},1496:function(I,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),i=n(24674),t=n(56099),o=function(V){return V+" unit"+(V===1?"":"s")},s=r.BeakerContents=function(){function y(V){var k=V.beakerLoaded,S=V.beakerContents,p=S===void 0?[]:S,a=V.buttons;return(0,e.createComponentVNode)(2,i.Stack,{vertical:!0,children:[!k&&(0,e.createComponentVNode)(2,i.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,i.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(c,f){return(0,e.createComponentVNode)(2,i.Stack,{children:[(0,e.createComponentVNode)(2,i.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!a&&(0,e.createComponentVNode)(2,i.Stack.Item,{children:a(c,f)})]},c.name)})]})}return y}();s.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},99665:function(I,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),i=n(17899),t=n(24674),o={},s=r.modalOpen=function(){function p(a,c,f){var u=(0,i.useBackend)(a),d=u.act,m=u.data,l=Object.assign(m.modal?m.modal.args:{},f||{});d("modal_open",{id:c,arguments:JSON.stringify(l)})}return p}(),y=r.modalRegisterBodyOverride=function(){function p(a,c){o[a]=c}return p}(),V=r.modalAnswer=function(){function p(a,c,f,u){var d=(0,i.useBackend)(a),m=d.act,l=d.data;if(l.modal){var v=Object.assign(l.modal.args||{},u||{});m("modal_answer",{id:c,answer:f,arguments:JSON.stringify(v)})}}return p}(),k=r.modalClose=function(){function p(a,c){var f=(0,i.useBackend)(a),u=f.act;u("modal_close",{id:c})}return p}(),S=r.ComplexModal=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.data;if(u.modal){var d=u.modal,m=d.id,l=d.text,v=d.type,b,C=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return k(c)}return L}()}),h,g,N="auto";if(o[m])h=o[m](u.modal,c);else if(v==="input"){var x=u.modal.value;b=function(){function L(w){return V(c,m,x)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,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:"Cancel",color:"grey",onClick:function(){function L(){return k(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,m,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(v==="choice"){var B=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return V(c,m,w)}return L}()}),N="initial"}else v==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return V(c,m,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):v==="boolean"&&(g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return V(c,m,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,m,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:a.maxWidth||window.innerWidth/2+"px",maxHeight:a.maxHeight||window.innerHeight/2+"px",onEnter:b,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[l&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l}),o[m]&&C,h,g]})}}return p}()},98444:function(I,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(78234),s=n(38424),y=s.COLORS.department,V=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],k=function(f){return V.indexOf(f)!==-1?"green":"orange"},S=function(f){if(V.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:k(u.real_rank),bold:S(u.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},a=r.CrewManifest=function(){function c(f,u){var d=(0,i.useBackend)(u),m=d.act,l;if(f.data)l=f.data;else{var v=(0,i.useBackend)(u),b=v.data;l=b}var C=l,h=C.manifest,g=h.heads,N=h.pro,x=h.sec,B=h.eng,L=h.med,w=h.sci,A=h.ser,T=h.sup,E=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.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:p(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(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:p(E)})]})}return c}()},15113:function(I,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),i=n(24674),t=n(17899),o=r.InputButtons=function(){function s(y,V){var k=(0,t.useBackend)(V),S=k.act,p=k.data,a=p.large_buttons,c=p.swapped_buttons,f=y.input,u=y.message,d=y.disabled,m=(0,e.createComponentVNode)(2,i.Button,{color:"good",content:"Submit",bold:!!a,fluid:!!a,onClick:function(){function v(){return S("submit",{entry:f})}return v}(),textAlign:"center",tooltip:a&&u,disabled:d,width:!a&&6}),l=(0,e.createComponentVNode)(2,i.Button,{color:"bad",content:"Cancel",bold:!!a,fluid:!!a,onClick:function(){function v(){return S("cancel")}return v}(),textAlign:"center",width:!a&&6});return(0,e.createComponentVNode)(2,i.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[a?(0,e.createComponentVNode)(2,i.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:l}):(0,e.createComponentVNode)(2,i.Flex.Item,{children:l}),!a&&u&&(0,e.createComponentVNode)(2,i.Flex.Item,{children:(0,e.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",children:u})}),a?(0,e.createComponentVNode)(2,i.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:m}):(0,e.createComponentVNode)(2,i.Flex.Item,{children:m})]})}return s}()},26893:function(I,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=y.siliconUser,c=a===void 0?p.siliconUser:a,f=y.locked,u=f===void 0?p.locked:f,d=y.normallyLocked,m=d===void 0?p.normallyLocked:d,l=y.onLockStatusChange,v=l===void 0?function(){return S("lock")}:l,b=y.accessText,C=b===void 0?"an ID card":b;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:m?"red":"green",icon:m?"lock":"unlock",content:m?"Locked":"Unlocked",onClick:function(){function h(){v&&v(!u)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",C," to ",u?"unlock":"lock"," this interface."]})}return s}()},14299:function(I,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),i=n(36121),t=n(24674),o=r.Loader=function(){function s(y){var V=y.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,i.clamp01)(V)*100+"%"}}),2)}return s}()},68159:function(I,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LoginInfo=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",a.name," (",a.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return S("login_logout")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!a.id,content:"Eject ID",color:"good",onClick:function(){function c(){return S("login_eject")}return c}()})]})]})})}return s}()},27527:function(I,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LoginScreen=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.loginState,c=p.isAI,f=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:a.id?a.id:"----------",ml:"0.5rem",onClick:function(){function d(){return S("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!a.id,content:"Login",onClick:function(){function d(){return S("login_login",{login_type:1})}return d}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function d(){return S("login_login",{login_type:2})}return d}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function d(){return S("login_login",{login_type:3})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function d(){return S("login_login",{login_type:4})}return d}()})]})})})}return s}()},75201:function(I,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),i=n(24674),t=n(56099),o=r.Operating=function(){function s(y){var V=y.operating,k=y.name;if(V)return(0,e.createComponentVNode)(2,i.Dimmer,{children:(0,e.createComponentVNode)(2,i.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,i.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,i.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",k," is processing..."]})})})}return s}();o.propTypes={operating:t.bool,name:t.string}},65435:function(I,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),i=n(36121),t=n(17899),o=n(24674),s=r.Signaler=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,a=V.data,c=a.code,f=a.frequency,u=a.minFrequency,d=a.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:d/10,value:f/10,format:function(){function m(l){return(0,i.toFixed)(l,1)}return m}(),width:"80px",onDrag:function(){function m(l,v){return p("freq",{freq:v})}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function m(l,v){return p("code",{code:v})}return m}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function m(){return p("signal")}return m}()})]})}return y}()},77534:function(I,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),i=n(17899),t=n(78234),o=n(74041),s=n(50640),y=n(24674),V=r.SimpleRecords=function(){function p(a,c){var f=a.data.records;return(0,e.createComponentVNode)(2,y.Box,{children:f?(0,e.createComponentVNode)(2,S,{data:a.data,recordType:a.recordType}):(0,e.createComponentVNode)(2,k,{data:a.data})})}return p}(),k=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=a.data.recordsList,m=(0,i.useLocalState)(c,"searchText",""),l=m[0],v=m[1],b=function(g,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,s.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,s.filter)(x),(0,s.sortBy)(function(B){return B.Name})])(d)},C=b(d,l);return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(g,N){return v(N)}return h}()}),C.map(function(h){return(0,e.createComponentVNode)(2,y.Box,{children:(0,e.createComponentVNode)(2,y.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function g(){return u("Records",{target:h.uid})}return g}()})},h)})]})},S=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=a.data.records,m=d.general,l=d.medical,v=d.security,b;switch(a.recordType){case"MED":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Medical Data",children:l?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Blood Type",children:l.blood_type}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Disabilities",children:l.mi_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.mi_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Disabilities",children:l.ma_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.ma_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Allergies",children:l.alg}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.alg_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Current Diseases",children:l.cdi}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.cdi_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:l.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Security Data",children:v?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Criminal Status",children:v.criminal}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Crimes",children:v.mi_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.mi_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Crimes",children:v.ma_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.ma_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:v.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Section,{title:"General Data",children:m?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Name",children:m.name}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:m.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:m.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:m.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:m.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:m.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Physical Status",children:m.p_stat}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Mental Status",children:m.m_stat})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"General record lost!"})}),b]})}},84537:function(I,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function s(y,V){var k,S=(0,i.useBackend)(V),p=S.act,a=S.data,c=a.temp;if(c){var f=(k={},k[c.style]=!0,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:c.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function u(){return p("cleartemp")}return u}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return s}()},31473:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(27648),s=n(45493),y=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],V=["good","average","bad","black","white"],k=[{title:"Button",component:function(){function h(){return p}return h}()},{title:"Box",component:function(){function h(){return a}return h}()},{title:"ProgressBar",component:function(){function h(){return c}return h}()},{title:"Tabs",component:function(){function h(){return f}return h}()},{title:"Tooltip",component:function(){function h(){return u}return h}()},{title:"Input / Control",component:function(){function h(){return d}return h}()},{title:"Collapsible",component:function(){function h(){return m}return h}()},{title:"BlockQuote",component:function(){function h(){return v}return h}()},{title:"ByondUi",component:function(){function h(){return b}return h}()},{title:"Themes",component:function(){function h(){return C}return h}()}],S=r.KitchenSink=function(){function h(g,N){var x=(0,i.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,i.useLocalState)(N,"pageIndex",0),w=L[0],A=L[1],T=k[w].component();return(0,e.createComponentVNode)(2,s.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,s.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:k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:O===w,onClick:function(){function P(){return A(O)}return P}(),children:E.title},O)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return h}(),p=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:[V.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},a=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"})]})},c=function(g,N){var x=(0,i.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 w(){return L(B-.1)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function w(){return L(B+.1)}return w}()})]})]})},f=function(g,N){var x=(0,i.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],w=(0,i.useLocalState)(N,"tabVert"),A=w[0],T=w[1],E=(0,i.useLocalState)(N,"tabAlt"),O=E[0],P=E[1],R=[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 F(){return T(!A)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:O,onClick:function(){function F(){return P(!O)}return F}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:R.map(function(F,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:O,selected:j===B,onClick:function(){function U(){return L(j)}return U}(),children:["Tab #",F]},j)})})]})},u=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,i.useLocalState)(N,"number",0),B=x[0],L=x[1],w=(0,i.useLocalState)(N,"text","Sample text"),A=w[0],T=w[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(O,P){return T(P)}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(O,P){return T(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}return E}(),children:function(){function E(O){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:O.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:O.displayValue*4}),O.inputElement]})}return E}()})})})]})})},m=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,l)})})},l=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."})]})))},v=function(g){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,l)})},b=function(g,N){var x=(0,i.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"}})})})},C=function(g,N){var x=(0,i.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 w(A,T){return L(T)}return w}()})})})})}},31130:function(I,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_advsecrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.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 a(){return S("ui_interact")}return a}()})})})}return s}()},24704:function(I,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),i=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return s}()},4209:function(I,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_bioscan=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.holder,f=a.dead,u=a.health,d=a.brute,m=a.oxy,l=a.tox,v=a.burn,b=a.reagents,C=a.addictions,h=a.fractures,g=a.internal_bleeding;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:m})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:v})}),(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:b?b.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:C?C.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:h?"bad":"good",children:["Fractures ",h?"":"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 s}()},98990:function(I,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_camera_bug=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.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 a(){return S("ui_interact")}return a}()})})})}return s}()},44430:function(I,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_directives=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.master,f=a.dna,u=a.prime,d=a.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+f+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function m(){return S("getdna")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(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 s}()},3367:function(I,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_doorjack=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.cable,f=a.machine,u=a.inprogress,d=a.progress,m=a.aborted,l;f?l=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):l=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function b(){return S("cable")}return b}()});var v;return f&&(v=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:u?"green":"red",children:[" ","In progress: ",u?"Yes":"No"," "]}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function b(){return S("cancel")}return b}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function b(){return S("jack")}return b}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:l}),v]})}return s}()},59934:function(I,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_encoder=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.radio_name,f=a.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:[c,", ",f]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,m){return S("set_newname",{newname:m})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,m){return S("set_newrank",{newrank:m})}return u}()})})]})})}return s}()},39913:function(I,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_gps_module=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.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 a(){return S("ui_interact")}return a}()})})})}return s}()},73395:function(I,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_main_menu=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.available_software,f=a.installed_software,u=a.installed_toggles,d=a.available_ram,m=a.emotions,l=a.current_emotion,v=[];return f.map(function(b){return v[b.key]=b.name}),u.map(function(b){return v[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!v[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>d,onClick:function(){function C(){return S("purchaseSoftware",{key:b.key})}return C}()},b.key)}),c.filter(function(b){return!v[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function C(){return S("startSoftware",{software_key:b.key})}return C}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function C(){return S("setToggle",{toggle_key:b.key})}return C}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:m.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name,selected:b.id===l,onClick:function(){function C(){return S("setEmotion",{emotion:b.id})}return C}()},b.id)})})]})})}return s}()},37645:function(I,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),i=n(17899),t=n(98444),o=r.pai_manifest=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return s}()},15836:function(I,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pai_medrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"MED"})}return s}()},91737:function(I,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),i=n(17899),t=n(30709),o=r.pai_messenger=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data.active_convo;return a?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return s}()},94077:function(I,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),i=n(17899),t=n(36121),o=n(24674),s=r.pai_radio=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.app_data,f=c.minFrequency,u=c.maxFrequency,d=c.frequency,m=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:d/10,format:function(){function l(v){return(0,t.toFixed)(v,1)}return l}(),onChange:function(){function l(v,b){return p("freq",{freq:b})}return l}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function l(){return p("freq",{freq:"145.9"})}return l}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return p("toggleBroadcast")}return l}(),selected:m,content:m?"Enabled":"Disabled"})})]})}return y}()},14875:function(I,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_sec_chem=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.holder,f=a.dead,u=a.health,d=a.current_chemicals,m=a.available_chemicals;return c?(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[m.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{content:l.name+" ("+l.cost+")",tooltip:l.desc,disabled:l.cost>d,onClick:function(){function v(){return S("secreteChemicals",{key:l.key})}return v}()},l.key)}),m.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return s}()},72621:function(I,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pai_secrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"SEC"})}return s}()},53483:function(I,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),i=n(17899),t=n(65435),o=r.pai_signaler=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return s}()},21606:function(I,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),i=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:S})}return s}()},12339:function(I,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_janitor=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.janitor,c=a.user_loc,f=a.mops,u=a.buckets,d=a.cleanbots,m=a.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})})]})}return s}()},36615:function(I,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),i=n(36121),t=n(17899),o=n(24674),s=r.pda_main_menu=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,a=S.data,c=a.owner,f=a.ownjob,u=a.idInserted,d=a.categories,m=a.pai,l=a.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function v(){return p("UpdateInfo")}return v}()})})]})})}),(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(v){var b=a.apps[v];return!b||!b.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:v,children:b.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{icon:C.uid in l?C.notify_icon:C.icon,iconSpin:C.uid in l,color:C.uid in l?"red":"transparent",content:C.name,onClick:function(){function h(){return p("StartProgram",{program:C.uid})}return h}()},C.uid)})},v)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function v(){return p("pai",{option:1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function v(){return p("pai",{option:2})}return v}()})]})})]})}return y}()},99737:function(I,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),i=n(17899),t=n(98444),o=r.pda_manifest=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return s}()},61597:function(I,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pda_medical=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"MED"})}return s}()},30709:function(I,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),i=n(50640),t=n(17899),o=n(24674),s=r.pda_messenger=function(){function S(p,a){var c=(0,t.useBackend)(a),f=c.act,u=c.data,d=u.active_convo;return d?(0,e.createComponentVNode)(2,y,{data:u}):(0,e.createComponentVNode)(2,V,{data:u})}return S}(),y=r.ActiveConversation=function(){function S(p,a){var c=(0,t.useBackend)(a),f=c.act,u=p.data,d=u.convo_device,m=u.messages,l=u.active_convo,v=(0,t.useLocalState)(a,"clipboardMode",!1),b=v[0],C=v[1],h=(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:b,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return C(!b)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return f("Message",{target:l})}return g}(),content:"Reply"})],4),children:(0,i.filter)(function(g){return g.target===l})(m).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 b&&(h=(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:b,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return C(!b)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return f("Message",{target:l})}return g}(),content:"Reply"})],4),children:(0,i.filter)(function(g){return g.target===l})(m).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 f("Clear",{option:"Convo"})}return g}()})})})}),h]})}return S}(),V=r.MessengerList=function(){function S(p,a){var c=(0,t.useBackend)(a),f=c.act,u=p.data,d=u.convopdas,m=u.pdas,l=u.charges,v=u.silent,b=u.toff,C=(0,t.useLocalState)(a,"searchTerm",""),h=C[0],g=C[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:!v,icon:v?"volume-mute":"volume-up",onClick:function(){function N(){return f("Toggle Ringer")}return N}(),children:["Ringer: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:b?"bad":"green",icon:"power-off",onClick:function(){function N(){return f("Toggle Messenger")}return N}(),children:["Messenger: ",b?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return f("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return f("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!b&&(0,e.createComponentVNode)(2,o.Box,{children:[!!l&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[l," charges left."]})})}),!d.length&&!m.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:h,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,k,{title:"Current Conversations",data:u,pdas:d,msgAct:"Select Conversation",searchTerm:h}),(0,e.createComponentVNode)(2,k,{title:"Other PDAs",pdas:m,msgAct:"Message",data:u,searchTerm:h})]})}return S}(),k=function(p,a){var c=(0,t.useBackend)(a),f=c.act,u=p.data,d=p.pdas,m=p.title,l=p.msgAct,v=p.searchTerm,b=u.charges,C=u.plugins;return!d||!d.length?(0,e.createComponentVNode)(2,o.Section,{title:m,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:m,children:d.filter(function(h){return h.Name.toLowerCase().includes(v.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function g(){return f(l,{target:h.uid})}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!b&&C.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.icon,content:g.name,onClick:function(){function N(){return f("Messenger Plugin",{plugin:g.uid,target:h.uid})}return N}()},g.uid)})})]},h.uid)})})}},68053:function(I,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_mule=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.mulebot,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.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 m(){return a("AccessBot",{uid:d.uid})}return m}()})},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 a("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.mulebot,u=f.botstatus,d=f.active,m=u.mode,l=u.loca,v=u.load,b=u.powr,C=u.dest,h=u.home,g=u.retn,N=u.pick,x;switch(m){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=m;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[b,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:C?C+" (Set)":"None (Set)",onClick:function(){function B(){return a("SetDest")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Unload)":"None",disabled:!v,onClick:function(){function B(){return a("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 a("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 a("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 a("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return a("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return a("ReturnHome")}return B}()})]})]})]})}},29415:function(I,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_notes=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:a}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function c(){return S("Edit")}return c}(),content:"Edit"})]})}return s}()},52363:function(I,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(96524),i=n(17899),t=n(70373),o=r.pda_power=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return s}()},23914:function(I,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_secbot=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.beepsky,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.beepsky,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.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 m(){return a("AccessBot",{uid:d.uid})}return m}()})},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 a("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.beepsky,u=f.botstatus,d=f.active,m=u.mode,l=u.loca,v;switch(m){case 0:v="Ready";break;case 1:v="Apprehending target";break;case 2:case 3:v="Arresting target";break;case 4:v="Starting patrol";break;case 5:v="On patrol";break;case 6:v="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function b(){return a("Go")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function b(){return a("Stop")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function b(){return a("Summon")}return b}()})]})]})]})}},68878:function(I,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pda_security=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"SEC"})}return s}()},95135:function(I,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(96524),i=n(17899),t=n(65435),o=r.pda_signaler=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return s}()},20835:function(I,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_status_display=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function c(){return S("Status",{statdisp:"blank"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function c(){return S("Status",{statdisp:"shuttle"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function c(){return S("Status",{statdisp:"message"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"redalert"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"default"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"lockdown"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"biohazard"})}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:a.message1+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg1"})}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:a.message2+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg2"})}return c}()})})]})})}return s}()},11741:function(I,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_supplyrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.supply,c=a.shuttle_loc,f=a.shuttle_time,u=a.shuttle_moving,d=a.approved,m=a.approved_count,l=a.requests,v=a.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:c})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:v>0&&l.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.OrderedBy,'"']},b)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:m>0&&d.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.ApprovedBy,'"']},b)})})]})}return s}()},61255:function(I,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),i=n(28234),t=n(3051),o=n(92700),s=["className","theme","children"],y=["className","scrollable","children"];/** + */var y=r.RequestManager=function(){function p(a,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.requests,l=(0,t.useLocalState)(c,"filteredTypes",Object.fromEntries(Object.entries(V).map(function(B){var L=B[0],w=B[1];return[L,!0]}))),v=l[0],b=l[1],C=(0,t.useLocalState)(c,"searchText"),h=C[0],g=C[1],N=m.filter(function(B){return v[B.req_type]});if(h){var x=h.toLowerCase();N=N.filter(function(B){return(0,i.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,s.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:h,onInput:function(){function B(L,w){return g(w)}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,k,{requestType:B.req_type}),(0,i.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,S,{request:B})],0,null,B.id)})})})})}return p}(),V={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},k=function(a){var c=a.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+c,[V[c],(0,e.createTextVNode)(":")],0)},S=function(a,c){var f=(0,t.useBackend)(c),u=f.act,d=f._,m=a.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("pp",{id:m.id})}return l}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("vv",{id:m.id})}return l}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("sm",{id:m.id})}return l}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("tp",{id:m.id})}return l}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("logs",{id:m.id})}return l}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("bless",{id:m.id})}return l}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("smite",{id:m.id})}return l}(),children:"SMITE"}),m.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("rply",{id:m.id})}return l}(),children:"RPLY"}),m.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("ertreply",{id:m.id})}return l}(),children:"ERTREPLY"}),m.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("getcode",{id:m.id})}return l}(),children:"GETCODE"})],0)}},89641:function(I,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),i=n(17899),t=n(45493),o=n(24674),s=n(3422),y=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},V=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},k=r.RndConsole=function(){function S(p,a){var c=(0,i.useBackend)(a),f=c.data,u=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:f.ui_theme,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,s.RndNavbar),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.MAIN,render:function(){function d(){return(0,e.createComponentVNode)(2,s.MainMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.LEVELS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.CurrentLevels)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DISK,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DataDiskMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DESTROY,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DeconstructionMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:function(){function d(m){return m===y.LATHE||m===y.IMPRINTER}return d}(),render:function(){function d(){return(0,e.createComponentVNode)(2,s.LatheMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.SETTINGS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.SettingsMenu)}return d}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return S}()},19348:function(I,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.CurrentLevels=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=S.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(a,c){var f=a.name,u=a.level,d=a.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",d]})]},f)})]})}return s}()},338:function(I,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=n(89641),y="design",V="tech",k=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function g(){return C("updt_tech")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function g(){return C("clear_tech")}return g}()}),(0,e.createComponentVNode)(2,a)]})]}):null},S=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_data;if(!h)return null;var g=h.name,N=h.lathe_types,x=h.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 C("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return C("clear_design")}return L}()}),(0,e.createComponentVNode)(2,a)]})]})},p=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=b.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:s.SUBMENU.DISK_COPY,icon:"arrow-down",content:C===V?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,a)]})]})},a=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function g(){var N=h===V?"eject_tech":"eject_design";C(N)}return g}()}):null},c=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=b.disk_data,h=b.disk_type,g=function(){if(!C)return(0,e.createComponentVNode)(2,p);switch(h){case y:return(0,e.createComponentVNode)(2,S);case V:return(0,e.createComponentVNode)(2,k);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:g()})},f=function(m,l){var v=(0,i.useBackend)(l),b=v.data,C=v.act,h=b.disk_type,g=b.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(){h===V?C("copy_tech",{id:B}):C("copy_design",{id:B})}return L}()})},B)})})})})},u=r.DataDiskMenu=function(){function d(m,l){var v=(0,i.useBackend)(l),b=v.data,C=b.disk_type;return C?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,f)}return h}()})],4):null}return d}()},90785:function(I,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=k.act,a=S.loaded_item,c=S.linked_destroy;return c?a?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",a.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:a.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return s}()},34492:function(I,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=r.LatheCategory=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.data,a=S.act,c=p.category,f=p.matching_designs,u=p.menu,d=u===4,m=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(l){var v=l.id,b=l.name,C=l.can_build,h=l.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:b,disabled:C<1,onClick:function(){function g(){return a(m,{id:v,amount:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function g(){return a(m,{id:v,amount:5})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function g(){return a(m,{id:v,amount:10})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.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)})})]},v)})})]})}return y}()},84275:function(I,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=k.act,a=S.loaded_chemicals,c=S.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=c?"disposeallP":"disposeallI";p(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:a.map(function(f){var u=f.volume,d=f.name,m=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function l(){var v=c?"disposeP":"disposeI";p(v,{id:m})}return l}()})},m)})})]})}return s}()},12638:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=r.LatheMainMenu=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.data,a=S.act,c=p.menu,f=p.categories,u=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(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 m(){a("setCategory",{category:d})}return m}()})},d)})})]})}return y}()},89004:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=k.act,a=S.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:a.map(function(c){var f=c.id,u=c.amount,d=c.name,m=function(){function C(h){var g=S.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(g,{id:f,amount:h})}return C}(),l=Math.floor(u/2e3),v=u<1,b=l===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:v?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",l," sheet",b,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function C(){return m(1)}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function C(){return m("custom")}return C}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function C(){return m(5)}return C}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function C(){return m(50)}return C}()})],0):null})]},f)})})})}return s}()},73856:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheMaterials=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data,p=S.total_materials,a=S.max_materials,c=S.max_chemicals,f=S.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),a?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+a}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return s}()},75955:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),i=n(17899),t=n(78345),o=n(3422),s=n(24674),y=n(89641),V=r.LatheMenu=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.data,f=c.menu,u=c.linked_lathe,d=c.linked_imprinter;return f===4&&!u?(0,e.createComponentVNode)(2,s.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!d?(0,e.createComponentVNode)(2,s.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.MAIN,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CATEGORY,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_MAT_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return m}()})]})}return k}()},72880:function(I,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LatheSearch=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(a,c){return S("search",{to_search:c})}return p}()})})}return s}()},62306:function(I,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=n(89641),y=r.MainMenu=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.data,c=a.disk_type,f=a.linked_destroy,u=a.linked_lathe,d=a.linked_imprinter,m=a.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:s.MENU.DISK,submenu:s.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:s.MENU.DESTROY,submenu:s.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:s.MENU.LATHE,submenu:s.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:s.MENU.IMPRINTER,submenu:s.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:s.MENU.SETTINGS,submenu:s.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:m.map(function(l){var v=l.name,b=l.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:v,children:b},v)})})]})}return V}()},99941:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.RndNavButton=function(){function s(y,V){var k=y.icon,S=y.children,p=y.disabled,a=y.content,c=(0,i.useBackend)(V),f=c.data,u=c.act,d=f.menu,m=f.submenu,l=d,v=m;return y.menu!==null&&y.menu!==void 0&&(l=y.menu),y.submenu!==null&&y.submenu!==void 0&&(v=y.submenu),(0,e.createComponentVNode)(2,t.Button,{content:a,icon:k,disabled:p,onClick:function(){function b(){u("nav",{menu:l,submenu:v})}return b}(),children:S})}return s}()},24448:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),i=n(3422),t=n(24674),o=n(89641),s=r.RndNavbar=function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,i.RndRoute,{menu:function(){function V(k){return k!==o.MENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,i.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return V}()}),(0,e.createComponentVNode)(2,i.RndRoute,{submenu:function(){function V(k){return k!==o.SUBMENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.DISK,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return k}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.LATHE,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return k}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return k}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function k(){return(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return k}()})]})}return V}()}),(0,e.createComponentVNode)(2,i.RndRoute,{menu:function(){function V(k){return k===o.MENU.LATHE||k===o.MENU.IMPRINTER}return V}(),submenu:o.SUBMENU.MAIN,render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,i.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return V}()})]})}return y}()},78345:function(I,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),i=r.RndRoute=function(){function t(o,s){var y=o.render,V=(0,e.useBackend)(s),k=V.data,S=k.menu,p=k.submenu,a=function(){function f(u,d){return u==null?!0:typeof u=="function"?u(d):u===d}return f}(),c=a(o.menu,S)&&a(o.submenu,p);return c?y():null}return t}()},56454:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(3422),s=n(89641),y=r.SettingsMenu=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.data,c=p.act,f=a.sync,u=a.admin,d=a.linked_destroy,m=a.linked_lathe,l=a.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function b(){c("sync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:s.MENU.SETTINGS,submenu:s.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function b(){return c("maxresearch")}return b}()}):null]})})}return v}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.SETTINGS_DEVICES,render:function(){function v(){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 b(){return c("find_device")}return b}()}),(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 b(){return c("disconnect",{item:"destroy"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),m?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){c("disconnect",{item:"lathe"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return c("disconnect",{item:"imprinter"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return v}()})]})}return V}()},3422:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var i=n(338);r.DataDiskMenu=i.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var s=n(84275);r.LatheChemicalStorage=s.LatheChemicalStorage;var y=n(12638);r.LatheMainMenu=y.LatheMainMenu;var V=n(73856);r.LatheMaterials=V.LatheMaterials;var k=n(89004);r.LatheMaterialStorage=k.LatheMaterialStorage;var S=n(75955);r.LatheMenu=S.LatheMenu;var p=n(72880);r.LatheSearch=p.LatheSearch;var a=n(62306);r.MainMenu=a.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var f=n(99941);r.RndNavButton=f.RndNavButton;var u=n(78345);r.RndRoute=u.RndRoute;var d=n(56454);r.SettingsMenu=d.SettingsMenu},65020:function(I,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(96524),i=n(28234),t=n(17899),o=n(24674),s=n(45493),y=r.RoboQuest=function(){function V(k,S){var p=(0,t.useBackend)(S),a=p.act,c=p.data,f=c.hasID,u=c.name,d=c.questInfo,m=c.hasTask,l=c.canCheck,v=c.canSend,b=c.checkMessage,C=c.style,h=c.cooldown,g=c.shopItems,N=c.points,x=c.cats,B=(0,t.useLocalState)(S,"shopState",!1),L=B[0],w=B[1],A={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,s.Window,{theme:C,width:1e3,height:540,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Mecha",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Check Mech",icon:"search",disabled:!f||!m||!l||h,onClick:function(){function T(){return a("Check")}return T}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!m&&(0,e.createVNode)(1,"img",(0,i.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:!!m&&d.modules.map(function(T){return T.id<4&&(0,e.createVNode)(1,"img",(0,i.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&d.modules.map(function(T){return T.id>3&&(0,e.createVNode)(1,"img",(0,i.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,b,0)],4),!!h&&(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,h,0)],4)]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["Corps bounties",(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",(0,e.createVNode)(1,"b",null,N.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,N.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,N.security,0,{style:{color:"red"}})]})]}),children:Object.keys(g).map(function(T){return(0,e.createFragment)(!(g[T]===void 0||g[T].length===0||T==="robo")&&g[T].map(function(E){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:A[T],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.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.security,0,{style:{color:"red"}})]}),content:E.desc,onClick:function(){function O(){return a("buyItem",{item:E.path})}return O}()},E.path)}),0,T)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Other",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Shop",icon:"shopping-cart",onClick:function(){function T(){return w(!L)}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",onClick:function(){function T(){return a("ChangeStyle")}return T}()})],4),children:!!u&&(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,u,0),(0,e.createVNode)(1,"br")],4)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Info",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"Eject ID",disabled:!f,onClick:function(){function T(){return a("RemoveID")}return T}()}),!m&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"Get Task",disabled:!f||h,onClick:function(){function T(){return a("GetTask")}return T}()}),!!m&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Print",icon:"print",onClick:function(){function T(){return a("printOrder")}return T}(),disabled:!m}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Remove Task",disabled:!f||h,onClick:function(){function T(){return a("RemoveTask")}return T}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"Name: ",16),d.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"Desc: ",16),d.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"Modules",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!m&&d.modules.map(function(T){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),T.id],0),(0,e.createTextVNode)(": "),T.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,T.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Send Mech",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return a("SendMech",{type:"send"})}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Pack",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return a("SendMech",{type:"only_packing"})}return T}()})]})]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("RoboQuest Shop"),(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",N.robo]})],4),children:g.robo.map(function(T){return(!T.emagOnly||C==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:T.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[T.name," ",(0,e.createVNode)(1,"b",null,T.cost.robo,0,{style:{color:"purple"}})]}),content:T.desc,onClick:function(){function E(){return a("buyItem",{item:T.path})}return E}()},T.name)})})]})]})})})}return V}()},71123:function(I,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=n(78234),y=function(S,p){var a=S/p;return a<=.2?"good":a<=.5?"average":"bad"},V=r.RobotSelfDiagnosis=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.data,f=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,s.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:y(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:y(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},d)})})})}return k}()},98951:function(I,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.RoboticsControlConsole=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.can_hack,u=c.safety,d=c.show_detonate_all,m=c.cyborgs,l=m===void 0?[]:m;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:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function v(){return a("arm",{})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function v(){return a("nuke",{})}return v}()})]}),(0,e.createComponentVNode)(2,y,{cyborgs:l,can_hack:f})]})})}return V}(),y=function(k,S){var p=k.cyborgs,a=k.can_hack,c=(0,i.useBackend)(S),f=c.act,u=c.data;return p.length?p.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 m(){return f("hackbot",{uid:d.uid})}return m}()}),(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:!u.auth,onClick:function(){function m(){return f("stopbot",{uid:d.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!u.auth,color:"bad",onClick:function(){function m(){return f("killbot",{uid:d.uid})}return m}()})],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."})}},2289:function(I,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Safe=function(){function S(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.dial,m=u.open,l=u.locked,v=u.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),m?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*d+"deg)","z-index":0}})]}),!m&&(0,e.createComponentVNode)(2,k)]})})}return S}(),y=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.dial,m=u.open,l=u.locked,v=function(C,h){return(0,e.createComponentVNode)(2,t.Button,{disabled:m||h&&!l,icon:"arrow-"+(h?"right":"left"),content:(h?"Right":"Left")+" "+C,iconRight:h,onClick:function(){function g(){return f(h?"turnleft":"turnright",{num:C})}return g}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:l,icon:m?"lock":"lock-open",content:m?"Close":"Open",mb:"0.5rem",onClick:function(){function b(){return f("open")}return b}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[v(50),v(10),v(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[v(1,!0),v(10,!0),v(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:d})]})},V=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:d.map(function(m,l){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function v(){return f("retrieve",{index:l+1})}return v}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:m.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),m.name]}),(0,e.createVNode)(1,"br")],4,m)})})},k=function(p,a){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(I,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SatelliteControl=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.satellites,f=a.notice,u=a.meteor_shield,d=a.meteor_shield_coverage,m=a.meteor_shield_coverage_max,l=a.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:l>=100?"good":"average",value:d,maxValue:m,children:[l," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:a.notice}),c.map(function(v){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+v.id,children:[v.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:v.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function b(){return p("toggle",{id:v.id})}return b}()})]},v.id)})]})})]})})}return y}()},54892:function(I,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SecureStorage=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.emagged,f=a.locked,u=a.l_set,d=a.l_setshort,m=a.current_code,l=function(){function v(b){var C=b.buttonValue,h=b.color;return h||(h="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:c||d,type:"button",color:h,onClick:function(){function g(){return p("setnumber",{buttonValue:C})}return g}(),children:C})}return v}();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,l,{buttonValue:"1"}),(0,e.createComponentVNode)(2,l,{buttonValue:"2"}),(0,e.createComponentVNode)(2,l,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"4"}),(0,e.createComponentVNode)(2,l,{buttonValue:"5"}),(0,e.createComponentVNode)(2,l,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"7"}),(0,e.createComponentVNode)(2,l,{buttonValue:"8"}),(0,e.createComponentVNode)(2,l,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,l,{buttonValue:"0"}),(0,e.createComponentVNode)(2,l,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:c||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:c?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),c?(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:u?"red":"green",children:u?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:f?"red":"green",children:f?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:m||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:f,color:"red",content:"Lock",icon:"lock",onClick:function(){function v(){return p("close")}return v}()})]})})]})})}return y}()},56798:function(I,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),i=n(78234),t=n(17899),o=n(24674),s=n(45493),y=n(99665),V=n(68159),k=n(27527),S=n(84537),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},a=function(g,N){(0,y.modalOpen)(g,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function h(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.loginState,A=L.currentPage,T;if(w.logged_in)A===1?T=(0,e.createComponentVNode)(2,u):A===2?T=(0,e.createComponentVNode)(2,l):A===3&&(T=(0,e.createComponentVNode)(2,v));else return(0,e.createComponentVNode)(2,s.Window,{width:800,height:900,theme:"security",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});return(0,e.createComponentVNode)(2,s.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,f),T]})})]})}return h}(),f=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===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:w===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),w===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},u=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],O=(0,t.useLocalState)(N,"sortId","name"),P=O[0],R=O[1],F=(0,t.useLocalState)(N,"sortOrder",!0),j=F[0],U=F[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,m)}),(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"})]}),w.filter((0,i.createSearch)(T,function(_){return _.name+"|"+_.id+"|"+_.rank+"|"+_.fingerprint+"|"+_.status})).sort(function(_,K){var Y=j?1:-1;return _[P].localeCompare(K[P])*Y}).map(function(_){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[_.status],onClick:function(){function K(){return B("view",{uid_gen:_.uid_gen,uid_sec:_.uid_sec})}return K}(),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:_.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:_.status})]},_.id)})]})})})],4)},d=function(g,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],w=(0,t.useLocalState)(N,"sortOrder",!0),A=w[0],T=w[1],E=g.id,O=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 P(){B===E?T(!A):(L(E),T(!0))}return P}(),children:[O,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},m=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=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 O(){return B("new_general")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function O(){return(0,y.modalOpen)(N,"print_cell_log")}return O}()})}),(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 O(P,R){return E(R)}return O}()})})]})},l=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}()})]})},v=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=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:w,icon:w?"spinner":"print",iconSpin:!!w,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,b)})}),!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,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,i.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 P(){return a(N,E)}return P}()})]},O)})})})})}),(0,e.createComponentVNode)(2,C)],4)],0)},b=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(w,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,preserveWhitespace:!0,children:[(0,i.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function T(){return a(N,w)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(w,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:w,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)})]})},C=function(g,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=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,y.modalOpen)(N,"comment_add")}return A}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.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)})})})}},59981:function(I,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),i=n(78234),t=n(28234),o=n(17899),s=n(24674),y=n(45493),V=n(99665);function k(m,l){var v=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(v)return(v=v.call(m)).next.bind(v);if(Array.isArray(m)||(v=S(m))||l&&m&&typeof m.length=="number"){v&&(m=v);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(m,l){if(m){if(typeof m=="string")return p(m,l);var v=Object.prototype.toString.call(m).slice(8,-1);if(v==="Object"&&m.constructor&&(v=m.constructor.name),v==="Map"||v==="Set")return Array.from(m);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return p(m,l)}}function p(m,l){(l==null||l>m.length)&&(l=m.length);for(var v=0,b=new Array(l);v=T},C=function(A,T){return A<=T},h=l.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(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function P(R){return!1}return P}()};var E,O=v;if(T[1][T[1].length-1]==="-"?(O=C,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(O=b,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function P(R){return!1}return P}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":g.push(function(P){return O(P.lifespan,E)});break;case"e":case"end":case"endurance":g.push(function(P){return O(P.endurance,E)});break;case"m":case"mat":case"maturation":g.push(function(P){return O(P.maturation,E)});break;case"pr":case"prod":case"production":g.push(function(P){return O(P.production,E)});break;case"y":case"yield":g.push(function(P){return O(P.yield,E)});break;case"po":case"pot":case"potency":g.push(function(P){return O(P.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":g.push(function(P){return O(P.amount,E)});break;default:return{v:function(){function P(R){return!1}return P}()}}},x,B=k(h),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(w){for(var A=0,T=g;A=1?Number(O):1)}return T}()})]})]})}},33454:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.ShuttleConsole=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=a.type,l=m===void 0?"shuttle":m,v=a.blind_drop,b=d.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!b&&(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:l==="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 C(){return u("request")}return C}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S,{type:l,blind_drop:v})})]})}return p}(),y=function(a,c){var f;return a==null||(f=a.find(function(u){return u.id===c}))==null?void 0:f.name},V=function(a,c){var f;return a==null||(f=a.find(function(u){return u.name===c}))==null?void 0:f.id},k={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},S=r.ShuttleConsoleContent=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=a.type,l=a.blind_drop,v=d.status,b=d.locked,C=d.authorization_required,h=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:k[v]||"bad",ml:1,children:v||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:m==="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:m!=="shuttle"&&B.length===0&&!!l&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:C||!l,content:"Blind Drop",onClick:function(){function L(){return u("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:y(B,h)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:b||C,selected:y(B,h)||"Select a Destination",onSelected:function(){function L(w){return u("set_destination",{destination:V(B,w)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!y(B,h)||b||C||v!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return u("move",{shuttle_id:h})}return L}()})]})]})}return p}()},50451:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.ShuttleManipulator=function(){function S(p,a){var c=(0,i.useLocalState)(a,"tabIndex",0),f=c[0],u=c[1],d=function(){function m(l){switch(l){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,V);case 2:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}}return m}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function m(){return u(0)}return m}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function m(){return u(1)}return m}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function m(){return u(2)}return m}(),icon:"tools",children:"Modification"},"Modification")]}),d(f)]})})})}return S}(),y=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.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:"ID",children:m.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:m.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:m.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:m.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function l(){return f("jump_to",{type:"mobile",id:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function l(){return f("fast_travel",{id:m.id})}return l}()})]})]})},m.name)})})},V=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.templates_tabs,m=u.existing_shuttle,l=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(v){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===m.id,icon:"file",onClick:function(){function b(){return f("select_template_category",{cat:v})}return b}(),children:v},v)})}),!!m&&l[m.id].templates.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:v.description}),v.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:v.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 b(){return f("select_template",{shuttle_id:v.shuttle_id})}return b}()})})]})},v.name)})]})},k=function(p,a){var c=(0,i.useBackend)(a),f=c.act,u=c.data,d=u.existing_shuttle,m=u.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 l(){return f("jump_to",{type:"mobile",id:d.id})}return l}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),m?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:m.description}),m.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:m.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function l(){return f("preview",{shuttle_id:m.shuttle_id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function l(){return f("load",{shuttle_id:m.shuttle_id})}return l}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(I,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),i=n(36121),t=n(17899),o=n(24674),s=n(45493),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function l(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.hasOccupant,x=N?(0,e.createComponentVNode)(2,a):(0,e.createComponentVNode)(2,m);return(0,e.createComponentVNode)(2,s.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,s.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,u)})]})})})}return l}(),a=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,d)],4)},c=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.occupant,x=g.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"On":"Off",onClick:function(){function B(){return h("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function B(){return h("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",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,i.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:y[N.stat][0],children:y[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:S[N.temperatureSuitability+3],children:[(0,i.round)(N.btCelsius,0),"\xB0C,",(0,i.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",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:"Pulse",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},f=function(v,b){var C=(0,t.useBackend)(b),h=C.data,g=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:V.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:k,children:(0,i.round)(g[N[1]],0)},x)},x)})})})},u=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.hasOccupant,x=g.isBeakerLoaded,B=g.beakerMaxSpace,L=g.beakerFreeSpace,w=g.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",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?"Active":"Inactive",onClick:function(){function T(){return h("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"Eject",onClick:function(){function T(){return h("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max: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:"No beaker loaded."})})},d=function(v,b){var C=(0,t.useBackend)(b),h=C.act,g=C.data,N=g.occupant,x=g.chemicals,B=g.maxchem,L=g.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:x.map(function(w,A){var T="",E;return w.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.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:w.occ_amount/B,color:T,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",B,"u"]}),L.map(function(O,P){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+O>B||N.stat===2,icon:"syringe",content:"Inject "+O+"u",title:"Inject "+O+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function R(){return h("chemical",{chemid:w.id,amount:O})}return R}()},P)})]})})},A)})})},m=function(v,b){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(I,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SlotMachine=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data;if(a.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 c;return a.plays===1?c=a.plays+" player has tried their luck today!":c=a.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:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:a.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:a.working,content:a.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:a.resultlvl,children:a.result})]})})})}return y}()},26654:function(I,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Smartfridge=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.secure,f=a.can_dry,u=a.drying,d=a.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function m(){return p("drying")}return m}()}),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"),"No products loaded."]})}),!!d&&d.slice().sort(function(m,l){return m.display_name.localeCompare(l.display_name)}).map(function(m){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:m.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",m.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function l(){return p("vend",{index:m.vend,amount:1})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:m.quantity,step:1,stepPixelSize:3,onChange:function(){function l(v,b){return p("vend",{index:m.vend,amount:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function l(){return p("vend",{index:m.vend,amount:m.quantity})}return l}()})]})]},m)})]})]})})})}return y}()},71124:function(I,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(92986),s=n(45493),y=1e3,V=r.Smes=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.capacityPercent,d=f.capacity,m=f.charge,l=f.inputAttempt,v=f.inputting,b=f.inputLevel,C=f.inputLevelMax,h=f.inputAvailable,g=f.outputPowernet,N=f.outputAttempt,x=f.outputting,B=f.outputLevel,L=f.outputLevelMax,w=f.outputUsed,A=u>=100&&"good"||v&&"average"||"bad",T=x&&"good"||m>0&&"average"||"bad";return(0,e.createComponentVNode)(2,s.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l?"sync-alt":"times",selected:l,onClick:function(){function E(){return c("tryinput")}return E}(),children:l?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||v&&"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:b===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:b===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:b/y,fillValue:h/y,minValue:0,maxValue:C/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("input",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:b===C,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:b===C,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){function E(){return c("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:g?x?"Sending":m>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 c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/y,minValue:0,maxValue:L/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("output",{target:P*y})}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 c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return k}()},21786:function(I,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SolarControl=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=0,f=1,u=2,d=a.generated,m=a.generated_ratio,l=a.tracking_state,v=a.tracking_rate,b=a.connected_panels,C=a.connected_tracker,h=a.cdir,g=a.direction,N=a.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 p("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:C?"good":"bad",children:C?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:b>0?"good":"bad",children:b})]})}),(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:m,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",g,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),l===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",v,"\xB0/h (",N,")"," "]}),l===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[l!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function x(B,L){return p("cdir",{cdir:L})}return x}()}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:l===c,onClick:function(){function x(){return p("track",{track:c})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:l===f,onClick:function(){function x(){return p("track",{track:f})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:l===u,disabled:!C,onClick:function(){function x(){return p("track",{track:u})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:v,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 p("tdir",{tdir:L})}return x}()}),l===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return y}()},31202:function(I,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.SpawnersMenu=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return y}()},54015:function(I,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(91097),s=n(45493);function y(m,l){m.prototype=Object.create(l.prototype),m.prototype.constructor=m,V(m,l)}function V(m,l){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(b,C){return b.__proto__=C,b}return v}(),V(m,l)}var k=r.SpiderOS=function(){function m(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.data,g;return h.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,c)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,f)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,a),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})]}):h.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,u),(0,e.createComponentVNode)(2,d,{allMessages:h.current_load_text,finishedTimeout:3e3,current_initialisation_phase:h.current_initialisation_phase,end_terminal:h.end_terminal,onFinished:function(){function N(){return C("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,s.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:g})})})}return m}(),S=function(l,v){var b=(0,i.useBackend)(v),C=b.data,h=C.allStylesPreview,g=C.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"},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.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+h[g],style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}})})})})})},p=function(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.data,g=h.designs,N=h.design_choice,x=h.scarf_design_choice,B=h.colors,L=h.color_choice,w=h.genders,A=h.preferred_clothes_gender,T=h.suit_state,E=h.preferred_scarf_over_hood,O=h.show_charge_UI,P=h.has_martial_art,R=h.show_concentration_UI,F;T===0?F="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":F="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var j;E===0?j="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":j="\u0428\u0430\u0440\u0444";var U;E===1?U=(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 K(Y){return C("set_scarf_design",{scarf_design_choice:Y})}return K}()})}):U=null;var _;return P?_=(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:R,width:"78px",textAlign:"left",content:R?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function K(){return C("toggle_ui_concentration")}return K}()}),(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"})]})}):_=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",ml:.5,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 K(Y){return C("set_design",{design_choice:Y})}return K}()})}),(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 K(Y){return C("set_color",{color_choice:Y})}return K}()})}),(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:w,selected:A,onSelected:function(){function K(Y){return C("set_gender",{preferred_clothes_gender:Y})}return K}()})}),(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:j,onClick:function(){function K(){return C("toggle_scarf")}return K}()}),(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"})]}),U,(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:O,width:"90px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function K(){return C("toggle_ui_charge")}return K}()}),(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"})]}),_]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+L,success:0,danger:0,mt:-1.2,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",mt:.5,textAlign:"center",content:F,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 K(){return C("initialise_suit")}return K}()})})]})})},a=function(l,v){var b=(0,i.useBackend)(v),C=b.data,h=C.allActionsPreview;return(0,e.createComponentVNode)(2,t.Section,{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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_teleport,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.headset_green,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_sleeper,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ai_face,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_borg,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.server,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.buckler,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.cash,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.handcuff,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.spider_charge,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.BSM,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.changeling,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.vampire,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.syndicate,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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"})]})]})})})},c=function(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.data,g=h.allActionsPreview,N=h.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,{title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",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 C("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.smoke,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.ninja_cloak,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.ninja_clones,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.chameleon,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.ninja_spirit_form,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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,{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 C("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.kunai,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.chem_injector,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.emergency_blink,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.caltrop,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.cloning,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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,{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 C("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.shuriken,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.adrenal,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.emp,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.energynet,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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 C("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g.spider_red,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(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"})]})]})]})]})})},f=r.ShuttleConsole=function(){function m(l,v){var b=(0,i.useBackend)(v),C=b.act,h=b.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",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:h.status?h.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:h.player_pos}),!!h.shuttle&&(!!h.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:h.docking_ports.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:g.name,onClick:function(){function N(){return C("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"})}),!!h.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:!h.status,onClick:function(){function g(){return C("request")}return g}()})})],0))]})})})}return m}(),u=function(l,v){var b=(0,i.useBackend)(v),C=b.data,h=C.randomPercent,g=C.allActionsPreview,N=C.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:h,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.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+g["spider_"+N],style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createVNode)(1,"br"),"Loading ",h+"%"]}),2)})})},d=function(m){function l(b){var C;return C=m.call(this,b)||this,C.timer=null,C.state={lastText:"text do be there",currentDisplay:[]},C}y(l,m);var v=l.prototype;return v.tick=function(){function b(){var C=this.props,h=this.state;if(C.allMessages!==h.lastText&&!C.end_terminal){var g=h.currentDisplay;g.push(C.allMessages),h.lastText=C.allMessages}else C.end_terminal&&(clearTimeout(this.timer),setTimeout(C.onFinished,C.finishedTimeout))}return b}(),v.componentDidMount=function(){function b(){var C=this,h=this.props.linesPerSecond,g=h===void 0?2.5:h;this.timer=setInterval(function(){return C.tick()},1e3/g)}return b}(),v.componentWillUnmount=function(){function b(){clearTimeout(this.timer)}return b}(),v.render=function(){function b(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(C){return(0,e.createFragment)([C,(0,e.createVNode)(1,"br")],0,C)})})}return b}(),l}(e.Component)},46501:function(I,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.StationAlertConsole=function(){function V(){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,y)})})}return V}(),y=r.StationAlertConsoleContent=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.data,c=a.alarms||[];return Object.keys(c).map(function(f){var u,d;return(0,e.createComponentVNode)(2,t.Section,{title:f+" Alarms",children:(0,e.createVNode)(1,"ul",null,((u=c[f])==null?void 0:u.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(d=c[f])==null?void 0:d.map(function(m){return(0,e.createVNode)(1,"li","color-average",m,0,null,m)}),0)},f)})}return V}()},95147:function(I,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),i=n(50640),t=n(17442),o=n(17899),s=n(24674),y=n(45493),V=5,k=9,S=function(b){return b===0?5:9},p="64px",a=function(b){return b[0]+"/"+b[1]},c=function(b){var C=b.align,h=b.children;return(0,e.createComponentVNode)(2,s.Box,{style:{position:"absolute",left:C==="left"?"6px":"48px","text-align":C,"text-shadow":"2px 2px 2px #000",top:"2px"},children:h})},f={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"}},u={neck:{displayName:"neck",gridSpot:a([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:a([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:a([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:a([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:a([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:a([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:a([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:a([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:a([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:a([1,4])},jumpsuit:{displayName:"uniform",gridSpot:a([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:a([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:a([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:a([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:a([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:a([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:a([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:a([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:a([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:a([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:a([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:a([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:a([4,4]),image:"inventory-pda.png"}},d={neck:{displayName:"neck",gridSpot:a([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:a([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:a([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:a([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:a([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:a([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:a([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:a([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:a([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:a([1,4])},jumpsuit:{displayName:"uniform",gridSpot:a([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:a([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:a([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:a([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:a([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:a([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:a([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:a([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:a([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:a([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:a([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:a([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:a([4,8]),image:"inventory-pda.png"}},m=function(v){return v[v.Completely=1]="Completely",v[v.Hidden=2]="Hidden",v}(m||{}),l=r.StripMenu=function(){function v(b,C){var h=(0,o.useBackend)(C),g=h.act,N=h.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":f>150?"average":"good"},k=function(f){return f>5e3?"bad":f>4e3?"average":"good"},S=function(f){return f>1e4?"bad":f>5e3?"average":"good"},p=function(f,u){var d=(0,i.useBackend)(u),m=d.act,l=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 v(){return m("refresh")}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:l.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,s.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Details"})]}),l.supermatters.map(function(v){return(0,e.createComponentVNode)(2,s.TableRow,{children:[(0,e.createComponentVNode)(2,s.TableCell,{children:v.area_name}),(0,e.createComponentVNode)(2,s.TableCell,{children:[v.integrity,"%"]}),(0,e.createComponentVNode)(2,s.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function b(){return m("view",{view:v.uid})}return b}()})})]},v)})]})})})})})},a=function(f,u){var d=(0,i.useBackend)(u),m=d.act,l=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 v(){return m("back")}return v}()}),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:l.SM_integrity,children:[l.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:V(l.SM_power),children:[l.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(l.SM_ambienttemp),children:[l.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:S(l.SM_ambientpressure),children:[l.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:[l.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[l.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[l.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[l.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[l.SM_gas_OTHER,"%"]})]})})]})})}},30047:function(I,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(91097),s=n(45493),y=r.SyndicateComputerSimple=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data;return(0,e.createComponentVNode)(2,s.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:c.rows.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f.buttontitle,disabled:f.buttondisabled,tooltip:f.buttontooltip,tooltipPosition:"left",onClick:function(){function u(){return a(f.buttonact)}return u}()}),children:[f.status,!!f.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:f.bullets.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:u},u)})})]},f.title)})})})}return V}()},92869:function(I,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(96524),i=n(74041),t=n(50640),o=n(17899),s=n(24674),y=n(45493),V=n(91097),k=n(78234),S=r.SyndieCargoConsole=function(){function u(d,m){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,a),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})}return u}(),p=function(d,m){var l=(0,o.useLocalState)(m,"contentsModal",null),v=l[0],b=l[1],C=(0,o.useLocalState)(m,"contentsModalTitle",null),h=C[0],g=C[1];if(v!==null&&h!==null)return(0,e.createComponentVNode)(2,s.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,s.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[h,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,s.Box,{children:v.map(function(N){return(0,e.createComponentVNode)(2,s.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,s.Box,{m:2,children:(0,e.createComponentVNode)(2,s.Button,{content:"Close",onClick:function(){function N(){b(null),g(null)}return N}()})})]})},a=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,C=b.is_public,h=C===void 0?0:C,g=b.cash,N=b.wait_time,x=b.is_cooldown,B=b.telepads_status,L=b.adminAddCash,w=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?w=""+B+" (ETA: "+N+" seconds)":w=""+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,s.Section,{title:"Status",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Money Available",children:[g,(0,e.createComponentVNode)(2,s.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function O(){return v("withdraw",g)}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function O(){return v("add_money",g)}return O}()})]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Telepads Status",children:w}),h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,s.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function O(){return v("teleport")}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Syndicate Black Market Log",onClick:function(){function O(){return v("showMessages")}return O}()})]})]})})},c=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,C=b.categories,h=b.supply_packs,g=(0,o.useSharedState)(m,"category","Emergency"),N=g[0],x=g[1],B=(0,o.useSharedState)(m,"search_text",""),L=B[0],w=B[1],A=(0,o.useLocalState)(m,"contentsModal",null),T=A[0],E=A[1],O=(0,o.useLocalState)(m,"contentsModalTitle",null),P=O[0],R=O[1],F=(0,k.createSearch)(L,function(_){return _.name}),j=(0,i.flow)([(0,t.filter)(function(_){return _.cat===C.filter(function(K){return K.name===N})[0].category||L}),L&&(0,t.filter)(F),(0,t.sortBy)(function(_){return _.name.toLowerCase()})])(h),U="Crate Catalogue";return L?U="Results for '"+L+"':":N&&(U="Browsing "+N),(0,e.createComponentVNode)(2,s.Section,{title:U,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"190px",options:C.map(function(_){return _.name}),selected:N,onSelected:function(){function _(K){return x(K)}return _}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function _(K,Y){return w(Y)}return _}(),mb:1}),(0,e.createComponentVNode)(2,s.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:j.map(function(_){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{bold:!0,children:[_.name," (",_.cost," Credits)"]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function K(){return v("order",{crate:_.ref,multiple:0})}return K}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function K(){return v("order",{crate:_.ref,multiple:1})}return K}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Contents",icon:"search",onClick:function(){function K(){E(_.contents),R(_.name)}return K}()})]})]},_.name)})})})]})},f=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,C=b.requests,h=b.canapprove,g=b.orders;return(0,e.createComponentVNode)(2,s.Section,{title:"Details",children:(0,e.createComponentVNode)(2,s.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:C.map(function(N){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Approve",color:"green",disabled:!h,onClick:function(){function x(){return v("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Deny",color:"red",onClick:function(){function x(){return v("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,s.Table.Row,{children:(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},96606:function(I,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},V=function(a,c,f,u){return u===void 0&&(u=null),a.map(function(d){var m,l=(m=d[u])!=null?m:d;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:c.includes(d),content:l,onClick:function(){function v(){c.includes(d)?f(c.filter(function(b){var C;return((C=b[u])!=null?C:b)!==d})):f([d].concat(c))}return v}()},l)})},k=r.TTSSeedsExplorer=function(){function p(a,c){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),S=r.TTSSeedsExplorerContent=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.providers,l=d.seeds,v=d.selected_seed,b=d.phrases,C=d.donator_level,h=l.map(function(X){return X.category}).filter(function(X,Q,te){return te.indexOf(X)===Q}),g=l.map(function(X){return X.gender}).filter(function(X,Q,te){return te.indexOf(X)===Q}),N=l.map(function(X){return X.donator_level}).filter(function(X,Q,te){return te.indexOf(X)===Q}).map(function(X){return s[X]}),x=(0,i.useLocalState)(c,"selectedProviders",m),B=x[0],L=x[1],w=(0,i.useLocalState)(c,"selectedGenders",g),A=w[0],T=w[1],E=(0,i.useLocalState)(c,"selectedCategories",h),O=E[0],P=E[1],R=(0,i.useLocalState)(c,"selectedDonatorLevels",N),F=R[0],j=R[1],U=(0,i.useLocalState)(c,"selectedPhrase",b[0]),_=U[0],K=U[1],Y=(0,i.useLocalState)(c,"searchtext",""),G=Y[0],ne=Y[1],$=V(m,B,L,"name"),se=V(g,A,T),Ne=V(h,O,P),be=V(N,F,j),xe=(0,e.createComponentVNode)(2,t.Dropdown,{options:b,selected:_.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function X(Q){return K(Q)}return X}()}),Ie=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function X(Q,te){return ne(te)}return X}()}),Te=l.sort(function(X,Q){var te=X.name.toLowerCase(),ee=Q.name.toLowerCase();return te>ee?1:te0&&v!==X.name?"orange":"white",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===X.name?.5:.25,textAlign:"left",children:X.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===X.name?"white":y[X.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[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)([s[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:se}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:Ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:be}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:xe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Ie})]})})}),(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 ("+Te.length+"/"+l.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:he})})}),(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 p}()},39903:function(I,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TachyonArray=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.records,u=f===void 0?[]:f,d=c.explosion_target,m=c.toxins_tech,l=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||l,align:"center",onClick:function(){function v(){return a("print_logs")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function v(){return a("delete_logs")}return v}()})]})]})}),u.length?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return V}(),y=r.TachyonArrayContent=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(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 m(){return a("delete_record",{index:d.index})}return m}()})})]},d.index)})]})})})})}return V}()},17068:function(I,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Tank=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c;return a.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:a.connected?"check":"times",content:a.connected?"Internals On":"Internals Off",selected:a.connected,onClick:function(){function f(){return p("internals")}return f}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width: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:a.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:a.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:a.ReleasePressure===a.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(a.releasePressure),width:"65px",unit:"kPa",minValue:a.minReleasePressure,maxValue:a.maxReleasePressure,onChange:function(){function f(u,d){return p("pressure",{pressure:d})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:a.ReleasePressure===a.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:a.ReleasePressure===a.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),c]})})})})}return y}()},69161:function(I,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TankDispenser=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.o_tanks,f=a.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 ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})}return y}()},87394:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TcommsCore=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.ion,l=(0,i.useLocalState)(c,"tabIndex",0),v=l[0],b=l[1],C=function(){function h(g){switch(g){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[m===1&&(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return b(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),C(v)]})})}return p}(),y=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."})},V=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.active,l=d.sectors_available,v=d.nttc_toggle_jobs,b=d.nttc_toggle_job_color,C=d.nttc_toggle_name_color,h=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:m?"On":"Off",selected:m,icon:"power-off",onClick:function(){function B(){return u("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:l})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"On":"Off",selected:b,icon:"clipboard-list",onClick:function(){function B(){return u("nttc_toggle_job_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_name_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function B(){return u("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 u("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 u("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 u("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 u("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return u("export")}return B}()})]})],4)},k=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=d.link_password,l=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:m||"Unset",selected:m,icon:"lock",onClick:function(){function v(){return u("change_password")}return v}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),l.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.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 b(){return u("unlink",{addr:v.addr})}return b}()})})]},v.addr)})]})]})},S=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=f.data,m=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 l(){return u("add_filter")}return l}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),m.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function v(){return u("remove_filter",{user:l})}return v}()})})]},l)})]})})}},55684:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.TcommsRelay=function(){function k(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.linked,d=f.active,m=f.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 l(){return c("toggle_active")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"server",onClick:function(){function l(){return c("network_id")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.linked_core_id,d=f.linked_core_addr,m=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"Yes":"No",icon:m?"eye-slash":"eye",selected:m,onClick:function(){function l(){return c("toggle_hidden_link")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function l(){return c("unlink")}return l}()})})]})})},V=function(S,p){var a=(0,i.useBackend)(p),c=a.act,f=a.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(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 m(){return c("link",{addr:d.addr})}return m}()})})]},d.addr)})]})})}},81088:function(I,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=n(17956),y=r.Teleporter=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.targetsTeleport?c.targetsTeleport:{},u=0,d=1,m=2,l=c.calibrated,v=c.calibrating,b=c.powerstation,C=c.regime,h=c.teleporterhub,g=c.target,N=c.locked,x=c.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!b||!h)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[h,!b&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),b&&!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),b&&h&&(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:C===d?"good":null,onClick:function(){function B(){return a("setregime",{regime:d})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:C===u?"good":null,onClick:function(){function B(){return a("setregime",{regime:u})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:C===m?"good":null,disabled:!N,onClick:function(){function B(){return a("setregime",{regime:m})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[C===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(f),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return a("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),C===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:g,options:Object.keys(f),color:g!=="None"?"default":"bad",onSelected:function(){function B(L){return a("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),C===m&&(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,s.GridColumn,{size:"2",children:v&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(l||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,s.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:!!(l||v),onClick:function(){function B(){return a("calibrate")}return B}()})})})]}),g==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&b&&h&&C===m)&&(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 a("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return a("eject")}return B}()})]})})]})})}return V}()},95484:function(I,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),i=n(14299),t=n(15113),o=n(17899),s=n(68100),y=n(24674),V=n(45493),k=r.sanitizeMultiline=function(){function c(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),S=r.removeAllSkiplines=function(){function c(f){return f.replace(/[\r\n]+/,"")}return c}(),p=r.TextInputModal=function(){function c(f,u){var d=(0,o.useBackend)(u),m=d.act,l=d.data,v=l.max_length,b=l.message,C=b===void 0?"":b,h=l.multiline,g=l.placeholder,N=l.timeout,x=l.title,B=(0,o.useLocalState)(u,"input",g||""),L=B[0],w=B[1],A=function(){function O(P){if(P!==L){var R=h?k(P):S(P);w(R)}}return O}(),T=h||L.length>=40,E=130+(C.length>40?Math.ceil(C.length/4):0)+(T?80:0);return(0,e.createComponentVNode)(2,V.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,i.Loader,{value:N}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function O(P){var R=window.event?P.which:P.keyCode;R===s.KEY_ENTER&&(!T||!P.shiftKey)&&m("submit",{entry:L}),R===s.KEY_ESCAPE&&m("cancel")}return O}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:C})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,a,{input:L,onType:A})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+v})})]})})})]})}return c}(),a=function(f,u){var d=(0,o.useBackend)(u),m=d.act,l=d.data,v=l.max_length,b=l.multiline,C=f.input,h=f.onType,g=b||C.length>=40;return(0,e.createComponentVNode)(2,y.TextArea,{autoFocus:!0,autoSelect:!0,height:b||C.length>=40?"100%":"1.8rem",maxLength:v,onEscape:function(){function N(){return m("cancel")}return N}(),onEnter:function(){function N(x){g&&x.shiftKey||(x.preventDefault(),m("submit",{entry:C}))}return N}(),onInput:function(){function N(x,B){return h(B)}return N}(),placeholder:"Type something...",value:C})}},16387:function(I,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.ThiefKit=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.uses,f=a.possible_uses,u=a.multi_uses,d=a.kits,m=a.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:c<=0?"good":c=f,onClick:function(){function l(){return p("randomKit")}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d&&d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.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:l.was_taken||c>=f,onClick:function(){function v(){return p("takeKit",{item:l.type})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!l.was_taken,onClick:function(){function v(){return p("undoKit",{item:l.type})}return v}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:l.desc})},l.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:m&&m.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.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 v(){return p("undoKit",{item:l.type})}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},l.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:c0?(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,s.Countdown,{timeLeft:x.contractor.time_left,format:function(){function P(R,F){return" ("+F+")"}return P}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return N("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:p(w)})]})})]})}return b}(),c=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.crystals,L=x.cats,w=(0,y.useLocalState)(h,"uplinkItems",L[0].items),A=w[0],T=w[1],E=(0,y.useLocalState)(h,"searchText",""),O=E[0],P=E[1],R=function(Y,G){G===void 0&&(G="");var ne=(0,o.createSearch)(G,function($){var se=$.hijack_only===1?"|hijack":"";return $.name+"|"+$.desc+"|"+$.cost+"tc"+se});return(0,t.flow)([(0,i.filter)(function($){return $==null?void 0:$.name}),G&&(0,i.filter)(ne),(0,i.sortBy)(function($){return $==null?void 0:$.name})])(Y)},F=function(Y){if(P(Y),Y==="")return T(L[0].items);T(R(L.map(function(G){return G.items}).flat(),Y))},j=(0,y.useLocalState)(h,"showDesc",1),U=j[0],_=j[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:U,onClick:function(){function K(){return _(!U)}return K}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function K(){return N("buyRandom")}return K}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function K(){return N("refund")}return K}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function K(Y,G){F(G)}return K}(),value:O})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:L.map(function(K){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O!==""?!1:K.items===A,onClick:function(){function Y(){T(K.items),P("")}return Y}(),children:K.cat},K)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:A.map(function(K){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:K,showDecription:U},(0,o.decodeHtmlEntities)(K.name))},(0,o.decodeHtmlEntities)(K.name))})})})})]})]})},f=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.cart,L=x.crystals,w=x.cart_price,A=(0,y.useLocalState)(h,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function O(){return E(!T)}return O}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function O(){return N("empty_cart")}return O}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function O(){return N("purchase_cart")}return O}(),disabled:!B||w>L})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(O){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:O,showDecription:T,buttons:(0,e.createComponentVNode)(2,l,{i:O})})},(0,o.decodeHtmlEntities)(O.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,u)]})},u=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return N("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:L.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,A){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:w})},A)})})})})},d=function(C,h){var g=C.i,N=C.showDecription,x=N===void 0?1:N,B=C.buttons,L=B===void 0?(0,e.createComponentVNode)(2,m,{i:g}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(g.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(g.desc)}):null})},m=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=C.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return N("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return N("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>L})],4)},l=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=C.i,L=x.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return N("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},v=function(C,h){var g=(0,y.useBackend)(h),N=g.act,x=g.data,B=x.exploitable,L=(0,y.useLocalState)(h,"selectedRecord",B[0]),w=L[0],A=L[1],T=(0,y.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=function(j,U){U===void 0&&(U="");var _=(0,o.createSearch)(U,function(K){return K.name});return(0,t.flow)([(0,i.filter)(function(K){return K==null?void 0:K.name}),U&&(0,i.filter)(_),(0,i.sortBy)(function(K){return K.name})])(j)},R=P(B,E);return(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function F(j,U){return O(U)}return F}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:R.map(function(F){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:F===w,onClick:function(){function j(){return A(F)}return j}(),children:F.name},F)})})]})}),(0,e.createComponentVNode)(2,V.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:w.name,scrollable:!0,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:w.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Records",children:w.exploit_record})]})})})]})})};(0,S.modalRegisterBodyOverride)("become_contractor",function(b,C){var h,g,N,x,B=(0,y.useBackend)(C),L=B.data,w=L.contractor||{},A=w.time_left,T=!!(L!=null&&(h=L.contractor)!=null&&h.available),E=!!(L!=null&&(g=L.contractor)!=null&&g.affordable),O=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),P=L.contractor||{},R=P.available_offers,F=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,V.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,V.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.",F?"":(0,e.createComponentVNode)(2,V.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: "),R],0)]})]}),(0,e.createComponentVNode)(2,V.Button.Confirm,{disabled:!T||O,italic:!T,bold:T,icon:T&&!O&&"check",color:"good",content:O?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:A,format:function(){function j(U,_){return" ("+_+")"}return j}()},"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 j(){return(0,S.modalAnswer)(C,b.id,1)}return j}()})]})})},22732:function(I,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.VampireSpecMenu=function(){function a(c,f){return(0,e.createComponentVNode)(2,o.Window,{width:1500,height:820,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,p)]})})})}return a}(),y=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Hemomancer",children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Hemomancer",onClick:function(){function v(){return d("hemomancer")}return v}()})]})})},V=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Umbrae",children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you are forced back to the anchor. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. It will also cause nearby creatures to freeze.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permament X-ray vision.",16),(0,e.createComponentVNode)(2,t.Button,{content:"Umbrae",onClick:function(){function v(){return d("umbrae")}return v}()})]})})},k=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Gargantua",children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you dont have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": You gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Gargantua",onClick:function(){function v(){return d("gargantua")}return v}()})]})})},S=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Dantalion",children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that, blinds then make everyone nearby perceive others to looks like random animals.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Dantalion",onClick:function(){function v(){return d("dantalion")}return v}()})]})})},p=function(c,f){var u=(0,i.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Bestia",children:[(0,e.createVNode)(1,"h3",null,"Focuses on transformations and trophies harvesting.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Check Trophies",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to check current trophies amount and all the passive effects they provide.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect",16),(0,e.createTextVNode)(": Unlocked at 150 blood, main source of gaining power, besides blood, allows you to harvest human organs, as a trophies, to passively increase your might.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect Cap",16),(0,e.createTextVNode)(": You can only harvest one organ trophie at a time. This can be increased at 600 blood and at full power to a max of 3 trophies per victim.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Infected Trophy",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to stun enemies from the safe distance and infect them with the deadly Grave Fever.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Lunge",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to rapidly close distance to a victim or escape a dangerous situation.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Mark the Prey",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to mark a victim which drastically reduces their movement speed and forces them to take spontaneous actions.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Metamorphosis - Bats",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to shapeshift into the deadly and vicious space bats swarm.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Anabiosis",16),(0,e.createTextVNode)(": Unlocked at 600 blood, ancient technique which allows you to cure almost any wounds while sleeping in a coffin.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Summon Bats",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to call extraplanar space bats to aid you in combat.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Metamorphosis - Hound",16),(0,e.createTextVNode)(": Allows you to shapeshift into the ultimate form of bluespace entity which took over your soul.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Bestia",onClick:function(){function v(){return d("bestia")}return v}()})]})})}},4644:function(I,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=function(b){return(Math.round(b*10)/10).toFixed(1)},y=r.VampireTrophiesStatus=function(){function v(b,C){return(0,e.createComponentVNode)(2,o.Window,{theme:"nologo",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,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,a),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)]})})})}return v}(),V=function(b,C){var h=(0,i.useBackend)(C),g=h.act,N=h.data,x=N.hearts,B=N.lungs,L=N.livers,w=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,O=N.trophies_max_crit,P=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,j=N.icon_kidneys,U=N.icon_eyes,_=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Trophies",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.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+P,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xb;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,"+m,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:d<=0&&"bad"||d<=u.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:L,icon:B,content:x,textAlign:"left",onClick:function(){function w(){return c("vend",{inum:u.inum})}return w}()})})]})},V=r.Vending=function(){function k(S,p){var a=(0,t.useBackend)(p),c=a.act,f=a.data,u=f.user,d=f.guestNotice,m=f.userMoney,l=f.chargesMoney,v=f.product_records,b=v===void 0?[]:v,C=f.coin_records,h=C===void 0?[]:C,g=f.hidden_records,N=g===void 0?[]:g,x=f.stock,B=f.vend_ready,L=f.coin_name,w=f.inserted_item_name,A=f.panel_open,T=f.speaker,E=f.imagelist,O;return O=[].concat(b,h),f.extended_inventory&&(O=[].concat(O,N)),O=O.filter(function(P){return!!P}),(0,e.createComponentVNode)(2,s.Window,{width:470,height:100+Math.min(b.length*38,500),title:"Vending Machine",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[!!l&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:u&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,u.name,0),","," ",(0,e.createVNode)(1,"b",null,u.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[m,(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 P(){return c("remove_coin",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!w&&(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 P(){return c("eject_item",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:w})}),!!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 P(){return c("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:O.map(function(P){return(0,e.createComponentVNode)(2,y,{product:P,productStock:x[P.name],productImage:E[P.path]},P.name)})})})})]})})})}return k}()},33045:function(I,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.VolumeMixer=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:f.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:f.volume,onChange:function(){function d(m,l){return p("volume",{channel:f.num,volume:l})}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:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:f.num,volume:100})}return d}()})})})]})})],4,f.num)})})})})}return y}()},53792:function(I,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.VotePanel=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.remaining,f=a.question,u=a.choices,d=a.user_vote,m=a.counts,l=a.show_counts,v=a.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:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:b+(l?" ("+(m[b]||0)+")":""),onClick:function(){function C(){return p("vote",{target:b})}return C}(),selected:b===d})},b)}),!!v&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function b(){return p("cancel")}return b}()})},"Cancel")]})})})}return y}()},64860:function(I,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(45493),s=r.Wires=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.wires||[],f=a.status||[],u=56+c.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(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 m(){return p("cut",{wire:d.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function m(){return p("pulse",{wire:d.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function m(){return p("attach",{wire:d.color})}return m}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return y}()},49253:function(I,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(96524),i=n(78234),t=n(17899),o=n(24674),s=n(99509),y=n(45493),V=["title","items"];function k(u,d){if(u==null)return{};var m={},l=Object.keys(u),v,b;for(b=0;b=0)&&(m[v]=u[v]);return m}var S=function(d,m,l){return d.requirements===null?!0:!(d.requirements.brass>m||d.requirements.power>l)},p=r.Workshop=function(){function u(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,C=b.brass_amount,h=b.power_amount,g=b.building,N=b.buildStart,x=b.buildEnd,B=b.worldTime,L=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),w=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,y.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,y.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,a),(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 v("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:w})]}),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,s.Countdown,{current:B,timeLeft:x-B,format:function(){function E(O,P){return P.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,c)})})]})})})}return u}(),a=function(d,m){var l=(0,t.useLocalState)(m,"search",""),v=l[0],b=l[1],C=(0,t.useLocalState)(m,"sort",""),h=C[0],g=C[1],N=(0,t.useLocalState)(m,"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(w,A){return b(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}()})})]})})},c=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,C=b.items,h=(0,t.useLocalState)(m,"search",""),g=h[0],N=h[1],x=(0,t.useLocalState)(m,"sort","Alphabetical"),B=x[0],L=x[1],w=(0,t.useLocalState)(m,"descending",!1),A=w[0],T=w[1],E=(0,i.createSearch)(g,function(R){return R[0]}),O=!1,P=Object.entries(C).map(function(R,F){var j=Object.entries(R[1]).filter(E).map(function(U){return U[1].affordable=S(U[1],b.brass_amount,b.power_amount),U[1]});if(j.length!==0)return A&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,f,{title:R[0],items:j},R[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:O?P:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},f=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,C=d.title,h=d.items,g=k(d,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:C},g,{children:h.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!S(N,b.brass_amount,b.power_amount),onClick:function(){function x(){return v("make",{cat:C,name:N.name})}return x}(),children:(0,i.toTitleCase)((0,i.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,i.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)})})))}},57842:function(I,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),i=n(50640),t=n(17899),o=n(24674);function s(p,a){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=y(p))||a&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(p,a){if(p){if(typeof p=="string")return V(p,a);var c=Object.prototype.toString.call(p).slice(8,-1);if(c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set")return Array.from(p);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return V(p,a)}}function V(p,a){(a==null||a>p.length)&&(a=p.length);for(var c=0,f=new Array(a);c0&&!N.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function U(){return x(j.ref)}return U}()},j.desc)})]})]})})}return p}()},79449:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),i=n(50640),t=n(17899),o=n(24674),s=function(k,S,p,a,c){return ka?"average":k>c?"bad":"good"},y=r.AtmosScan=function(){function V(k,S){var p=k.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,i.filter)(function(a){return a.val!=="0"||a.entry==="Pressure"||a.entry==="Temperature"})(p).map(function(a){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:a.entry,color:s(a.val,a.bad_low,a.poor_low,a.poor_high,a.bad_high),children:[a.val,a.units]},a.entry)})})})}return V}()},1496:function(I,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),i=n(24674),t=n(56099),o=function(V){return V+" unit"+(V===1?"":"s")},s=r.BeakerContents=function(){function y(V){var k=V.beakerLoaded,S=V.beakerContents,p=S===void 0?[]:S,a=V.buttons;return(0,e.createComponentVNode)(2,i.Stack,{vertical:!0,children:[!k&&(0,e.createComponentVNode)(2,i.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,i.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(c,f){return(0,e.createComponentVNode)(2,i.Stack,{children:[(0,e.createComponentVNode)(2,i.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!a&&(0,e.createComponentVNode)(2,i.Stack.Item,{children:a(c,f)})]},c.name)})]})}return y}();s.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},99665:function(I,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),i=n(17899),t=n(24674),o={},s=r.modalOpen=function(){function p(a,c,f){var u=(0,i.useBackend)(a),d=u.act,m=u.data,l=Object.assign(m.modal?m.modal.args:{},f||{});d("modal_open",{id:c,arguments:JSON.stringify(l)})}return p}(),y=r.modalRegisterBodyOverride=function(){function p(a,c){o[a]=c}return p}(),V=r.modalAnswer=function(){function p(a,c,f,u){var d=(0,i.useBackend)(a),m=d.act,l=d.data;if(l.modal){var v=Object.assign(l.modal.args||{},u||{});m("modal_answer",{id:c,answer:f,arguments:JSON.stringify(v)})}}return p}(),k=r.modalClose=function(){function p(a,c){var f=(0,i.useBackend)(a),u=f.act;u("modal_close",{id:c})}return p}(),S=r.ComplexModal=function(){function p(a,c){var f=(0,i.useBackend)(c),u=f.data;if(u.modal){var d=u.modal,m=d.id,l=d.text,v=d.type,b,C=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return k(c)}return L}()}),h,g,N="auto";if(o[m])h=o[m](u.modal,c);else if(v==="input"){var x=u.modal.value;b=function(){function L(w){return V(c,m,x)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,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:"Cancel",color:"grey",onClick:function(){function L(){return k(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,m,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(v==="choice"){var B=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return V(c,m,w)}return L}()}),N="initial"}else v==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return V(c,m,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):v==="boolean"&&(g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return V(c,m,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,m,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:a.maxWidth||window.innerWidth/2+"px",maxHeight:a.maxHeight||window.innerHeight/2+"px",onEnter:b,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[l&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l}),o[m]&&C,h,g]})}}return p}()},98444:function(I,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(78234),s=n(38424),y=s.COLORS.department,V=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],k=function(f){return V.indexOf(f)!==-1?"green":"orange"},S=function(f){if(V.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:k(u.real_rank),bold:S(u.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},a=r.CrewManifest=function(){function c(f,u){var d=(0,i.useBackend)(u),m=d.act,l;if(f.data)l=f.data;else{var v=(0,i.useBackend)(u),b=v.data;l=b}var C=l,h=C.manifest,g=h.heads,N=h.pro,x=h.sec,B=h.eng,L=h.med,w=h.sci,A=h.ser,T=h.sup,E=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.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:p(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(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:p(E)})]})}return c}()},15113:function(I,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),i=n(24674),t=n(17899),o=r.InputButtons=function(){function s(y,V){var k=(0,t.useBackend)(V),S=k.act,p=k.data,a=p.large_buttons,c=p.swapped_buttons,f=y.input,u=y.message,d=y.disabled,m=(0,e.createComponentVNode)(2,i.Button,{color:"good",content:"Submit",bold:!!a,fluid:!!a,onClick:function(){function v(){return S("submit",{entry:f})}return v}(),textAlign:"center",tooltip:a&&u,disabled:d,width:!a&&6}),l=(0,e.createComponentVNode)(2,i.Button,{color:"bad",content:"Cancel",bold:!!a,fluid:!!a,onClick:function(){function v(){return S("cancel")}return v}(),textAlign:"center",width:!a&&6});return(0,e.createComponentVNode)(2,i.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[a?(0,e.createComponentVNode)(2,i.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:l}):(0,e.createComponentVNode)(2,i.Flex.Item,{children:l}),!a&&u&&(0,e.createComponentVNode)(2,i.Flex.Item,{children:(0,e.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",children:u})}),a?(0,e.createComponentVNode)(2,i.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:m}):(0,e.createComponentVNode)(2,i.Flex.Item,{children:m})]})}return s}()},26893:function(I,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=y.siliconUser,c=a===void 0?p.siliconUser:a,f=y.locked,u=f===void 0?p.locked:f,d=y.normallyLocked,m=d===void 0?p.normallyLocked:d,l=y.onLockStatusChange,v=l===void 0?function(){return S("lock")}:l,b=y.accessText,C=b===void 0?"an ID card":b;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:m?"red":"green",icon:m?"lock":"unlock",content:m?"Locked":"Unlocked",onClick:function(){function h(){v&&v(!u)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",C," to ",u?"unlock":"lock"," this interface."]})}return s}()},14299:function(I,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),i=n(36121),t=n(24674),o=r.Loader=function(){function s(y){var V=y.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,i.clamp01)(V)*100+"%"}}),2)}return s}()},68159:function(I,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LoginInfo=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",a.name," (",a.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return S("login_logout")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!a.id,content:"Eject ID",color:"good",onClick:function(){function c(){return S("login_eject")}return c}()})]})]})})}return s}()},27527:function(I,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.LoginScreen=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.loginState,c=p.isAI,f=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:a.id?a.id:"----------",ml:"0.5rem",onClick:function(){function d(){return S("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!a.id,content:"Login",onClick:function(){function d(){return S("login_login",{login_type:1})}return d}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function d(){return S("login_login",{login_type:2})}return d}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function d(){return S("login_login",{login_type:3})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function d(){return S("login_login",{login_type:4})}return d}()})]})})})}return s}()},75201:function(I,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),i=n(24674),t=n(56099),o=r.Operating=function(){function s(y){var V=y.operating,k=y.name;if(V)return(0,e.createComponentVNode)(2,i.Dimmer,{children:(0,e.createComponentVNode)(2,i.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,i.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,i.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",k," is processing..."]})})})}return s}();o.propTypes={operating:t.bool,name:t.string}},65435:function(I,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),i=n(36121),t=n(17899),o=n(24674),s=r.Signaler=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,a=V.data,c=a.code,f=a.frequency,u=a.minFrequency,d=a.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:d/10,value:f/10,format:function(){function m(l){return(0,i.toFixed)(l,1)}return m}(),width:"80px",onDrag:function(){function m(l,v){return p("freq",{freq:v})}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function m(l,v){return p("code",{code:v})}return m}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function m(){return p("signal")}return m}()})]})}return y}()},77534:function(I,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),i=n(17899),t=n(78234),o=n(74041),s=n(50640),y=n(24674),V=r.SimpleRecords=function(){function p(a,c){var f=a.data.records;return(0,e.createComponentVNode)(2,y.Box,{children:f?(0,e.createComponentVNode)(2,S,{data:a.data,recordType:a.recordType}):(0,e.createComponentVNode)(2,k,{data:a.data})})}return p}(),k=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=a.data.recordsList,m=(0,i.useLocalState)(c,"searchText",""),l=m[0],v=m[1],b=function(g,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,s.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,s.filter)(x),(0,s.sortBy)(function(B){return B.Name})])(d)},C=b(d,l);return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(g,N){return v(N)}return h}()}),C.map(function(h){return(0,e.createComponentVNode)(2,y.Box,{children:(0,e.createComponentVNode)(2,y.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function g(){return u("Records",{target:h.uid})}return g}()})},h)})]})},S=function(a,c){var f=(0,i.useBackend)(c),u=f.act,d=a.data.records,m=d.general,l=d.medical,v=d.security,b;switch(a.recordType){case"MED":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Medical Data",children:l?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Blood Type",children:l.blood_type}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Disabilities",children:l.mi_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.mi_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Disabilities",children:l.ma_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.ma_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Allergies",children:l.alg}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.alg_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Current Diseases",children:l.cdi}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.cdi_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:l.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Security Data",children:v?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Criminal Status",children:v.criminal}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Crimes",children:v.mi_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.mi_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Crimes",children:v.ma_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.ma_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:v.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Section,{title:"General Data",children:m?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Name",children:m.name}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:m.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:m.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:m.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:m.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:m.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Physical Status",children:m.p_stat}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Mental Status",children:m.m_stat})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"General record lost!"})}),b]})}},84537:function(I,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function s(y,V){var k,S=(0,i.useBackend)(V),p=S.act,a=S.data,c=a.temp;if(c){var f=(k={},k[c.style]=!0,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:c.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function u(){return p("cleartemp")}return u}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return s}()},31473:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(96524),i=n(17899),t=n(24674),o=n(27648),s=n(45493),y=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],V=["good","average","bad","black","white"],k=[{title:"Button",component:function(){function h(){return p}return h}()},{title:"Box",component:function(){function h(){return a}return h}()},{title:"ProgressBar",component:function(){function h(){return c}return h}()},{title:"Tabs",component:function(){function h(){return f}return h}()},{title:"Tooltip",component:function(){function h(){return u}return h}()},{title:"Input / Control",component:function(){function h(){return d}return h}()},{title:"Collapsible",component:function(){function h(){return m}return h}()},{title:"BlockQuote",component:function(){function h(){return v}return h}()},{title:"ByondUi",component:function(){function h(){return b}return h}()},{title:"Themes",component:function(){function h(){return C}return h}()}],S=r.KitchenSink=function(){function h(g,N){var x=(0,i.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,i.useLocalState)(N,"pageIndex",0),w=L[0],A=L[1],T=k[w].component();return(0,e.createComponentVNode)(2,s.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,s.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:k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:O===w,onClick:function(){function P(){return A(O)}return P}(),children:E.title},O)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return h}(),p=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:[V.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},a=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"})]})},c=function(g,N){var x=(0,i.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 w(){return L(B-.1)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function w(){return L(B+.1)}return w}()})]})]})},f=function(g,N){var x=(0,i.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],w=(0,i.useLocalState)(N,"tabVert"),A=w[0],T=w[1],E=(0,i.useLocalState)(N,"tabAlt"),O=E[0],P=E[1],R=[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 F(){return T(!A)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:O,onClick:function(){function F(){return P(!O)}return F}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:R.map(function(F,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:O,selected:j===B,onClick:function(){function U(){return L(j)}return U}(),children:["Tab #",F]},j)})})]})},u=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,i.useLocalState)(N,"number",0),B=x[0],L=x[1],w=(0,i.useLocalState)(N,"text","Sample text"),A=w[0],T=w[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(O,P){return T(P)}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(O,P){return T(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}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(O,P){return L(P)}return E}(),children:function(){function E(O){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:O.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:O.displayValue*4}),O.inputElement]})}return E}()})})})]})})},m=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,l)})})},l=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."})]})))},v=function(g){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,l)})},b=function(g,N){var x=(0,i.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"}})})})},C=function(g,N){var x=(0,i.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 w(A,T){return L(T)}return w}()})})})})}},31130:function(I,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_advsecrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.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 a(){return S("ui_interact")}return a}()})})})}return s}()},24704:function(I,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),i=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return s}()},4209:function(I,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_bioscan=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.holder,f=a.dead,u=a.health,d=a.brute,m=a.oxy,l=a.tox,v=a.burn,b=a.reagents,C=a.addictions,h=a.fractures,g=a.internal_bleeding;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:m})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:v})}),(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:b?b.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:C?C.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:h?"bad":"good",children:["Fractures ",h?"":"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 s}()},98990:function(I,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_camera_bug=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.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 a(){return S("ui_interact")}return a}()})})})}return s}()},44430:function(I,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_directives=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.master,f=a.dna,u=a.prime,d=a.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+f+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function m(){return S("getdna")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(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 s}()},3367:function(I,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_doorjack=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.cable,f=a.machine,u=a.inprogress,d=a.progress,m=a.aborted,l;f?l=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):l=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function b(){return S("cable")}return b}()});var v;return f&&(v=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:u?"green":"red",children:[" ","In progress: ",u?"Yes":"No"," "]}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function b(){return S("cancel")}return b}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function b(){return S("jack")}return b}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:l}),v]})}return s}()},59934:function(I,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_encoder=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.radio_name,f=a.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:[c,", ",f]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,m){return S("set_newname",{newname:m})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,m){return S("set_newrank",{newrank:m})}return u}()})})]})})}return s}()},39913:function(I,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_gps_module=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.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 a(){return S("ui_interact")}return a}()})})})}return s}()},73395:function(I,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_main_menu=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.available_software,f=a.installed_software,u=a.installed_toggles,d=a.available_ram,m=a.emotions,l=a.current_emotion,v=[];return f.map(function(b){return v[b.key]=b.name}),u.map(function(b){return v[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!v[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>d,onClick:function(){function C(){return S("purchaseSoftware",{key:b.key})}return C}()},b.key)}),c.filter(function(b){return!v[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function C(){return S("startSoftware",{software_key:b.key})}return C}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function C(){return S("setToggle",{toggle_key:b.key})}return C}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:m.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name,selected:b.id===l,onClick:function(){function C(){return S("setEmotion",{emotion:b.id})}return C}()},b.id)})})]})})}return s}()},37645:function(I,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),i=n(17899),t=n(98444),o=r.pai_manifest=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return s}()},15836:function(I,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pai_medrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"MED"})}return s}()},91737:function(I,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),i=n(17899),t=n(30709),o=r.pai_messenger=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data.active_convo;return a?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return s}()},94077:function(I,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),i=n(17899),t=n(36121),o=n(24674),s=r.pai_radio=function(){function y(V,k){var S=(0,i.useBackend)(k),p=S.act,a=S.data,c=a.app_data,f=c.minFrequency,u=c.maxFrequency,d=c.frequency,m=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:d/10,format:function(){function l(v){return(0,t.toFixed)(v,1)}return l}(),onChange:function(){function l(v,b){return p("freq",{freq:b})}return l}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function l(){return p("freq",{freq:"145.9"})}return l}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return p("toggleBroadcast")}return l}(),selected:m,content:m?"Enabled":"Disabled"})})]})}return y}()},14875:function(I,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pai_sec_chem=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.app_data,c=a.holder,f=a.dead,u=a.health,d=a.current_chemicals,m=a.available_chemicals;return c?(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[m.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{content:l.name+" ("+l.cost+")",tooltip:l.desc,disabled:l.cost>d,onClick:function(){function v(){return S("secreteChemicals",{key:l.key})}return v}()},l.key)}),m.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return s}()},72621:function(I,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pai_secrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"SEC"})}return s}()},53483:function(I,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),i=n(17899),t=n(65435),o=r.pai_signaler=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return s}()},21606:function(I,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),i=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:S})}return s}()},12339:function(I,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_janitor=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.janitor,c=a.user_loc,f=a.mops,u=a.buckets,d=a.cleanbots,m=a.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})})]})}return s}()},36615:function(I,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),i=n(36121),t=n(17899),o=n(24674),s=r.pda_main_menu=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,a=S.data,c=a.owner,f=a.ownjob,u=a.idInserted,d=a.categories,m=a.pai,l=a.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function v(){return p("UpdateInfo")}return v}()})})]})})}),(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(v){var b=a.apps[v];return!b||!b.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:v,children:b.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{icon:C.uid in l?C.notify_icon:C.icon,iconSpin:C.uid in l,color:C.uid in l?"red":"transparent",content:C.name,onClick:function(){function h(){return p("StartProgram",{program:C.uid})}return h}()},C.uid)})},v)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function v(){return p("pai",{option:1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function v(){return p("pai",{option:2})}return v}()})]})})]})}return y}()},99737:function(I,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),i=n(17899),t=n(98444),o=r.pda_manifest=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return s}()},61597:function(I,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pda_medical=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"MED"})}return s}()},30709:function(I,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),i=n(50640),t=n(17899),o=n(24674),s=r.pda_messenger=function(){function S(p,a){var c=(0,t.useBackend)(a),f=c.act,u=c.data,d=u.active_convo;return d?(0,e.createComponentVNode)(2,y,{data:u}):(0,e.createComponentVNode)(2,V,{data:u})}return S}(),y=r.ActiveConversation=function(){function S(p,a){var c=(0,t.useBackend)(a),f=c.act,u=p.data,d=u.convo_device,m=u.messages,l=u.active_convo,v=(0,t.useLocalState)(a,"clipboardMode",!1),b=v[0],C=v[1],h=(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:b,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return C(!b)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return f("Message",{target:l})}return g}(),content:"Reply"})],4),children:(0,i.filter)(function(g){return g.target===l})(m).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 b&&(h=(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:b,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function g(){return C(!b)}return g}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function g(){return f("Message",{target:l})}return g}(),content:"Reply"})],4),children:(0,i.filter)(function(g){return g.target===l})(m).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 f("Clear",{option:"Convo"})}return g}()})})})}),h]})}return S}(),V=r.MessengerList=function(){function S(p,a){var c=(0,t.useBackend)(a),f=c.act,u=p.data,d=u.convopdas,m=u.pdas,l=u.charges,v=u.silent,b=u.toff,C=(0,t.useLocalState)(a,"searchTerm",""),h=C[0],g=C[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:!v,icon:v?"volume-mute":"volume-up",onClick:function(){function N(){return f("Toggle Ringer")}return N}(),children:["Ringer: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:b?"bad":"green",icon:"power-off",onClick:function(){function N(){return f("Toggle Messenger")}return N}(),children:["Messenger: ",b?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return f("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return f("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!b&&(0,e.createComponentVNode)(2,o.Box,{children:[!!l&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[l," charges left."]})})}),!d.length&&!m.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:h,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,k,{title:"Current Conversations",data:u,pdas:d,msgAct:"Select Conversation",searchTerm:h}),(0,e.createComponentVNode)(2,k,{title:"Other PDAs",pdas:m,msgAct:"Message",data:u,searchTerm:h})]})}return S}(),k=function(p,a){var c=(0,t.useBackend)(a),f=c.act,u=p.data,d=p.pdas,m=p.title,l=p.msgAct,v=p.searchTerm,b=u.charges,C=u.plugins;return!d||!d.length?(0,e.createComponentVNode)(2,o.Section,{title:m,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:m,children:d.filter(function(h){return h.Name.toLowerCase().includes(v.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function g(){return f(l,{target:h.uid})}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!b&&C.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.icon,content:g.name,onClick:function(){function N(){return f("Messenger Plugin",{plugin:g.uid,target:h.uid})}return N}()},g.uid)})})]},h.uid)})})}},68053:function(I,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_mule=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.mulebot,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.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 m(){return a("AccessBot",{uid:d.uid})}return m}()})},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 a("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.mulebot,u=f.botstatus,d=f.active,m=u.mode,l=u.loca,v=u.load,b=u.powr,C=u.dest,h=u.home,g=u.retn,N=u.pick,x;switch(m){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=m;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[b,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:C?C+" (Set)":"None (Set)",onClick:function(){function B(){return a("SetDest")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Unload)":"None",disabled:!v,onClick:function(){function B(){return a("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 a("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 a("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 a("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return a("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return a("ReturnHome")}return B}()})]})]})]})}},29415:function(I,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_notes=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:a}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function c(){return S("Edit")}return c}(),content:"Edit"})]})}return s}()},52363:function(I,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(96524),i=n(17899),t=n(70373),o=r.pda_power=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return s}()},23914:function(I,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_secbot=function(){function V(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.beepsky,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.beepsky,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.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 m(){return a("AccessBot",{uid:d.uid})}return m}()})},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 a("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,i.useBackend)(S),a=p.act,c=p.data,f=c.beepsky,u=f.botstatus,d=f.active,m=u.mode,l=u.loca,v;switch(m){case 0:v="Ready";break;case 1:v="Apprehending target";break;case 2:case 3:v="Arresting target";break;case 4:v="Starting patrol";break;case 5:v="On patrol";break;case 6:v="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function b(){return a("Go")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function b(){return a("Stop")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function b(){return a("Summon")}return b}()})]})]})]})}},68878:function(I,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(96524),i=n(17899),t=n(77534),o=r.pda_security=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"SEC"})}return s}()},95135:function(I,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(96524),i=n(17899),t=n(65435),o=r.pda_signaler=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return s}()},20835:function(I,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_status_display=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function c(){return S("Status",{statdisp:"blank"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function c(){return S("Status",{statdisp:"shuttle"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function c(){return S("Status",{statdisp:"message"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"redalert"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"default"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"lockdown"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"biohazard"})}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:a.message1+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg1"})}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:a.message2+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg2"})}return c}()})})]})})}return s}()},11741:function(I,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(96524),i=n(17899),t=n(24674),o=r.pda_supplyrecords=function(){function s(y,V){var k=(0,i.useBackend)(V),S=k.act,p=k.data,a=p.supply,c=a.shuttle_loc,f=a.shuttle_time,u=a.shuttle_moving,d=a.approved,m=a.approved_count,l=a.requests,v=a.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:c})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:v>0&&l.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.OrderedBy,'"']},b)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:m>0&&d.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.ApprovedBy,'"']},b)})})]})}return s}()},61255:function(I,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),i=n(28234),t=n(3051),o=n(92700),s=["className","theme","children"],y=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT