"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[44195],{134506:(e,t,E)=>{E.d(t,{A:()=>R});var n=E(296540),l=E(699784),A=E(688347),a=E(30611),s=E(151033),r=E(67668),c=E(638595);const P={...A.kO,"ipsec-vpn":"COMMON_IPSEC_VPN","wireguard-teleport-server":"LOGS_WIREGUARD_TELEPORT_SERVER"},R=({[c.j.ID]:e,[c.j.LOG]:t})=>t[s.k1.PARAMETERS]?.[a.ns.NETWORK]?.[a.jN.VPN_TYPE]?n.createElement(r.A,{label:n.createElement(l.sA,{id:e}),value:n.createElement(l.sA,{id:P[t[s.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]],defaultMessage:t[s.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]})}):null},155322:(e,t,E)=>{E.d(t,{A:()=>c});var n=E(296540),l=E(699784),A=E(30611),a=E(151033),s=E(67668),r=E(638595);const c=({[r.j.ID]:e,[r.j.LOG]:t})=>t[a.k1.PARAMETERS]?.[A.ns.REMOTE_IP]?.[a.bP.NAME]?n.createElement(s.A,{label:n.createElement(l.sA,{id:e}),value:t[a.k1.PARAMETERS][A.ns.REMOTE_IP][a.bP.NAME]}):null},270014:(e,t,E)=>{E.d(t,{A:()=>c});var n=E(296540),l=E(699784),A=E(30611),a=E(151033),s=E(67668),r=E(638595);const c=({[r.j.ID]:e,[r.j.LOG]:t})=>t[a.k1.PARAMETERS]?.[A.ns.IP]?.[a.bP.NAME]?n.createElement(s.A,{label:n.createElement(l.sA,{id:e}),value:t[a.k1.PARAMETERS][A.ns.IP][a.bP.NAME]}):null},314114:(e,t,E)=>{E.d(t,{A:()=>c});var n=E(296540),l=E(699784),A=E(30611),a=E(151033),s=E(67668),r=E(638595);const c=({[r.j.LOG]:e,[r.j.ID]:t})=>e[a.k1.PARAMETERS]?.[A.ns.WAN_ID]?.[a.bP.NAME]?n.createElement(s.A,{label:n.createElement(l.sA,{id:t}),value:e[a.k1.PARAMETERS][A.ns.WAN_ID][a.bP.NAME]}):null},383664:(e,t,E)=>{E.d(t,{A:()=>r});var n=E(296540),l=E(592563),A=E(491876),a=E(35571),s=E(115829);const r=({label:e,value:t,onPress:E})=>n.createElement(a.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:E},n.createElement(s.A,{size:"medium",color:"inherit"},t)))},544195:(e,t,E)=>{E.r(t),E.d(t,{default:()=>u});var n=E(296540),l=E(314114),A=E(134506),a=E(956347),s=E(928085),r=E(699784),c=E(30611),P=E(151033),R=E(959341),M=E(383664);const i=":s2sVpnId:";var o=E(638595);const N=({[o.j.LOG]:e,[o.j.ID]:t})=>{const E=(0,a.W6)(),l=(0,s.A)(R.ot),A=l.concat(`/${R.fW}/${i}`),N=(0,n.useCallback)(()=>{const t=e[P.k1.PARAMETERS]?.[c.ns.NETWORK]?.[P.bP.ID];E.push(t?A.replace(i,t):l)},[e,E,l,A]);return e[P.k1.PARAMETERS]?.[c.ns.NETWORK]?.[P.bP.NAME]?n.createElement(M.A,{label:n.createElement(r.sA,{id:t}),onPress:N,value:e[P.k1.PARAMETERS][c.ns.NETWORK][P.bP.NAME]}):null};var O=E(155322),T=E(270014),d=E(979353);const u=({[d.w.LOG]:e})=>[n.createElement(N,{key:"siteToSiteVpn",id:"COMMON_SITE_TO_SITE_VPN",log:e}),n.createElement(A.A,{key:"vpnType",id:"COMMON_VPN_TYPE",log:e}),n.createElement(T.A,{key:"ip",id:"COMMON_LOCAL_IP",log:e}),n.createElement(l.A,{key:"wanId",id:"COMMON_WAN_ID",log:e}),n.createElement(O.A,{key:"remoteIp",id:"COMMON_REMOTE_IP_HOSTNAME",log:e})]},638595:(e,t,E)=>{var n;E.d(t,{j:()=>n}),function(e){e.ID="id",e.LOG="log"}(n||(n={}))},979353:(e,t,E)=>{var n;E.d(t,{w:()=>n}),function(e){e.LOG="log"}(n||(n={}))}}]);