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