(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/cloud-backup-restriction"],{2067:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var n=t(94),l=t(243),o=t(242),i=t(244),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(2068),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},2066:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>r});var n=t(243),l=t(242),o=t(90),i=t(2067);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)}},2068:e=>{e.exports=Jsw.skinUrl+"/images/plesk-backup.png?be7ccd9a753eba131152e1a8ee37351f"}}]);
//# sourceMappingURL=cloud-backup-restriction.js.map?321beb0998c66e89ba84