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