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