(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/cloud-backup-restriction"],{1976:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var n=t(94),l=t(242),o=t(241),i=t(243),r=t.n(i);class a extends o.Component{constructor(...e){super(...e),(0,n.default)(this,"state",{visible:!0}),(0,n.default)(this,"handleClose",(()=>{this.setState({visible:!1})}))}componentWillReceiveProps(){this.setState({visible:!0})}render(){return(0,o.jsx)(l.Dialog,{isOpen:this.state.visible,size:"sm",banner:t(1977),cancelTitle:(0,o.jsx)(l.Translate,{content:"cloudBackupRestrictionCloseButton"}),buttons:this.props.buyUrl?(0,o.jsx)(l.Button,{intent:"primary",icon:"shopping-cart",component:"a",href:this.props.buyUrl,target:!!this.props.buyUrlNewWindow&&"_blank",onClose:this.handleClose,children:(0,o.jsx)(l.Translate,{content:"cloudBackupRestrictionBuyButton"})}):null,onClose:this.handleClose,children:(0,o.jsx)(l.Translate,{content:this.props.buyUrl?"cloudBackupRestrictionDescriptionWithBuy":"cloudBackupRestrictionDescription"})})}}a.propTypes={buyUrl:r().string,buyUrlNewWindow:r().bool},a.defaultProps={buyUrl:null,buyUrlNewWindow:!0};const c=a},1975:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>r});var n=t(242),l=t(241),o=t(90),i=t(1976);const r=({container:e,...s})=>{(0,l.render)((0,l.jsx)(n.LocaleProvider,{messages:o.Locale.getSection("controllers.backup.schedule").messages,children:(0,l.jsx)(i.default,{...s})}),e)}},1977:e=>{e.exports=Jsw.skinUrl+"/images/plesk-backup.png?be7ccd9a753eba131152e1a8ee37351f"}}]);
//# sourceMappingURL=cloud-backup-restriction.js.map?f655ca7bac324ec26e43