"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[7301],{807301(e,E,t){t.r(E),t.d(E,{default:()=>d});var l=t(296540),A=t(314114),n=t(134506),a=t(859444),R=t(597162),s=t(155322),r=t(685568),P=t(450742),N=t(979353);const d=({[N.w.LOG]:e})=>[l.createElement(a.A,{key:"vpnServerName",id:"COMMON_VPN_SERVER",log:e}),l.createElement(n.A,{key:"vpnType",id:"COMMON_VPN_TYPE",log:e}),l.createElement(R.A,{key:"vpnServerAddress",id:"LOGS_VPN_SERVER_ADDRESS",log:e}),l.createElement(A.A,{key:"wanId",id:"COMMON_WAN_ID",log:e}),l.createElement(r.A,{key:"radiusIdentity",id:"COMMON_CLIENT",log:e}),l.createElement(P.A,{key:"clientIpAddress",id:"COMMON_CLIENT_IP_ADDRESS",log:e}),l.createElement(s.A,{key:"remoteIp",id:"COMMON_REMOTE_IP_ADDRESS",log:e})]},979353(e,E,t){var l;t.d(E,{w:()=>l}),function(e){e.LOG="log"}(l||(l={}))},450742(e,E,t){t.d(E,{A:()=>r});var l=t(296540),A=t(916537),n=t(30611),a=t(151033),R=t(67668),s=t(638595);const r=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.CLIENT]?.[n.MK.IP]?l.createElement(R.A,{label:l.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.CLIENT][n.MK.IP]}):null},638595(e,E,t){var l;t.d(E,{j:()=>l}),function(e){e.ID="id",e.LOG="log"}(l||(l={}))},685568(e,E,t){t.d(E,{A:()=>r});var l=t(296540),A=t(916537),n=t(30611),a=t(151033),R=t(67668),s=t(638595);const r=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.CLIENT]?.[n.MK.RADIUS_IDENTITY]?l.createElement(R.A,{label:l.createElement(A.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.CLIENT][n.MK.RADIUS_IDENTITY]}):null},155322(e,E,t){t.d(E,{A:()=>r});var l=t(296540),A=t(916537),n=t(30611),a=t(151033),R=t(67668),s=t(638595);const r=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.REMOTE_IP]?.[a.bP.NAME]?l.createElement(R.A,{label:l.createElement(A.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.REMOTE_IP][a.bP.NAME]}):null},383664(e,E,t){t.d(E,{A:()=>r});var l=t(296540),A=t(592563),n=t(199582),a=t(491876),R=t(35571),s=t(115829);const r=({label:e,value:E,onPress:t,[n.L]:r})=>l.createElement(R.R,null,l.createElement(a.A,null,e),l.createElement(A.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:t,...r&&{[n.L]:r}},l.createElement(s.A,{size:"medium",color:"inherit"},E)))},597162(e,E,t){t.d(E,{A:()=>r});var l=t(296540),A=t(916537),n=t(30611),a=t(151033),R=t(67668),s=t(638595);const r=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.VPN_SERVER_ADDRESS]?.[a.bP.NAME]?l.createElement(R.A,{label:l.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.VPN_SERVER_ADDRESS][a.bP.NAME]}):null},859444(e,E,t){t.d(E,{A:()=>i});var l=t(296540),A=t(956347),n=t(469733),a=t(968906),R=t(928085),s=t(916537),r=t(30611),P=t(151033),N=t(959341),d=t(845030),T=t(398300),c=t(383664),M=t(638595);const i=({[M.j.LOG]:e,[M.j.ID]:E})=>{const t=(0,A.W6)(),i=(0,n.useDispatch)(),I=(0,R.A)(N.Hp),S=(0,l.useCallback)(()=>{"Teleport"===e[P.k1.PARAMETERS]?.[r.ns.NETWORK]?.[P.bP.ID]?t.push(I):i((0,d.XP)({type:T.H.VPN_SERVER,id:e[P.k1.PARAMETERS]?.[r.ns.NETWORK]?.[P.bP.ID]??N.R6}))},[e,t,i,I]);return e[P.k1.PARAMETERS]?.[r.ns.NETWORK]?.[P.bP.NAME]?l.createElement(c.A,{label:l.createElement(s.sA,{id:E}),onPress:S,value:e[P.k1.PARAMETERS][r.ns.NETWORK][P.bP.NAME],...a.A.addDataTestId(a.A.TestId.SIDE_PANEL_TRIGGER)}):null}},134506(e,E,t){t.d(E,{A:()=>N});var l=t(296540),A=t(916537),n=t(688347),a=t(30611),R=t(151033),s=t(67668),r=t(638595);const P={...n.kO,"ipsec-vpn":"COMMON_IPSEC_VPN","wireguard-teleport-server":"LOGS_WIREGUARD_TELEPORT_SERVER"},N=({[r.j.ID]:e,[r.j.LOG]:E})=>E[R.k1.PARAMETERS]?.[a.ns.NETWORK]?.[a.jN.VPN_TYPE]?l.createElement(s.A,{label:l.createElement(A.sA,{id:e}),value:l.createElement(A.sA,{id:P[E[R.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]],defaultMessage:E[R.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]})}):null},314114(e,E,t){t.d(E,{A:()=>r});var l=t(296540),A=t(916537),n=t(30611),a=t(151033),R=t(67668),s=t(638595);const r=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.WAN_ID]?.[a.bP.NAME]?l.createElement(R.A,{label:l.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.WAN_ID][a.bP.NAME]}):null}}]);