import{j as n,a as e,L as o,_}from"./index-b983ad9b.js";import{i as s,j as l,r as u}from"./react-b0e0d18a.js";/* empty css                *//* empty css              */import c from"./index-3a6ab207.js";import{R as r,a as m}from"./antd-8ca2e36c.js";/* empty css              *//* empty css              *//* empty css              */import"./Room-7ae51b0a.js";/* empty css              */import"./TimeoutItem-6cca4419.js";const M="_ant-menu-item-danger_16tz8_5",d="_ant-menu-item_16tz8_5",p="_ant-menu-item-active_16tz8_9",b="_ant-menu-item-selected_16tz8_15",z="_ant-menu_16tz8_5",S="_ant-menu-horizontal_16tz8_22",I="_ant-menu-inline_16tz8_25",v="_ant-menu-dark_16tz8_28",g="_ant-menu-root_16tz8_65",h="_ant-menu-overflow_16tz8_74",f="_ant-menu-overflow-item_16tz8_77",R="_ant-menu-hidden_16tz8_80",D="_ant-menu-submenu-hidden_16tz8_81",L="_ant-menu-item-group-title_16tz8_84",O="_ant-menu-submenu_16tz8_81",N="_ant-menu-submenu-inline_16tz8_96",V="_ant-menu-submenu-selected_16tz8_99",y="_ant-menu-submenu-title_16tz8_103",C="_ant-menu-sub_16tz8_81",T="_ant-menu-title-content_16tz8_110",w="_ant-badge_16tz8_128",H="_ant-menu-item-divider_16tz8_134",x="_ant-menu-item-divider-dashed_16tz8_141",P="_ant-menu-vertical_16tz8_164",A="_ant-menu-vertical-left_16tz8_165",E="_ant-menu-vertical-right_16tz8_168",G="_ant-menu-item-icon_16tz8_223",k="_anticon_16tz8_225",j="_svg_16tz8_239",B="_ant-menu-item-only-child_16tz8_243",W="_ant-menu-item-disabled_16tz8_249",$="_ant-menu-submenu-popup_16tz8_257",q="_ant-menu-submenu-placement-rightTop_16tz8_277",F="_ant-menu-submenu-expand-icon_16tz8_291",J="_ant-menu-submenu-arrow_16tz8_292",K="_ant-menu-inline-collapsed_16tz8_321",Q="_ant-menu-submenu-horizontal_16tz8_329",U="_ant-menu-submenu-open_16tz8_332",X="_ant-menu-submenu-active_16tz8_361",Y="_ant-menu-item-open_16tz8_362",Z="_ant-menu-item-group-list_16tz8_475",nn="_ant-menu-selected_16tz8_482",tn="_ant-menu-item-group_16tz8_84",en="_ant-menu-inline-collapsed-tooltip_16tz8_557",un="_ant-menu-inline-collapsed-noicon_16tz8_588",an="_ant-menu-submenu-disabled_16tz8_611",on="_ant-layout-header_16tz8_636",mn="_ant-menu-light_16tz8_643",_n="_ant-menu-rtl_16tz8_825",sn="_ant-menu-submenu-rtl_16tz8_862",ln="_ant-menu-submenu-vertical_16tz8_865",cn="_ant-menu-submenu-vertical-left_16tz8_866",rn="_ant-menu-submenu-vertical-right_16tz8_867",Mn="_page_16tz8_921",dn={antMenuItemDanger:M,antMenuItem:d,antMenuItemActive:p,antMenuItemSelected:b,antMenu:z,antMenuHorizontal:S,antMenuInline:I,antMenuDark:v,antMenuRoot:g,antMenuOverflow:h,antMenuOverflowItem:f,antMenuHidden:R,antMenuSubmenuHidden:D,antMenuItemGroupTitle:L,antMenuSubmenu:O,antMenuSubmenuInline:N,antMenuSubmenuSelected:V,antMenuSubmenuTitle:y,antMenuSub:C,antMenuTitleContent:T,antBadge:w,antMenuItemDivider:H,antMenuItemDividerDashed:x,antMenuVertical:P,antMenuVerticalLeft:A,antMenuVerticalRight:E,antMenuItemIcon:G,anticon:k,svg:j,antMenuItemOnlyChild:B,antMenuItemDisabled:W,antMenuSubmenuPopup:$,antMenuSubmenuPlacementRightTop:q,antMenuSubmenuExpandIcon:F,antMenuSubmenuArrow:J,antMenuInlineCollapsed:K,antMenuSubmenuHorizontal:Q,antMenuSubmenuOpen:U,antMenuSubmenuActive:X,antMenuItemOpen:Y,antMenuItemGroupList:Z,antMenuSelected:nn,antMenuItemGroup:tn,antMenuInlineCollapsedTooltip:en,antMenuInlineCollapsedNoicon:un,antMenuSubmenuDisabled:an,antLayoutHeader:on,antMenuLight:mn,antMenuRtl:_n,antMenuSubmenuRtl:sn,antMenuSubmenuVertical:ln,antMenuSubmenuVerticalLeft:cn,antMenuSubmenuVerticalRight:rn,page:Mn},pn=u.lazy(()=>_(()=>import("./RoomSummary-00f54065.js"),["./RoomSummary-00f54065.js","./index-b983ad9b.js","./react-b0e0d18a.js","./antd-8ca2e36c.js","./index-a8abcf49.css","./Device-e8d48614.js","./KB-757eebe4.js","./Messenger-5d5560db.js","./RoomSummary-fc48de20.css","./default-76b7cd8d.css","./index-2da17801.css","./index-804d7e9f.css","./index-cbca5443.css","./index-0114a434.css","./index-9368394d.css","./index-2e40ceaa.css"],import.meta.url)),bn=["gsen.admin","gsen.room_admin"];function Vn(){const{roomId:t}=s(),i=l();return n("div",{className:dn.page,children:e(r,{children:[e(m,{className:"room-list",children:[n("div",{className:"section-title",children:"地点"}),n("div",{className:"section-content",style:{maxWidth:240},children:n(u.Suspense,{fallback:n(o,{}),children:n(c,{permissions:bn,value:Number(t),onChange:a=>{a!==t&&i(`/surveillance/${a}`,{replace:!0})}})})})]}),e(m,{flex:"auto",className:"room-summary",children:[n("div",{className:"section-title",children:"房间详情"}),n("div",{className:"section-content",style:{padding:12},children:n(u.Suspense,{fallback:n(o,{}),children:n(pn,{roomId:Number(t)})})})]})]})})}export{Vn as default};
