"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[2694],{698131:(e,t,l)=>{l.d(t,{A:()=>v});var a=l(296540),n=l(305933);const i=(0,a.createContext)(null);var r=l(969229),o=l(672166),s=l(881663);function c(e,t,l){const{isSelected:a}=t,{isPressed:n,buttonProps:i}=(0,r.s)({...e,onPress:(0,o.c)(t.toggle,e.onPress)},l);return{isPressed:n,isSelected:a,isDisabled:e.isDisabled||!1,buttonProps:(0,s.v)(i,{"aria-pressed":a})}}function d(e,t,l){let a={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(l){t.setSelected(e.id,l)},toggle(){t.toggleKey(e.id)}},{isPressed:n,isSelected:i,isDisabled:r,buttonProps:o}=c({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},a,l);return"single"===t.selectionMode&&(o.role="radio",o["aria-checked"]=a.isSelected,delete o["aria-pressed"]),{isPressed:n,isSelected:i,isDisabled:r,buttonProps:o}}var m=l(316133),E=l(916638),u=l(605987),h=l(51623);const C=(0,a.createContext)({}),A=(0,a.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,C);let l=(0,a.useContext)(i),r=(0,h.H)(l&&null!=e.id?{isSelected:l.selectedKeys.has(e.id),onChange(t){l.setSelected(e.id,t)}}:e),{buttonProps:o,isPressed:A,isSelected:g,isDisabled:p}=l&&null!=e.id?d({...e,id:e.id},l,t):c({...e,id:null!=e.id?String(e.id):void 0},r,t),{focusProps:f,isFocused:T,isFocusVisible:I}=(0,m.o)(e),{hoverProps:S,isHovered:v}=(0,E.M)(e),N=(0,n.Sl)({...e,id:void 0,values:{isHovered:v,isPressed:A,isFocused:T,isSelected:r.isSelected,isFocusVisible:I,isDisabled:p,state:r},defaultClassName:"react-aria-ToggleButton"}),x=(0,u.$)(e,{global:!0});return delete x.id,delete x.onClick,a.createElement("button",{...(0,s.v)(x,N,o,f,S),ref:t,slot:e.slot||void 0,"data-focused":T||void 0,"data-disabled":p||void 0,"data-pressed":A||void 0,"data-selected":g||void 0,"data-hovered":v||void 0,"data-focus-visible":I||void 0})});var g=l(599567),p=l(474809),f=l(722860),T=l(325898),I=l(343192);const S=(0,f.c)(g.A),v=a.forwardRef((e,t)=>{const{className:l,motif:n,size:i="medium",shape:r="default",width:o="auto",variant:s="secondary",borderColor:c=p.yw[`${s}-neutral`],textColor:d=p.Vq[`${s}-neutral`],"data-testid":m,children:E,...u}=e,{motif:h}=(0,T.A)(n);return a.createElement(A,{ref:t,"data-uic-component":"ToggleButton","data-testid":m,className:S.concat(l)("button","toggleButton",`button-${h}`,`width-${o}`,`size-${i}`,`shape-${r}`,`fillColor-tgl-${s}`,`textColor-${d}`,`borderColor-${c}`),...u},e=>(0,I.A)(E,e))});v.displayName="ToggleButton"},611717:(e,t,l)=>{var a,n,i,r;l.d(t,{c_:()=>r,fP:()=>n,ku:()=>i,zb:()=>a}),function(e){e.CLIENTS="CLIENTS",e.NETWORKS="NETWORKS",e.USERS="USERS",e.GROUPS="GROUPS"}(a||(a={})),function(e){e.DISABLED="DISABLED",e.SHORT="SHORT",e.LONG="LONG"}(n||(n={})),function(e){e.LIMIT="LIMIT",e.PRIORITIZE="PRIORITIZE",e.LIMIT_AND_PRIORITIZE="LIMIT_AND_PRIORITIZE"}(i||(i={})),function(e){e.ALLOWLIST="ALLOWLIST",e.BLOCKLIST="BLOCKLIST",e.TURN_OFF_INTERNET="TURN_OFF_INTERNET",e.QUARANTINE="QUARANTINE"}(r||(r={}))},532305:(e,t,l)=>{l.d(t,{A:()=>M});var a=l(469733),n=l(296540),i=l(217439),r=l(705145),o=l(198494),s=l(775699),c=l(415246),d=l(190515),m=l(459449),E=l(294303),u=l(71479);const h=(0,u.A)("div")`
  background: ${({theme:{motifPalette:{info:e}}})=>e};
  margin-right: ${({theme:{spacing:e}})=>e["spacing-s"]};
  border-radius: 50%;
  width: 16px;
  height: 16px;
  color: ${({theme:{motifPalette:{white:e}}})=>e};
  text-align: center;
  font-size: ${({theme:e})=>e.fontSize["font-size-xs"]};
  position: relative;

  &::after {
    content: 'i';
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
`,C=()=>n.createElement(h,null);var A=l(566723),g=l(822336),p=l(998837),f=l(141979),T=l(424226),I=l(404925),S=l(629318);const v=(0,l(51946).w)(e=>(0,n.createElement)("svg",(0,S.d)({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 5a.5.5 0 0 0 0 1h10a.5.5 0 0 0 0-1h-10Zm0 4.5a.5.5 0 0 0 0 1h10a.5.5 0 0 0 0-1h-10Zm-.5 5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5Zm-2.5-5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm.5 8.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z",fill:"currentColor",className:e.baseclassname}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75 4.5a.75.75 0 0 0 0 1.5h9.5a.75.75 0 0 0 0-1.5h-9.5Zm0 4.8a.75.75 0 0 0 0 1.5h9.5a.75.75 0 0 0 0-1.5h-9.5ZM6 14.85a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75ZM3.75 9.3a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM3 5.25a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 5.25Zm.75 8.85a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z",fill:"currentColor",className:e.fillclassname})));var N=l(255114),x=l(825032),b=l(311785);const w=(0,u.A)("div",(0,b.A)("hasBackground"))`
  border-radius: ${A.kc};
  border: 1px dashed
    ${({theme:{motifPalette:{uBlue03:e}}})=>e};
  padding: ${A.kc} ${A.xO};
  display: flex;
  justify-content: center;
  align-self: stretch;
  background: ${({theme:e,hasBackground:t})=>t?e.themeName===x.S.DARK?g.Ay["desktop-color-ublue-01-dark"]:"#F7FBFF":"transparent"};
`,_=({children:e})=>{const{motifPalette:{uBlue03:t,neutral00:l,yellow06:a},themeName:i}=(0,p.u)(),r=t,o=i===x.S.DARK?g.Ay["desktop-color-ublue-01-dark"]:"#F7FBFF",s=l;return n.createElement("div",{style:{borderRadius:A.kc,border:`1px dashed ${s}`,background:[`linear-gradient(${s} 0 0) padding-box`,`linear-gradient(to bottom, ${a}, ${r} 40%, ${r}) border-box`].join(", ")}},n.createElement("div",{style:{border:`1px dashed ${s}`,borderRadius:A.kc,background:o}},e))},O=({text:e,icon:t})=>n.createElement(E.A,{padding:"2px 6px",gap:A.YC,background:(0,p.u)().motifPalette.neutral00,borderRadius:A.kc,height:A.S2,justifyContent:"space-between"},n.createElement(i.A,{size:"medium",color:"text-3"},e),t),R=()=>{const{motifPalette:{uBlue03:e}}=(0,p.u)();return n.createElement(E.A,null,n.createElement(E.A,{alignItems:"center"},n.createElement(w,null,n.createElement(E.A,{flexDirection:"column",gap:A.kc},n.createElement(E.A,null,n.createElement(O,{text:n.createElement(m.sA,{id:"SETTINGS_OBJECT_MANAGER"})})),n.createElement(E.A,{alignItems:"center"},n.createElement(E.A,{flexDirection:"column",gap:A.YC},n.createElement(O,{text:n.createElement(m.sA,{id:"SETTINGS_SECURE"}),icon:n.createElement(f.A,{size:"original",color:e})}),n.createElement(O,{text:n.createElement(m.sA,{id:"COMMON_ROUTE"}),icon:n.createElement(f.A,{size:"original",color:e})}),n.createElement(O,{text:n.createElement(m.sA,{id:"COMMON_QOS"}),icon:n.createElement(f.A,{size:"original",color:e})}),n.createElement(O,{text:n.createElement(m.sA,{id:"COMMON_SCHEDULE"}),icon:n.createElement(f.A,{size:"original",color:e})})),n.createElement("svg",{width:"48",height:"86",viewBox:"0 0 48 86",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M0.5 1.25H19.6544C21.8635 1.25 23.6544 3.04086 23.6544 5.25V32.25C23.6544 34.4591 25.4452 36.25 27.6544 36.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"}),n.createElement("path",{d:"M0.5 29.25H14.7148C16.9239 29.25 18.7148 31.0409 18.7148 33.25V37.25C18.7148 39.4591 20.5056 41.25 22.7148 41.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"}),n.createElement("path",{d:"M0.5 58.25H14.8642C17.0734 58.25 18.8642 56.4591 18.8642 54.25V52.25C18.8642 50.0409 20.6551 48.25 22.8642 48.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"}),n.createElement("path",{d:"M0.5 85.25H21.0894C23.2985 85.25 25.0894 83.4591 25.0894 81.25V58.25C25.0894 56.0409 26.8803 54.25 29.0894 54.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"})),n.createElement(_,null,n.createElement(E.A,{flexDirection:"column",alignItems:"center",minWidth:100,position:"relative",padding:A.YC},n.createElement(E.A,{position:"absolute",top:-50,flexDirection:"column",alignItems:"center"},n.createElement("svg",{width:"105",height:"53",viewBox:"0 0 105 53",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M45.1071 15.0195L0.525879 52.6691H104.299L61.0599 15.0195H45.1071Z",fill:"url(#paint0_linear_0_1)"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.8306 19.6524V20.8434C53.8306 21.1722 53.5672 21.439 53.2427 21.439C52.9181 21.439 52.6547 21.1722 52.6547 20.8434V19.6524C52.6547 19.3237 52.9181 19.0569 53.2427 19.0569C53.5672 19.0569 53.8306 19.3237 53.8306 19.6524ZM48.779 18.2251L48.0229 19.1374C47.8148 19.3887 47.4432 19.4221 47.1951 19.2113C46.9458 19.0005 46.9129 18.6253 47.1222 18.3728L47.8783 17.4604C48.0864 17.2079 48.4568 17.1746 48.7061 17.3866C48.9554 17.5974 48.9883 17.9726 48.779 18.2251ZM59.361 18.37L58.6049 17.4577C58.3956 17.2052 58.0252 17.173 57.7771 17.3839C57.5278 17.5959 57.496 17.971 57.7042 18.2224L58.4603 19.1347C58.6696 19.3872 59.04 19.4194 59.2881 19.2086C59.5374 18.9977 59.5703 18.6214 59.361 18.37ZM53.0039 17.861C53.0838 17.8646 53.1626 17.8658 53.2414 17.8658C56.4881 17.8658 59.1209 15.2002 59.1209 11.9105C59.1209 10.3836 58.5541 8.99245 57.6204 7.93837C57.4476 7.74304 57.357 7.48696 57.357 7.22374V4.76421C57.357 4.65583 57.35 4.54863 57.3359 4.44382C57.1818 3.28016 56.1976 2.38211 55.0053 2.38211H51.4776C50.2852 2.38211 49.301 3.27897 49.147 4.44382C49.1328 4.54863 49.1258 4.65583 49.1258 4.76421V7.22969C49.1258 7.49887 49.0235 7.75376 48.8471 7.95505C47.8664 9.06987 47.2949 10.5611 47.3678 12.1892C47.5054 15.2538 49.9771 17.7407 53.0039 17.861ZM50.4593 4.16869C50.6627 3.81375 51.0437 3.57316 51.4776 3.57316H55.0053C55.4392 3.57316 55.8201 3.81375 56.0236 4.16869H50.4593ZM50.3017 5.35974H56.1811V6.55079H50.3017V5.35974ZM56.2388 7.74185C56.3223 8.11107 56.4951 8.45172 56.7456 8.734C57.5193 9.60704 57.945 10.735 57.945 11.9105C57.945 14.538 55.8354 16.6748 53.2414 16.6748C53.1779 16.6748 53.1132 16.6736 53.0497 16.6712C50.6333 16.5747 48.6531 14.5821 48.5425 12.1345C48.4861 10.8815 48.9071 9.6785 49.7255 8.7471C49.9807 8.45648 50.1582 8.10988 50.2429 7.74185H52.6535V10.124C52.6535 10.4527 52.9169 10.7195 53.2414 10.7195C53.4037 10.7195 53.5507 10.6528 53.6577 10.5456C53.7635 10.4372 53.8294 10.2883 53.8294 10.124V7.74185H56.2388Z",fill:"#FFDB1A"}),n.createElement("path",{d:"M48.7 7.40098C48.8889 7.14917 49.1852 7.00098 49.5 7.00098H57C57.3148 7.00098 57.6111 7.14917 57.8 7.40098L62.3 13.401C62.7944 14.0602 62.324 15.001 61.5 15.001H45C44.176 15.001 43.7056 14.0602 44.2 13.401L48.7 7.40098Z",fill:"#FFDB1A"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_0_1",x1:"52.4126",y1:"23.9961",x2:"52.4126",y2:"52.6691",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#FFDB1A",stopOpacity:"0.2"}),n.createElement("stop",{offset:"1",stopColor:"#FFDB1A",stopOpacity:"0"}))))),n.createElement(T.A,{size:"large",variant:"fill",color:e}),n.createElement(i.A,{size:"medium",color:"text-3"},n.createElement(m.sA,{id:"COMMON_DEVICES"}))))))),n.createElement("svg",{width:"56",height:"6",viewBox:"0 0 56 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M56 3L51 0.113249V5.88675L56 3ZM0 3.5H51.5V2.5H0V3.5Z",fill:"#99C5FF"})),n.createElement(E.A,{flexDirection:"column",gap:A.kc,alignItems:"center"},n.createElement(O,{text:n.createElement(m.sA,{id:"SETTINGS_POLICY_TABLE"})}),n.createElement(E.A,{alignItems:"center"},n.createElement(w,{hasBackground:!0},n.createElement(E.A,{flexDirection:"column",alignItems:"center",width:110},n.createElement(I.A,{size:"original",variant:"fill",color:e}),n.createElement(r.A,{color:"text-3",size:"medium",isCentered:!0},n.createElement(m.sA,{id:"SETTINGS_AUTOMAGIC_RULE_CREATION"})))),n.createElement("svg",{width:"52",height:"6",viewBox:"0 0 52 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M52 3L47 0.113249V5.88675L52 3ZM0 3.5H47.5V2.5H0V3.5Z",fill:"#99C5FF"})),n.createElement(w,{hasBackground:!0},n.createElement(E.A,{flexDirection:"column",alignItems:"center",width:110},n.createElement(v,{size:"original",variant:"fill",color:e}),n.createElement(r.A,{color:"text-3",size:"medium",isCentered:!0},n.createElement(m.sA,{id:"SETTINGS_ROUTING_TABLE"})))),n.createElement("svg",{width:"52",height:"6",viewBox:"0 0 52 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M0 3L5 0.113249V5.88675L0 3ZM52 3.5H4.5V2.5H52V3.5Z",fill:"#99C5FF"})),n.createElement(w,{hasBackground:!0},n.createElement(E.A,{flexDirection:"column",alignItems:"center",width:110},n.createElement(N.A,{size:"original",variant:"fill",color:e}),n.createElement(r.A,{color:"text-3",size:"medium",isCentered:!0},n.createElement(m.sA,{id:"SETTINGS_ZONES"}))))),n.createElement(E.A,{height:24}))))},M=()=>{const e=(0,a.useDispatch)(),t=(0,a.useSelector)(o.G8),l=(0,n.useCallback)(()=>{e((0,s.i4)({[c.Lv.OBJECTS_DIAGRAM_EXPANDED]:!t}))},[e,t]);return n.createElement(d.A,{isExpandedByDefault:t,onToggleClick:l,collapsedContent:n.createElement(E.A,{flexDirection:"column"},n.createElement(r.A,{variant:"heading-medium"},n.createElement(m.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_TITLE"})),n.createElement(r.A,{variant:"body-secondary"},n.createElement(m.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_DESCRIPTION"}))),expandedContent:n.createElement(E.A,{flexDirection:"column",gap:A.kc},n.createElement(E.A,{flexDirection:"column"},n.createElement(i.A,{variant:"heading-medium"},n.createElement(m.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_TITLE"})),n.createElement(i.A,{variant:"body-secondary"},n.createElement(m.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_DESCRIPTION"}))),n.createElement(R,null),n.createElement(E.A,{alignItems:"center"},n.createElement(C,null),n.createElement(i.A,{color:"text-2",size:"medium"},n.createElement(m.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_WARNING"}))))})}}}]);