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