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
10 KiB

{"version":3,"sources":["webpack:///./node_modules/file-saver/dist/FileSaver.min.js","webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/CreateKeyBackupDialog.js"],"names":["c","a","b","d","XMLHttpRequest","open","responseType","onload","g","response","onerror","console","error","send","status","e","dispatchEvent","MouseEvent","document","createEvent","initMouseEvent","window","f","self","global","navigator","test","userAgent","saveAs","HTMLAnchorElement","prototype","h","i","URL","webkitURL","j","createElement","name","download","rel","href","origin","location","target","createObjectURL","setTimeout","revokeObjectURL","msSaveOrOpenBlob","autoBom","warn","type","Blob","title","body","innerText","HTMLElement","safari","FileReader","k","onloadend","result","replace","readAsDataURL","l","m","module","exports","PHASE_PASSPHRASE","PHASE_DONE","CreateKeyBackupDialog","React","PureComponent","constructor","props","super","n","this","_recoveryKeyNode","copyNode","setState","copied","phase","blob","_keyBackupInfo","recovery_key","FileSaver","downloaded","async","secureSecretStorage","state","info","accessSecretStorage","MatrixClientPeg","get","prepareKeyBackupVersion","createKeyBackupVersion","scheduleAllGroupSessionsForBackup","deleteKeyBackupVersion","version","onFinished","preventDefault","_passphraseField","current","validate","allowEmpty","valid","focus","focused","passPhrase","passPhraseConfirm","passPhraseValid","value","createRef","cli","doesServerSupportUnstableFeature","_createBackup","_renderPhasePassPhrase","DialogButtons","sdk","onSubmit","_onPassPhraseNextClick","_t","sub","className","onChange","_onPassPhraseChange","minScore","onValidate","_onPassPhraseValidate","fieldRef","autoFocus","label","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","primaryButton","onPrimaryButtonClick","hasCancel","disabled","kind","onClick","_onSkipPassPhraseClick","_renderPhasePassPhraseConfirm","AccessibleButton","matchText","changeText","startsWith","passPhraseMatch","element","_onSetAgainClick","_onPassPhraseConfirmNextClick","_onPassPhraseConfirmChange","placeholder","_renderPhaseShowKey","ref","_collectRecoveryKeyNode","_onCopyClick","_onDownloadClick","_renderPhaseKeepItSafe","introText","s","_onKeepItSafeBackClick","_renderBusyPhase","text","Spinner","_renderPhaseDone","_onDone","_renderPhaseOptOutConfirm","_onSetUpClick","_onCancel","_titleForPhase","render","BaseDialog","content","onCancel","includes","PropTypes","func","isRequired"],"mappings":"8EAAA,sBAAwD,EAAO,QAAI,0BAAF,EAA8F,WAAW,aAA4T,SAASA,EAAEC,EAAEC,EAAEF,GAAG,IAAIG,EAAE,IAAIC,eAAeD,EAAEE,KAAK,MAAMJ,GAAGE,EAAEG,aAAa,OAAOH,EAAEI,OAAO,WAAWC,EAAEL,EAAEM,SAASP,EAAEF,IAAIG,EAAEO,QAAQ,WAAWC,QAAQC,MAAM,4BAA4BT,EAAEU,OAAO,SAASV,EAAEF,GAAG,IAAIC,EAAE,IAAIE,eAAeF,EAAEG,KAAK,OAAOJ,GAAE,GAAI,IAAIC,EAAEW,OAAO,MAAMZ,IAAI,OAAO,KAAKC,EAAEY,QAAQ,KAAKZ,EAAEY,OAAO,SAASC,EAAEd,GAAG,IAAIA,EAAEe,cAAc,IAAIC,WAAW,UAAU,MAAMjB,GAAG,IAAIE,EAAEgB,SAASC,YAAY,eAAejB,EAAEkB,eAAe,SAAQ,GAAG,EAAGC,OAAO,EAAE,EAAE,EAAE,GAAG,IAAG,GAAG,GAAG,GAAG,EAAG,EAAE,MAAMpB,EAAEe,cAAcd,IAAI,IAAIoB,EAAE,iBAAiBD,QAAQA,OAAOA,SAASA,OAAOA,OAAO,iBAAiBE,MAAMA,KAAKA,OAAOA,KAAKA,KAAK,iBAAiBC,GAAQA,EAAOA,SAASA,EAAOA,OAAO,EAAOvB,EAAEqB,EAAEG,WAAW,YAAYC,KAAKD,UAAUE,YAAY,cAAcD,KAAKD,UAAUE,aAAa,SAASD,KAAKD,UAAUE,WAAWnB,EAAEc,EAAEM,SAAS,iBAAiBP,QAAQA,SAASC,EAAE,aAAa,aAAaO,kBAAkBC,YAAY7B,EAAE,SAASC,EAAEM,EAAEuB,GAAG,IA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