parent
8e2c58f005
commit
3efea77ebe
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 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1431:function(n,o,t){"use strict";t.r(o);var a=t(237);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 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{1451: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 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{1446: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(54);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 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1453: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),r=n.n(s),l=n(3),i=n(2),c=n.n(i),u=n(1),m=n(7),h=n(9),d=n(48),g=n(54);class p extends r.a.Component{constructor(e){super(e),o()(this,"updateCurrentRoom",async e=>{const t=g.a.get();let n;try{n=await t.getStats()}catch{return}let a=null;e&&(a=e.name);const o=t.crawlingRooms(),s=o.crawlingRooms.size,r=o.totalRooms.size;this.setState({eventIndexSize:n.size,eventCount:n.eventCount,crawlingRoomsCount:s,roomCount:r,currentRoom:a})}),o()(this,"_onDisable",async()=>{h.a.createTrackedDialogAsync("Disable message search","Disable message search",n.e(16).then(n.bind(null,1446)),null,null,!1,!0)}),o()(this,"_onDone",()=>{this.props.onFinished(!0)}),o()(this,"_onCrawlerSleepTimeChange",e=>{this.setState({crawlerSleepTime:e.target.value}),m.b.setValue("crawlerSleepTime",null,m.a.DEVICE,e.target.value)}),this.state={eventIndexSize:0,eventCount:0,crawlingRoomsCount:0,roomCount:0,currentRoom:null,crawlerSleepTime:m.b.getValueAt(m.a.DEVICE,"crawlerSleepTime")}}componentWillUnmount(){const e=g.a.get();null!==e&&e.removeListener("changedCheckpoint",this.updateCurrentRoom)}async componentWillMount(){let e=0,t=0,n=0,a=0,o=null;const s=g.a.get();if(null!==s){s.on("changedCheckpoint",this.updateCurrentRoom);try{const t=await s.getStats();e=t.size,a=t.eventCount}catch{}const r=s.crawlingRooms();t=r.crawlingRooms.size,n=r.totalRooms.size;const l=s.currentRoom();l&&(o=l.name)}this.setState({eventIndexSize:e,eventCount:a,crawlingRoomsCount:t,roomCount:n,currentRoom:o})}render(){let e;e=null===this.state.currentRoom?Object(u.a)("Not currently indexing messages for any room."):Object(u.a)("Currently indexing: %(currentRoom)s.",{currentRoom:this.state.currentRoom});const t=l.a("views.elements.Field"),n=Math.max(0,this.state.roomCount-this.state.crawlingRoomsCount),a=r.a.createElement("div",null,Object(u.a)("Riot is securely caching encrypted messages locally for them to appear in search results:"),r.a.createElement("div",{className:"mx_SettingsTab_subsectionText"},e,r.a.createElement("br",null),Object(u.a)("Space used:")," ",Object(d.a)(this.state.eventIndexSize,0),r.a.createElement("br",null),Object(u.a)("Indexed messages:")," ",Object(d.d)(this.state.eventCount),r.a.createElement("br",null),Object(u.a)("Indexed rooms:")," ",Object(u.a)("%(doneRooms)s out of %(totalRooms)s",{doneRooms:Object(d.d)(n),totalRooms:Object(d.d)(this.state.roomCount)})," ",r.a.createElement("br",null),r.a.createElement(t,{id:"crawlerSleepTimeMs",label:Object(u.a)("Message downloading sleep time(ms)"),type:"number",value:this.state.crawlerSleepTime,onChange:this._onCrawlerSleepTimeChange}))),o=l.a("views.dialogs.BaseDialog"),s=l.a("views.elements.DialogButtons");return r.a.createElement(o,{className:"mx_ManageEventIndexDialog",onFinished:this.props.onFinished,title:Object(u.a)("Message search")},a,r.a.createElement(s,{primaryButton:Object(u.a)("Done"),onPrimaryButtonClick:this.props.onFinished,primaryButtonClass:"primary",cancelButton:Object(u.a)("Disable"),onCancel:this._onDisable,cancelButtonClass:"danger"}))}}o()(p,"propTypes",{onFinished:c.a.func.isRequired})}}]);
|
|
@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{1452: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 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{1447: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})}}]);
|
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1448: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,1439)),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
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
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{1460:function(e,t,n){"use strict";n.r(t);var a=n(33),l=n.n(a),r=n(38),i=n.n(r),c=n(35),o=n.n(c),d=n(34),s=n(37),u=n(48),m=n(36);t.default=i()({displayName:"EncryptedEventDialog",propTypes:{event:o.a.object.isRequired,onFinished:o.a.func.isRequired},getInitialState:function(){return{device:null}},componentDidMount: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.getComponent("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))}})}}]);
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1449:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return b}));var s=t(3),a=t.n(s),i=t(33),o=t.n(i),r=t(36),l=t(35),d=t.n(l),c=t(39),p=t(34),u=t(40),h=t(145);class b extends o.a.Component{constructor(e){super(e),a()(this,"_onDisable",async()=>{this.setState({disabling:!0}),await u.b.setValue("enableEventIndexing",null,u.a.DEVICE,!1),await h.a.deleteEventIndex(),this.props.onFinished(),c.a.dispatch({action:"view_user_settings"})}),this.state={disabling:!1}}render(){const e=r.getComponent("views.dialogs.BaseDialog"),n=r.getComponent("elements.Spinner"),t=r.getComponent("views.elements.DialogButtons");return o.a.createElement(e,{onFinished:this.props.onFinished,title:Object(p.a)("Are you sure?")},Object(p.a)("If disabled, messages from encrypted rooms won't appear in search results."),this.state.disabling?o.a.createElement(n,null):o.a.createElement("div",null),o.a.createElement(t,{primaryButton:Object(p.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})}}]);
|
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1462:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var o=n(3),a=n.n(o),s=n(33),r=n.n(s),l=n(36),i=n(35),c=n.n(i),m=n(34),u=n(40),d=n(41),g=n(64),h=n(145);class p extends r.a.Component{constructor(e){super(e),a()(this,"updateCurrentRoom",async e=>{const t=h.a.get();let n;try{n=await t.getStats()}catch{return}let o=null;e&&(o=e.name);const a=t.crawlingRooms(),s=a.crawlingRooms.size,r=a.totalRooms.size;this.setState({eventIndexSize:n.size,eventCount:n.eventCount,crawlingRoomsCount:s,roomCount:r,currentRoom:o})}),a()(this,"_onDisable",async()=>{d.a.createTrackedDialogAsync("Disable message search","Disable message search",n.e(20).then(n.bind(null,1449)),null,null,!1,!0)}),a()(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")}}componentWillUnmount(){const e=h.a.get();null!==e&&e.removeListener("changedCheckpoint",this.updateCurrentRoom)}async componentDidMount(){let e=0,t=0,n=0,o=0,a=null;const s=h.a.get();if(null!==s){s.on("changedCheckpoint",this.updateCurrentRoom);try{const t=await s.getStats();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(){let e;e=null===this.state.currentRoom?Object(m.a)("Not currently indexing messages for any room."):Object(m.a)("Currently indexing: %(currentRoom)s.",{currentRoom:this.state.currentRoom});const t=l.getComponent("views.elements.Field"),n=Math.max(0,this.state.roomCount-this.state.crawlingRoomsCount),o=r.a.createElement("div",null,Object(m.a)("Riot is securely caching encrypted messages locally for them to appear in search results:"),r.a.createElement("div",{className:"mx_SettingsTab_subsectionText"},e,r.a.createElement("br",null),Object(m.a)("Space used:")," ",Object(g.a)(this.state.eventIndexSize,0),r.a.createElement("br",null),Object(m.a)("Indexed messages:")," ",Object(g.d)(this.state.eventCount),r.a.createElement("br",null),Object(m.a)("Indexed rooms:")," ",Object(m.a)("%(doneRooms)s out of %(totalRooms)s",{doneRooms:Object(g.d)(n),totalRooms:Object(g.d)(this.state.roomCount)})," ",r.a.createElement("br",null),r.a.createElement(t,{label:Object(m.a)("Message downloading sleep time(ms)"),type:"number",value:this.state.crawlerSleepTime,onChange:this._onCrawlerSleepTimeChange}))),a=l.getComponent("views.dialogs.BaseDialog"),s=l.getComponent("views.elements.DialogButtons");return r.a.createElement(a,{className:"mx_ManageEventIndexDialog",onFinished:this.props.onFinished,title:Object(m.a)("Message search")},o,r.a.createElement(s,{primaryButton:Object(m.a)("Done"),onPrimaryButtonClick:this.props.onFinished,primaryButtonClass:"primary",cancelButton:Object(m.a)("Disable"),onCancel:this._onDisable,cancelButtonClass:"danger"}))}}a()(p,"propTypes",{onFinished:c.a.func.isRequired})}}]);
|
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{1461:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return p}));var o=t(3),s=t.n(o),i=t(33),a=t.n(i),r=t(35),u=t.n(r),c=t(36),l=t(34);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.getComponent("views.dialogs.BaseDialog"),n=c.getComponent("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})}}]);
|
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{1456:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var a=n(3),o=n.n(a),s=n(33),i=n.n(s),c=n(35),r=n.n(c),l=n(36),u=n(37),p=n(39),d=n(34),h=n(41);class m extends i.a.PureComponent{constructor(...e){super(...e),o()(this,"onOkClick",()=>{this.props.onFinished()}),o()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),p.a.dispatch({action:"view_user_settings"})}),o()(this,"onSetupClick",async()=>{const e=l.getComponent("dialogs.keybackup.RestoreKeyBackupDialog");h.a.createTrackedDialog("Restore Backup","",e,{onFinished:this.props.onFinished},null,!1,!0)})}render(){const e=l.getComponent("views.dialogs.BaseDialog"),t=l.getComponent("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.")),o=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 s;return s=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.")),o,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,o,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},s)}}o()(m,"propTypes",{newVersionInfo:r.a.object,onFinished:r.a.func.isRequired})}}]);
|
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{1457:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var s=n(3),a=n.n(s),o=n(33),i=n.n(o),c=n(35),r=n.n(c),l=n(36),u=n(39),d=n(34),p=n(41);class h extends i.a.PureComponent{constructor(...e){super(...e),a()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),u.a.dispatch({action:"view_user_settings"})}),a()(this,"onSetupClick",()=>{this.props.onFinished(),p.a.createTrackedDialogAsync("Key Backup","Key Backup",Promise.all([n.e(0),n.e(1)]).then(n.bind(null,1448)),null,null,!1,!0)})}render(){const e=l.getComponent("views.dialogs.BaseDialog"),t=l.getComponent("views.elements.DialogButtons"),n=i.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("Recovery Method Removed"));return i.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:n},i.a.createElement("div",null,i.a.createElement("p",null,Object(d.a)("This session has detected that your recovery passphrase and key for Secure Messages have been removed.")),i.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.")),i.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.")),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})))}}a()(h,"propTypes",{onFinished:r.a.func.isRequired})}}]);
|
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.8.0 (Custom Build) | MIT *
|
||||||
|
* https://modernizr.com/download/?-cors-cssanimations-cssfilters-displaytable-es5date-es5function-es5object-es5undefined-es6array-es6collections-es6string-fetch-flexbox-json-localstorage-objectfit-promises-sandbox-svg-svgasimg-svgfilters-urlparser-urlsearchparams-setclasses-cssclassprefix:modernizr_ !*/
|
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{711:function(e,r,t){"use strict";t.r(r);var a=t(33),s=t(35),n=t(34);const i=({title:e,messages:r})=>a.createElement("div",{className:"mx_GenericErrorPage"},a.createElement("div",{className:"mx_GenericErrorPage_box"},a.createElement("h1",null,e),a.createElement("div",null,r&&r.map(e=>a.createElement("p",{key:e},Object(n.a)(e))))));i.propTypes={title:s.string.isRequired,messages:s.arrayOf(s.string.isRequired)},r.default=i}}]);
|
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 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1455:function(e,o,n){"use strict";n.r(o),function(e){n.d(o,"loadApp",(function(){return U}));var t=n(33),i=n.n(t),r=n(36),a=n(50),s=n(392),c=n(34),l=n(65),d=n(187),f=n(181),u=n(55),g=n.n(u),w=n(15),h=n(37),p=n(45),m=n(82);e.React=i.a;let _=null;function v(e){const o=Object(w.b)(e);return{screen:o.location.substring(1),params:o.params}}function b(e){decodeURIComponent(window.location.hash)!==_&&function(e){if(!window.matrixChat)return;console.log("Routing URL ",e.href);const o=v(e);window.matrixChat.showScreen(o.screen,o.params)}(window.location)}function C(e){console.log("newscreen "+e);const o="#/"+e;_=o,window.location.hash=o}function y(e){let o;o="vector:"===window.location.protocol?"https://riot.im/app/#/register":window.location.protocol+"//"+window.location.host+window.location.pathname+"#/register";const n=Object.keys(e);for(let t=0;t<n.length;++t){o+=0===t?"?":"&";const i=n[t];o+=i+"="+encodeURIComponent(e[i])}return o}function O(){const e=g.a.parse(window.location.href);e.search="";const o=g.a.format(e);console.log("Redirecting to "+o+" to drop loginToken from queryparams"),window.location.href=o}async function U(e){const o=document.body.dataset.vectorIndexeddbWorkerScript;if(!o)throw Object(c.h)(Object(c.b)("Missing indexeddb worker script!"));h.a.setIndexedDbWorkerScript(o),m.a.setConferenceHandler(s),window.addEventListener("hashchange",b);const n=a.a.get(),t=Object(w.a)(window.location),u=window.location.protocol+"//"+window.location.host+window.location.pathname;console.log("Vector starting at "+u),n.startUpdater();const g=await async function(){let e;try{console.log("Verifying homeserver configuration");const o=p.a.get();let n=o.default_server_config;const t=o.default_server_name,i=o.default_hs_url,r=o.default_is_url,a=[n,t,i].filter(e=>!!e);if(a.length>1)throw Object(c.h)(Object(c.b)("Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url."));if(a.length<1)throw Object(c.h)(Object(c.b)("Invalid configuration: no default server specified."));i&&(console.log("Config uses a default_hs_url - constructing a default_server_config using this information"),console.warn("DEPRECATED CONFIG OPTION: In the future, default_hs_url will not be accepted. Please use default_server_config instead."),n={"m.homeserver":{base_url:i}},r&&(n["m.identity_server"]={base_url:r}));let s=null;n&&(console.log("Config uses a default_server_config - validating object"),s=await d.a.fromDiscoveryConfig(n)),t&&(console.log("Config uses a default_server_name - doing .well-known lookup"),console.warn("DEPRECATED CONFIG OPTION: In the future, default_server_name will not be accepted. Please use default_server_config instead."),s=await d.a.findClientConfig(t)),e=l.b.buildValidatedConfigFromDiscovery(t,s,!0)}catch(o){const{hsUrl:n,isUrl:t,userId:i}=f.b();if(!n||!i)throw o;console.error(o),console.warn("A session was found - suppressing config error and using the session's homeserver"),console.log("Using pre-existing hsUrl and isUrl: ",{hsUrl:n,isUrl:t}),e=await l.b.validateServerConfigWithStaticUrls(n,t,!0)}return e.isDefault=!0,console.log("Using homeserver config:",e),console.log("Updating SdkConfig with validated discovery information"),p.a.add({validated_server_config:e}),p.a.get()}(),_=r.getComponent("structures.MatrixChat");return i.a.createElement(_,{onNewScreen:C,makeRegistrationUrl:y,ConferenceHandler:s,config:g,realQueryParams:t,startingFragmentQueryParams:e,enableGuest:!g.disable_guests,onTokenLoginCompleted:O,initialScreenAfterLogin:v(window.location),defaultDeviceDisplayName:n.getDefaultDeviceDisplayName()})}}.call(this,n(17))}}]);
|
@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[11,5],{1463:function(e,t,r){"use strict";r.r(t),r.d(t,"components",(function(){return k}));var a=r(711),o=r(3),n=r.n(o),s=r(383),l=r(281),i=r.n(l),c=r(34);class m extends s.a{translate(e){return e=(e=i()(Object(c.a)(e))).replace(/\[matrix\]/,'<a href="https://matrix.org" target="_blank" rel="noreferrer noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="welcome/images/matrix.svg"/></a>')}}n()(m,"replaces","EmbeddedPage");var u=r(33),g=r.n(u),d=r(45);const h=()=>{const e=d.a.get().branding;let t=[{text:"blog",url:"https://blog.riot.im"},{text:"twitter",url:"https://twitter.com/@RiotChat"},{text:"github",url:"https://github.com/vector-im/riot-web"}];e&&e.authFooterLinks&&(t=e.authFooterLinks);const r=[];for(const e of t)r.push(g.a.createElement("a",{href:e.url,key:e.text,target:"_blank",rel:"noreferrer noopener"},e.text));return g.a.createElement("div",{className:"mx_AuthFooter"},r,g.a.createElement("a",{href:"https://matrix.org",target:"_blank",rel:"noreferrer noopener"},Object(c.a)("powered by Matrix")))};h.replaces="AuthFooter";var p=h,b=r(35),v=r.n(b);class x extends g.a.PureComponent{render(){const e=d.a.get().branding;let t="themes/riot/img/logos/riot-im-logo-black-text.svg";return e&&e.authHeaderLogoUrl&&(t=e.authHeaderLogoUrl),g.a.createElement("div",{className:"mx_AuthHeaderLogo"},g.a.createElement("img",{src:t,alt:"Riot"}))}}n()(x,"replaces","AuthHeaderLogo"),n()(x,"propTypes",{icon:v.a.string});var E=r(36);class f extends g.a.PureComponent{render(){const e=E.getComponent("auth.AuthFooter"),t=d.a.get().branding;let r="themes/riot/img/backgrounds/valley.jpg";t&&t.welcomeBackgroundUrl&&(r=t.welcomeBackgroundUrl);const a={background:"center/cover fixed url(".concat(r,")")},o={position:"absolute",top:0,right:0,bottom:0,left:0,filter:"blur(10px)",background:a.background};return g.a.createElement("div",{className:"mx_AuthPage",style:a},g.a.createElement("div",{className:"mx_AuthPage_modal",style:{position:"relative",background:"initial"}},g.a.createElement("div",{className:"mx_AuthPage_modalBlur",style:o}),g.a.createElement("div",{className:"mx_AuthPage_modalContent",style:{display:"flex",zIndex:1,background:"rgba(255, 255, 255, 0.59)",borderRadius:"4px"}},this.props.children)),g.a.createElement(e,null))}}n()(f,"replaces","AuthPage");const _=({onFinished:e})=>g.a.createElement("div",{className:"mx_ErrorDialog"},g.a.createElement("div",{className:"mx_Dialog_title"},Object(c.a)("Custom Server Options")),g.a.createElement("div",{className:"mx_Dialog_content"},g.a.createElement("p",null,Object(c.a)("You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver."))),g.a.createElement("div",{className:"mx_Dialog_buttons"},g.a.createElement("button",{onClick:e,autoFocus:!0},Object(c.a)("Dismiss"))));_.replaces="CustomServerDialog";var w=_;let k={};a.default&&(k["structures.ErrorView"]=a.default),m&&(k["structures.VectorEmbeddedPage"]=m),p&&(k["views.auth.VectorAuthFooter"]=p),x&&(k["views.auth.VectorAuthHeaderLogo"]=x),f&&(k["views.auth.VectorAuthPage"]=f),w&&(k["views.auth.VectorCustomServerDialog"]=w)},711:function(e,t,r){"use strict";r.r(t);var a=r(33),o=r(35),n=r(34);const s=({title:e,messages:t})=>a.createElement("div",{className:"mx_GenericErrorPage"},a.createElement("div",{className:"mx_GenericErrorPage_box"},a.createElement("h1",null,e),a.createElement("div",null,t&&t.map(e=>a.createElement("p",{key:e},Object(n.a)(e))))));s.propTypes={title:o.string.isRequired,messages:o.arrayOf(o.string.isRequired)},t.default=s}}]);
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1427)}({1427:function(e,t,r){}});
|
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=31)}({31:function(e,t,r){}});
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1425)}({1425:function(e,t,r){}});
|
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=29)}({29:function(e,t,r){}});
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1426)}({1426:function(e,t,r){}});
|
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=30)}({30:function(e,t,r){}});
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1424)}({1424:function(e,t,r){}});
|
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=28)}({28:function(e,t,r){}});
|
@ -1 +1 @@
|
|||||||
!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=1423)}({1423: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="noreferrer noopener",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.data.auto&&o.click()}(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))}}});
|
!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=27)}({27: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="noreferrer noopener",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.data.auto&&o.click()}(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 it is too large
Load Diff
After Width: | Height: | Size: 672 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 828 B |
After Width: | Height: | Size: 510 B |
After Width: | Height: | Size: 386 B |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 4.1 KiB |
@ -1 +1 @@
|
|||||||
1.5.15
|
1.6.0
|
||||||
|
Loading…
Reference in new issue