"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[26235],{526235(e,E,A){A.r(E),A.d(E,{default:()=>P});var l=A(296540),t=A(314114),n=A(134506),a=A(859444),s=A(597162),r=A(685568),R=A(357244),c=A(455194),d=A(450742),T=A(979353);const P=({[T.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(s.A,{key:"vpnServerAddress",id:"LOGS_VPN_SERVER_ADDRESS",log:e}),l.createElement(t.A,{key:"wanId",id:"COMMON_WAN_ID",log:e}),l.createElement(r.A,{key:"radiusIdentity",id:"COMMON_CLIENT",log:e}),l.createElement(d.A,{key:"clientIpAddress",id:"COMMON_CLIENT_IP_ADDRESS",log:e}),l.createElement(R.A,{id:"LOGS_CONNECT_DURATION",key:"duration",log:e}),l.createElement(c.A,{id:"LOGS_DATA_USAGE",key:"dataUsage",log:e})]},979353(e,E,A){var l;A.d(E,{w:()=>l}),function(e){e.LOG="log"}(l||(l={}))},450742(e,E,A){A.d(E,{A:()=>R});var l=A(296540),t=A(916537),n=A(30611),a=A(151033),s=A(67668),r=A(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.CLIENT]?.[n.MK.IP]?l.createElement(s.A,{label:l.createElement(t.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.CLIENT][n.MK.IP]}):null},455194(e,E,A){A.d(E,{A:()=>P});var l=A(296540),t=A(705145),n=A(501103),a=A(445772),s=A(916537),r=A(30611),R=A(151033),c=A(422970),d=A(67668),T=A(638595);const P=({[T.j.ID]:e,[T.j.LOG]:E})=>E[R.k1.PARAMETERS]?.[r.ns.DATA_DOWN]&&E[R.k1.PARAMETERS]?.[r.ns.DATA_UP]?l.createElement(d.A,{label:l.createElement(s.sA,{id:e}),value:l.createElement(c.p,null,l.createElement(t.A,{style:{display:"flex",alignItems:"center"},size:"medium",color:"traffic-down",isTruncated:!0},l.createElement(a.A.Icon,null),E[R.k1.PARAMETERS][r.ns.DATA_DOWN][R.bP.NAME]),l.createElement(t.A,{style:{display:"flex",alignItems:"center"},size:"medium",color:"traffic-up",isTruncated:!0},l.createElement(n.A.Icon,null),E[R.k1.PARAMETERS][r.ns.DATA_UP][R.bP.NAME]))}):null},357244(e,E,A){A.d(E,{A:()=>R});var l=A(296540),t=A(916537),n=A(30611),a=A(151033),s=A(67668),r=A(638595);const R=({[r.j.ID]:e,[r.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.DURATION]?.[a.bP.NAME]?l.createElement(s.A,{label:l.createElement(t.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.DURATION][a.bP.NAME]}):null},638595(e,E,A){var l;A.d(E,{j:()=>l}),function(e){e.ID="id",e.LOG="log"}(l||(l={}))},685568(e,E,A){A.d(E,{A:()=>R});var l=A(296540),t=A(916537),n=A(30611),a=A(151033),s=A(67668),r=A(638595);const R=({[r.j.ID]:e,[r.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.CLIENT]?.[n.MK.RADIUS_IDENTITY]?l.createElement(s.A,{label:l.createElement(t.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.CLIENT][n.MK.RADIUS_IDENTITY]}):null},383664(e,E,A){A.d(E,{A:()=>R});var l=A(296540),t=A(592563),n=A(199582),a=A(491876),s=A(35571),r=A(115829);const R=({label:e,value:E,onPress:A,[n.L]:R})=>l.createElement(s.R,null,l.createElement(a.A,null,e),l.createElement(t.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:A,...R&&{[n.L]:R}},l.createElement(r.A,{size:"medium",color:"inherit"},E)))},597162(e,E,A){A.d(E,{A:()=>R});var l=A(296540),t=A(916537),n=A(30611),a=A(151033),s=A(67668),r=A(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.VPN_SERVER_ADDRESS]?.[a.bP.NAME]?l.createElement(s.A,{label:l.createElement(t.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.VPN_SERVER_ADDRESS][a.bP.NAME]}):null},859444(e,E,A){A.d(E,{A:()=>u});var l=A(296540),t=A(956347),n=A(469733),a=A(968906),s=A(928085),r=A(916537),R=A(30611),c=A(151033),d=A(959341),T=A(845030),P=A(398300),N=A(383664),i=A(638595);const u=({[i.j.LOG]:e,[i.j.ID]:E})=>{const A=(0,t.W6)(),u=(0,n.useDispatch)(),M=(0,s.A)(d.Hp),S=(0,l.useCallback)(()=>{"Teleport"===e[c.k1.PARAMETERS]?.[R.ns.NETWORK]?.[c.bP.ID]?A.push(M):u((0,T.XP)({type:P.H.VPN_SERVER,id:e[c.k1.PARAMETERS]?.[R.ns.NETWORK]?.[c.bP.ID]??d.R6}))},[e,A,u,M]);return e[c.k1.PARAMETERS]?.[R.ns.NETWORK]?.[c.bP.NAME]?l.createElement(N.A,{label:l.createElement(r.sA,{id:E}),onPress:S,value:e[c.k1.PARAMETERS][R.ns.NETWORK][c.bP.NAME],...a.A.addDataTestId(a.A.TestId.SIDE_PANEL_TRIGGER)}):null}},134506(e,E,A){A.d(E,{A:()=>d});var l=A(296540),t=A(916537),n=A(688347),a=A(30611),s=A(151033),r=A(67668),R=A(638595);const c={...n.kO,"ipsec-vpn":"COMMON_IPSEC_VPN","wireguard-teleport-server":"LOGS_WIREGUARD_TELEPORT_SERVER"},d=({[R.j.ID]:e,[R.j.LOG]:E})=>E[s.k1.PARAMETERS]?.[a.ns.NETWORK]?.[a.jN.VPN_TYPE]?l.createElement(r.A,{label:l.createElement(t.sA,{id:e}),value:l.createElement(t.sA,{id:c[E[s.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]],defaultMessage:E[s.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]})}):null},314114(e,E,A){A.d(E,{A:()=>R});var l=A(296540),t=A(916537),n=A(30611),a=A(151033),s=A(67668),r=A(638595);const R=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.WAN_ID]?.[a.bP.NAME]?l.createElement(s.A,{label:l.createElement(t.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.WAN_ID][a.bP.NAME]}):null}}]);