You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
7.3 KiB

{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/CreateKeyBackupDialog.tsx"],"names":["Phase","CreateKeyBackupDialog","React","PureComponent","constructor","props","super","createRef","copyNode","this","recoveryKeyNode","current","setState","copied","phase","KeepItSafe","blob","Blob","keyBackupInfo","recovery_key","type","FileSaver","saveAs","downloaded","async","secureSecretStorage","state","info","BackingUp","error","accessSecretStorage","MatrixClientPeg","get","prepareKeyBackupVersion","createKeyBackupVersion","scheduleAllGroupSessionsForBackup","Done","e","logger","deleteKeyBackupVersion","version","onFinished","Passphrase","ShowKey","preventDefault","passphraseField","validate","allowEmpty","valid","focus","focused","PassphraseConfirm","passPhrase","passPhraseConfirm","passPhraseValid","result","target","value","cli","doesServerSupportUnstableFeature","createBackup","renderPhasePassPhrase","onSubmit","onPassPhraseNextClick","_t","b","sub","className","onChange","onPassPhraseChange","minScore","onValidate","onPassPhraseValidate","fieldRef","autoFocus","label","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","primaryButton","onPrimaryButtonClick","hasCancel","disabled","kind","onClick","onSkipPassPhraseClick","renderPhasePassPhraseConfirm","matchText","changeText","startsWith","passPhraseMatch","onSetAgainClick","onPassPhraseConfirmNextClick","onPassPhraseConfirmChange","placeholder","renderPhaseShowKey","ref","onCopyClick","onDownloadClick","renderPhaseKeepItSafe","introText","s","onKeepItSafeBackClick","renderBusyPhase","renderPhaseDone","onDone","renderPhaseOptOutConfirm","onSetUpClick","onCancel","titleForPhase","OptOutConfirm","render","content","title","includes"],"mappings":"6IAmCKA,E,8IAAK,SAALA,KAAK,wBAALA,EAAK,uCAALA,EAAK,mBAALA,EAAK,0BAALA,EAAK,uBAALA,EAAK,YAALA,EAAK,iCAALA,MAAK,KA6BK,MAAMC,UAA8BC,IAAMC,cAK9CC,YAAYC,GACfC,MAAMD,GAAO,4DAJSE,uBAAwB,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