"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[3102],{762934:(e,t,l)=>{l.r(t),l.d(t,{default:()=>_});var a=l(296540),n=l(956347),r=l(627440),c=l(864768),s=l(538453),i=l(156548),E=l(530864),m=l(98160),o=l(17724),u=l(201675),A=l(412808),S=l(670180),O=l(596731),T=l(260183);const d=`${O.eu}/${r.VO.INSIGHTS}/${S.H.HOTSPOT}/${O.hH}`;var g=l(824732),h=l(105540),p=l(604482),N=l(129490),f=l(550495),I=l(582724),H=l(834959),k=l(413357);const b=e=>{const{children:t}=(0,a.useMemo)(()=>(0,N.N)(e.match.params.subSection)[S.H.HOTSPOT],[e.match.params.subSection]);return(0,I.A)([(0,k.Zi)(H.B.HOTSPOT)],a.createElement(a.Suspense,{fallback:null},a.createElement(h.A,{leftFilterPageId:p.g1.ISOLATED_HOTSPOT_MANAGER,content:a.createElement(f.A,{leftFilterPageId:p.g1.INSIGHTS},t)},a.createElement(g.A,{...e}))))},_=({location:{key:e},match:{params:t},showNetworkServerHeader:l})=>{(0,a.useEffect)(()=>{c.A.captureMessage(c.A.NetworkSentryMessage.hotspotManagerRedirect)},[]);const g=(0,a.useCallback)(()=>(0,n.tW)(O.Si[r.VO.INSIGHTS],{...t,section:S.H.HOTSPOT,subSection:A.z.GUESTS}),[t]);return a.createElement(a.Fragment,null,l?a.createElement(o.default,null):null,a.createElement(m.A,null,a.createElement(T.N,null,a.createElement(a.Suspense,{fallback:null},a.createElement(n.dO,null,a.createElement(E.F,{path:d,component:b}),a.createElement(n.rd,{from:"*",to:g()}))),a.createElement(i.A,{key:e}),a.createElement(u.A,null))),a.createElement(s.default,null))}},17724:(e,t,l)=>{l.r(t),l.d(t,{default:()=>M});var a=l(296540),n=l(469733),r=l(256126),c=l(927099),s=l(566198),i=l(832914),E=l(758649),m=l(459449),o=l(183989),u=l(294303),A=l(801081),S=l(919952),O=l(276907),T=l(139587);const d=(0,A.Mz)(e=>e[S.U.SHARED][O.N.LOADER_ADAPTER],e=>e[T.V.REASONS]);var g=l(602021),h=l(510497),p=l(451919),N=l(968906),f=l(427463),I=l(633620),H=l(71479),k=l(227598),b=l(566723);const _=(0,H.A)(I.A)`
  margin-right: ${b.Ln};
  height: 24px;
  width: 24px;
`,R=(0,H.A)(f.A)`
  margin-right: ${b.kc};
  height: 16px;
  width: 16px;
`,C=(0,H.A)(k.A)`
  left: 50px;
`,M=()=>{const e=(0,n.useDispatch)(),t=(0,n.useSelector)(d),l=(0,n.useSelector)(g.AF),A=(0,n.useSelector)(g.LF),S=(0,a.useCallback)(()=>{l&&h.u.setItem(p.lP.HOTSPOT_LOGOUT_SITE_NAME,A),e((0,o.bB)())},[e,l,A]),O=(0,a.useCallback)(()=>a.createElement(u.A,{...N.A.addDataTestId(N.A.TestId.HEADER_USERICON)},a.createElement(_,{actionable:!0})),[]);return a.createElement(s.A,{size:"classic",title:a.createElement(c.A,{size:"header-s",weight:"normal",color:"tertiary"},a.createElement(m.sA,{id:"COMMON_NETWORK"})),icon:a.createElement(r.A,{size:"full"})},t.length?a.createElement(C,{isLoading:!0,placement:"bottom"}):null,a.createElement(u.A,null,a.createElement(i.A,{renderToggle:O,size:"small",align:"bottomCenter",toggleOffset:8},a.createElement(u.A,{alignContent:"center"},a.createElement(R,{isActive:!0}),a.createElement(E.A,{type:"button",variant:"inline",onClick:S,...N.A.addDataTestId(N.A.TestId.HEADER_SIGNOUT_BUTTON)},a.createElement(m.sA,{id:"COMMON_HEADER_USER_PROFILE_SIGN_OUT"}))))))}}}]);