"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/admin/dns/external-dns"],{1037:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var i=t(247),n=t.n(i),r=t(246),a=t(90),l=t(787),d=t(245);const o=({items:e})=>e&&e.length>1?(0,d.jsx)(r.Tabs,{active:e.findIndex((({containerCls:e})=>"active"===e))+1,children:e.map((({title:e,href:s},t)=>(0,d.jsx)(r.Tab,{title:e,component:l.default,to:(0,a.prepareUrl)(s)},t)))}):null;o.propTypes={items:n().arrayOf(n().shape({title:n().string.isRequired,href:n().string.isRequired,containerCls:n().string}))},o.defaultProps={items:void 0};const c=o},1796:(e,s,t)=>{t.r(s),t.d(s,{default:()=>f});var i=t(1037),n=t(751),r=t(246),a=t(90),l=t(247),d=t.n(l),o=t(739),c=t(245);const u=a.Locale.getSection("admin.controllers.dns.external-dns"),p=({tabs:e,modules:s})=>{const t=(0,o.useNavigate)();return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.default,{items:e}),(0,c.jsx)(r.Paragraph,{children:u.lmsg("hint")}),(0,c.jsx)(r.ItemList,{minColumnWidth:280,gap:"md",children:s.map((({id:e,title:s,isConfigured:i,iconUrl:n,href:a})=>(0,c.jsx)(r.Item,{icon:(0,c.jsx)(r.Icon,{src:n}),title:s,description:i?u.lmsg("configured"):u.lmsg("notConfigured"),onClick:()=>t(a)},e)))})]})};p.propTypes={tabs:i.default.propTypes.items.isRequired,modules:d().arrayOf(d().shape({id:d().string,title:d().string,isConfigured:d().bool,iconUrl:d().string,href:d().string})).isRequired};const f=(0,n.withPageLayout)(p)},1795:(e,s,t)=>{t.r(s),t.d(s,{default:()=>i.default});var i=t(1796)}}]);
//# sourceMappingURL=external-dns.js.map?8714304ba9f55720740b