"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[53344],{653344(e,E,l){l.r(E),l.d(E,{default:()=>R});var t=l(296540),A=l(979353),n=l(482098),a=l(609838),s=l(57218),r=l(689210),c=l(196898),d=l(893126),M=l(898394);const R=({[A.w.LOG]:e})=>[t.createElement(s.A,{key:"deviceName",id:"COMMON_DEVICE",log:e}),t.createElement(r.A,{key:"deviceModel",id:"COMMON_MODEL",log:e}),t.createElement(d.A,{key:"deviceIpAddress",id:"COMMON_IP_ADDRESS",log:e}),t.createElement(c.A,{key:"deviceMacAddress",id:"COMMON_MAC_ADDRESS",log:e}),t.createElement(a.A,{key:"deviceVersion",id:"COMMON_VERSION",log:e}),t.createElement(n.A,{key:"port",id:"COMMON_PORT",log:e}),t.createElement(M.A,{key:"count",id:"LOGS_STATE_CHANGE_COUNT",log:e})]},979353(e,E,l){var t;l.d(E,{w:()=>t}),function(e){e.LOG="log"}(t||(t={}))},898394(e,E,l){l.d(E,{A:()=>r});var t=l(296540),A=l(916537),n=l(30611),a=l(151033),s=l(67668);const r=({id:e,log:E,customCount:l})=>l||E[a.k1.PARAMETERS]?.[n.ns.COUNT]?t.createElement(s.A,{label:t.createElement(A.sA,{id:e}),value:l||E[a.k1.PARAMETERS]?.[n.ns.COUNT]?.[a.bP.NAME]}):null},893126(e,E,l){l.d(E,{A:()=>c});var t=l(296540),A=l(916537),n=l(30611),a=l(151033),s=l(67668),r=l(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.DEVICE]?.[n.pq.IP]?t.createElement(s.A,{label:t.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.DEVICE][n.pq.IP]}):null},196898(e,E,l){l.d(E,{A:()=>c});var t=l(296540),A=l(916537),n=l(30611),a=l(151033),s=l(67668),r=l(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.DEVICE]?.[a.bP.ID]?t.createElement(s.A,{label:t.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.DEVICE][a.bP.ID]}):null},689210(e,E,l){l.d(E,{A:()=>d});var t=l(296540),A=l(6510),n=l(916537),a=l(30611),s=l(151033),r=l(67668),c=l(638595);const d=({[c.j.LOG]:e,[c.j.ID]:E})=>e[s.k1.PARAMETERS]?.[a.ns.DEVICE]?.[a.pq.MODEL_NAME]?t.createElement(r.A,{label:t.createElement(n.sA,{id:E}),value:(0,A.Lm)(e[s.k1.PARAMETERS][a.ns.DEVICE][a.pq.MODEL_NAME])}):null},57218(e,E,l){l.d(E,{A:()=>D});var t=l(296540),A=l(469733),n=l(968906),a=l(398300),s=l(845030),r=l(916537),c=l(30611),d=l(151033),M=l(383664),R=l(638595),i=l(164231),o=l(487585);const D=({[R.j.ID]:e,[R.j.LOG]:E})=>{const l=(0,A.useDispatch)(),D=(0,t.useCallback)(()=>{l((0,s.XP)({type:a.H.DEVICE,id:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[d.bP.ID]}))},[l,E]),I=(0,i.A)({[o.U.MAC]:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[d.bP.ID],[o.U.NAME]:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[d.bP.NAME],[o.U.MODEL]:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[c.pq.MODEL_NAME]});return E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?t.createElement(M.A,{label:t.createElement(r.sA,{id:e}),value:I,onPress:D,...n.A.addDataTestId(n.A.TestId.SIDE_PANEL_TRIGGER)}):null}},609838(e,E,l){l.d(E,{A:()=>c});var t=l(296540),A=l(916537),n=l(30611),a=l(151033),s=l(67668),r=l(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.DEVICE]?.[n.pq.VERSION]?t.createElement(s.A,{label:t.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.DEVICE][n.pq.VERSION]}):null},638595(e,E,l){var t;l.d(E,{j:()=>t}),function(e){e.ID="id",e.LOG="log"}(t||(t={}))},482098(e,E,l){l.d(E,{A:()=>c});var t=l(296540),A=l(916537),n=l(30611),a=l(151033),s=l(67668),r=l(638595);const c=({[r.j.ID]:e,[r.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.PORT]?.[a.bP.NAME]?t.createElement(s.A,{label:t.createElement(A.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.PORT][a.bP.NAME]}):null},383664(e,E,l){l.d(E,{A:()=>c});var t=l(296540),A=l(592563),n=l(199582),a=l(491876),s=l(35571),r=l(115829);const c=({label:e,value:E,onPress:l,[n.L]:c})=>t.createElement(s.R,null,t.createElement(a.A,null,e),t.createElement(A.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:l,...c&&{[n.L]:c}},t.createElement(r.A,{size:"medium",color:"inherit"},E)))}}]);