(this["webpackJsonpuniadmin-ui"]=this["webpackJsonpuniadmin-ui"]||[]).push([[37,36],{562:function(e,t,a){},563:function(e,t,a){e.exports={wrapper:"wrapper--2nkj5"}},741:function(e,t,a){"use strict";a.r(t);a(53),a(139),a(645);var n=a(209),r=(a(149),a(100)),l=a(0),o=a.n(l),c=(a(11),a(1)),i=(a(562),a(563)),u=a.n(i),p=a(10),m=a.n(p),b=a(261),h=a(363),s=a(262),d=a(715),E=a(2),f=m.a.lazy((function(){return Promise.all([a.e(1),a.e(2),a.e(0),a.e(3),a.e(20)]).then(a.bind(null,718))})),g=m.a.lazy((function(){return Promise.all([a.e(1),a.e(2),a.e(0),a.e(3),a.e(14)]).then(a.bind(null,712))})),y=m.a.lazy((function(){return Promise.all([a.e(9),a.e(21)]).then(a.bind(null,674))})),v=m.a.lazy((function(){return Promise.all([a.e(1),a.e(0),a.e(3),a.e(4),a.e(26)]).then(a.bind(null,717))})),x=m.a.lazy((function(){return Promise.all([a.e(1),a.e(2),a.e(0),a.e(3),a.e(10)]).then(a.bind(null,720))})),w=m.a.lazy((function(){return Promise.all([a.e(4),a.e(9),a.e(15)]).then(a.bind(null,721))})),z=m.a.lazy((function(){return a.e(11).then(a.bind(null,676))})),P=m.a.lazy((function(){return Promise.all([a.e(1),a.e(2),a.e(0),a.e(3),a.e(23)]).then(a.bind(null,714))}));t.default=function(){var e=Object(s.d)((function(){var e,t=E.a.groupStore.activeGroup;if(t)switch(t.type){case"some":return t.active_id;case"all":default:return null===(e=E.a.groupStore.rootGroup)||void 0===e?void 0:e.id}}));return Object(p.useEffect)((function(){Object(c.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,E.a.systemSettingsStore.singleLabCheck();case 2:case"end":return e.stop()}}),e)})))()}),[]),m.a.createElement(n.a,{locale:d.a},m.a.createElement("div",{className:u.a.wrapper},m.a.createElement(m.a.Suspense,{fallback:m.a.createElement(r.a,null)},m.a.createElement(b.a,null,m.a.createElement(h.d,null,m.a.createElement(h.b,{exact:!0,path:["/","/group"]},m.a.createElement(h.a,{to:"/group/tree"})),m.a.createElement(h.b,{exact:!0,path:"/group/type"},m.a.createElement(h.a,{to:"/group/type/".concat(e)})),m.a.createElement(h.b,{path:"/group/:tab(tree|type)?/:groupId?",component:f}),m.a.createElement(h.b,{path:"/apps-auth/:tab?",component:z}),m.a.createElement(h.b,{exact:!0,path:"/auth"},m.a.createElement(h.a,{to:"/auth/role-manage"})),m.a.createElement(h.b,{path:["/auth/:tab(role-manage)/:dirId/role/:roleId","/auth/:tab(role-manage)/:dirId?","/auth/:tab(smart)/:roleId?","/auth/:tab(admin)"],component:g}),m.a.createElement(h.b,{exact:!0,path:"/auth/:tab"},m.a.createElement(h.a,{to:"/auth/role-manage"})),m.a.createElement(h.b,{path:"/location/list/room/:id",component:P}),m.a.createElement(h.b,{path:["/location/:tab","/location"],component:y}),m.a.createElement(h.b,{exact:!0,path:"/operation-log"},m.a.createElement(h.a,{to:"log"})),m.a.createElement(h.b,{path:"/log",component:v}),m.a.createElement(h.b,{exact:!0,path:"/application"},m.a.createElement(h.a,{to:"/application/navigation"})),m.a.createElement(h.b,{path:"/application/:title",component:x}),m.a.createElement(h.b,{path:["/configuration/:title","/configuration"],component:w}))))))}}}]);