"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[7579],{67759:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var r=n(296540),a=n(115709);const s=({activeItem:e})=>r.createElement(a.A,{activeItem:e,key:e?._id})},735463:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(296540),a=n(459449),s=n(294303),i=n(895424);const o=function({form:e,name:t}){const{formatMessage:n}=(0,a.tz)();return r.createElement(s.A,{width:110,flexDirection:"column"},r.createElement(i.A,{control:e.control,name:t,placeholder:n({id:"COMMON_PLACEHOLDER_EG"},{value:"1-10"})}))}},504779:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(271856),a=n(296540),s=n(641777),i=n(994133);const o=({reasons:e,reason:t,children:n,isInteractive:o,noWrap:c})=>{const l=(0,i.e)(),d=[t,...e||[]].filter(Boolean)[0]||null;return a.createElement(s.A,{isDisabled:!!d},a.createElement(r.A,{description:l?null:d,portal:!0,isInteractive:o,noWrap:c},n))}},62170:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(296540),a=n(349785),s=n(662297),i=n(459449),o=n(566723),c=n(994133),l=n(263963);const d=[];const u=function({control:e,name:t,tooltip:n,options:u,disabled:m,triggerButtonText:I,truncateLabels:g=!0,isWindowed:N,searchOptions:E,maxSelections:O,narrowTrigger:_}){const f=(0,c.e)(),A=(0,l.L_)();return r.createElement(a.xI,{control:e,name:t,render:({field:e,fieldState:c,formState:l})=>r.createElement(s.A,{name:e.name,onChange:t=>e.onChange(t),disabled:m??f??e.disabled,value:e.value||d,tooltipDescription:n,options:u,truncateLabels:g,invalid:c.invalid?A((0,a.Jt)(l.errors,t)?.message)||!0:void 0,translateTriggerButtonText:!1,triggerButtonText:I??r.createElement(i.sA,{id:"COMMON_EDIT_SELECTIONS"}),isWindowed:N,searchOptions:E,maxSelections:O,isFullWidth:!0,triggerButtonHeight:_?o.S2:void 0})})}},950700:(e,t,n)=>{n.d(t,{K:()=>o});var r=n(360847),a=n(546391),s=n(149133),i=n(263963);const o=r.Yj({message:(0,i.rn)("COMMON_VALIDATION_IPV4_SUBNET")}).regex(a.wK,{message:(0,i.rn)("COMMON_VALIDATION_IPV4_SUBNET")}).refine(s.N7,{message:(0,i.rn)("COMMON_VALIDATION_IPV4_SUBNET")})},976118:(e,t,n)=>{n.d(t,{L:()=>o,w:()=>i});var r=n(360847),a=n(263963);const s=/^\d+$/,i=e=>{if(!s.test(e))return!1;const t=parseInt(e,10);return!Number.isNaN(t)&&Number.isInteger(t)&&t>=1&&t<=65535},o=r.Yj().refine(e=>i(e),{message:(0,a.rn)("SETTINGS_COMMON_SINGLE_PORT_VALIDATION_REQUIRED")})},961386:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(360847);function a(e,{message:t}){return r.Ie(t=>r.KC(e).safeParse(t).success,{message:t})}}}]);