(this["webpackJsonpuniadmin-ui"]=this["webpackJsonpuniadmin-ui"]||[]).push([[15],{586:function(e,t,a){"use strict";a.r(t);a(67),a(145),a(316);var n=a(320),i=(a(157),a(112)),l=a(761),c=a.n(l),o=a(26),r=a.n(o),u=a(8),m=a.n(u),s=a(296),p=a(263),d=a(2),b=m.a.lazy((function(){return Promise.all([a.e(3),a.e(2),a.e(28),a.e(16)]).then(a.bind(null,775))})),f=m.a.lazy((function(){return Promise.all([a.e(0),a.e(3),a.e(2),a.e(4),a.e(20)]).then(a.bind(null,950))})),h=m.a.lazy((function(){return Promise.all([a.e(0),a.e(3),a.e(2),a.e(4),a.e(20)]).then(a.bind(null,954))}));t.default=function(){var e=Object(s.i)(),t=Object(s.g)(),a=e.tab,l=Object(p.d)((function(){return!!d.a.configStore.gpuiUri})),o=function(e){a!==e&&t.push("/location/".concat(e))};return m.a.createElement("div",{className:c.a.location},m.a.createElement("div",{className:c.a.header},m.a.createElement("span",null,"\u5730\u7406\u4fe1\u606f"),!l&&m.a.createElement("div",{className:c.a.tab},m.a.createElement("div",{key:"list",className:r()(c.a.item,{"is-active":"list"===a}),onClick:function(){return o("list")}},"\u5217\u8868\u6a21\u5f0f"),m.a.createElement("div",{key:"map",className:r()(c.a.item,{"is-active":"map"===a}),onClick:function(){return o("map")}},"\u5730\u56fe\u6a21\u5f0f"))),m.a.createElement(m.a.Suspense,{fallback:m.a.createElement(i.a,null)},m.a.createElement(s.d,null,m.a.createElement(s.b,{exact:!0,path:"/location"},m.a.createElement(s.a,{to:"/location/".concat(d.a.configStore.application.location.defaultTab)})),m.a.createElement(s.b,{path:"/location/no-auth",render:function(){return m.a.createElement(n.a,{status:"403",title:"\u60a8\u6682\u65e0\u6743\u9650\u67e5\u770b\u8be5\u9875\u9762"})}}),m.a.createElement(s.b,{path:["/location/list/:type/:id","/location/list"],component:b}),m.a.createElement(s.b,{path:"/location/map",component:f}),m.a.createElement(s.b,{path:"/location/d3/building/:id",component:h}))))}},761:function(e,t,a){e.exports={location:"location--1RHJN",header:"header--1dkQp",tab:"tab--31Qcz",item:"item--T3F72"}}}]);