Compare commits

..

30 Commits

Author SHA1 Message Date
aandrieux fcae3e3465 Upgrade to v1.11.28 2023-04-03 11:56:23 +02:00
aandrieux b7499aec23 chore: ignore .well-known folder 2023-03-22 18:31:53 +01:00
aandrieux f82ab76e55 Upgrade to v1.11.25 2023-03-22 18:29:29 +01:00
aandrieux 630c48ec6d Upgrade to v1.11.24 2023-03-13 19:23:51 +01:00
aandrieux 2783d653a6 Upgrade to v1.8.4 2023-03-13 18:46:59 +01:00
aandrieux 83a59e0ddb Upgrade to v1.8.2 2021-09-03 12:33:56 +02:00
aandrieux 29bd9d5729 Upgrade to v1.8.1 2021-08-24 20:32:24 +02:00
aandrieux d060fd047d Upgrade to v1.7.33 2021-07-19 20:15:53 +02:00
aandrieux 067098cf21 Upgrade to v1.7.31 2021-06-28 00:34:16 +02:00
aandrieux 98b5268609 Upgrade to v1.7.30 2021-06-08 14:56:26 +02:00
aandrieux aefd9ec10a Upgrade to v1.7.29 2021-05-28 11:57:12 +02:00
aandrieux 1f868009bf Upgrade to v1.7.28 2021-05-19 11:39:14 +02:00
aandrieux 3dc83e35da Upgrade to v1.7.27 2021-05-11 14:51:24 +02:00
aandrieux f71864b0de Upgrade to v1.7.26 2021-04-29 17:30:37 +02:00
aandrieux 3dad957c37 Upgrade to v1.7.25 2021-04-23 13:28:06 +02:00
aandrieux b74a1ed892 Upgrade to v1.7.24 2021-03-30 20:04:31 +02:00
aandrieux a33c5b6d8c Upgrade to v1.7.23 2021-03-17 21:04:46 +01:00
aandrieux 6159cba7c0 Upgrade to v1.7.22 2021-03-01 19:04:29 +01:00
aandrieux 6aa3b6db43 Upgrade to v1.7.21 2021-02-26 11:59:32 +01:00
aandrieux 0d1d1fb0ac Upgrade to v1.7.20 2021-02-05 19:35:12 +01:00
aandrieux 4fea1823a1 Upgrade to v1.7.17 2021-01-19 20:09:05 +01:00
aandrieux 6fee5aa52c Upgrade to v1.7.16 2020-12-29 16:32:53 +01:00
aandrieux 9fd79a1761 Upgrade to v1.7.7 (Riot -> Element) 2020-09-25 16:59:56 +02:00
aandrieux 87f0e4a183 Upgrade to v1.6.4 2020-06-07 18:39:24 +02:00
aandrieux 973de16685 Upgrade to v1.6.2 2020-05-26 11:14:11 +02:00
aandrieux 3efea77ebe Upgrade to v1.6.0 2020-05-11 11:33:35 +02:00
aandrieux 8e2c58f005 Upgrade to v1.5.15 2020-04-01 20:44:22 +02:00
aandrieux fe8ad19ab9 Upgrade to v1.5.13 2020-03-24 23:11:59 +01:00
aandrieux 2e50ab8e84 Add .gitignore 2020-03-24 23:10:15 +01:00
aandrieux a5f67b86d1 Upgrade to v1.5.12 2020-03-05 13:25:22 +01:00
1071 changed files with 123822 additions and 52563 deletions
+3
View File
@@ -0,0 +1,3 @@
.htaccess
update-riot.sh
.well-known
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+18
View File
@@ -0,0 +1,18 @@
{
"applinks": {
"apps": [],
"details": [
{
"appID": "7J4U792NQT.im.vector.app",
"paths": [
"*"
]
}
]
},
"webcredentials": {
"apps": [
"7J4U792NQT.im.vector.app"
]
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1465:function(n,o,t){"use strict";t.r(o);var a=t(220);t.n(a).a.Easings.easeOutBounce=function(n){return 1-function(n){let o,t=4;for(;n<((o=Math.pow(2,--t))-1)/11;);return 1/Math.pow(4,3-t)-7.5625*Math.pow((3*o-2)/22-n,2)}(1-n)}}}]);
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1485:function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),r=n(11),i=n.n(r),c=n(2),o=n.n(c),d=n(1),s=n(4),u=n(15),m=n(3);t.default=i()({displayName:"EncryptedEventDialog",propTypes:{event:o.a.object.isRequired,onFinished:o.a.func.isRequired},getInitialState:function(){return{device:null}},componentWillMount:function(){this._unmounted=!1;const e=s.a.get();this.refreshDevice().then(t=>t||e.downloadKeys([this.props.event.getSender()],!0).then(()=>this.refreshDevice())).then(t=>{this._unmounted||(this.setState({device:t}),e.on("deviceVerificationChanged",this.onDeviceVerificationChanged))},e=>{console.log("Error downloading devices",e)})},componentWillUnmount:function(){this._unmounted=!0;const e=s.a.get();e&&e.removeListener("deviceVerificationChanged",this.onDeviceVerificationChanged)},refreshDevice:function(){return Promise.resolve(s.a.get().getEventSenderDeviceInfo(this.props.event))},onDeviceVerificationChanged:function(e,t){e==this.props.event.getSender()&&this.refreshDevice().then(e=>{this.setState({device:e})})},onKeyDown:function(e){e.key===u.a.ESCAPE&&(e.stopPropagation(),e.preventDefault(),this.props.onFinished(!1))},_renderDeviceInfo:function(){const e=this.state.device;if(!e)return l.a.createElement("i",null,Object(d.a)("unknown device"));let t=l.a.createElement("b",null,Object(d.a)("NOT verified"));return e.isBlocked()?t=l.a.createElement("b",null,Object(d.a)("Blacklisted")):e.isVerified()&&(t=Object(d.a)("verified")),l.a.createElement("table",null,l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Name")),l.a.createElement("td",null,e.getDisplayName())),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Device ID")),l.a.createElement("td",null,l.a.createElement("code",null,e.deviceId))),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Verification")),l.a.createElement("td",null,t)),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Ed25519 fingerprint")),l.a.createElement("td",null,l.a.createElement("code",null,e.getFingerprint())))))},_renderEventInfo:function(){const e=this.props.event;return l.a.createElement("table",null,l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("User ID")),l.a.createElement("td",null,e.getSender())),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Curve25519 identity key")),l.a.createElement("td",null,l.a.createElement("code",null,e.getSenderKey()||l.a.createElement("i",null,Object(d.a)("none"))))),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Claimed Ed25519 fingerprint key")),l.a.createElement("td",null,l.a.createElement("code",null,e.getKeysClaimed().ed25519||l.a.createElement("i",null,Object(d.a)("none"))))),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Algorithm")),l.a.createElement("td",null,e.getWireContent().algorithm||l.a.createElement("i",null,Object(d.a)("unencrypted")))),"m.bad.encrypted"===e.getContent().msgtype?l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Decryption error")),l.a.createElement("td",null,e.getContent().body)):null,l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Session ID")),l.a.createElement("td",null,l.a.createElement("code",null,e.getWireContent().session_id||l.a.createElement("i",null,Object(d.a)("none")))))))},render:function(){const e=m.a("elements.DeviceVerifyButtons");let t=null;return this.state.device&&(t=l.a.createElement(e,{device:this.state.device,userId:this.props.event.getSender()})),l.a.createElement("div",{className:"mx_EncryptedEventDialog",onKeyDown:this.onKeyDown},l.a.createElement("div",{className:"mx_Dialog_title"},Object(d.a)("End-to-end encryption information")),l.a.createElement("div",{className:"mx_Dialog_content"},l.a.createElement("h4",null,Object(d.a)("Event information")),this._renderEventInfo(),l.a.createElement("h4",null,Object(d.a)("Sender session information")),this._renderDeviceInfo()),l.a.createElement("div",{className:"mx_Dialog_buttons"},l.a.createElement("button",{className:"mx_Dialog_primary",onClick:this.props.onFinished,autoFocus:!0},Object(d.a)("OK")),t))}})}}]);
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{1480:function(e,n,s){"use strict";s.r(n),s.d(n,"default",(function(){return b}));var t=s(5),a=s.n(t),i=s(0),r=s.n(i),o=s(3),l=s(2),d=s.n(l),c=s(6),u=s(1),p=s(7),h=s(51);class b extends r.a.Component{constructor(e){super(e),a()(this,"_onDisable",async()=>{this.setState({disabling:!0}),await p.b.setValue("enableEventIndexing",null,p.a.DEVICE,!1),await h.a.deleteEventIndex(),this.props.onFinished(),c.a.dispatch({action:"view_user_settings"})}),this.state={disabling:!1}}render(){const e=o.a("views.dialogs.BaseDialog"),n=o.a("elements.Spinner"),s=o.a("views.elements.DialogButtons");return r.a.createElement(e,{onFinished:this.props.onFinished,title:Object(u.a)("Are you sure?")},Object(u.a)("If disabled, messages from encrypted rooms won't appear in search results."),this.state.disabling?r.a.createElement(n,null):r.a.createElement("div",null),r.a.createElement(s,{primaryButton:Object(u.a)("Disable"),onPrimaryButtonClick:this._onDisable,primaryButtonClass:"danger",cancelButtonClass:"warning",onCancel:this.props.onFinished,disabled:this.state.disabling}))}}a()(b,"propTypes",{onFinished:d.a.func.isRequired})}}]);
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{1487:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var a=n(5),o=n.n(a),s=n(0),l=n.n(s),r=n(3),i=n(2),c=n.n(i),m=n(1),u=n(7),d=n(9),g=n(48),h=n(51);class p extends l.a.Component{constructor(e){super(e),o()(this,"_onDisable",async()=>{d.a.createTrackedDialogAsync("Disable message search","Disable message search",n.e(15).then(n.bind(null,1480)),null,null,!1,!0)}),o()(this,"_onDone",()=>{this.props.onFinished(!0)}),o()(this,"_onCrawlerSleepTimeChange",e=>{this.setState({crawlerSleepTime:e.target.value}),u.b.setValue("crawlerSleepTime",null,u.a.DEVICE,e.target.value)}),this.state={eventIndexSize:0,eventCount:0,crawlingRoomsCount:0,roomCount:0,currentRoom:null,crawlerSleepTime:u.b.getValueAt(u.a.DEVICE,"crawlerSleepTime")}}async updateCurrentRoom(e){const t=h.a.get(),n=await t.getStats();let a=null;e&&(a=e.name);const o=t.crawlingRooms(),s=o.crawlingRooms.size,l=o.totalRooms.size;this.setState({eventIndexSize:n.size,eventCount:n.eventCount,crawlingRoomsCount:s,roomCount:l,currentRoom:a})}componentWillUnmount(){const e=h.a.get();null!==e&&e.removeListener("changedCheckpoint",this.updateCurrentRoom.bind(this))}async componentWillMount(){let e=0,t=0,n=0,a=0,o=null;const s=h.a.get();if(null!==s){s.on("changedCheckpoint",this.updateCurrentRoom.bind(this));const l=await s.getStats(),r=s.crawlingRooms();e=l.size,t=r.crawlingRooms.size,n=r.totalRooms.size,a=l.eventCount;const i=s.currentRoom();i&&(o=i.name)}this.setState({eventIndexSize:e,eventCount:a,crawlingRoomsCount:t,roomCount:n,currentRoom:o})}render(){let e;e=null===this.state.currentRoom?Object(m.a)("Not currently downloading messages for any room."):Object(m.a)("Downloading mesages for %(currentRoom)s.",{currentRoom:this.state.currentRoom});const t=r.a("views.elements.Field"),n=l.a.createElement("div",null,Object(m.a)("Riot is securely caching encrypted messages locally for them to appear in search results:"),l.a.createElement("div",{className:"mx_SettingsTab_subsectionText"},Object(m.a)("Space used:")," ",Object(g.a)(this.state.eventIndexSize,0),l.a.createElement("br",null),Object(m.a)("Indexed messages:")," ",Object(g.d)(this.state.eventCount),l.a.createElement("br",null),Object(m.a)("Indexed rooms:")," ",Object(m.a)("%(crawlingRooms)s out of %(totalRooms)s",{crawlingRooms:Object(g.d)(this.state.crawlingRoomsCount),totalRooms:Object(g.d)(this.state.roomCount)})," ",l.a.createElement("br",null),e,l.a.createElement("br",null),l.a.createElement(t,{id:"crawlerSleepTimeMs",label:Object(m.a)("Message downloading sleep time(ms)"),type:"number",value:this.state.crawlerSleepTime,onChange:this._onCrawlerSleepTimeChange}))),a=r.a("views.dialogs.BaseDialog"),o=r.a("views.elements.DialogButtons");return l.a.createElement(a,{className:"mx_ManageEventIndexDialog",onFinished:this.props.onFinished,title:Object(m.a)("Message search")},n,l.a.createElement(o,{primaryButton:Object(m.a)("Done"),onPrimaryButtonClick:this.props.onFinished,primaryButtonClass:"primary",cancelButton:Object(m.a)("Disable"),onCancel:this._onDisable,cancelButtonClass:"danger"}))}}o()(p,"propTypes",{onFinished:c.a.func.isRequired})}}]);
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1486:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return p}));var o=t(5),s=t.n(o),i=t(0),a=t.n(i),r=t(2),u=t.n(r),c=t(3),l=t(1);class p extends a.a.PureComponent{constructor(...e){super(...e),s()(this,"onDontAskAgainClick",()=>{this.props.onFinished(),this.props.onDontAskAgain()}),s()(this,"onSetupClick",()=>{this.props.onFinished(),this.props.onSetup()})}render(){const e=c.a("views.dialogs.BaseDialog"),n=c.a("views.elements.DialogButtons");return a.a.createElement(e,{className:"mx_IgnoreRecoveryReminderDialog",onFinished:this.props.onFinished,title:Object(l.a)("Are you sure?")},a.a.createElement("div",null,a.a.createElement("p",null,Object(l.a)("Without setting up Secure Message Recovery, you'll lose your secure message history when you log out.")),a.a.createElement("p",null,Object(l.a)("If you don't want to set this up now, you can later in Settings.")),a.a.createElement("div",{className:"mx_Dialog_buttons"},a.a.createElement(n,{primaryButton:Object(l.a)("Set up"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(l.a)("Don't ask again"),onCancel:this.onDontAskAgainClick}))))}}s()(p,"propTypes",{onDontAskAgain:u.a.func.isRequired,onFinished:u.a.func.isRequired,onSetup:u.a.func.isRequired})}}]);
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{1481:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var a=n(5),s=n.n(a),o=n(0),i=n.n(o),c=n(2),r=n.n(c),l=n(3),u=n(4),p=n(6),d=n(1),h=n(9);class m extends i.a.PureComponent{constructor(...e){super(...e),s()(this,"onOkClick",()=>{this.props.onFinished()}),s()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),p.a.dispatch({action:"view_user_settings"})}),s()(this,"onSetupClick",async()=>{const e=l.a("dialogs.keybackup.RestoreKeyBackupDialog");h.a.createTrackedDialog("Restore Backup","",e,{onFinished:this.props.onFinished},null,!1,!0)})}render(){const e=l.a("views.dialogs.BaseDialog"),t=l.a("views.elements.DialogButtons"),n=i.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("New Recovery Method")),a=i.a.createElement("p",null,Object(d.a)("A new recovery passphrase and key for Secure Messages have been detected.")),s=i.a.createElement("p",{className:"warning"},Object(d.a)("If you didn't set the new recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings."));let o;return o=u.a.get().getKeyBackupEnabled()?i.a.createElement("div",null,a,i.a.createElement("p",null,Object(d.a)("This session is encrypting history using the new recovery method.")),s,i.a.createElement(t,{primaryButton:Object(d.a)("OK"),onPrimaryButtonClick:this.onOkClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})):i.a.createElement("div",null,a,s,i.a.createElement(t,{primaryButton:Object(d.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})),i.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:n},o)}}s()(m,"propTypes",{newVersionInfo:r.a.object,onFinished:r.a.func.isRequired})}}]);
-1
View File
@@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{1482:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return h}));var n=a(5),s=a.n(n),i=a(0),o=a.n(i),c=a(2),r=a.n(c),l=a(3),u=a(6),d=a(1),p=a(9);class h extends o.a.PureComponent{constructor(...e){super(...e),s()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),u.a.dispatch({action:"view_user_settings"})}),s()(this,"onSetupClick",()=>{this.props.onFinished(),p.a.createTrackedDialogAsync("Key Backup","Key Backup",Promise.all([a.e(0),a.e(1)]).then(a.bind(null,1473)),null,null,!1,!0)})}render(){const e=l.a("views.dialogs.BaseDialog"),t=l.a("views.elements.DialogButtons"),a=o.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("Recovery Method Removed"));return o.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:a},o.a.createElement("div",null,o.a.createElement("p",null,Object(d.a)("This session has detected that your recovery passphrase and key for Secure Messages have been removed.")),o.a.createElement("p",null,Object(d.a)("If you did this accidentally, you can setup Secure Messages on this session which will re-encrypt this session's message history with a new recovery method.")),o.a.createElement("p",{className:"warning"},Object(d.a)("If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings.")),o.a.createElement(t,{primaryButton:Object(d.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}s()(h,"propTypes",{onFinished:r.a.func.isRequired})}}]);
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,145 +0,0 @@
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/**
* filesize
*
* @copyright 2017 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 3.5.6
*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
/*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*!
* content-type
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/
/**
* @license MIT
* @fileOverview Favico animations
* @author Miroslav Magda, http://blog.ejci.net
* @version 0.3.10
*/
/*@cc_on!@*/
/*!
* UAParser.js v0.7.21
* Lightweight JavaScript-based User-Agent string parser
* https://github.com/faisalman/ua-parser-js
*
* Copyright © 2012-2019 Faisal Salman <f@faisalman.com>
* Licensed under MIT License
*/
/*! https://mths.be/punycode v1.4.1 by @mathias */
/** @license React v16.12.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.12.0
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v0.18.0
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.12.0
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
* @version v5.2.6
* @link https://github.com/ten1seven/what-input
* @license MIT
*/
/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */
/*! http://mths.be/repeat v0.2.0 by @mathias */
/**
* gemini-scrollbar
* @version 1.4.3
* @link http://noeldelgado.github.io/gemini-scrollbar/
* @license MIT
*/
/*! modernizr 3.8.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-cssanimations-cssfilters-displaytable-es5-es6array-es6collections-fetch-flexbox-localstorage-objectfit-promises-sandbox-svg-svgasimg-svgfilters-setclasses-cssclassprefix:modernizr_ !*/
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1457)}({1457:function(e,t){const n=window.location.search.substring(1).split("&");let o;for(let e=0;e<n.length;++e){const t=n[e].split("=");"origin"===t[0]&&(o=decodeURIComponent(t[1]))}window.onmessage=function(e){e.origin===o&&(e.data.blob?function(e){const t=e.data,n=document.createElement("img");n.id="img",n.src=t.imgSrc,n.style=t.imgStyle;const o=document.createElement("a");o.id="a",o.rel="noopener",o.target="_blank",o.download=t.download,o.style=t.style,o.style.fontFamily="Arial, Helvetica, Sans-Serif",o.href=window.URL.createObjectURL(t.blob),o.appendChild(n),o.appendChild(document.createTextNode(t.textContent));const r=document.body;r.style="margin: 0px; overflow: hidden",r.appendChild(o)}(e):function(e){const t=e.data,n=document.getElementById("img");n.src=t.imgSrc,n.style=t.imgStyle,document.getElementById("a").style=t.style}(e))}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{483:function(t,e,i){"use strict";i.r(e),i.d(e,"DefaultOptions",(function(){return a})),i.d(e,"default",(function(){return c}));var n=i(13),s=i.n(n);function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){s()(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}const a={maxCount:150,speed:3,frameInterval:15,alpha:1,gradient:!1};class c{constructor(t){var e=this;s()(this,"options",void 0),s()(this,"context",null),s()(this,"supportsAnimationFrame",window.requestAnimationFrame),s()(this,"colors",["rgba(30,144,255,","rgba(107,142,35,","rgba(255,215,0,","rgba(255,192,203,","rgba(106,90,205,","rgba(173,216,230,","rgba(238,130,238,","rgba(152,251,152,","rgba(70,130,180,","rgba(244,164,96,","rgba(210,105,30,","rgba(220,20,60,"]),s()(this,"lastFrameTime",Date.now()),s()(this,"particles",[]),s()(this,"waveAngle",0),s()(this,"isRunning",!1),s()(this,"start",(async function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;if(!t)return;e.context=t.getContext("2d"),e.particles=[];const n=e.options.maxCount;for(;e.particles.length<n;)e.particles.push(e.resetParticle({},t.width,t.height));e.isRunning=!0,e.runAnimation(),i&&window.setTimeout(e.stop,i)})),s()(this,"stop",(async()=>{this.isRunning=!1})),s()(this,"resetParticle",((t,e,i)=>(t.color=this.colors[Math.random()*this.colors.length|0]+(this.options.alpha+")"),this.options.gradient?t.color2=this.colors[Math.random()*this.colors.length|0]+(this.options.alpha+")"):t.color2=t.color,t.x=Math.random()*e,t.y=Math.random()*-i,t.diameter=10*Math.random()+5,t.tilt=-10*Math.random(),t.tiltAngleIncrement=.07*Math.random()+.05,t.tiltAngle=Math.random()*Math.PI,t))),s()(this,"runAnimation",(()=>{if(this.context&&this.context.canvas)if(0===this.particles.length)this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height);else{const t=Date.now(),e=t-this.lastFrameTime;(!this.supportsAnimationFrame||e>this.options.frameInterval)&&(this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height),this.updateParticles(),this.drawParticles(this.context),this.lastFrameTime=t-e%this.options.frameInterval),requestAnimationFrame(this.runAnimation)}})),s()(this,"drawParticles",(t=>{if(!this.context||!this.context.canvas)return;let e,i,n;for(const s of this.particles){if(this.context.beginPath(),t.lineWidth=s.diameter,i=s.x+s.tilt,e=i+s.diameter/2,n=s.y+s.tilt+s.diameter/2,this.options.gradient){const r=t.createLinearGradient(e,s.y,i,n);r.addColorStop(0,s.color),r.addColorStop(1,s.color2),t.strokeStyle=r}else t.strokeStyle=s.color;t.moveTo(e,s.y),t.lineTo(i,n),t.stroke()}})),s()(this,"updateParticles",(()=>{if(!this.context||!this.context.canvas)return;const t=this.context.canvas.width,e=this.context.canvas.height;let i;this.waveAngle+=.01;for(let n=0;n<this.particles.length;n++)i=this.particles[n],!this.isRunning&&i.y<-15?i.y=e+100:(i.tiltAngle+=i.tiltAngleIncrement,i.x+=Math.sin(this.waveAngle)-.5,i.y+=.5*(Math.cos(this.waveAngle)+i.diameter+this.options.speed),i.tilt=15*Math.sin(i.tiltAngle)),(i.x>t+20||i.x<-20||i.y>e)&&(this.isRunning&&this.particles.length<=this.options.maxCount?this.resetParticle(i,t,e):(this.particles.splice(n,1),n--))})),this.options=o(o({},a),t)}}}}]);
//# sourceMappingURL=1.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/confetti/index.ts"],"names":["DefaultOptions","maxCount","speed","frameInterval","alpha","gradient","Confetti","constructor","options","_this","_defineProperty","window","requestAnimationFrame","Date","now","async","canvas","timeout","arguments","length","undefined","context","getContext","particles","count","push","resetParticle","width","height","isRunning","runAnimation","setTimeout","stop","this","particle","color","colors","Math","random","color2","x","y","diameter","tilt","tiltAngleIncrement","tiltAngle","PI","clearRect","delta","lastFrameTime","supportsAnimationFrame","updateParticles","drawParticles","x2","y2","beginPath","lineWidth","createLinearGradient","addColorStop","strokeStyle","moveTo","lineTo","stroke","waveAngle","i","sin","cos","splice","_objectSpread"],"mappings":"8wBAqDO,MAAMA,EAAkC,CAC3CC,SAAU,IACVC,MAAO,EACPC,cAAe,GACfC,MAAO,EACPC,UAAU,GAGC,MAAMC,EAGVC,YAAYC,GAAiC,IAAAC,EAAA,KAAAC,IAAA,uBAAAA,IAAA,eAID,MAAIA,IAAA,8BACtBC,OAAOC,uBAAqBF,IAAA,cAC5C,CACb,mBACA,mBACA,kBACA,oBACA,mBACA,oBACA,oBACA,oBACA,mBACA,mBACA,mBACA,oBACHA,IAAA,qBAEuBG,KAAKC,OAAKJ,IAAA,iBACW,IAAEA,IAAA,i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,IAAIC,EAAI,EAAGA,EAAI/B,KAAKV,UAAUJ,OAAQ6C,IACvC9B,EAAWD,KAAKV,UAAUyC,IACrB/B,KAAKJ,WAAaK,EAASO,GAAK,GACjCP,EAASO,EAAIb,EAAS,KAEtBM,EAASW,WAAaX,EAASU,mBAC/BV,EAASM,GAAKH,KAAK4B,IAAIhC,KAAK8B,WAAa,GACzC7B,EAASO,GAA2E,IAArEJ,KAAK6B,IAAIjC,KAAK8B,WAAa7B,EAASQ,SAAWT,KAAKzB,QAAQN,OAC3EgC,EAASS,KAAsC,GAA/BN,KAAK4B,IAAI/B,EAASW,aAElCX,EAASM,EAAIb,EAAQ,IAAMO,EAASM,GAAK,IAAMN,EAASO,EAAIb,KACxDK,KAAKJ,WAAaI,KAAKV,UAAUJ,QAAUc,KAAKzB,QAAQP,SACxDgC,KAAKP,cAAcQ,EAAUP,EAAOC,IAEpCK,KAAKV,UAAU4C,OAAOH,EAAG,GACzBA,KAGZ,IAvIA/B,KAAKzB,QAAO4D,IAAA,GAAQpE,GAAmBQ,EAC3C,E","file":"bundles/d5199ce8154383887d49/1.js","sourceRoot":""}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{913:function(n,w){}}]);
//# sourceMappingURL=11.js.map
@@ -0,0 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundles/d5199ce8154383887d49/11.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{914:function(n,w,o){"use strict";o.r(w)}}]);
//# sourceMappingURL=12.js.map
@@ -0,0 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundles/d5199ce8154383887d49/12.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{484:function(t,i,e){"use strict";e.r(i),e.d(i,"DefaultOptions",(function(){return r})),e.d(i,"default",(function(){return h}));var n=e(13),s=e.n(n);function o(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function a(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?o(Object(e),!0).forEach((function(i){s()(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}const r={maxCount:500,gravity:.05};class h{constructor(t){var i=this;s()(this,"options",void 0),s()(this,"context",null),s()(this,"supportsAnimationFrame",window.requestAnimationFrame),s()(this,"particles",[]),s()(this,"isRunning",!1),s()(this,"start",(async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;t&&(i.isRunning=!0,i.context=t.getContext("2d"),i.supportsAnimationFrame.call(window,i.updateWorld),e&&window.setTimeout(i.stop,e))})),s()(this,"updateWorld",(()=>{(this.isRunning||0!==this.particles.length)&&(this.update(),this.paint(),this.supportsAnimationFrame.call(window,this.updateWorld))})),s()(this,"update",(()=>{this.particles.length<this.options.maxCount&&this.isRunning&&this.createFirework();const t=[];for(let i=0;i<this.particles.length;i++)this.move(this.particles[i])&&t.push(this.particles[i]);this.particles=t})),s()(this,"paint",(()=>{if(this.context&&this.context.canvas){this.context.globalCompositeOperation="destination-out",this.context.fillStyle="rgba(0,0,0,0.5)",this.context.fillRect(0,0,this.context.canvas.width,this.context.canvas.height),this.context.globalCompositeOperation="lighter";for(let t=0;t<this.particles.length;t++)this.drawParticle(this.particles[t])}})),s()(this,"createFirework",(()=>{if(!this.context||!this.context.canvas)return;const t=this.context.canvas.width,i=this.context.canvas.height,e=Math.random()*(t-200)+100,n=Math.random()*(i-200)+100,s=50*Math.random()+100,o="rgb("+~~(200*Math.random()+55)+","+~~(200*Math.random()+55)+","+~~(200*Math.random()+55)+")";for(let t=0;t<s;t++){const t={};t.color=o,t.w=t.h=4*Math.random()+1,t.x=e-t.w/2,t.y=n-t.h/2,t.vx=10*(Math.random()-.5),t.vy=10*(Math.random()-.5),t.alpha=.5*Math.random()+.5;const i=Math.sqrt(25-t.vx*t.vx);Math.abs(t.vy)>i&&(t.vy=t.vy>0?i:-i),this.particles.push(t)}})),s()(this,"stop",(async()=>{this.isRunning=!1})),s()(this,"drawParticle",(t=>{this.context&&this.context.canvas&&(this.context.save(),this.context.beginPath(),this.context.translate(t.x+t.w/2,t.y+t.h/2),this.context.arc(0,0,t.w,0,2*Math.PI),this.context.fillStyle=t.color,this.context.globalAlpha=t.alpha,this.context.closePath(),this.context.fill(),this.context.restore())})),s()(this,"move",(t=>(t.x+=t.vx,t.vy+=this.options.gravity,t.y+=t.vy,t.alpha-=.01,!(t.x<=-t.w||t.x>=screen.width||t.y>=screen.height||t.alpha<=0)))),this.options=a(a({},r),t)}}}}]);
//# sourceMappingURL=2.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/fireworks/index.ts"],"names":["DefaultOptions","maxCount","gravity","Fireworks","constructor","options","_this","_defineProperty","window","requestAnimationFrame","async","canvas","timeout","arguments","length","undefined","isRunning","context","getContext","supportsAnimationFrame","call","updateWorld","setTimeout","stop","this","particles","update","paint","createFirework","alive","i","move","push","globalCompositeOperation","fillStyle","fillRect","width","height","drawParticle","xPoint","Math","random","yPoint","nFire","color","particle","w","h","x","y","vx","vy","alpha","sqrt","abs","save","beginPath","translate","arc","PI","globalAlpha","closePath","fill","restore","screen","_objectSpread"],"mappings":"8wBAyDO,MAAMA,EAAmC,CAC5CC,SAAU,IACVC,QAAS,KAGE,MAAMC,EAGVC,YAAYC,GAAiC,IAAAC,EAAA,KAAAC,IAAA,uBAAAA,IAAA,eAID,MAAIA,IAAA,8BACtBC,OAAOC,uBAAqBF,IAAA,iB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rC,KAAKP,QAAQ6C,OACbtC,KAAKP,QAAQ8C,UAAS,IACzBxD,IAAA,aAEesC,IACZA,EAASG,GAAKH,EAASK,GACvBL,EAASM,IAAM3B,KAAKnB,QAAQH,QAC5B2C,EAASI,GAAKJ,EAASM,GACvBN,EAASO,OAAS,MAEdP,EAASG,IAAMH,EAASC,GACxBD,EAASG,GAAKgB,OAAO5B,OACrBS,EAASI,GAAKe,OAAO3B,QACrBQ,EAASO,OAAS,MAjHtB5B,KAAKnB,QAAO4D,IAAA,GAAQjE,GAAmBK,EAC3C,E","file":"bundles/d5199ce8154383887d49/2.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{485:function(t,e,i){"use strict";i.r(e),i.d(e,"DefaultOptions",(function(){return c})),i.d(e,"default",(function(){return h}));var n=i(13),o=i.n(n),s=i(146);function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){o()(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}const c={maxCount:120,gravity:3.2,maxDrift:5,maxRot:5};class h{constructor(t){var e=this;o()(this,"options",void 0),o()(this,"context",null),o()(this,"particles",[]),o()(this,"lastAnimationTime",0),o()(this,"colours",["rgba(194,210,224,1)","rgba(235,214,219,1)","rgba(255,211,45,1)","rgba(255,190,174,1)","rgba(255,173,226,1)","rgba(242,114,171,1)","rgba(228,55,116,1)","rgba(255,86,130,1)","rgba(244,36,57,1)","rgba(247,126,157,1)","rgba(243,142,140,1)","rgba(252,116,183,1)"]),o()(this,"isRunning",!1),o()(this,"start",(async function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;if(!t)return;e.context=t.getContext("2d"),e.particles=[];const n=e.options.maxCount;for(;e.particles.length<n;)e.particles.push(e.resetParticle({},t.width,t.height));e.isRunning=!0,requestAnimationFrame(e.renderLoop),i&&window.setTimeout(e.stop,i)})),o()(this,"stop",(async()=>{this.isRunning=!1})),o()(this,"resetParticle",((t,e,i)=>(t.color=this.colours[Math.random()*this.colours.length|0],t.x=Math.random()*e,t.y=Math.random()*i+i,t.xCol=t.x,t.scale=.07*Math.random()+.04,t.maximumDrift=Math.random()*this.options.maxDrift+3.5,t.maximumRot=Math.random()*this.options.maxRot+3.5,t.gravity=this.options.gravity+4.8*Math.random(),t))),o()(this,"renderLoop",(()=>{if(this.context&&this.context.canvas)if(0===this.particles.length)this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height);else{(Date.now()-this.lastAnimationTime>=15||!this.lastAnimationTime)&&(this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height),this.lastAnimationTime=Date.now(),this.animateAndRenderHearts()),requestAnimationFrame(this.renderLoop)}})),this.options=a(a({},c),t)}animateAndRenderHearts(){if(this.context&&this.context.canvas)for(const t of Object(s.b)(this.particles)){t.y-=t.gravity;const e=75*t.maximumDrift,i=2*Math.PI;t.x=6*t.maximumDrift*Math.sin(i/e*.7*t.y),t.x+=t.xCol;const n=1/t.scale,o=t.x*n,s=t.y*n;if(this.context.save(),this.context.scale(t.scale,t.scale),this.context.beginPath(),this.context.translate(248+o,215+s),this.context.rotate(.1*t.maximumRot*Math.sin(i/e*t.y*.8)),this.context.translate(-248-o,-215-s),this.context.moveTo(140+o,20+s),this.context.bezierCurveTo(73+o,20+s,20+o,74+s,20+o,140+s),this.context.bezierCurveTo(20+o,275+s,156+o,310+s,248+o,443+s),this.context.bezierCurveTo(336+o,311+s,477+o,270+s,477+o,140+s),this.context.bezierCurveTo(477+o,74+s,423+o,20+s,357+o,20+s),this.context.bezierCurveTo(309+o,20+s,267+o,48+s,248+o,89+s),this.context.bezierCurveTo(229+o,48+s,188+o,20+s,140+o,20+s),this.context.closePath(),this.context.fillStyle=t.color,this.context.fill(),this.context.restore(),t.y<-100){const e=this.particles.indexOf(t);this.particles.splice(e,1)}}}}}}]);
//# sourceMappingURL=3.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/hearts/index.ts"],"names":["DefaultOptions","maxCount","gravity","maxDrift","maxRot","Hearts","constructor","options","_this","_defineProperty","async","canvas","timeout","arguments","length","undefined","context","getContext","particles","count","push","resetParticle","width","height","isRunning","requestAnimationFrame","renderLoop","window","setTimeout","stop","this","particle","color","colours","Math","random","x","y","xCol","scale","maximumDrift","maximumRot","clearRect","Date","now","lastAnimationTime","animateAndRenderHearts","_objectSpread","arrayFastClone","peakDistance","PI2","PI","sin","posScale","save","beginPath","translate","rotate","moveTo","bezierCurveTo","closePath","fillStyle","fill","restore","idx","indexOf","splice"],"mappings":"uxBAiDO,MAAMA,EAA+B,CACxCC,SAAU,IACVC,QAAS,IACTC,SAAU,EACVC,OAAQ,GAKG,MAAMC,EAGVC,YAAYC,GAAiC,IAAAC,EAAA,KAAAC,IAAA,uBAAAA,IAAA,eAID,MAAIA,IAAA,iBACrB,IAAEA,IAAA,yBACR,GAACA,IAAA,eAEX,CACd,sBACA,sBACA,qBACA,sBACA,sBACA,sBACA,qBACA,qBACA,oBACA,sBACA,sBACA,wBACHA,IAAA,kBAEkB,GAAKA,IAAA,cAETC,eAAOC,GAA6D,IAAlCC,EAAOC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IACvD,IAAKF,EACD,OAEJH,EAAKQ,QAAUL,EAAOM,WAAW,MACjCT,EAAKU,UAAY,GACjB,MAAMC,EAAQX,EAAKD,QAAQN,SAC3B,KAAOO,EAAKU,UAAUJ,OAASK,GAC3BX,EAAKU,UAAUE,KAAKZ,EAAKa,c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Q2C,cAAc,IAAMvB,EAAG,GAAKC,EAAG,IAAMD,EAAG,GAAKC,EAAG,IAAMD,EAAG,GAAKC,GAC3EP,KAAKd,QAAQ4C,YAEb9B,KAAKd,QAAQ6C,UAAY9B,EAASC,MAClCF,KAAKd,QAAQ8C,OAEbhC,KAAKd,QAAQ+C,UAGThC,EAASM,GAAK,IAAK,CACnB,MAAM2B,EAAMlC,KAAKZ,UAAU+C,QAAQlC,GACnCD,KAAKZ,UAAUgD,OAAOF,EAAK,EAC/B,CACJ,CACJ,E","file":"bundles/d5199ce8154383887d49/3.js","sourceRoot":""}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{403:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return c}));var o=n(136),r=n(124),a=n(128);function i(e){r.a.dispatch({action:a.a.EditEvent,event:null,timelineRenderingType:e.timelineRenderingType}),r.a.dispatch({action:a.a.FocusSendMessageComposer,context:e.timelineRenderingType})}function c(e,t){const n=t.getEvent().replacingEvent();!n||n.status!==o.EventStatus.QUEUED&&n.status!==o.EventStatus.NOT_SENT||e.cancelPendingEvent(n)}},926:function(e,t,n){"use strict";n.r(t),n.d(t,"sendMessage",(function(){return T})),n.d(t,"editMessage",(function(){return w}));var o=n(132),r=n.n(o),a=n(170),i=n(189),c=n(125),s=n(452),l=n(270),d=n(247),m=n(308),u=n(124),p=n(377),g=n(403),y=n(13),b=n.n(y),f=n(643),v=n(136),O=n(227);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){b()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}async function h(e,t,n){let{relation:o,replyToEvent:r,permalinkCreator:a,includeReplyLegacyFallback:i=!0,editedEvent:s}=n;const l=Boolean(s),d=l?Boolean(null==s?void 0:s.replyEventId):Boolean(r),m=l&&d,u=t?await Object(f.richToPlain)(e):e,p=m&&function(e){const t=e.getContent().body;if("string"!=typeof t)return"";const n=t.split("\n").map((e=>e.trim()));return n.length>2&&n[0].startsWith("> ")&&0===n[1].length?`${n[0]}\n\n`:""}(s)||"",g=m&&function(e){const t=e.getContent().formatted_body;if(!t)return"";const n=(new DOMParser).parseFromString(t,"text/html").body.querySelector("mx-reply");return n&&n.outerHTML||""}(s)||"",y={msgtype:v.MsgType.Text,body:l?`${p} * ${u}`:u},b=c.b.getValue("MessageComposerInput.useMarkdown"),E=t?e:b?await Object(f.plainToRich)(e):null;E&&(y.format="org.matrix.custom.html",y.formatted_body=l?`${g} * ${E}`:E),l&&(y["m.new_content"]={msgtype:y.msgtype,body:u},E&&(y["m.new_content"].format="org.matrix.custom.html",y["m.new_content"].formatted_body=E));return function(e,t){t&&(e["m.relates_to"]=_(_({},e["m.relates_to"]||{}),t))}(y,l?_(_({},o),{},{rel_type:"m.replace",event_id:s.getId()}):o),!l&&r&&a&&Object(O.a)(y,r,{permalinkCreator:a,includeLegacyFallback:i}),y}const j=["roomContext","mxClient"];async function T(e,t,n){let{roomContext:o,mxClient:p}=n,g=r()(n,j);const{relation:y,replyToEvent:b}=g,{room:f}=o,v=null==f?void 0:f.roomId;if(!v)return;const O={eventName:"Composer",isEditing:!1,isReply:Boolean(b),inThread:(null==y?void 0:y.rel_type)===a.d.name};i.a.instance.trackEvent(O);const E=await h(e,t,g);if(!E.body.trim())return;c.b.getValue("Performance.addSendMessageTimingMetadata")&&Object(s.a)(E);const _=null!=y&&y.event_id&&(null==y?void 0:y.rel_type)===a.d.name?y.event_id:null,T=Object(l.a)(v,(e=>p.sendMessage(e,_,E)),p);return b&&u.a.dispatch({action:"reply_to_event",event:null,context:o.timelineRenderingType}),u.a.dispatch({action:"message_sent"}),d.CHAT_EFFECTS.forEach((e=>{if(Object(m.containsEmoji)(E,e.emojis)){(null==y?void 0:y.rel_type)!==a.d.name&&u.a.dispatch({action:`effects.${e.command}`})}})),c.b.getValue("Performance.addSendMessageTimingMetadata")&&T.then((e=>{Object(s.b)(p,v,e.event_id)})),c.b.getValue("scrollToBottomOnMessageSent")&&u.a.dispatch({action:"scroll_to_bottom",timelineRenderingType:o.timelineRenderingType}),T}async function w(e,t){let{roomContext:n,mxClient:o,editorStateTransfer:r}=t;const a=r.getEvent();i.a.instance.trackEvent({eventName:"Composer",isEditing:!0,inThread:Boolean(null==a?void 0:a.getThread()),isReply:Boolean(a.replyEventId)});const c=await h(e,!0,{editedEvent:a}),s=c["m.new_content"];if(""===(null==s?void 0:s.body))return Object(g.a)(o,r),void Object(p.a)({mxEvent:a,onCloseDialog:()=>{Object(g.b)(n)}});let l;const d=a.getRoomId();if(function(e,t){const n=t.getEvent().getContent();return n.msgtype!==e.msgtype||n.body!==e.body||n.format!==e.format||n.formatted_body!==e.formatted_body}(s,r)&&d){Object(g.a)(o,r);const e=r.getEvent().threadRootId||null;l=o.sendMessage(d,e,c),u.a.dispatch({action:"message_sent"})}return Object(g.b)(n),l}}}]);
//# sourceMappingURL=36.js.map
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{1543:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return w}));var a=n(13),s=n.n(a),i=n(120),r=n.n(i),l=n(135),o=n(134),d=n(145),c=n(124),u=n(121),p=n(125),b=n(316),h=n(128),m=n(137);class w extends r.a.Component{constructor(e){super(e),s()(this,"onDisable",(async()=>{this.setState({disabling:!0}),await p.b.setValue("enableEventIndexing",null,m.a.DEVICE,!1),await b.a.deleteEventIndex(),this.props.onFinished(!0),c.a.fire(h.a.ViewUserSettings)})),this.state={disabling:!1}}render(){return r.a.createElement(l.a,{onFinished:this.props.onFinished,title:Object(u.a)("Are you sure?")},Object(u.a)("If disabled, messages from encrypted rooms won't appear in search results."),this.state.disabling?r.a.createElement(o.a,null):r.a.createElement("div",null),r.a.createElement(d.a,{primaryButton:Object(u.a)("Disable"),onPrimaryButtonClick:this.onDisable,primaryButtonClass:"danger",cancelButtonClass:"warning",onCancel:this.props.onFinished,disabled:this.state.disabling}))}}}}]);
//# sourceMappingURL=37.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/eventindex/DisableEventIndexDialog.tsx"],"names":["DisableEventIndexDialog","React","Component","constructor","props","super","_defineProperty","async","this","setState","disabling","SettingsStore","setValue","SettingLevel","DEVICE","EventIndexPeg","deleteEventIndex","onFinished","dis","fire","Action","ViewUserSettings","state","render","createElement","BaseDialog","title","_t","Spinner","DialogButtons","primaryButton","onPrimaryButtonClick","onDisable","primaryButtonClass","cancelButtonClass","onCancel","disabled"],"mappings":"mQAuCe,MAAMA,UAAgCC,IAAMC,UAChDC,YAAYC,GACfC,MAAMD,GAAOE,IAAA,kBAMGC,UAChBC,KAAKC,SAAS,CACVC,WAAW,UAGTC,IAAcC,SAAS,sBAAuB,KAAMC,IAAaC,QAAQ,SACzEC,IAAcC,mBACpBR,KAAKJ,MAAMa,YAAW,GACtBC,IAAIC,KAAKC,IAAOC,iBAAiB,IAbjCb,KAAKc,MAAQ,CACTZ,WAAW,EAEnB,CAaOa,SACH,OACItB,IAAAuB,cAACC,IAAU,CAACR,WAAYT,KAAKJ,MAAMa,WAAYS,MAAOC,YAAG,kBACpDA,YAAG,8EACHnB,KAAKc,MAAMZ,UAAYT,IAAAuB,cAACI,IAAO,MAAM3B,IAAAuB,cAAA,YACtCvB,IAAAuB,cAACK,IAAa,CACVC,cAAeH,YAAG,WAClBI,qBAAsBvB,KAAKwB,UAC3BC,mBAAmB,SACnBC,kBAAkB,UAClBC,SAAU3B,KAAKJ,MAAMa,WACrBmB,SAAU5B,KAAKc,MAAMZ,YAIrC,E","file":"bundles/d5199ce8154383887d49/37.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{1567:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return C}));var o=n(13),a=n.n(o),s=n(120),r=n.n(s),l=n(121),i=n(131),c=n(125),u=n(127),m=n(211),d=n(316),h=n(137),g=n(139),b=n(135),p=n(145);class C extends r.a.Component{constructor(e){super(e),a()(this,"updateCurrentRoom",(async e=>{var t,n,o,a;const s=d.a.get();if(!s)return;let r;try{r=await s.getStats()}catch{return}let l=null;e&&(l=e.name);const i=s.crawlingRooms(),c=i.crawlingRooms.size,u=i.totalRooms.size;this.setState({eventIndexSize:null!==(t=null===(n=r)||void 0===n?void 0:n.size)&&void 0!==t?t:0,eventCount:null!==(o=null===(a=r)||void 0===a?void 0:a.eventCount)&&void 0!==o?o:0,crawlingRoomsCount:c,roomCount:u,currentRoom:l})})),a()(this,"onDisable",(async()=>{const e=(await n.e(37).then(n.bind(null,1543))).default;u.b.createDialog(e,void 0,void 0,!1,!0)})),a()(this,"onCrawlerSleepTimeChange",(e=>{this.setState({crawlerSleepTime:parseInt(e.target.value,10)}),c.b.setValue("crawlerSleepTime",null,h.a.DEVICE,e.target.value)})),this.state={eventIndexSize:0,eventCount:0,crawlingRoomsCount:0,roomCount:0,currentRoom:null,crawlerSleepTime:c.b.getValueAt(h.a.DEVICE,"crawlerSleepTime")}}componentWillUnmount(){const e=d.a.get();null!==e&&e.removeListener("changedCheckpoint",this.updateCurrentRoom)}async componentDidMount(){let e=0,t=0,n=0,o=0,a=null;const s=d.a.get();if(null!==s){s.on("changedCheckpoint",this.updateCurrentRoom);try{const t=await s.getStats();t&&(e=t.size,o=t.eventCount)}catch{}const r=s.crawlingRooms();t=r.crawlingRooms.size,n=r.totalRooms.size;const l=s.currentRoom();l&&(a=l.name)}this.setState({eventIndexSize:e,eventCount:o,crawlingRoomsCount:t,roomCount:n,currentRoom:a})}render(){const e=i.b.get().brand;let t;t=null===this.state.currentRoom?Object(l.a)("Not currently indexing messages for any room."):Object(l.a)("Currently indexing: %(currentRoom)s",{currentRoom:this.state.currentRoom});const n=Math.max(0,this.state.roomCount-this.state.crawlingRoomsCount),o=r.a.createElement("div",null,Object(l.a)("%(brand)s is securely caching encrypted messages locally for them to appear in search results:",{brand:e}),r.a.createElement("div",{className:"mx_SettingsTab_subsectionText"},t,r.a.createElement("br",null),Object(l.a)("Space used:")," ",Object(m.a)(this.state.eventIndexSize,0),r.a.createElement("br",null),Object(l.a)("Indexed messages:")," ",Object(m.d)(this.state.eventCount),r.a.createElement("br",null),Object(l.a)("Indexed rooms:")," ",Object(l.a)("%(doneRooms)s out of %(totalRooms)s",{doneRooms:Object(m.d)(n),totalRooms:Object(m.d)(this.state.roomCount)})," ",r.a.createElement("br",null),r.a.createElement(g.a,{label:Object(l.a)("Message downloading sleep time(ms)"),type:"number",value:this.state.crawlerSleepTime.toString(),onChange:this.onCrawlerSleepTimeChange})));return r.a.createElement(b.a,{className:"mx_ManageEventIndexDialog",onFinished:this.props.onFinished,title:Object(l.a)("Message search")},o,r.a.createElement(p.a,{primaryButton:Object(l.a)("Done"),onPrimaryButtonClick:this.props.onFinished,primaryButtonClass:"primary",cancelButton:Object(l.a)("Disable"),onCancel:this.onDisable,cancelButtonClass:"danger"}))}}}}]);
//# sourceMappingURL=38.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/eventindex/ManageEventIndexDialog.tsx"],"names":["ManageEventIndexDialog","React","Component","constructor","props","super","_defineProperty","async","_stats$size","_stats","_stats$eventCount","_stats2","eventIndex","EventIndexPeg","get","stats","getStats","currentRoom","room","name","roomStats","crawlingRooms","crawlingRoomsCount","size","roomCount","totalRooms","this","setState","eventIndexSize","eventCount","DisableEventIndexDialog","default","Modal","createDialog","undefined","e","crawlerSleepTime","parseInt","target","value","SettingsStore","setValue","SettingLevel","DEVICE","state","getValueAt","componentWillUnmount","removeListener","updateCurrentRoom","on","render","brand","SdkConfig","crawlerState","_t","doneRooms","Math","max","eventIndexingSettings","createElement","className","formatBytes","formatCountLong","Field","label","type","toString","onChange","onCrawlerSleepTimeChange","BaseDialog","onFinished","title","DialogButtons","primaryButton","onPrimaryButtonClick","primaryButtonClass","cancelButton","onCancel","onDisable","cancelButtonClass"],"mappings":"4QA+Ce,MAAMA,UAA+BC,IAAMC,UAC/CC,YAAYC,GACfC,MAAMD,GAAOE,IAAA,0BAYUC,UAAqC,IAAAC,EAAAC,EAAAC,EAAAC,EAC5D,MAAMC,EAAaC,IAAcC,MACjC,IAAKF,EAAY,OACjB,IAAIG,EAEJ,IACIA,QAAcH,EAAWI,UAC7B,CAAE,MAGE,MACJ,CAEA,IAAIC,EAA6B,KAE7BC,IAAMD,EAAcC,EAAKC,MAC7B,MAAMC,EAAYR,EAAWS,gBACvBC,EAAqBF,EAAUC,cAAcE,KAC7CC,EAAYJ,EAAUK,WAAWF,KAEvCG,KAAKC,SAAS,CACVC,eAA2B,QAAbpB,EAAO,QAAPC,EAAEM,SAAK,IAAAN,OAAA,EAALA,EAAOc,YAAI,IAAAf,IAAI,EAC/BqB,WAA6B,QAAnBnB,EAAO,QAAPC,EAAEI,SAAK,IAAAJ,OAAA,EAALA,EAAOkB,kBAAU,IAAAnB,IAAI,EACjCY,mBAAoBA,EACpBE,UAAWA,EACXP,YAAaA,GACf,IACLX,IAAA,kBAmDmBC,UAChB,MAAMuB,SAAiC,iCAAqCC,QAC5EC,IAAMC,aAAaH,OA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GAAkG,CAClGH,UAEJlD,IAAA0D,cAAA,OAAKC,UAAU,iCACVP,EACDpD,IAAA0D,cAAA,WACCL,YAAG,eAAe,IAAEO,YAAYnC,KAAKkB,MAAMhB,eAAgB,GAC5D3B,IAAA0D,cAAA,WACCL,YAAG,qBAAqB,IAAEQ,YAAgBpC,KAAKkB,MAAMf,YACtD5B,IAAA0D,cAAA,WACCL,YAAG,kBAAmB,IACtBA,YAAG,sCAAuC,CACvCC,UAAWO,YAAgBP,GAC3B9B,WAAYqC,YAAgBpC,KAAKkB,MAAMpB,aACvC,IACJvB,IAAA0D,cAAA,WACA1D,IAAA0D,cAACI,IAAK,CACFC,MAAOV,YAAG,sCACVW,KAAK,SACL1B,MAAOb,KAAKkB,MAAMR,iBAAiB8B,WACnCC,SAAUzC,KAAK0C,6BAM/B,OACInE,IAAA0D,cAACU,IAAU,CACPT,UAAU,4BACVU,WAAY5C,KAAKtB,MAAMkE,WACvBC,MAAOjB,YAAG,mBAETI,EACDzD,IAAA0D,cAACa,IAAa,CACVC,cAAenB,YAAG,QAClBoB,qBAAsBhD,KAAKtB,MAAMkE,WACjCK,mBAAmB,UACnBC,aAActB,YAAG,WACjBuB,SAAUnD,KAAKoD,UACfC,kBAAkB,WAIlC,E","file":"bundles/d5199ce8154383887d49/38.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{1534:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return y}));var a=n(13),i=n.n(a),o=n(120),s=n.n(o),c=n(122),r=n(124),l=n(121),u=n(127),d=n(367),h=n(128),p=n(145),m=n(135);class y extends s.a.PureComponent{constructor(){super(...arguments),i()(this,"onOkClick",(()=>{this.props.onFinished()})),i()(this,"onGoToSettingsClick",(()=>{this.props.onFinished(),r.a.fire(h.a.ViewUserSettings)})),i()(this,"onSetupClick",(async()=>{u.b.createDialog(d.a,{onFinished:this.props.onFinished},void 0,!1,!0)}))}render(){const e=s.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(l.a)("New Recovery Method")),t=s.a.createElement("p",null,Object(l.a)("A new Security Phrase and key for Secure Messages have been detected.")),n=s.a.createElement("p",{className:"warning"},Object(l.a)("If you didn't set the new recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings."));let a;return a=c.a.get().getKeyBackupEnabled()?s.a.createElement("div",null,t,s.a.createElement("p",null,Object(l.a)("This session is encrypting history using the new recovery method.")),n,s.a.createElement(p.a,{primaryButton:Object(l.a)("OK"),onPrimaryButtonClick:this.onOkClick,cancelButton:Object(l.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})):s.a.createElement("div",null,t,n,s.a.createElement(p.a,{primaryButton:Object(l.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(l.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})),s.a.createElement(m.a,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:e},a)}}}}]);
//# sourceMappingURL=39.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/NewRecoveryMethodDialog.tsx"],"names":["NewRecoveryMethodDialog","React","PureComponent","constructor","arguments","_defineProperty","this","props","onFinished","dis","fire","Action","ViewUserSettings","async","Modal","createDialog","RestoreKeyBackupDialog","undefined","render","title","createElement","className","_t","newMethodDetected","hackWarning","content","MatrixClientPeg","get","getKeyBackupEnabled","DialogButtons","primaryButton","onPrimaryButtonClick","onOkClick","cancelButton","onCancel","onGoToSettingsClick","onSetupClick","BaseDialog"],"mappings":"0PAkCe,MAAMA,UAAgCC,IAAMC,cAAsBC,cAAA,SAAAC,WAAAC,IAAA,kBACzD,KAChBC,KAAKC,MAAMC,YAAY,IAC1BH,IAAA,4BAE6B,KAC1BC,KAAKC,MAAMC,aACXC,IAAIC,KAAKC,IAAOC,iBAAiB,IACpCP,IAAA,qBAEsBQ,UACnBC,IAAMC,aACFC,IACA,CACIR,WAAYF,KAAKC,MAAMC,iBAE3BS,GACiB,GACF,EAClB,GACJ,CAEMC,SACH,MAAMC,EAAQlB,IAAAmB,cAAA,QAAMC,UAAU,kCAAkCC,YAAG,wBAE7DC,EAAoBtB,IAAAmB,cAAA,SAAIE,YAAG,0EAE3BE,EACFvB,IAAAmB,cAAA,KAAGC,UAAU,WACRC,YACG,qLAQZ,IAAIG,EA8BJ,OA5BIA,EADAC,IAAgBC,MAAMC,sBAElB3B,IAAAmB,cAAA,WACKG,EACDtB,IAAAmB,cAAA,SAAIE,YAAG,sEACNE,EACDvB,IAAAmB,cAACS,IAAa,CACVC,cAAeR,YAAG,MAClBS,qBAAsBzB,KAAK0B,UAC3BC,aAAcX,YAAG,kBACjBY,SAAU5B,KAAK6B,uBAMvBlC,IAAAmB,cAAA,WACKG,EACAC,EACDvB,IAAAmB,cAACS,IAAa,CACVC,cAAeR,YAAG,0BAClBS,qBAAsBzB,KAAK8B,aAC3BH,aAAcX,YAAG,kBACjBY,SAAU5B,KAAK6B,uBAO3BlC,IAAAmB,cAACiB,IAAU,CAAChB,UAAU,2BAA2Bb,WAAYF,KAAKC,MAAMC,WAAYW,MAAOA,GACtFM,EAGb,E","file":"bundles/d5199ce8154383887d49/39.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{486:function(t,e,i){"use strict";i.r(e),i.d(e,"DefaultOptions",(function(){return a})),i.d(e,"default",(function(){return h}));var n=i(13),s=i.n(n),o=i(146);function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){s()(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}const a={maxCount:600,speed:12};class h{constructor(t){var e=this;s()(this,"options",void 0),s()(this,"context",null),s()(this,"particles",[]),s()(this,"lastAnimationTime",0),s()(this,"isRunning",!1),s()(this,"start",(async function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;if(!t)return;e.context=t.getContext("2d"),e.particles=[];const n=e.options.maxCount;for(;e.particles.length<n;)e.particles.push(e.resetParticle({},t.width,t.height));e.isRunning=!0,requestAnimationFrame(e.renderLoop),i&&window.setTimeout(e.stop,i)})),s()(this,"stop",(async()=>{this.isRunning=!1})),s()(this,"resetParticle",((t,e,i)=>(t.x=Math.random()*e,t.y=Math.random()*-i,t.width=1.5*Math.random(),t.height=15*t.width+4,t.speed=Math.random()*this.options.speed*4/5+this.options.speed,t))),s()(this,"renderLoop",(()=>{if(this.context&&this.context.canvas)if(0===this.particles.length)this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height);else{(Date.now()-this.lastAnimationTime>=15||!this.lastAnimationTime)&&(this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height),this.lastAnimationTime=Date.now(),this.animateAndRenderRaindrops()),requestAnimationFrame(this.renderLoop)}})),s()(this,"animateAndRenderRaindrops",(()=>{if(!this.context||!this.context.canvas)return;const t=this.context.canvas.height;for(const e of Object(o.b)(this.particles)){e.y+=e.speed,this.context.save(),this.context.beginPath(),this.context.rect(e.x,e.y,e.width,e.height),this.context.fillStyle="#5dadec",this.context.fill(),this.context.closePath(),this.context.restore();const i=2*t;if(e.y>t+i){const t=this.particles.indexOf(e);this.particles.splice(t,1)}}})),this.options=c(c({},a),t)}}}}]);
//# sourceMappingURL=4.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/rainfall/index.ts"],"names":["DefaultOptions","maxCount","speed","Rainfall","constructor","options","_this","_defineProperty","async","canvas","timeout","arguments","length","undefined","context","getContext","particles","count","push","resetParticle","width","height","isRunning","requestAnimationFrame","renderLoop","window","setTimeout","stop","this","particle","x","Math","random","y","clearRect","Date","now","lastAnimationTime","animateAndRenderRaindrops","arrayFastClone","save","beginPath","rect","fillStyle","fill","closePath","restore","maxBounds","idx","indexOf","splice","_objectSpread"],"mappings":"uxBAsCO,MAAMA,EAAkC,CAC3CC,SAAU,IACVC,MAAO,IAKI,MAAMC,EAGVC,YAAYC,GAAiC,IAAAC,EAAA,KAAAC,IAAA,uBAAAA,IAAA,eAID,MAAIA,IAAA,iBAClB,IAAEA,IAAA,yBACX,GAACA,IAAA,kBAEV,GAAKA,IAAA,cAETC,eAAOC,GAA6D,IAAlCC,EAAOC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IACvD,IAAKF,EACD,OAEJH,EAAKQ,QAAUL,EAAOM,WAAW,MACjCT,EAAKU,UAAY,GACjB,MAAMC,EAAQX,EAAKD,QAAQJ,SAC3B,KAAOK,EAAKU,UAAUJ,OAASK,GAC3BX,EAAKU,UAAUE,KAAKZ,EAAKa,cAAc,CAAC,EAAeV,EAAOW,MAAOX,EAAOY,SAEhFf,EAAKgB,WAAY,EACjBC,sBAAsBjB,EAAKkB,YACvBd,GACAe,OAAOC,WAAWpB,EAAKqB,KAAMjB,EAErC,IAACH,IAAA,aAEaC,UACVoB,KAAKN,WAAY,CAAK,IACzBf,IAAA,sBAEuB,CAACsB,EAAoBT,EAAeC,KACxDQ,EAASC,EAAIC,KAAKC,SAAWZ,EAC7BS,EAASI,EAAIF,KAAKC,UAAYX,EAC9BQ,EAAST,MAAwB,IAAhBW,KAAKC,SACtBH,EAASR,OAA0B,GAAjBQ,EAAST,MAAa,EACxCS,EAAS3B,MAAS6B,KAAKC,SAAWJ,KAAKvB,QAAQH,MAAQ,EAAK,EAAI0B,KAAKvB,QAAQH,MACtE2B,KACVtB,IAAA,mBAEoB,KACjB,GAAKqB,KAAKd,SAAYc,KAAKd,QAAQL,OAGnC,GAA8B,IAA1BmB,KAAKZ,UAAUJ,OACfgB,KAAKd,QAAQoB,UAAU,EAAG,EAAGN,KAAKd,QAAQL,OAAOW,MAAOQ,KAAKd,QAAQL,OAAOY,YACzE,EACec,KAAKC,MAAQR,KAAKS,mBApDrB,KAqDyBT,KAAKS,qBAEzCT,KAAKd,QAAQoB,UAAU,EAAG,EAAGN,KAAKd,QAAQL,OAAOW,MAAOQ,KAAKd,QAAQL,OAAOY,QAC5EO,KAAKS,kBAAoBF,KAAKC,MAC9BR,KAAKU,6BAETf,sBAAsBK,KAAKJ,WAC/B,KACHjB,IAAA,kCAEmC,KAChC,IAAKqB,KAAKd,UAAYc,KAAKd,QAAQL,OAC/B,OAEJ,MAAMY,EAASO,KAAKd,QAAQL,OAAOY,OACnC,IAAK,MAAMQ,KAAYU,YAAeX,KAAKZ,WAAY,CACnDa,EAASI,GAAKJ,EAAS3B,MAEvB0B,KAAKd,QAAQ0B,OACbZ,KAAKd,QAAQ2B,YACbb,KAAKd,QAAQ4B,KAAKb,EAASC,EAAGD,EAASI,EAAGJ,EAAST,MAAOS,EAASR,QACnEO,KAAKd,QAAQ6B,UAAY,UACzBf,KAAKd,QAAQ8B,OACbhB,KAAKd,QAAQ+B,YACbjB,KAAKd,QAAQgC,UAGb,MAAMC,EAAqB,EAAT1B,EAClB,GAAIQ,EAASI,EAAIZ,EAAS0B,EAAW,CACjC,MAAMC,EAAMpB,KAAKZ,UAAUiC,QAAQpB,GACnCD,KAAKZ,UAAUkC,OAAOF,EAAK,EAC/B,CACJ,KA/EApB,KAAKvB,QAAO8C,IAAA,GAAQnD,GAAmBK,EAC3C,E","file":"bundles/d5199ce8154383887d49/4.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{1535:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var a=n(13),s=n.n(a),i=n(120),o=n.n(i),c=n(124),r=n(121),l=n(127),u=n(128),d=n(135),h=n(145);class p extends o.a.PureComponent{constructor(){super(...arguments),s()(this,"onGoToSettingsClick",(()=>{this.props.onFinished(),c.a.fire(u.a.ViewUserSettings)})),s()(this,"onSetupClick",(()=>{this.props.onFinished(),l.b.createDialogAsync(n.e(8).then(n.bind(null,912)),void 0,void 0,!1,!0)}))}render(){const e=o.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(r.a)("Recovery Method Removed"));return o.a.createElement(d.a,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:e},o.a.createElement("div",null,o.a.createElement("p",null,Object(r.a)("This session has detected that your Security Phrase and key for Secure Messages have been removed.")),o.a.createElement("p",null,Object(r.a)("If you did this accidentally, you can setup Secure Messages on this session which will re-encrypt this session's message history with a new recovery method.")),o.a.createElement("p",{className:"warning"},Object(r.a)("If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings.")),o.a.createElement(h.a,{primaryButton:Object(r.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(r.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}}}]);
//# sourceMappingURL=40.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/RecoveryMethodRemovedDialog.tsx"],"names":["RecoveryMethodRemovedDialog","React","PureComponent","constructor","arguments","_defineProperty","this","props","onFinished","dis","fire","Action","ViewUserSettings","Modal","createDialogAsync","undefined","render","title","createElement","className","_t","BaseDialog","DialogButtons","primaryButton","onPrimaryButtonClick","onSetupClick","cancelButton","onCancel","onGoToSettingsClick"],"mappings":"wOA8Be,MAAMA,UAAoCC,IAAMC,cAAsBC,cAAA,SAAAC,WAAAC,IAAA,4BACnD,KAC1BC,KAAKC,MAAMC,aACXC,IAAIC,KAAKC,IAAOC,iBAAiB,IACpCP,IAAA,qBAEsB,KACnBC,KAAKC,MAAMC,aACXK,IAAMC,kBACF,mCACAC,OACAA,GACiB,GACF,EAClB,GACJ,CAEMC,SACH,MAAMC,EAAQhB,IAAAiB,cAAA,QAAMC,UAAU,kCAAkCC,YAAG,4BAEnE,OACInB,IAAAiB,cAACG,IAAU,CAACF,UAAU,2BAA2BX,WAAYF,KAAKC,MAAMC,WAAYS,MAAOA,GACvFhB,IAAAiB,cAAA,WACIjB,IAAAiB,cAAA,SACKE,YACG,uGAIRnB,IAAAiB,cAAA,SACKE,YACG,iKAKRnB,IAAAiB,cAAA,KAAGC,UAAU,WACRC,YACG,oLAMRnB,IAAAiB,cAACI,IAAa,CACVC,cAAeH,YAAG,0BAClBI,qBAAsBlB,KAAKmB,aAC3BC,aAAcN,YAAG,kBACjBO,SAAUrB,KAAKsB,uBAKnC,E","file":"bundles/d5199ce8154383887d49/40.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{1568:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return F}));var o=t(130),r=t.n(o),c=t(132),a=t.n(c),i=t(120),s=t.n(i),l=t(124),u=t(128),d=t(138),f=t(237),b=t(642),m=t(336),p=t(312),O=t(402);var g=t(918),v=t(126),j=t.n(v);var C=t(911);var h=t(167),T=t(205);function y(e,n,t){const o=Object(i.useRef)(null),[r,c]=Object(i.useState)(e),a=Object(i.useCallback)((()=>{o.current&&(o.current.innerHTML=""),null==t||t()}),[o,t]),s=Object(i.useCallback)((e=>{c(e),null==n||n(e)}),[n]),l=!Object(h.b)("MessageComposerInput.ctrlEnterToSend"),u=Object(i.useCallback)((e=>{if(e.target instanceof HTMLDivElement){const n=l?e.target.innerHTML:e.target.innerHTML.replace(/<div><br><\/div>/g,"\n").replace(/<div>/g,"\n").replace(/<\/div>/g,"");s(n)}}),[s,l]),d=Object(i.useCallback)((e=>{if(e.key===T.b.ENTER){const n=T.a?e.metaKey:e.ctrlKey;l&&!e.shiftKey&&(e.preventDefault(),e.stopPropagation(),a()),!l&&n&&(e.preventDefault(),e.stopPropagation(),a())}}),[l,a]);return{ref:o,onInput:u,onPaste:u,onKeyDown:d,content:r,setContent:s}}var R=t(910),E=t(927);function k(e){let{className:n,disabled:t=!1,onSend:o,onChange:r,children:c,placeholder:a,initialContent:l,leftComponent:u,rightComponent:d}=e;const{ref:f,onInput:b,onPaste:m,onKeyDown:p,content:g,setContent:v}=y(l,r,o),h=function(e,n){return Object(i.useMemo)((()=>({clear:()=>{e.current&&(e.current.innerHTML="")},insertText:t=>{const o=document.getSelection();if(e.current&&o){const r=e.current.innerHTML,{anchorOffset:c,focusOffset:a}=o;e.current.innerHTML=`${r.slice(0,c)}${t}${r.slice(a)}`,Object(O.d)({anchorNode:e.current.firstChild,anchorOffset:c+t.length,focusNode:e.current.firstChild,focusOffset:a+t.length,isForward:!0}),n(e.current.innerHTML)}}})),[e,n])}(f,v);!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;Object(i.useEffect)((()=>{n.current&&(n.current.innerText=e)}),[n,e])}(l,f),Object(R.a)(t,f);const{isFocused:T,onFocus:k}=Object(C.a)(),w=!g&&a||void 0;return s.a.createElement("div",{"data-testid":"PlainTextComposer",className:j()(n,{[`${n}-focused`]:T}),onFocus:k,onBlur:k,onInput:b,onPaste:m,onKeyDown:p},s.a.createElement(E.a,{ref:f,disabled:t,leftComponent:u,rightComponent:d,placeholder:w}),null==c?void 0:c(f,h))}var w=t(266),M=t(898);function P(e){let{menuPosition:n}=e;const t=Object(d.c)();return s.a.createElement(M.a,{menuPosition:n,addEmoji:e=>(l.a.dispatch({action:u.a.ComposerInsert,text:e,timelineRenderingType:t.timelineRenderingType}),!0)})}const x=["isRichTextEnabled","e2eStatus","menuPosition","eventRelation"],S=Object(i.forwardRef)((function(e,n){let{disabled:t=!1,composerFunctions:o}=e;return function(e,n,t){const o=Object(d.c)(),r=Object(p.c)(),c=Object(i.useRef)(null),a=Object(i.useCallback)((a=>{var i;if(e||null==n||!n.current)return;const s=null!==(i=a.context)&&void 0!==i?i:d.a.Room;switch(a.action){case"reply_to_event":case u.a.FocusSendMessageComposer:Object(b.a)(n,s,o,c);break;case u.a.ClearAndFocusSendMessageComposer:if(a.timelineRenderingType!==o.timelineRenderingType)break;t.clear(),Object(b.a)(n,s,o,c);break;case u.a.ComposerInsert:if(a.timelineRenderingType!==o.timelineRenderingType)break;if(a.composerType!==m.a.Send)break;a.userId||a.event||a.text&&Object(O.d)(r.selection).then((()=>t.insertText(a.text)))}}),[e,n,o,t,r]);Object(f.a)(l.a,a)}(t,n,o),null}));function F(e){let{isRichTextEnabled:n,e2eStatus:t,menuPosition:o,eventRelation:c}=e,l=a()(e,x);const u=n?g.a:k,d=Object(i.useRef)(Object(p.b)({eventRelation:c}));return s.a.createElement(p.a.Provider,{value:d.current},s.a.createElement(u,r()({className:"mx_SendWysiwygComposer",leftComponent:t&&s.a.createElement(w.b,{status:t}),rightComponent:s.a.createElement(P,{menuPosition:o})},l),((e,n)=>s.a.createElement(S,{disabled:l.disabled,ref:e,composerFunctions:n}))))}}}]);
//# sourceMappingURL=41.js.map
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{487:function(t,e,i){"use strict";i.r(e),i.d(e,"DefaultOptions",(function(){return c})),i.d(e,"default",(function(){return h}));var n=i(13),s=i.n(n),o=i(146);function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){s()(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}const c={maxCount:200,gravity:.05,maxDrift:5};class h{constructor(t){var e=this;s()(this,"options",void 0),s()(this,"context",null),s()(this,"particles",[]),s()(this,"lastAnimationTime",0),s()(this,"isRunning",!1),s()(this,"start",(async function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;if(!t)return;e.context=t.getContext("2d"),e.particles=[];const n=e.options.maxCount;for(;e.particles.length<n;)e.particles.push(e.resetParticle({},t.width,t.height));e.isRunning=!0,requestAnimationFrame(e.renderLoop),i&&window.setTimeout(e.stop,i)})),s()(this,"stop",(async()=>{this.isRunning=!1})),s()(this,"resetParticle",((t,e,i)=>(t.x=Math.random()*e,t.y=Math.random()*-i,t.xCol=t.x,t.diameter=7*Math.random()+4,t.maximumDrift=Math.random()*this.options.maxDrift+3.5,t.gravity=this.options.gravity+6*Math.random()+4,t))),s()(this,"renderLoop",(()=>{if(this.context&&this.context.canvas)if(0===this.particles.length)this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height);else{(Date.now()-this.lastAnimationTime>=15||!this.lastAnimationTime)&&(this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height),this.lastAnimationTime=Date.now(),this.animateAndRenderSnowflakes()),requestAnimationFrame(this.renderLoop)}})),this.options=a(a({},c),t)}animateAndRenderSnowflakes(){if(!this.context||!this.context.canvas)return;const t=this.context.canvas.height;for(const e of Object(o.b)(this.particles)){e.y+=e.gravity;const i=75*e.maximumDrift,n=2*Math.PI;e.x=e.maximumDrift*Math.sin(n/i*e.y),e.x+=e.xCol;const s=e.diameter/2;this.context.save(),this.context.beginPath(),this.context.ellipse(e.x,e.y,s,s,0,0,360),this.context.fillStyle="#eaeaea",this.context.fill(),this.context.closePath(),this.context.restore();const o=4*s;if(e.y>t+o){const t=this.particles.indexOf(e);this.particles.splice(t,1)}}}}}}]);
//# sourceMappingURL=5.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/snowfall/index.ts"],"names":["DefaultOptions","maxCount","gravity","maxDrift","Snowfall","constructor","options","_this","_defineProperty","async","canvas","timeout","arguments","length","undefined","context","getContext","particles","count","push","resetParticle","width","height","isRunning","requestAnimationFrame","renderLoop","window","setTimeout","stop","this","particle","x","Math","random","y","xCol","diameter","maximumDrift","clearRect","Date","now","lastAnimationTime","animateAndRenderSnowflakes","_objectSpread","arrayFastClone","peakDistance","PI2","PI","sin","radius","save","beginPath","ellipse","fillStyle","fill","closePath","restore","maxBounds","idx","indexOf","splice"],"mappings":"uxBA0CO,MAAMA,EAAkC,CAC3CC,SAAU,IACVC,QAAS,IACTC,SAAU,GAKC,MAAMC,EAGVC,YAAYC,GAAiC,IAAAC,EAAA,KAAAC,IAAA,uBAAAA,IAAA,eAID,MAAIA,IAAA,iBACjB,IAAEA,IAAA,yBACZ,GAACA,IAAA,kBAEV,GAAKA,IAAA,cAETC,eAAOC,GAA6D,IAAlCC,EAAOC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IACvD,IAAKF,EACD,OAEJH,EAAKQ,QAAUL,EAAOM,WAAW,MACjCT,EAAKU,UAAY,GACjB,MAAMC,EAAQX,EAAKD,QAAQL,SAC3B,KAAOM,EAAKU,UAAUJ,OAASK,GAC3BX,EAAKU,UAAUE,KAAKZ,EAAKa,cAAc,CAAC,EAAgBV,EAAOW,MAAOX,EAAOY,SAEjFf,EAAKgB,WAAY,EACjBC,sBAAsBjB,EAAKkB,YACvBd,GACAe,OAAOC,WAAWpB,EAAKqB,KAAMjB,EAErC,IAACH,IAAA,aAEaC,UACVoB,KAAKN,WAAY,CAAK,IACzBf,IAAA,sBAEuB,CAACsB,EAAqBT,EAAeC,KACzDQ,EAASC,EAAIC,KAAKC,SAAWZ,EAC7BS,EAASI,EAAIF,KAAKC,UAAYX,EAC9BQ,EAASK,KAAOL,EAASC,EACzBD,EAASM,SAA2B,EAAhBJ,KAAKC,SAAe,EACxC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AQyC,UAGb,MAAMC,EAAqB,EAATR,EAClB,GAAInB,EAASI,EAAIZ,EAASmC,EAAW,CACjC,MAAMC,EAAM7B,KAAKZ,UAAU0C,QAAQ7B,GACnCD,KAAKZ,UAAU2C,OAAOF,EAAK,EAC/B,CACJ,CACJ,E","file":"bundles/d5199ce8154383887d49/5.js","sourceRoot":""}
+2
View File
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{488:function(t,e,n){"use strict";n.r(e),n.d(e,"DefaultOptions",(function(){return c})),n.d(e,"default",(function(){return h}));var i=n(13),s=n.n(i),o=n(146);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){s()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const c={maxCount:50,gravity:.005};class h{constructor(t){var e=this;s()(this,"options",void 0),s()(this,"context",null),s()(this,"particles",[]),s()(this,"lastAnimationTime",0),s()(this,"isRunning",!1),s()(this,"start",(async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;if(!t)return;e.context=t.getContext("2d"),e.particles=[];const i=e.options.maxCount;for(;e.particles.length<i;)e.particles.push(e.resetParticle({},t.width,t.height));e.isRunning=!0,requestAnimationFrame(e.renderLoop),n&&window.setTimeout(e.stop,n)})),s()(this,"stop",(async()=>{this.isRunning=!1})),s()(this,"resetParticle",((t,e,n)=>(t.x=Math.random()*e,t.y=Math.random()*-n,t.xCol=t.x,t.gravity=this.options.gravity+6*Math.random()+4,t))),s()(this,"renderLoop",(()=>{if(this.context&&this.context.canvas)if(0===this.particles.length)this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height);else{(Date.now()-this.lastAnimationTime>=15||!this.lastAnimationTime)&&(this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height),this.lastAnimationTime=Date.now(),this.animateAndRenderInvaders()),requestAnimationFrame(this.renderLoop)}})),this.options=a(a({},c),t)}animateAndRenderInvaders(){if(this.context&&this.context.canvas){this.context.font="50px Twemoji";for(const t of Object(o.b)(this.particles))t.y+=t.gravity,this.context.save(),this.context.fillText("👾",t.x,t.y),this.context.restore()}}}}}]);
//# sourceMappingURL=6.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/spaceinvaders/index.ts"],"names":["DefaultOptions","maxCount","gravity","SpaceInvaders","constructor","options","_this","_defineProperty","async","canvas","timeout","arguments","length","undefined","context","getContext","particles","count","push","resetParticle","width","height","isRunning","requestAnimationFrame","renderLoop","window","setTimeout","stop","this","particle","x","Math","random","y","xCol","clearRect","Date","now","lastAnimationTime","animateAndRenderInvaders","_objectSpread","font","arrayFastClone","save","fillText","restore"],"mappings":"uxBAoCO,MAAMA,EAAuC,CAChDC,SAAU,GACVC,QAAS,MAME,MAAMC,EAGVC,YAAYC,GAAiC,IAAAC,EAAA,KAAAC,IAAA,uBAAAA,IAAA,eAID,MAAIA,IAAA,iBACnB,IAAEA,IAAA,yBACV,GAACA,IAAA,kBAEV,GAAKA,IAAA,cAETC,eAAOC,GAA6D,IAAlCC,EAAOC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IACvD,IAAKF,EACD,OAEJH,EAAKQ,QAAUL,EAAOM,WAAW,MACjCT,EAAKU,UAAY,GACjB,MAAMC,EAAQX,EAAKD,QAAQJ,SAC3B,KAAOK,EAAKU,UAAUJ,OAASK,GAC3BX,EAAKU,UAAUE,KAAKZ,EAAKa,cAAc,CAAC,EAAcV,EAAOW,MAAOX,EAAOY,SAE/Ef,EAAKgB,WAAY,EACjBC,sBAAsBjB,EAAKkB,YACvBd,GACAe,OAAOC,WAAWpB,EAAKqB,KAAMjB,EAErC,IAACH,IAAA,aAEaC,UACVoB,KAAKN,WAAY,CAAK,IACzBf,IAAA,sBAEuB,CAACsB,EAAmBT,EAAeC,KACvDQ,EAASC,EAAIC,KAAKC,SAAWZ,EAC7BS,EAASI,EAAIF,KAAKC,UAAYX,EAC9BQ,EAASK,KAAOL,EAASC,EACzBD,EAAS3B,QAAU0B,KAAKvB,QAAQH,QAA0B,EAAhB6B,KAAKC,SAAe,EACvDH,KACVtB,IAAA,mBAEoB,KACjB,GAAKqB,KAAKd,SAAYc,KAAKd,QAAQL,OAGnC,GAA8B,IAA1BmB,KAAKZ,UAAUJ,OACfgB,KAAKd,QAAQqB,UAAU,EAAG,EAAGP,KAAKd,QAAQL,OAAOW,MAAOQ,KAAKd,QAAQL,OAAOY,YACzE,EACee,KAAKC,MAAQT,KAAKU,mBApDrB,KAqDyBV,KAAKU,qBAEzCV,KAAKd,QAAQqB,UAAU,EAAG,EAAGP,KAAKd,QAAQL,OAAOW,MAAOQ,KAAKd,QAAQL,OAAOY,QAE5EO,KAAKU,kBAAoBF,KAAKC,MAC9BT,KAAKW,4BAEThB,sBAAsBK,KAAKJ,WAC/B,KAtDAI,KAAKvB,QAAOmC,IAAA,GAAQxC,GAAmBK,EAC3C,CAwDQkC,2BACJ,GAAKX,KAAKd,SAAYc,KAAKd,QAAQL,OAAnC,CAGAmB,KAAKd,QAAQ2B,KAAO,eACpB,IAAK,MAAMZ,KAAYa,YAAed,KAAKZ,WACvCa,EAASI,GAAKJ,EAAS3B,QAEvB0B,KAAKd,QAAQ6B,OACbf,KAAKd,QAAQ8B,SAxEX,KAwE2Bf,EAASC,EAAGD,EAASI,GAClDL,KAAKd,QAAQ+B,SAPjB,CASJ,E","file":"bundles/d5199ce8154383887d49/6.js","sourceRoot":""}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! modernizr 3.12.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-cors-cryptography-cssanimations-cssfilters-displaytable-es5date-es5function-es5object-es5undefined-es6array-es6collections-es6string-fetch-flexbox-json-localstorage-objectfit-promises-resizeobserver-sandbox-svg-svgasimg-svgfilters-urlparser-urlsearchparams !*/
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
.mx_ErrorView{background:#c5e0f7;background:-webkit-gradient(linear,left top,left bottom,from(#c5e0f7),to(#fff));background:linear-gradient(180deg,#c5e0f7 0,#fff);-webkit-box-sizing:border-box;box-sizing:border-box;color:#000;-webkit-filter:progid:dximagetransform.microsoft.gradient(startColorstr="#c5e0f7",endColorstr="#ffffff",GradientType=0);filter:progid:dximagetransform.microsoft.gradient(startColorstr="#c5e0f7",endColorstr="#ffffff",GradientType=0);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;height:100%;overflow:auto;padding:0 20px;width:100%}.mx_ErrorView .mx_ErrorView_container{margin:auto;max-width:680px}.mx_ErrorView .mx_Button{background-color:#03b381;border:0;border-radius:4px;color:#fff;cursor:pointer;font-size:1.8rem;margin-left:4px;margin-right:4px;min-width:80px;padding:12px 22px;text-decoration:none;word-break:break-word}.mx_ErrorView .mx_Center,.mx_ErrorView .mx_HomePage_header{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mx_ErrorView .mx_HomePage_header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#2e2f32;display:-webkit-box;display:-ms-flexbox;display:flex}.mx_ErrorView{font-size:1.6rem}.mx_ErrorView h1{font-size:3.2rem}.mx_ErrorView h2{color:#000;font-size:2.4rem}.mx_ErrorView .mx_HomePage_col{-ms-flex-direction:row;flex-direction:row}.mx_ErrorView .mx_HomePage_col,.mx_ErrorView .mx_HomePage_row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex}.mx_ErrorView .mx_HomePage_row{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.mx_ErrorView .mx_HomePage_logo{margin:auto 20px auto 0}.mx_ErrorView h1,.mx_ErrorView h2{font-weight:600;margin-bottom:32px}.mx_ErrorView .mx_Spacer{margin-top:24px}.mx_ErrorView .mx_FooterLink{color:#368bd6;text-decoration:none}
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1565:function(e,t,a){"use strict";a.r(t);var r=a(120),l=a(121),n=a(131);a(641);t.default=e=>{let{onAccept:t}=e;const a=n.b.get("brand"),o=n.b.get("mobile_builds");let m=null;const c=null==o?void 0:o.ios;null!==c&&(m=r.createElement(r.Fragment,null,r.createElement("p",null,r.createElement("strong",null,"iOS")," (iPhone or iPad)"),r.createElement("a",{href:c||"https://apps.apple.com/app/vector/id1083446067",target:"_blank",className:"mx_ClearDecoration"},r.createElement("img",{height:"48",src:"themes/element/img/download/apple.svg",alt:"Apple App Store"}))));let s=[r.createElement("p",{className:"mx_Spacer",key:"header"},r.createElement("strong",null,"Android"))];const i=null==o?void 0:o.android,d=null==o?void 0:o.fdroid;null!==i&&s.push(r.createElement("a",{href:i||"https://play.google.com/store/apps/details?id=im.vector.app",target:"_blank",className:"mx_ClearDecoration",key:"android"},r.createElement("img",{height:"48",src:"themes/element/img/download/google.svg",alt:"Google Play Store"}))),null!==d&&s.push(r.createElement("a",{href:d||"https://f-droid.org/repository/browse/?fdid=im.vector.app",target:"_blank",className:"mx_ClearDecoration",key:"fdroid"},r.createElement("img",{height:"48",src:"themes/element/img/download/fdroid.svg",alt:"F-Droid"}))),1===s.length&&(s=[]);let p=r.createElement("h2",{id:"step2_heading"},Object(l.a)("Use %(brand)s on mobile",{brand:a}));return s.length||m||(p=null),r.createElement("div",{className:"mx_ErrorView"},r.createElement("div",{className:"mx_ErrorView_container"},r.createElement("div",{className:"mx_HomePage_header"},r.createElement("span",{className:"mx_HomePage_logo"},r.createElement("img",{height:"42",src:"themes/element/img/logos/element-logo.svg",alt:"Element"})),r.createElement("h1",null,Object(l.a)("Unsupported browser"))),r.createElement("div",{className:"mx_HomePage_col"},r.createElement("div",{className:"mx_HomePage_row"},r.createElement("div",null,r.createElement("h2",{id:"step1_heading"},Object(l.a)("Your browser can't run %(brand)s",{brand:a})),r.createElement("p",null,Object(l.a)("%(brand)s uses advanced browser features which aren't supported by your current browser.",{brand:a})),r.createElement("p",null,Object(l.a)("Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.",{},{chromeLink:e=>r.createElement("a",{href:"https://www.google.com/chrome"},e),firefoxLink:e=>r.createElement("a",{href:"https://firefox.com"},e),safariLink:e=>r.createElement("a",{href:"https://apple.com/safari"},e)})),r.createElement("p",null,Object(l.a)("You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.")),r.createElement("button",{onClick:t},Object(l.a)("I understand the risks and wish to continue"))))),r.createElement("div",{className:"mx_HomePage_col"},r.createElement("div",{className:"mx_HomePage_row"},r.createElement("div",null,p,m,s))),r.createElement("div",{className:"mx_HomePage_row mx_Center mx_Spacer"},r.createElement("p",{className:"mx_Spacer"},r.createElement("a",{href:"https://element.io",target:"_blank",className:"mx_FooterLink"},Object(l.a)("Go to element.io"))))))}},641:function(e,t,a){}}]);
//# sourceMappingURL=compatibility-view.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/async-components/structures/CompatibilityView.tsx"],"names":["CompatibilityView","_ref","onAccept","brand","SdkConfig","get","mobileBuilds","ios","iosCustomUrl","React","href","target","className","height","src","alt","android","key","andCustomUrl","fdroidCustomUrl","fdroid","push","length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N,gBAAA,UAAKgB,YAAG,yBAGZhB,gBAAA,OAAKG,UAAU,mBACXH,gBAAA,OAAKG,UAAU,mBACXH,gBAAA,WACIA,gBAAA,MAAIe,GAAG,iBAAiBC,YAAG,mCAAoC,CAAEtB,WACjEM,gBAAA,SACKgB,YACG,2FAEA,CAAEtB,WAGVM,gBAAA,SACKgB,YACG,kJAEA,CAAC,EACD,CACIC,WAAaC,GAAQlB,gBAAA,KAAGC,KAAK,iCAAiCiB,GAC9DC,YAAcD,GAAQlB,gBAAA,KAAGC,KAAK,uBAAuBiB,GACrDE,WAAaF,GAAQlB,gBAAA,KAAGC,KAAK,4BAA4BiB,MAIrElB,gBAAA,SACKgB,YACG,kJAIRhB,gBAAA,UAAQqB,QAAS5B,GAAWuB,YAAG,mDAK3ChB,gBAAA,OAAKG,UAAU,mBACXH,gBAAA,OAAKG,UAAU,mBACXH,gBAAA,WACKc,EACAhB,EACAS,KAKbP,gBAAA,OAAKG,UAAU,uCACXH,gBAAA,KAAGG,UAAU,aACTH,gBAAA,KAAGC,KAAK,qBAAqBC,OAAO,SAASC,UAAU,iBAClDa,YAAG,wBAKlB,C","file":"bundles/d5199ce8154383887d49/compatibility-view.js","sourceRoot":""}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
.mx_ErrorView{background:#c5e0f7;background:-webkit-gradient(linear,left top,left bottom,from(#c5e0f7),to(#fff));background:linear-gradient(180deg,#c5e0f7 0,#fff);-webkit-box-sizing:border-box;box-sizing:border-box;color:#000;-webkit-filter:progid:dximagetransform.microsoft.gradient(startColorstr="#c5e0f7",endColorstr="#ffffff",GradientType=0);filter:progid:dximagetransform.microsoft.gradient(startColorstr="#c5e0f7",endColorstr="#ffffff",GradientType=0);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;height:100%;overflow:auto;padding:0 20px;width:100%}.mx_ErrorView .mx_ErrorView_container{margin:auto;max-width:680px}.mx_ErrorView .mx_Button{background-color:#03b381;border:0;border-radius:4px;color:#fff;cursor:pointer;font-size:1.8rem;margin-left:4px;margin-right:4px;min-width:80px;padding:12px 22px;text-decoration:none;word-break:break-word}.mx_ErrorView .mx_Center,.mx_ErrorView .mx_HomePage_header{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mx_ErrorView .mx_HomePage_header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#2e2f32;display:-webkit-box;display:-ms-flexbox;display:flex}.mx_ErrorView{font-size:1.6rem}.mx_ErrorView h1{font-size:3.2rem}.mx_ErrorView h2{color:#000;font-size:2.4rem}.mx_ErrorView .mx_HomePage_col{-ms-flex-direction:row;flex-direction:row}.mx_ErrorView .mx_HomePage_col,.mx_ErrorView .mx_HomePage_row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex}.mx_ErrorView .mx_HomePage_row{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.mx_ErrorView .mx_HomePage_logo{margin:auto 20px auto 0}.mx_ErrorView h1,.mx_ErrorView h2{font-weight:600;margin-bottom:32px}.mx_ErrorView .mx_Spacer{margin-top:24px}.mx_ErrorView .mx_FooterLink{color:#368bd6;text-decoration:none}
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{1564:function(e,t,a){"use strict";a.r(t);var m=a(120),l=a(121);a(641);t.default=e=>{let{title:t,messages:a}=e;return m.createElement("div",{className:"mx_ErrorView"},m.createElement("div",{className:"mx_ErrorView_container"},m.createElement("div",{className:"mx_HomePage_header"},m.createElement("span",{className:"mx_HomePage_logo"},m.createElement("img",{height:"42",src:"themes/element/img/logos/element-logo.svg",alt:"Element"})),m.createElement("h1",null,Object(l.a)("Failed to start"))),m.createElement("div",{className:"mx_HomePage_col"},m.createElement("div",{className:"mx_HomePage_row"},m.createElement("div",null,m.createElement("h2",{id:"step1_heading"},t),a&&a.map((e=>m.createElement("p",{key:e},e)))))),m.createElement("div",{className:"mx_HomePage_row mx_Center mx_Spacer"},m.createElement("p",{className:"mx_Spacer"},m.createElement("a",{href:"https://element.io",target:"_blank",className:"mx_FooterLink"},Object(l.a)("Go to element.io"))))))}},641:function(e,t,a){}}]);
//# sourceMappingURL=error-view.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/async-components/structures/ErrorView.tsx"],"names":["ErrorView","_ref","title","messages","React","className","height","src","alt","_t","id","map","msg","key","href","target"],"mappings":"4FAAA,oCA2DeA,UA9BqBC,IAAyB,IAAxB,MAAEC,EAAK,SAAEC,GAAUF,EACpD,OACIG,gBAAA,OAAKC,UAAU,gBACXD,gBAAA,OAAKC,UAAU,0BACXD,gBAAA,OAAKC,UAAU,sBACXD,gBAAA,QAAMC,UAAU,oBACZD,gBAAA,OAAKE,OAAO,KAAKC,IAAI,4CAA4CC,IAAI,aAEzEJ,gBAAA,UAAKK,YAAG,qBAEZL,gBAAA,OAAKC,UAAU,mBACXD,gBAAA,OAAKC,UAAU,mBACXD,gBAAA,WACIA,gBAAA,MAAIM,GAAG,iBAAiBR,GACvBC,GAAYA,EAASQ,KAAKC,GAAQR,gBAAA,KAAGS,IAAKD,GAAMA,QAI7DR,gBAAA,OAAKC,UAAU,uCACXD,gBAAA,KAAGC,UAAU,aACTD,gBAAA,KAAGU,KAAK,qBAAqBC,OAAO,SAASV,UAAU,iBAClDI,YAAG,wBAKlB,C","file":"bundles/d5199ce8154383887d49/error-view.js","sourceRoot":""}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:url(../../fonts/Nunito/Nunito-Regular.e79365a.ttf) format("truetype")}body{background-color:#363c43;color:#edf3ff;font-family:Nunito,Arial,Helvetica,sans-serif}body.theme-light{background-color:#fff;color:#2e2f32}body,html{margin:0;padding:0}#jitsiContainer{bottom:0;left:0;position:fixed;right:0;top:0}#joinButtonContainer{display:table;height:100%;position:absolute;visibility:hidden;width:100%}.joinConferenceFloating{display:table-cell;vertical-align:middle}.joinConferencePrompt{margin-left:auto;margin-right:auto;text-align:center;width:90%}#joinButton{background-color:#03b381;border:0;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;padding:7px 18px;text-align:center}.icon{margin-top:-42px}.icon:before{background-color:#edf3ff;background-size:contain;content:"";display:block;height:42px;margin:0 auto;-webkit-mask-image:url(../../img/element-icons/call/video-call.86ee0c8.svg);mask-image:url(../../img/element-icons/call/video-call.86ee0c8.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:42px;mask-size:42px;width:42px}body.theme-light .icon:before{background-color:#2e2f32}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib
*/
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
*/
/*! (c) Tom Wu, Kenji Urushima | http://www-cs-students.stanford.edu/~tjw/jsbn/
*/
/*! Mike Samuel (c) 2009 | code.google.com/p/json-sans-eval
*/
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1507:function(n,e,t){"use strict";e.a='/*\nCopyright 2021 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n/*\n This file is raw-imported (imported as plain text) for the export bundle, which is the reason for the .css format and the colours being hard-coded hard-coded.\n*/\n\n#snackbar {\n display: flex;\n visibility: hidden;\n min-width: 250px;\n margin-left: -125px;\n background-color: #333;\n color: #fff;\n text-align: center;\n position: fixed;\n z-index: 1;\n left: 50%;\n bottom: 30px;\n font-size: 17px;\n padding: 6px 16px;\n font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu,\n roboto, noto, arial, sans-serif;\n font-weight: 400;\n line-height: 1.43;\n border-radius: 4px;\n letter-spacing: 0.01071em;\n}\n\n#snackbar.mx_show {\n visibility: visible;\n -webkit-animation: mx_snackbar_fadein 0.5s, mx_snackbar_fadeout 0.5s 2.5s;\n animation: mx_snackbar_fadein 0.5s, mx_snackbar_fadeout 0.5s 2.5s;\n}\n\na.mx_reply_anchor {\n cursor: pointer;\n color: #238cf5;\n}\n\na.mx_reply_anchor:hover {\n text-decoration: underline;\n}\n\n@-webkit-keyframes mx_snackbar_fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n to {\n bottom: 30px;\n opacity: 1;\n }\n}\n\n@keyframes mx_snackbar_fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n to {\n bottom: 30px;\n opacity: 1;\n }\n}\n\n@-webkit-keyframes mx_snackbar_fadeout {\n from {\n bottom: 30px;\n opacity: 1;\n }\n to {\n bottom: 0;\n opacity: 0;\n }\n}\n\n@keyframes mx_snackbar_fadeout {\n from {\n bottom: 30px;\n opacity: 1;\n }\n to {\n bottom: 0;\n opacity: 0;\n }\n}\n\n* {\n scroll-behavior: smooth !important;\n}\n\n.mx_Export_EventWrapper:target {\n background: white;\n animation: mx_event_highlight_animation 2s linear;\n}\n\n@keyframes mx_event_highlight_animation {\n 0%,\n 100% {\n background: white;\n }\n 50% {\n background: #e3e2df;\n }\n}\n\n.mx_ReplyChain_Export {\n margin-top: 0;\n margin-bottom: 5px;\n}\n\n.mx_RedactedBody,\n.mx_HiddenBody {\n padding-left: unset;\n}\n\nimg {\n white-space: nowrap;\n overflow: hidden;\n}\n\n.mx_MatrixChat {\n max-width: 100%;\n}\n'}}]);
//# sourceMappingURL=styles.js.map

Some files were not shown because too many files have changed in this diff Show More