"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[47712],{55983:(e,t,r)=>{r.d(t,{Ai:()=>a,Ar:()=>A,Qv:()=>s,ZP:()=>o,aY:()=>l,p6:()=>n});var E=r(448547);const n="alarm-manager",l="control-plane",a=`${l}/integrations`,A=`${l}/backups`,s="admins",o=Object.values(E.Kr)},163414:(e,t,r)=>{r.d(t,{A:()=>D});var E=r(296540),n=r(956347),l=r(469733),a=r(705145),A=r(592563),s=r(834316),o=r(15095),i=r(699784),R=r(187483),c=r(556456),S=r(55983),M=r(30611),P=r(151033),u=r(559874),O=r(67668),T=r(638595);const D=({[T.j.ID]:e,[T.j.LOG]:t})=>{const r=(0,n.W6)(),D=(0,l.useSelector)(R.W1),I=(0,l.useSelector)(R.TP),m=(0,l.useSelector)(c.yE),d=(0,o.A)(S.Qv),N=(0,E.useCallback)(()=>{m?r.push(d):window.location.href=(0,s.SK)(I)},[I,d,r,m]),_=t[P.k1.PARAMETERS]?.[M.ns.ADMIN]?.[P.bP.NAME]||t[P.k1.PARAMETERS]?.[M.ns.USER]?.[P.bP.NAME],b=_?.toLowerCase()==="Unknown".toLowerCase(),k=_?.toLowerCase()==="WiFi Doctor".toLowerCase(),L=b?"Auto Update":_;return L?E.createElement(O.A,{label:E.createElement(i.sA,{id:e}),value:E.createElement(E.Fragment,null,D||b||k?E.createElement(u.A,null,L):E.createElement(A.A,{fontSize:"medium",type:"button",onPress:N},E.createElement(a.A,{size:"medium",color:"inherit",isTruncated:!0},L)))}):null}},270014:(e,t,r)=>{r.d(t,{A:()=>o});var E=r(296540),n=r(699784),l=r(30611),a=r(151033),A=r(67668),s=r(638595);const o=({[s.j.ID]:e,[s.j.LOG]:t})=>t[a.k1.PARAMETERS]?.[l.ns.IP]?.[a.bP.NAME]?E.createElement(A.A,{label:E.createElement(n.sA,{id:e}),value:t[a.k1.PARAMETERS][l.ns.IP][a.bP.NAME]}):null},324890:(e,t,r)=>{r.d(t,{A:()=>i});var E=r(296540),n=r(699784),l=r(30611),a=r(151033),A=r(556722),s=r(67668),o=r(638595);const i=({[o.j.LOG]:e,[o.j.ID]:t})=>e[a.k1.PARAMETERS]?.[l.ns.PLATFORM]?.[a.bP.ID]?E.createElement(s.A,{label:E.createElement(n.sA,{id:t}),value:A.m[e[a.k1.PARAMETERS][l.ns.PLATFORM][a.bP.ID]]||e[a.k1.PARAMETERS][l.ns.PLATFORM][a.bP.ID]}):null},547712:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var E=r(296540),n=r(324890),l=r(270014),a=r(163414),A=r(979353);const s=({[A.w.LOG]:e})=>[E.createElement(a.A,{key:"admin",id:"COMMON_ADMIN_NAME",log:e}),E.createElement(n.A,{key:"platform",id:"LOGS_ACCESS_METHOD",log:e}),E.createElement(l.A,{key:"ip",id:"LOGS_SOURCE_IP_ADDRESS",log:e})]},556456:(e,t,r)=>{r.d(t,{XU:()=>S,YQ:()=>M,aB:()=>c,g0:()=>D,jO:()=>P,tx:()=>R,yB:()=>i,yE:()=>O,zn:()=>T});var E=r(801081),n=r(874807),l=r(187483),a=r(448547),A=r(524332),s=r(55983);const o=(0,E.Mz)(l.kb,e=>e[a.C2.SWAI_ROUTES]||[]),i=(0,E.Mz)(o,e=>e.filter(e=>s.ZP.every(t=>!e[A.rR.PATH].startsWith(t)))),R=(0,E.Mz)(i,e=>e.filter(e=>!e[A.rR.IS_HIDDEN])),c=(0,E.Mz)(o,e=>e.filter(e=>e[A.rR.PATH].startsWith(a.Kr.SETTINGS))),S=(0,E.Mz)(c,e=>e.filter(e=>!e[A.rR.IS_HIDDEN])),M=(0,E.Mz)(o,e=>e.filter(e=>e[A.rR.PATH].startsWith(a.Kr.SYSLOG))),P=(0,E.Mz)(M,e=>e.filter(e=>!e[A.rR.IS_HIDDEN])),u=e=>(0,E.Mz)(o,t=>t.some(t=>t[A.rR.PATH].includes(e)&&!t[A.rR.IS_HIDDEN])),O=(0,E.Mz)(u(s.aY),e=>e),T=(0,E.Mz)(u(s.p6),e=>e),D=(0,E.Mz)(l.nx,e=>e[a.Y7.ROUTES_ADAPTER]||{[A.bh.ROUTES]:[],[A.bh.ADD_ROUTES_LISTENER]:n.P1,[A.bh.REMOVE_ROUTES_LISTENER]:n.P1,[A.bh.ON_ROUTE_CONTAINER_ADDED]:n.P1,[A.bh.ON_ROUTE_CONTAINER_REMOVED]:n.P1})},638595:(e,t,r)=>{var E;r.d(t,{j:()=>E}),function(e){e.ID="id",e.LOG="log"}(E||(E={}))},979353:(e,t,r)=>{var E;r.d(t,{w:()=>E}),function(e){e.LOG="log"}(E||(E={}))}}]);