(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/email-address/index"],{873:(e,s,t)=>{"use strict";t.r(s);var i=t(210),n=t.n(i),a=t(209),r=t(88),l=t(667),c=t(208);const o=({items:e})=>e&&e.length>1?(0,c.jsx)(a.Tabs,{active:e.findIndex((({containerCls:e})=>"active"===e))+1,children:e.map((({title:e,href:s},t)=>(0,c.jsx)(a.Tab,{title:e,component:l.default,to:(0,r.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},s.default=o},1056:(e,s,t)=>{"use strict";t.r(s);var i=t(210),n=t.n(i),a=t(209),r=t(88),l=t(873),c=t(697),o=t(208);const d=r.Locale.getTranslate("smb.controllers.email-address.index"),m=({tabs:e,webmailUrl:s,mailId:i,mailName:n})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.default,{items:e}),(0,o.jsx)("p",{children:(0,o.jsx)(d,{content:"buttonsAreaDescription"})}),(0,o.jsxs)(a.ItemList,{minColumnWidth:280,gap:"md",children:[s?(0,o.jsx)(a.Item,{component:"a",icon:(0,o.jsx)(a.Icon,{src:t(1057)}),title:(0,o.jsx)(d,{content:"buttonWebmail"}),description:(0,o.jsx)(d,{content:"hintWebmail"}),href:s,target:"_blank"}):null,(0,o.jsx)(a.Item,{component:"a",icon:(0,o.jsx)(a.Icon,{src:t(984)}),title:(0,o.jsx)(d,{content:"buttonEmailAddressSettings"}),description:(0,o.jsx)(d,{content:"hintEmailAddressSettings"}),href:`/smb/email-address/edit/id/${i}/`}),(0,o.jsx)(a.Item,{icon:(0,o.jsx)(a.Icon,{src:t(983)}),title:(0,o.jsx)(d,{content:"buttonConfigureMailApplication"}),description:(0,o.jsx)(d,{content:"hintConfigureMailApplication"}),onClick:()=>{Plesk.require("app/email-address/configure-client",(e=>{e({mailName:n,mailId:i,getConfigurationUrl:"/smb/email-address/configuration"})}))}})]})]});m.propTypes={tabs:l.default.propTypes.items,webmailUrl:n().string.isRequired,mailId:n().string.isRequired,mailName:n().string.isRequired},m.defaultProps={tabs:[]},s.default=(0,c.withPageLayout)(m)},1055:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>i.default});var i=t(1056)},983:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/manage.png?9fce3fccefdab269fb4a897f91509b5d"},984:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/preferences.png?3e21b876f5b895bcb4c400b77821ca53"},1057:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/web-mail.png?95c60e9a85dec6cabd3a404f9cb02f14"}}]);
//# sourceMappingURL=index.js.map?e824fec3e7ac3ded3aa8