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
13 KiB
1 line
13 KiB
6 years ago
|
{"version":3,"sources":["node_modules/matrix-react-sdk/lib/async-components/views/dialogs/ImportE2eKeysDialog.js"],"names":["Object","defineProperty","exports","value","_promise2","_interopRequireDefault","__webpack_require__","_react2","_propTypes2","Matrix","_interopRequireWildcard","MegolmExportEncryption","_index2","_languageHandler","obj","__esModule","newObj","key","prototype","hasOwnProperty","call","default","createClass","displayName","propTypes","matrixClient","instanceOf","MatrixClient","isRequired","onFinished","func","getInitialState","enableSubmit","phase","errStr","componentWillMount","this","_unmounted","componentWillUnmount","_onFormChange","ev","files","refs","file","setState","passphrase","length","_onFormSubmit","preventDefault","_startImport","_this","resolve","reject","reader","FileReader","onload","e","target","result","onerror","readAsArrayBuffer","readFileAsArrayBuffer","then","arrayBuffer","decryptMegolmKeyFile","keys","props","importRoomKeys","JSON","parse","catch","console","error","msg","friendlyText","_t","_onCancelClick","render","BaseDialog","getComponent","disableForm","state","createElement","className","title","onSubmit","htmlFor","ref","id","type","autoFocus","onChange","disabled","size","onClick","module"],"mappings":"2FAEAA,OAAAC,eAAAC,EAAA,cACAC,OAAA,IAGA,IAEAC,EAAAC,EAFeC,EAAQ,KAMvBC,EAAAF,EAFaC,EAAQ,IAMrBE,EAAAH,EAFiBC,EAAQ,IAMzBG,EAAAC,EAFmBJ,EAAQ,KAM3BK,EAAAD,EAF8BJ,EAAQ,MAMtCM,EAAAP,EAFaC,EAAQ,IAIrBO,EAAuBP,EAAQ,GAE/B,SAAAI,EAAAI,GAAuC,GAAAA,KAAAC,WAA6B,OAAAD,EAAqB,IAAAE,KAAiB,SAAAF,EAAmB,QAAAG,KAAAH,EAAuBd,OAAAkB,UAAAC,eAAAC,KAAAN,EAAAG,KAAAD,EAAAC,GAAAH,EAAAG,IAAsG,OAAtBD,EAAAK,QAAAP,EAAsBE,EAE1P,SAAAX,EAAAS,GAAsC,OAAAA,KAAAC,WAA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