"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[66619],{766619(e,E,l){l.r(E),l.d(E,{default:()=>M});var t=l(296540),n=l(979353),A=l(482098),a=l(609838),s=l(57218),r=l(689210),c=l(196898),d=l(893126);const M=({[n.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(A.A,{key:"port",id:"LOGS_CONNECTED_PORT",log:e})]},979353(e,E,l){var t;l.d(E,{w:()=>t}),function(e){e.LOG="log"}(t||(t={}))},893126(e,E,l){l.d(E,{A:()=>c});var t=l(296540),n=l(916537),A=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]?.[A.ns.DEVICE]?.[A.pq.IP]?t.createElement(s.A,{label:t.createElement(n.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][A.pq.IP]}):null},196898(e,E,l){l.d(E,{A:()=>c});var t=l(296540),n=l(916537),A=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]?.[A.ns.DEVICE]?.[a.bP.ID]?t.createElement(s.A,{label:t.createElement(n.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][a.bP.ID]}):null},689210(e,E,l){l.d(E,{A:()=>d});var t=l(296540),n=l(6510),A=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(A.sA,{id:E}),value:(0,n.Lm)(e[s.k1.PARAMETERS][a.ns.DEVICE][a.pq.MODEL_NAME])}):null},57218(e,E,l){l.d(E,{A:()=>I});var t=l(296540),n=l(469733),A=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),D=l(487585);const I=({[R.j.ID]:e,[R.j.LOG]:E})=>{const l=(0,n.useDispatch)(),I=(0,t.useCallback)(()=>{l((0,s.XP)({type:a.H.DEVICE,id:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[d.bP.ID]}))},[l,E]),o=(0,i.A)({[D.U.MAC]:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[d.bP.ID],[D.U.NAME]:E[d.k1.PARAMETERS]?.[c.ns.DEVICE]?.[d.bP.NAME],[D.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:o,onPress:I,...A.A.addDataTestId(A.A.TestId.SIDE_PANEL_TRIGGER)}):null}},609838(e,E,l){l.d(E,{A:()=>c});var t=l(296540),n=l(916537),A=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]?.[A.ns.DEVICE]?.[A.pq.VERSION]?t.createElement(s.A,{label:t.createElement(n.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][A.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),n=l(916537),A=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]?.[A.ns.PORT]?.[a.bP.NAME]?t.createElement(s.A,{label:t.createElement(n.sA,{id:e}),value:E[a.k1.PARAMETERS][A.ns.PORT][a.bP.NAME]}):null},383664(e,E,l){l.d(E,{A:()=>c});var t=l(296540),n=l(592563),A=l(199582),a=l(491876),s=l(35571),r=l(115829);const c=({label:e,value:E,onPress:l,[A.L]:c})=>t.createElement(s.R,null,t.createElement(a.A,null,e),t.createElement(n.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:l,...c&&{[A.L]:c}},t.createElement(r.A,{size:"medium",color:"inherit"},E)))}}]);