"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[9959],{739959:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var a=n(296540),i=n(469733),l=n(927099),s=n(71479),r=n(459449),o=n(126457),_=n(973581),c=n(705426);const m=(0,s.A)(c.A)`
  width: 388px !important;

  footer {
    border-top: none !important;
    padding-top: 0 !important;
  }
`,E=(0,s.A)("ul")`
  margin: ${({theme:{spacing:e}})=>e["spacing-l"]};
  padding: 0;

  li {
    margin-bottom: ${({theme:{spacing:e}})=>e["spacing-xs"]};
  }
`;var p;!function(e){e.DISABLE="disable",e.REMOVE="remove"}(p||(p={}));const A=({name:e,wlans:t})=>{const n=(0,i.useDispatch)(),s=(0,a.useCallback)(()=>{n((0,o.AS)())},[n]);return(0,_.A)(s),a.createElement(m,{size:"small",isOpen:!0,title:a.createElement(r.sA,{id:"SETTINGS_WIFI_FORM_ADVANCED_AP_GROUPS_REMOVE_AP_GROUP"}),actions:[{text:a.createElement(r.sA,{id:"COMMON_ACTION_CLOSE"}),type:"button",variant:"default",onClick:s}],onRequestClose:s},a.createElement(l.A,null,a.createElement(r.sA,{id:"SETTINGS_WIFI_FORM_ADVANCED_AP_GROUPS_REMOVE_FROM_WLANS_REMOVE_FROM_WIFI_NETWORKS",values:{name:e}})),a.createElement(E,null,t.map(({name:e,_id:t})=>a.createElement("li",{key:`wlan-item-${t}`},e))))}}}]);