"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/dns-zone/external-dns"],{1155:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var r=t(287),i=t.n(r),n=t(286),l=t(89),a=t(645),o=t(285);const d=({items:e})=>e&&e.length>1?(0,o.jsx)(n.Tabs,{active:e.findIndex((({containerCls:e})=>"active"===e))+1,children:e.map((({title:e,href:s},t)=>(0,o.jsx)(n.Tab,{title:e,component:a.default,to:(0,l.prepareUrl)(s)},t)))}):null;d.propTypes={items:i().arrayOf(i().shape({title:i().string.isRequired,href:i().string.isRequired,containerCls:i().string}))};const c=d},1920:(e,s,t)=>{t.r(s),t.d(s,{default:()=>g});var r=t(1155),i=t(602),n=t(286),l=t(89),a=t(287),o=t.n(a),d=t(583),c=t(285);const u=l.Locale.getSection("smb.controllers.dns-zone.external-dns"),p=({tabs:e,modules:s})=>{const t=(0,d.useNavigate)();return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.default,{items:e}),(0,c.jsx)(n.Paragraph,{children:u.lmsg("hint")}),(0,c.jsx)(n.ItemList,{minColumnWidth:280,gap:"md",children:s.map((({id:e,title:s,isConfigured:r,iconUrl:i,href:a})=>(0,c.jsx)(n.Item,{icon:(0,c.jsx)(n.Icon,{src:i}),title:s,description:r?u.lmsg("configured"):u.lmsg("notConfigured"),onClick:()=>t((0,l.prepareUrl)(a))},e)))})]})};p.propTypes={tabs:r.default.propTypes.items.isRequired,modules:o().arrayOf(o().shape({id:o().string,title:o().string,isConfigured:o().bool,iconUrl:o().string,href:o().string})).isRequired};const g=(0,i.withPageLayout)(p)},1919:(e,s,t)=>{t.r(s),t.d(s,{default:()=>r.default});var r=t(1920)}}]);
//# sourceMappingURL=external-dns.js.map?6bdaf31052411c2d0bf8