(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/cloud-backup-restriction"],{1250:(e,s,t)=>{"use strict";t.r(s);var n=t(92),l=t(209),i=t(208),o=t(210),r=t.n(o);class a extends i.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,i.jsx)(l.Dialog,{isOpen:this.state.visible,size:"sm",banner:t(1251),cancelTitle:(0,i.jsx)(l.Translate,{content:"cloudBackupRestrictionCloseButton"}),buttons:this.props.buyUrl?(0,i.jsx)(l.Button,{intent:"primary",icon:"shopping-cart",component:"a",href:this.props.buyUrl,target:!!this.props.buyUrlNewWindow&&"_blank",onClose:this.handleClose,children:(0,i.jsx)(l.Translate,{content:"cloudBackupRestrictionBuyButton"})}):null,onClose:this.handleClose,children:(0,i.jsx)(l.Translate,{content:this.props.buyUrl?"cloudBackupRestrictionDescriptionWithBuy":"cloudBackupRestrictionDescription"})})}}a.propTypes={buyUrl:r().string,buyUrlNewWindow:r().bool},a.defaultProps={buyUrl:null,buyUrlNewWindow:!0},s.default=a},1249:(e,s,t)=>{"use strict";t.r(s);var n=t(209),l=t(208),i=t(88),o=t(1250);s.default=({container:e,...s})=>{(0,l.render)((0,l.jsx)(n.LocaleProvider,{messages:i.Locale.getSection("controllers.backup.schedule").messages,children:(0,l.jsx)(o.default,{...s})}),e)}},1251:e=>{e.exports=Jsw.skinUrl+"/images/plesk-backup.png?be7ccd9a753eba131152e1a8ee37351f"}}]);
//# sourceMappingURL=cloud-backup-restriction.js.map?fa9d7c4f0622e73770fc