"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[80798],{880798(e,E,n){n.r(E),n.d(E,{default:()=>R});var t=n(296540),A=n(800070),l=n(935284),a=n(609838),s=n(57218),r=n(689210),c=n(196898),i=n(893126),I=n(979353),d=n(351638);const R=({[I.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(i.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:"version",id:"LOGS_UPDATE_VERSION",log:e}),t.createElement(l.A,{key:"releaseNotesLink",id:"COMMON_RELEASE_NOTES",target:d.m.DEVICE,log:e})]},979353(e,E,n){var t;n.d(E,{w:()=>t}),function(e){e.LOG="log"}(t||(t={}))},893126(e,E,n){n.d(E,{A:()=>c});var t=n(296540),A=n(916537),l=n(30611),a=n(151033),s=n(67668),r=n(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[l.ns.DEVICE]?.[l.pq.IP]?t.createElement(s.A,{label:t.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][l.ns.DEVICE][l.pq.IP]}):null},196898(e,E,n){n.d(E,{A:()=>c});var t=n(296540),A=n(916537),l=n(30611),a=n(151033),s=n(67668),r=n(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[l.ns.DEVICE]?.[a.bP.ID]?t.createElement(s.A,{label:t.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][l.ns.DEVICE][a.bP.ID]}):null},689210(e,E,n){n.d(E,{A:()=>i});var t=n(296540),A=n(6510),l=n(916537),a=n(30611),s=n(151033),r=n(67668),c=n(638595);const i=({[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(l.sA,{id:E}),value:(0,A.Lm)(e[s.k1.PARAMETERS][a.ns.DEVICE][a.pq.MODEL_NAME])}):null},57218(e,E,n){n.d(E,{A:()=>M});var t=n(296540),A=n(469733),l=n(968906),a=n(398300),s=n(845030),r=n(916537),c=n(30611),i=n(151033),I=n(383664),d=n(638595),R=n(164231),o=n(487585);const M=({[d.j.ID]:e,[d.j.LOG]:E})=>{const n=(0,A.useDispatch)(),M=(0,t.useCallback)(()=>{n((0,s.XP)({type:a.H.DEVICE,id:E[i.k1.PARAMETERS]?.[c.ns.DEVICE]?.[i.bP.ID]}))},[n,E]),D=(0,R.A)({[o.U.MAC]:E[i.k1.PARAMETERS]?.[c.ns.DEVICE]?.[i.bP.ID],[o.U.NAME]:E[i.k1.PARAMETERS]?.[c.ns.DEVICE]?.[i.bP.NAME],[o.U.MODEL]:E[i.k1.PARAMETERS]?.[c.ns.DEVICE]?.[c.pq.MODEL_NAME]});return E[i.k1.PARAMETERS]?.[c.ns.DEVICE]?t.createElement(I.A,{label:t.createElement(r.sA,{id:e}),value:D,onPress:M,...l.A.addDataTestId(l.A.TestId.SIDE_PANEL_TRIGGER)}):null}},609838(e,E,n){n.d(E,{A:()=>c});var t=n(296540),A=n(916537),l=n(30611),a=n(151033),s=n(67668),r=n(638595);const c=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[l.ns.DEVICE]?.[l.pq.VERSION]?t.createElement(s.A,{label:t.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][l.ns.DEVICE][l.pq.VERSION]}):null},638595(e,E,n){var t;n.d(E,{j:()=>t}),function(e){e.ID="id",e.LOG="log"}(t||(t={}))},935284(e,E,n){n.d(E,{A:()=>R});var t=n(999589),A=n(469733),l=n(296540),a=n(916537),s=n(187483),r=n(30611),c=n(151033),i=n(383664),I=n(638595),d=n(351638);const R=({[I.j.LOG]:e,[I.j.ID]:E,[d.Q.TARGET]:n})=>{const R=(0,A.useSelector)(s.qf),{name:o,version:M}=(0,l.useMemo)(()=>{switch(n){case d.m.APPLICATION:return{name:"network",version:e[c.k1.PARAMETERS]?.[r.ns.VERSION]?.[c.bP.NAME]};case d.m.DEVICE:return{name:e[c.k1.PARAMETERS]?.[r.ns.DEVICE]?.[r.pq.MODEL_NAME],version:e[c.k1.PARAMETERS]?.[r.ns.VERSION]?.[c.bP.ID]||e[c.k1.PARAMETERS]?.[r.ns.DEVICE]?.[r.pq.VERSION]};default:return{name:void 0,version:void 0}}},[e,n]),D=(0,l.useCallback)(()=>{o&&M&&R(o,(0,t.coerce)(M)?.version||M)},[R,o,M]);return void 0!==R&&o&&M?l.createElement(i.A,{label:l.createElement(a.sA,{id:E}),onPress:D,value:l.createElement(a.sA,{id:"COMMON_ACTION_VIEW"})}):null}},351638(e,E,n){var t,A;n.d(E,{Q:()=>A,m:()=>t}),function(e){e.APPLICATION="application",e.DEVICE="device"}(t||(t={})),function(e){e.TARGET="target"}(A||(A={}))},383664(e,E,n){n.d(E,{A:()=>c});var t=n(296540),A=n(592563),l=n(199582),a=n(491876),s=n(35571),r=n(115829);const c=({label:e,value:E,onPress:n,[l.L]:c})=>t.createElement(s.R,null,t.createElement(a.A,null,e),t.createElement(A.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:n,...c&&{[l.L]:c}},t.createElement(r.A,{size:"medium",color:"inherit"},E)))},800070(e,E,n){n.d(E,{A:()=>c});var t=n(296540),A=n(916537),l=n(30611),a=n(151033),s=n(67668),r=n(638595);const c=({[r.j.ID]:e,[r.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[l.ns.VERSION]?.[a.bP.NAME]?t.createElement(s.A,{label:t.createElement(A.sA,{id:e}),value:E[a.k1.PARAMETERS][l.ns.VERSION][a.bP.NAME]}):null}}]);