"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[84322],{584322(e,E,t){t.r(E),t.d(E,{default:()=>C});var n=t(296540),l=t(469733),A=t(282556),a=t(916537),s=t(30611),r=t(151033),c=t(602021),i=t(198494),d=t(67668),o=t(638595);const u=({[o.j.ID]:e,[o.j.LOG]:E})=>{const t=(0,l.useSelector)(i.BQ),u=(0,l.useSelector)(c.hq),D=(0,l.useSelector)(A.zi),I=Date.parse(E[r.k1.PARAMETERS]?.[s.ns.LAST_SUCCESS_DATE_TIME]?.[r.bP.NAME]);return Number.isNaN(I)?null:n.createElement(d.A,{label:n.createElement(a.sA,{id:e}),value:new Intl.DateTimeFormat(D,{day:"numeric",month:"short",hour:"numeric",minute:"numeric",second:"numeric",timeZone:u,hourCycle:t}).format(I)})};var D=t(609838),I=t(57218),m=t(689210),M=t(196898),R=t(893126),S=t(979353);const C=({[S.w.LOG]:e})=>[n.createElement(I.A,{key:"deviceName",id:"COMMON_DEVICE",log:e}),n.createElement(m.A,{key:"deviceModel",id:"COMMON_MODEL",log:e}),n.createElement(R.A,{key:"deviceIpAddress",id:"COMMON_IP_ADDRESS",log:e}),n.createElement(M.A,{key:"deviceMacAddress",id:"COMMON_MAC_ADDRESS",log:e}),n.createElement(D.A,{key:"deviceVersion",id:"COMMON_VERSION",log:e}),n.createElement(u,{key:"lastSuccessDateTime",id:"LOGS_LAST_SUCCESSFUL_CONFIGURATION",log:e})]},979353(e,E,t){var n;t.d(E,{w:()=>n}),function(e){e.LOG="log"}(n||(n={}))},893126(e,E,t){t.d(E,{A:()=>c});var n=t(296540),l=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[A.ns.DEVICE]?.[A.pq.IP]?n.createElement(s.A,{label:n.createElement(l.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][A.pq.IP]}):null},196898(e,E,t){t.d(E,{A:()=>c});var n=t(296540),l=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[A.ns.DEVICE]?.[a.bP.ID]?n.createElement(s.A,{label:n.createElement(l.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][a.bP.ID]}):null},689210(e,E,t){t.d(E,{A:()=>i});var n=t(296540),l=t(6510),A=t(916537),a=t(30611),s=t(151033),r=t(67668),c=t(638595);const i=({[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(A.sA,{id:E}),value:(0,l.Lm)(e[s.k1.PARAMETERS][a.ns.DEVICE][a.pq.MODEL_NAME])}):null},57218(e,E,t){t.d(E,{A:()=>I});var n=t(296540),l=t(469733),A=t(968906),a=t(398300),s=t(845030),r=t(916537),c=t(30611),i=t(151033),d=t(383664),o=t(638595),u=t(164231),D=t(487585);const I=({[o.j.ID]:e,[o.j.LOG]:E})=>{const t=(0,l.useDispatch)(),I=(0,n.useCallback)(()=>{t((0,s.XP)({type:a.H.DEVICE,id:E[i.k1.PARAMETERS]?.[c.ns.DEVICE]?.[i.bP.ID]}))},[t,E]),m=(0,u.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]?n.createElement(d.A,{label:n.createElement(r.sA,{id:e}),value:m,onPress:I,...A.A.addDataTestId(A.A.TestId.SIDE_PANEL_TRIGGER)}):null}},609838(e,E,t){t.d(E,{A:()=>c});var n=t(296540),l=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[A.ns.DEVICE]?.[A.pq.VERSION]?n.createElement(s.A,{label:n.createElement(l.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][A.pq.VERSION]}):null},638595(e,E,t){var n;t.d(E,{j:()=>n}),function(e){e.ID="id",e.LOG="log"}(n||(n={}))},383664(e,E,t){t.d(E,{A:()=>c});var n=t(296540),l=t(592563),A=t(199582),a=t(491876),s=t(35571),r=t(115829);const c=({label:e,value:E,onPress:t,[A.L]:c})=>n.createElement(s.R,null,n.createElement(a.A,null,e),n.createElement(l.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:t,...c&&{[A.L]:c}},n.createElement(r.A,{size:"medium",color:"inherit"},E)))}}]);