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

{"version":3,"sources":["(webpack)/buildin/amd-define.js","(webpack)/buildin/amd-options.js","node_modules/matrix-react-sdk/lib/async-components/views/dialogs/ExportE2eKeysDialog.js","node_modules/file-saver/FileSaver.js"],"names":["module","exports","Error","__webpack_amd_options__","Object","defineProperty","value","_stringify2","_interopRequireDefault","_promise2","_fileSaver2","_react2","_propTypes2","_createReactClass2","_languageHandler","_matrixJsSdk","MegolmExportEncryption","obj","__esModule","newObj","key","prototype","hasOwnProperty","call","default","_interopRequireWildcard","_index2","displayName","propTypes","matrixClient","instanceOf","MatrixClient","isRequired","onFinished","func","getInitialState","phase","errStr","componentWillMount","this","_unmounted","componentWillUnmount","_onPassphraseFormSubmit","ev","preventDefault","passphrase","refs","passphrase1","passphrase2","setState","_t","_startExport","_this","resolve","then","props","exportRoomKeys","k","encryptMegolmKeyFile","f","blob","Blob","type","saveAs","catch","e","console","error","msg","friendlyText","_onCancelClick","render","BaseDialog","getComponent","disableForm","state","createElement","className","title","onSubmit","htmlFor","ref","id","autoFocus","size","disabled","onClick","view","navigator","test","userAgent","doc","document","get_URL","URL","webkitURL","save_link","createElementNS","can_use_save_link","is_safari","HTMLElement","safari","is_chrome_ios","throw_outside","ex","setImmediate","setTimeout","revoke","file","revokeObjectURL","remove","auto_bom","String","fromCharCode","FileSaver","name","no_auto_bom","object_url","filesaver","force","dispatch_all","event_types","event","i","concat","length","listener","dispatch","split","readyState","INIT","createObjectURL","node","href","download","MouseEvent","dispatchEvent","DONE","FileReader","reader","onloadend","url","result","replace","open","location","undefined","readAsDataURL","fs_error","FS_proto","msSaveOrOpenBlob","abort","WRITING","onwritestart","onprogress","onwrite","onabort","onerror","onwriteend","self","window","content"],"mappings":"4EAAAA,EAAOC,QAAU,WAChB,MAAM,IAAIC,MAAM,oC,oBCDjB,YACAF,EAAOC,QAAUE,I,gDCCjBC,OAAOC,eAAeJ,EAAS,aAAc,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