(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/cloud-backup-restriction"],{1857:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var n=t(89),l=t(232),o=t(231),i=t(233),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(1858),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},1856:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>r});var n=t(232),l=t(231),o=t(85),i=t(1857);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)}},1858:e=>{e.exports=Jsw.skinUrl+"/images/plesk-backup.png?be7ccd9a753eba131152e1a8ee37351f"}}]);
//# sourceMappingURL=cloud-backup-restriction.js.map?41da408eebed39c94f10