"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[8213],{"./src/async-components/views/dialogs/security/RecoveryMethodRemovedDialog.tsx":(e,t,s)=>{s.r(t),s.d(t,{default:()=>m});var n=s("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=s("./node_modules/react/index.js"),r=s("./src/dispatcher/dispatcher.ts"),i=s("./src/languageHandler.tsx"),c=s("./src/Modal.tsx"),a=s("./src/dispatcher/actions.ts"),l=s("./src/components/views/dialogs/BaseDialog.tsx"),d=s("./src/components/views/elements/DialogButtons.tsx");class m extends o.PureComponent{constructor(...e){super(...e),(0,n.A)(this,"onGoToSettingsClick",(()=>{this.props.onFinished(),r.A.fire(a.r.ViewUserSettings)})),(0,n.A)(this,"onSetupClick",(()=>{this.props.onFinished(),c.Ay.createDialogAsync(s.e(5776).then(s.bind(s,"./src/async-components/views/dialogs/security/CreateKeyBackupDialog.tsx")),void 0,void 0,!1,!0)}))}render(){const e=o.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},(0,i._t)("encryption|recovery_method_removed|title"));return o.createElement(l.A,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:e},o.createElement("div",null,o.createElement("p",null,(0,i._t)("encryption|recovery_method_removed|description_1")),o.createElement("p",null,(0,i._t)("encryption|recovery_method_removed|description_2")),o.createElement("strong",{className:"warning"},(0,i._t)("encryption|recovery_method_removed|warning")),o.createElement(d.A,{primaryButton:(0,i._t)("common|setup_secure_messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:(0,i._t)("common|go_to_settings"),onCancel:this.onGoToSettingsClick})))}}}}]);
//# sourceMappingURL=8213.js.map