"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[72851],{272851(e,E,t){t.r(E),t.d(E,{default:()=>M});var n=t(296540),A=t(348698),l=t(805014),s=t(609838),a=t(57218),r=t(689210),R=t(196898),c=t(893126),d=t(979353);const M=({[d.w.LOG]:e})=>[n.createElement(a.A,{key:"deviceName",id:"COMMON_DEVICE",log:e}),n.createElement(r.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(s.A,{key:"deviceVersion",id:"COMMON_VERSION",log:e}),n.createElement(l.A,{key:"network",id:"COMMON_NETWORK",log:e}),n.createElement(A.A,{key:"networkSubnet",id:"COMMON_SUBNET",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:()=>R});var n=t(296540),A=t(916537),l=t(30611),s=t(151033),a=t(67668),r=t(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[s.k1.PARAMETERS]?.[l.ns.DEVICE]?.[l.pq.IP]?n.createElement(a.A,{label:n.createElement(A.sA,{id:E}),value:e[s.k1.PARAMETERS][l.ns.DEVICE][l.pq.IP]}):null},196898(e,E,t){t.d(E,{A:()=>R});var n=t(296540),A=t(916537),l=t(30611),s=t(151033),a=t(67668),r=t(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[s.k1.PARAMETERS]?.[l.ns.DEVICE]?.[s.bP.ID]?n.createElement(a.A,{label:n.createElement(A.sA,{id:E}),value:e[s.k1.PARAMETERS][l.ns.DEVICE][s.bP.ID]}):null},689210(e,E,t){t.d(E,{A:()=>c});var n=t(296540),A=t(6510),l=t(916537),s=t(30611),a=t(151033),r=t(67668),R=t(638595);const c=({[R.j.LOG]:e,[R.j.ID]:E})=>e[a.k1.PARAMETERS]?.[s.ns.DEVICE]?.[s.pq.MODEL_NAME]?n.createElement(r.A,{label:n.createElement(l.sA,{id:E}),value:(0,A.Lm)(e[a.k1.PARAMETERS][s.ns.DEVICE][s.pq.MODEL_NAME])}):null},57218(e,E,t){t.d(E,{A:()=>i});var n=t(296540),A=t(469733),l=t(968906),s=t(398300),a=t(845030),r=t(916537),R=t(30611),c=t(151033),d=t(383664),M=t(638595),I=t(164231),D=t(487585);const i=({[M.j.ID]:e,[M.j.LOG]:E})=>{const t=(0,A.useDispatch)(),i=(0,n.useCallback)(()=>{t((0,a.XP)({type:s.H.DEVICE,id:E[c.k1.PARAMETERS]?.[R.ns.DEVICE]?.[c.bP.ID]}))},[t,E]),o=(0,I.A)({[D.U.MAC]:E[c.k1.PARAMETERS]?.[R.ns.DEVICE]?.[c.bP.ID],[D.U.NAME]:E[c.k1.PARAMETERS]?.[R.ns.DEVICE]?.[c.bP.NAME],[D.U.MODEL]:E[c.k1.PARAMETERS]?.[R.ns.DEVICE]?.[R.pq.MODEL_NAME]});return E[c.k1.PARAMETERS]?.[R.ns.DEVICE]?n.createElement(d.A,{label:n.createElement(r.sA,{id:e}),value:o,onPress:i,...l.A.addDataTestId(l.A.TestId.SIDE_PANEL_TRIGGER)}):null}},609838(e,E,t){t.d(E,{A:()=>R});var n=t(296540),A=t(916537),l=t(30611),s=t(151033),a=t(67668),r=t(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[s.k1.PARAMETERS]?.[l.ns.DEVICE]?.[l.pq.VERSION]?n.createElement(a.A,{label:n.createElement(A.sA,{id:E}),value:e[s.k1.PARAMETERS][l.ns.DEVICE][l.pq.VERSION]}):null},638595(e,E,t){var n;t.d(E,{j:()=>n}),function(e){e.ID="id",e.LOG="log"}(n||(n={}))},805014(e,E,t){t.d(E,{A:()=>o});var n=t(956347),A=t(469733),l=t(296540),s=t(968906),a=t(928085),r=t(398300),R=t(845030),c=t(916537),d=t(30611),M=t(151033),I=t(959341),D=t(383664),i=t(638595);const o=({[i.j.LOG]:e,[i.j.ID]:E})=>{const t=(0,A.useDispatch)(),o=(0,n.W6)(),O=(0,a.A)(I.Cs),u=(0,l.useCallback)(()=>{const E=e[M.k1.PARAMETERS]?.[d.ns.NETWORK]?.[M.bP.ID];E?t((0,R.XP)({type:r.H.NETWORK,id:e[M.k1.PARAMETERS]?.[d.ns.NETWORK]?.[M.bP.ID]})):o.push(O)},[e,o,t,O]),P=e[M.k1.PARAMETERS]?.[d.ns.NETWORK]?.[M.bP.NAME],k=e[M.k1.PARAMETERS]?.[d.ns.NETWORK]?.[d.jN.VLAN_ID];return P?l.createElement(D.A,{label:l.createElement(c.sA,{id:E}),value:`${P}${k?` (${k})`:""}`,onPress:u,...s.A.addDataTestId(s.A.TestId.SIDE_PANEL_TRIGGER)}):null}},348698(e,E,t){t.d(E,{A:()=>R});var n=t(296540),A=t(916537),l=t(30611),s=t(151033),a=t(67668),r=t(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[s.k1.PARAMETERS]?.[l.ns.NETWORK]?.[l.jN.SUBNET]?n.createElement(a.A,{label:n.createElement(A.sA,{id:E}),value:e[s.k1.PARAMETERS][l.ns.NETWORK][l.jN.SUBNET]}):null},383664(e,E,t){t.d(E,{A:()=>R});var n=t(296540),A=t(592563),l=t(199582),s=t(491876),a=t(35571),r=t(115829);const R=({label:e,value:E,onPress:t,[l.L]:R})=>n.createElement(a.R,null,n.createElement(s.A,null,e),n.createElement(A.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:t,...R&&{[l.L]:R}},n.createElement(r.A,{size:"medium",color:"inherit"},E)))}}]);