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