This commit is contained in:
mowetentertainment1 2025-12-05 11:05:33 -05:00
parent ffc9dc8d29
commit 730de334a7
830 changed files with 150361 additions and 34 deletions

View File

@ -0,0 +1,62 @@
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "im.vector.app.debug",
"sha256_cert_fingerprints": [
"B0:B0:51:DC:56:5C:81:2F:E1:7F:6F:3E:94:5B:4D:79:04:71:23:AB:0D:A6:12:86:76:9E:B2:94:91:97:13:0E"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "im.vector.app.nightly",
"sha256_cert_fingerprints": [
"CA:D3:85:16:84:3A:05:CC:EB:00:AB:7B:D3:80:0F:01:BA:8F:E0:4B:38:86:F3:97:D8:F7:9A:1B:C4:54:E4:0F"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "im.vector.app",
"sha256_cert_fingerprints": [
"F3:FF:38:D2:E5:A6:38:84:86:4A:4E:0D:45:C5:3B:19:8E:7E:39:C0:50:5B:D9:63:F5:55:D6:53:2D:EA:BF:5F"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "io.element.android.x.debug",
"sha256_cert_fingerprints": [
"B0:B0:51:DC:56:5C:81:2F:E1:7F:6F:3E:94:5B:4D:79:04:71:23:AB:0D:A6:12:86:76:9E:B2:94:91:97:13:0E"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "io.element.android.x.nightly",
"sha256_cert_fingerprints": [
"CA:D3:85:16:84:3A:05:CC:EB:00:AB:7B:D3:80:0F:01:BA:8F:E0:4B:38:86:F3:97:D8:F7:9A:1B:C4:54:E4:0F"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "io.element.android.x",
"sha256_cert_fingerprints": [
"C6:DB:9B:9C:8C:BD:D6:5D:16:E8:EC:8C:8B:91:C8:31:B9:EF:C9:5C:BF:98:AE:41:F6:A9:D8:35:15:1A:7E:16"
]
}
}
]

View File

@ -0,0 +1,33 @@
{
"applinks": {
"details": [
{
"appIDs": [
"7J4U792NQT.im.vector.app",
"7J4U792NQT.io.element.elementx",
"7J4U792NQT.io.element.elementx.nightly"
],
"components": [
{
"?": {
"no_universal_links": "?*"
},
"exclude": true,
"comment": "Opt out of universal links"
},
{
"/": "/*",
"comment": "Matches any URL"
}
]
}
]
},
"webcredentials": {
"apps": [
"7J4U792NQT.im.vector.app",
"7J4U792NQT.io.element.elementx",
"7J4U792NQT.io.element.elementx.nightly"
]
}
}

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[1095],{"./src/effects/hearts/index.ts":(t,e,i)=>{i.d(e,{default:()=>c});var s=i("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=i("./src/utils/arrays.ts");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}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){(0,s.A)(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:120,gravity:3.2,maxDrift:5,maxRot:5};class c{constructor(t){(0,s.A)(this,"options",void 0),(0,s.A)(this,"context",null),(0,s.A)(this,"particles",[]),(0,s.A)(this,"lastAnimationTime",0),(0,s.A)(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)"]),(0,s.A)(this,"isRunning",!1),(0,s.A)(this,"start",async(t,e=3e3)=>{if(!t)return;this.context=t.getContext("2d"),this.particles=[];const i=this.options.maxCount;for(;this.particles.length<i;)this.particles.push(this.resetParticle({},t.width,t.height));this.isRunning=!0,requestAnimationFrame(this.renderLoop),e&&window.setTimeout(this.stop,e)}),(0,s.A)(this,"stop",async()=>{this.isRunning=!1}),(0,s.A)(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)),(0,s.A)(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=o(o({},a),t)}animateAndRenderHearts(){if(this.context&&this.context.canvas)for(const t of(0,n.PF)(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 s=1/t.scale,n=t.x*s,r=t.y*s;if(this.context.save(),this.context.scale(t.scale,t.scale),this.context.beginPath(),this.context.translate(248+n,215+r),this.context.rotate(.1*t.maximumRot*Math.sin(i/e*t.y*.8)),this.context.translate(-248-n,-215-r),this.context.moveTo(140+n,20+r),this.context.bezierCurveTo(73+n,20+r,20+n,74+r,20+n,140+r),this.context.bezierCurveTo(20+n,275+r,156+n,310+r,248+n,443+r),this.context.bezierCurveTo(336+n,311+r,477+n,270+r,477+n,140+r),this.context.bezierCurveTo(477+n,74+r,423+n,20+r,357+n,20+r),this.context.bezierCurveTo(309+n,20+r,267+n,48+r,248+n,89+r),this.context.bezierCurveTo(229+n,48+r,188+n,20+r,140+n,20+r),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=1095.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

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

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[2382],{"./src/effects/confetti/index.ts":(t,e,i)=>{i.d(e,{default:()=>a});var s=i("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}return i}function r(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?n(Object(i),!0).forEach(function(e){(0,s.A)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}const o={maxCount:150,speed:3,frameInterval:15,alpha:1,gradient:!1};class a{constructor(t){(0,s.A)(this,"options",void 0),(0,s.A)(this,"context",null),(0,s.A)(this,"supportsAnimationFrame",window.requestAnimationFrame),(0,s.A)(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,"]),(0,s.A)(this,"lastFrameTime",Date.now()),(0,s.A)(this,"particles",[]),(0,s.A)(this,"waveAngle",0),(0,s.A)(this,"isRunning",!1),(0,s.A)(this,"start",async(t,e=3e3)=>{if(!t)return;this.context=t.getContext("2d"),this.particles=[];const i=this.options.maxCount;for(;this.particles.length<i;)this.particles.push(this.resetParticle({},t.width,t.height));this.isRunning=!0,this.runAnimation(),e&&window.setTimeout(this.stop,e)}),(0,s.A)(this,"stop",async()=>{this.isRunning=!1}),(0,s.A)(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)),(0,s.A)(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)}}),(0,s.A)(this,"drawParticles",t=>{if(!this.context||!this.context.canvas)return;let e,i,s;for(const n of this.particles){if(this.context.beginPath(),t.lineWidth=n.diameter,i=n.x+n.tilt,e=i+n.diameter/2,s=n.y+n.tilt+n.diameter/2,this.options.gradient){const r=t.createLinearGradient(e,n.y,i,s);r.addColorStop(0,n.color),r.addColorStop(1,n.color2),t.strokeStyle=r}else t.strokeStyle=n.color;t.moveTo(e,n.y),t.lineTo(i,s),t.stroke()}}),(0,s.A)(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 s=0;s<this.particles.length;s++)i=this.particles[s],!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(s,1),s--))}),this.options=r(r({},o),t)}}}}]);
//# sourceMappingURL=2382.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,79 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @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
*/
/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and 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
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and 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
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and 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
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* filesize
*
* @copyright 2025 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 11.0.13
*/

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[2792],{"./src/effects/snowfall/index.ts":(t,e,i)=>{i.d(e,{default:()=>c});var s=i("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=i("./src/utils/arrays.ts");function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}return i}function r(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach(function(e){(0,s.A)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}const a={maxCount:200,gravity:.05,maxDrift:5};class c{constructor(t){(0,s.A)(this,"options",void 0),(0,s.A)(this,"context",null),(0,s.A)(this,"particles",[]),(0,s.A)(this,"lastAnimationTime",0),(0,s.A)(this,"isRunning",!1),(0,s.A)(this,"start",async(t,e=3e3)=>{if(!t)return;this.context=t.getContext("2d"),this.particles=[];const i=this.options.maxCount;for(;this.particles.length<i;)this.particles.push(this.resetParticle({},t.width,t.height));this.isRunning=!0,requestAnimationFrame(this.renderLoop),e&&window.setTimeout(this.stop,e)}),(0,s.A)(this,"stop",async()=>{this.isRunning=!1}),(0,s.A)(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)),(0,s.A)(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=r(r({},a),t)}animateAndRenderSnowflakes(){if(!this.context||!this.context.canvas)return;const t=this.context.canvas.height;for(const e of(0,n.PF)(this.particles)){e.y+=e.gravity;const i=75*e.maximumDrift,s=2*Math.PI;e.x=e.maximumDrift*Math.sin(s/i*e.y),e.x+=e.xCol;const n=e.diameter/2;this.context.save(),this.context.beginPath(),this.context.ellipse(e.x,e.y,n,n,0,0,360),this.context.fillStyle="#eaeaea",this.context.fill(),this.context.closePath(),this.context.restore();const o=4*n;if(e.y>t+o){const t=this.particles.indexOf(e);this.particles.splice(t,1)}}}}}}]);
//# sourceMappingURL=2792.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

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[3197],{"./src/effects/rainfall/index.ts":(t,e,i)=>{i.d(e,{default:()=>c});var s=i("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=i("./src/utils/arrays.ts");function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}return i}function r(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach(function(e){(0,s.A)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}const h={maxCount:600,speed:12};class c{constructor(t){(0,s.A)(this,"options",void 0),(0,s.A)(this,"context",null),(0,s.A)(this,"particles",[]),(0,s.A)(this,"lastAnimationTime",0),(0,s.A)(this,"isRunning",!1),(0,s.A)(this,"start",async(t,e=3e3)=>{if(!t)return;this.context=t.getContext("2d"),this.particles=[];const i=this.options.maxCount;for(;this.particles.length<i;)this.particles.push(this.resetParticle({},t.width,t.height));this.isRunning=!0,requestAnimationFrame(this.renderLoop),e&&window.setTimeout(this.stop,e)}),(0,s.A)(this,"stop",async()=>{this.isRunning=!1}),(0,s.A)(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)),(0,s.A)(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)}}),(0,s.A)(this,"animateAndRenderRaindrops",()=>{if(!this.context||!this.context.canvas)return;const t=this.context.canvas.height;for(const e of(0,n.PF)(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=r(r({},h),t)}}}}]);
//# sourceMappingURL=3197.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,11 @@
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/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

Binary file not shown.

View File

@ -0,0 +1 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[3508],{"./src/effects/effect.ts":()=>{}}]);

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[3636],{"./src/effects/fireworks/index.ts":(t,e,i)=>{i.d(e,{default:()=>r});var s=i("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}return i}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?n(Object(i),!0).forEach(function(e){(0,s.A)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}const a={maxCount:500,gravity:.05};class r{constructor(t){(0,s.A)(this,"options",void 0),(0,s.A)(this,"context",null),(0,s.A)(this,"supportsAnimationFrame",window.requestAnimationFrame),(0,s.A)(this,"particles",[]),(0,s.A)(this,"isRunning",!1),(0,s.A)(this,"start",async(t,e=3e3)=>{t&&(this.isRunning=!0,this.context=t.getContext("2d"),this.supportsAnimationFrame.call(window,this.updateWorld),e&&window.setTimeout(this.stop,e))}),(0,s.A)(this,"updateWorld",()=>{(this.isRunning||0!==this.particles.length)&&(this.update(),this.paint(),this.supportsAnimationFrame.call(window,this.updateWorld))}),(0,s.A)(this,"update",()=>{this.particles.length<this.options.maxCount&&this.isRunning&&this.createFirework();const t=[];for(let e=0;e<this.particles.length;e++)this.move(this.particles[e])&&t.push(this.particles[e]);this.particles=t}),(0,s.A)(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])}}),(0,s.A)(this,"createFirework",()=>{if(!this.context||!this.context.canvas)return;const t=this.context.canvas.width,e=this.context.canvas.height,i=Math.random()*(t-200)+100,s=Math.random()*(e-200)+100,n=50*Math.random()+100,o="rgb("+~~(200*Math.random()+55)+","+~~(200*Math.random()+55)+","+~~(200*Math.random()+55)+")";for(let t=0;t<n;t++){const t={};t.color=o,t.w=t.h=4*Math.random()+1,t.x=i-t.w/2,t.y=s-t.h/2,t.vx=10*(Math.random()-.5),t.vy=10*(Math.random()-.5),t.alpha=.5*Math.random()+.5;const e=Math.sqrt(25-t.vx*t.vx);Math.abs(t.vy)>e&&(t.vy=t.vy>0?e:-e),this.particles.push(t)}}),(0,s.A)(this,"stop",async()=>{this.isRunning=!1}),(0,s.A)(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())}),(0,s.A)(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=o(o({},a),t)}}}}]);
//# sourceMappingURL=3636.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[395],{"./src/components/views/location/Map.tsx":(t,o,e)=>{e.r(o),e.d(o,{default:()=>h});var r=e("./node_modules/react/index.js"),n=e("./node_modules/classnames/index.js"),l=e.n(n),a=e("./node_modules/maplibre-gl/dist/maplibre-gl.js"),i=e("./node_modules/matrix-js-sdk/src/matrix.ts"),s=e("./node_modules/matrix-js-sdk/src/logger.ts"),c=e("./src/contexts/MatrixClientContext.tsx"),d=e("./src/hooks/useEventEmitter.ts"),u=e("./src/utils/location/index.ts"),m=e("./src/utils/WellKnownUtils.ts"),_=e("./src/utils/location/map.ts");var g=e("./src/Modal.tsx"),p=e("./src/components/views/dialogs/ErrorDialog.tsx"),b=e("./src/languageHandler.tsx");const f=({id:t,centerGeoUri:o,onError:e,interactive:n,bounds:l,allowGeolocate:g})=>{const p=`mx_Map_${t}`,b=(0,r.useContext)(c.Ay),f=(0,d.dF)(b,i.ClientEvent.ClientWellKnown,t=>{var o;return null===(o=(0,m.XP)(t))||void 0===o?void 0:o.map_style_url}),h=(({interactive:t,bodyId:o,onError:e})=>{const n=(0,c.nH)(),[l,a]=(0,r.useState)();return(0,r.useEffect)(()=>{let r;try{r=(0,_.p)(n,!!t,o,e),a(r)}catch(t){console.error("Error encountered in useMap",t),t instanceof Error&&(null==e||e(t))}return()=>{r&&(r.remove(),a(void 0))}},[n,t,o,e]),l})({interactive:n,bodyId:p,onError:e});(0,r.useEffect)(()=>{f&&h&&h.setStyle(f)},[f,h]),(0,r.useEffect)(()=>{if(h&&o)try{const t=(0,u.XB)(o);if(!t)throw new Error("Invalid geo URI");h.setCenter({lon:t.longitude,lat:t.latitude})}catch(t){s.vF.error("Could not set map center",t)}},[h,o]),(0,r.useEffect)(()=>{if(h&&l)try{const t=new a.LngLatBounds([l.west,l.south],[l.east,l.north]);h.fitBounds(t,{padding:100,maxZoom:15})}catch(t){s.vF.error("Invalid map bounds",t)}},[h,l]);const[C,E]=(0,r.useState)(null);return(0,r.useEffect)(()=>{if(h){if(g&&!C){const t=new a.GeolocateControl({positionOptions:{enableHighAccuracy:!0},trackUserLocation:!1});E(t),h.addControl(t)}!g&&C&&(h.removeControl(C),E(null))}},[h,C,g]),(0,r.useEffect)(()=>{if(C)return C.on("error",v),()=>{C.off("error",v)}},[C]),{map:h,bodyId:p}},v=t=>{var o;s.vF.error("Could not fetch location",t),g.Ay.createDialog(p.A,{title:(0,b._t)("location_sharing|error_fetch_location"),description:null!==(o=(0,u.Ff)(t.code))&&void 0!==o?o:""})},h=({bounds:t,centerGeoUri:o,children:e,className:n,allowGeolocate:a,id:i,interactive:s,onError:c,onClick:d})=>{const{map:u,bodyId:m}=f({centerGeoUri:o,onError:c,id:i,interactive:s,bounds:t,allowGeolocate:a});return r.createElement("div",{className:l()("mx_Map",n),id:m,onClick:t=>{t.target.classList.contains("maplibregl-ctrl-attrib-button")||null==d||d()}},!!e&&!!u&&e({map:u}))}},"./src/utils/location/map.ts":(t,o,e)=>{e.d(o,{h:()=>c,p:()=>s});var r=e("./node_modules/maplibre-gl/dist/maplibre-gl.js"),n=e("./node_modules/matrix-js-sdk/src/logger.ts"),l=e("./src/languageHandler.tsx"),a=e("./src/utils/location/findMapStyleUrl.ts"),i=e("./src/utils/location/LocationShareErrors.ts");const s=(t,o,e,s)=>{try{const c=(0,a.M)(t),d=new r.Map({container:e,style:c,zoom:15,interactive:o,attributionControl:!1,locale:{"AttributionControl.ToggleAttribution":(0,l._t)("location_sharing|toggle_attribution"),"AttributionControl.MapFeedback":(0,l._t)("location_sharing|map_feedback"),"FullscreenControl.Enter":(0,l._t)("action|enter_fullscreen"),"FullscreenControl.Exit":(0,l._t)("action|exit_fullscreeen"),"GeolocateControl.FindMyLocation":(0,l._t)("location_sharing|find_my_location"),"GeolocateControl.LocationNotAvailable":(0,l._t)("location_sharing|location_not_available"),"LogoControl.Title":(0,l._t)("location_sharing|mapbox_logo"),"NavigationControl.ResetBearing":(0,l._t)("location_sharing|reset_bearing"),"NavigationControl.ZoomIn":(0,l._t)("action|zoom_in"),"NavigationControl.ZoomOut":(0,l._t)("action|zoom_out")}});return d.addControl(new r.AttributionControl,"top-right"),d.on("error",t=>{n.vF.error("Failed to load map: check map_style_url in config.json has a valid URL and API key",t.error),null==s||s(new Error(i.$.MapStyleUrlNotReachable))}),d}catch(t){n.vF.error("Failed to render map",t);if((null==t?void 0:t.message).includes("Failed to initialize WebGL"))throw new Error(i.$.WebGLNotEnabled);throw t}},c=(t,o)=>new r.Marker({element:o,anchor:"bottom",offset:[0,-1]}).setLngLat({lon:t.longitude,lat:t.latitude})}}]);
//# sourceMappingURL=395.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[4522],{"./src/effects/spaceinvaders/index.ts":(t,e,i)=>{i.d(e,{default:()=>c});var s=i("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=i("./src/utils/arrays.ts");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}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){(0,s.A)(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:50,gravity:.005};class c{constructor(t){(0,s.A)(this,"options",void 0),(0,s.A)(this,"context",null),(0,s.A)(this,"particles",[]),(0,s.A)(this,"lastAnimationTime",0),(0,s.A)(this,"isRunning",!1),(0,s.A)(this,"start",async(t,e=3e3)=>{if(!t)return;this.context=t.getContext("2d"),this.particles=[];const i=this.options.maxCount;for(;this.particles.length<i;)this.particles.push(this.resetParticle({},t.width,t.height));this.isRunning=!0,requestAnimationFrame(this.renderLoop),e&&window.setTimeout(this.stop,e)}),(0,s.A)(this,"stop",async()=>{this.isRunning=!1}),(0,s.A)(this,"resetParticle",(t,e,i)=>(t.x=Math.random()*e,t.y=Math.random()*-i,t.xCol=t.x,t.gravity=this.options.gravity+6*Math.random()+4,t)),(0,s.A)(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=o(o({},a),t)}animateAndRenderInvaders(){if(this.context&&this.context.canvas){this.context.font="50px Twemoji";for(const t of(0,n.PF)(this.particles))t.y+=t.gravity,this.context.save(),this.context.fillText("👾",t.x,t.y),this.context.restore()}}}}}]);
//# sourceMappingURL=4522.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

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[5215],{"./src/effects/ICanvasEffect.ts":()=>{}}]);

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[5438],{"./src/async-components/views/dialogs/eventindex/DisableEventIndexDialog.tsx":(e,s,t)=>{t.r(s),t.d(s,{default:()=>m});var n=t("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=t("./node_modules/react/index.js"),a=t("./src/components/views/dialogs/BaseDialog.tsx"),r=t("./src/components/views/elements/Spinner.tsx"),l=t("./src/components/views/elements/DialogButtons.tsx"),o=t("./src/dispatcher/dispatcher.ts"),c=t("./src/languageHandler.tsx"),d=t("./src/settings/SettingsStore.ts"),g=t("./src/indexing/EventIndexPeg.ts"),p=t("./src/dispatcher/actions.ts"),u=t("./src/settings/SettingLevel.ts");class m extends i.Component{constructor(e){super(e),(0,n.A)(this,"onDisable",async()=>{this.setState({disabling:!0}),await d.A.setValue("enableEventIndexing",null,u.p.DEVICE,!1),await g.A.deleteEventIndex(),this.props.onFinished(!0),o.A.fire(p.r.ViewUserSettings)}),this.state={disabling:!1}}render(){return i.createElement(a.A,{onFinished:this.props.onFinished,title:(0,c._t)("common|are_you_sure")},(0,c._t)("settings|security|message_search_disable_warning"),this.state.disabling?i.createElement(r.A,null):i.createElement("div",null),i.createElement(l.A,{primaryButton:(0,c._t)("action|disable"),onPrimaryButtonClick:this.onDisable,primaryButtonClass:"danger",cancelButtonClass:"warning",onCancel:this.props.onFinished,disabled:this.state.disabling}))}}}}]);
//# sourceMappingURL=5438.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"bundles/b208558142de943d2bca/5438.js","mappings":"4rBA+Be,MAAMA,UAAgCC,EAAAA,UAC1CC,WAAAA,CAAYC,GACfC,MAAMD,IAAOE,EAAAA,EAAAA,GAAA,iBAMGC,UAChBC,KAAKC,SAAS,CACVC,WAAW,UAGTC,EAAAA,EAAcC,SAAS,sBAAuB,KAAMC,EAAAA,EAAaC,QAAQ,SACzEC,EAAAA,EAAcC,mBACpBR,KAAKJ,MAAMa,YAAW,GACtBC,EAAAA,EAAIC,KAAKC,EAAAA,EAAOC,oBAbhBb,KAAKc,MAAQ,CACTZ,WAAW,EAEnB,CAaOa,MAAAA,GACH,OACIrB,EAAAA,cAACsB,EAAAA,EAAU,CAACP,WAAYT,KAAKJ,MAAMa,WAAYQ,OAAOC,EAAAA,EAAAA,IAAG,yBACpDA,EAAAA,EAAAA,IAAG,oDACHlB,KAAKc,MAAMZ,UAAYR,EAAAA,cAACyB,EAAAA,EAAO,MAAMzB,EAAAA,cAAA,YACtCA,EAAAA,cAAC0B,EAAAA,EAAa,CACVC,eAAeH,EAAAA,EAAAA,IAAG,kBAClBI,qBAAsBtB,KAAKuB,UAC3BC,mBAAmB,SACnBC,kBAAkB,UAClBC,SAAU1B,KAAKJ,MAAMa,WACrBkB,SAAU3B,KAAKc,MAAMZ,YAIrC,E","sources":["webpack://element-web/./src/async-components/views/dialogs/eventindex/DisableEventIndexDialog.tsx"],"sourcesContent":["/*\nCopyright 2024 New Vector Ltd.\nCopyright 2020 The Matrix.org Foundation C.I.C.\n\nSPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial\nPlease see LICENSE files in the repository root for full details.\n*/\n\nimport React from \"react\";\n\nimport BaseDialog from \"../../../../components/views/dialogs/BaseDialog\";\nimport Spinner from \"../../../../components/views/elements/Spinner\";\nimport DialogButtons from \"../../../../components/views/elements/DialogButtons\";\nimport dis from \"../../../../dispatcher/dispatcher\";\nimport { _t } from \"../../../../languageHandler\";\nimport SettingsStore from \"../../../../settings/SettingsStore\";\nimport EventIndexPeg from \"../../../../indexing/EventIndexPeg\";\nimport { Action } from \"../../../../dispatcher/actions\";\nimport { SettingLevel } from \"../../../../settings/SettingLevel\";\n\ninterface IProps {\n onFinished: (success?: boolean) => void;\n}\n\ninterface IState {\n disabling: boolean;\n}\n\n/*\n * Allows the user to disable the Event Index.\n */\nexport default class DisableEventIndexDialog extends React.Component<IProps, IState> {\n public constructor(props: IProps) {\n super(props);\n this.state = {\n disabling: false,\n };\n }\n\n private onDisable = async (): Promise<void> => {\n this.setState({\n disabling: true,\n });\n\n await SettingsStore.setValue(\"enableEventIndexing\", null, SettingLevel.DEVICE, false);\n await EventIndexPeg.deleteEventIndex();\n this.props.onFinished(true);\n dis.fire(Action.ViewUserSettings);\n };\n\n public render(): React.ReactNode {\n return (\n <BaseDialog onFinished={this.props.onFinished} title={_t(\"common|are_you_sure\")}>\n {_t(\"settings|security|message_search_disable_warning\")}\n {this.state.disabling ? <Spinner /> : <div />}\n <DialogButtons\n primaryButton={_t(\"action|disable\")}\n onPrimaryButtonClick={this.onDisable}\n primaryButtonClass=\"danger\"\n cancelButtonClass=\"warning\"\n onCancel={this.props.onFinished}\n disabled={this.state.disabling}\n />\n </BaseDialog>\n );\n }\n}\n"],"names":["DisableEventIndexDialog","React","constructor","props","super","_defineProperty","async","this","setState","disabling","SettingsStore","setValue","SettingLevel","DEVICE","EventIndexPeg","deleteEventIndex","onFinished","dis","fire","Action","ViewUserSettings","state","render","BaseDialog","title","_t","Spinner","DialogButtons","primaryButton","onPrimaryButtonClick","onDisable","primaryButtonClass","cancelButtonClass","onCancel","disabled"],"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

View File

@ -0,0 +1,59 @@
/*! *****************************************************************************
Copyright (C) Microsoft. 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.
***************************************************************************** */
/**
* @license React
* react-dom-server-legacy.browser.production.js
*
* Copyright (c) Meta Platforms, Inc. and 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
* react-dom-server.browser.production.js
*
* Copyright (c) Meta Platforms, Inc. and 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.12
* @link https://github.com/ten1seven/what-input
* @license MIT
*/
/** @license React v16.13.1
* 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.
*/
/** @license React v17.0.2
* 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.
*/

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

View File

@ -0,0 +1,2 @@
(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[6717],{"./node_modules/tar-js/lib/header.js":(t,e,n)=>{!function(){"use strict";var e,i=n("./node_modules/tar-js/lib/utils.js");e=[{field:"fileName",length:100},{field:"fileMode",length:8},{field:"uid",length:8},{field:"gid",length:8},{field:"fileSize",length:12},{field:"mtime",length:12},{field:"checksum",length:8},{field:"type",length:1},{field:"linkName",length:100},{field:"ustar",length:8},{field:"owner",length:32},{field:"group",length:32},{field:"majorNumber",length:8},{field:"minorNumber",length:8},{field:"filenamePrefix",length:155},{field:"padding",length:12}],t.exports.structure=e,t.exports.format=function(t,n){var r=i.clean(512),o=0;return e.forEach(function(e){var n,i,s=t[e.field]||"";for(n=0,i=s.length;n<i;n+=1)r[o]=s.charCodeAt(n),o+=1;o+=e.length-n}),"function"==typeof n?n(r,o):r}}()},"./node_modules/tar-js/lib/tar.js":(t,e,n)=>{!function(){"use strict";var e,i=n("./node_modules/tar-js/lib/header.js"),r=n("./node_modules/tar-js/lib/utils.js"),o=512;function s(t){this.written=0,e=(t||20)*o,this.out=r.clean(e)}s.prototype.append=function(t,n,s,l){var u,h,a,f,d,c,g;if("string"==typeof n)n=r.stringToUint8(n);else if(n.constructor!==Uint8Array.prototype.constructor)throw"Invalid input type. You gave me: "+n.constructor.toString().match(/function\s*([$A-Za-z_][0-9A-Za-z_]*)\s*\(/)[1];return"function"==typeof s&&(l=s,s={}),a=(s=s||{}).mode||4095&parseInt("777",8),f=s.mtime||Math.floor(+new Date/1e3),d=s.uid||0,c=s.gid||0,u={fileName:t,fileMode:r.pad(a,7),uid:r.pad(d,7),gid:r.pad(c,7),fileSize:r.pad(n.length,11),mtime:r.pad(f,11),checksum:" ",type:"0",ustar:"ustar ",owner:s.owner||"",group:s.group||""},h=0,Object.keys(u).forEach(function(t){var e,n,i=u[t];for(e=0,n=i.length;e<n;e+=1)h+=i.charCodeAt(e)}),u.checksum=r.pad(h,6)+"\0 ",g=i.format(u),this.out.set(g,this.written),this.written+=g.length,this.written+n.length>this.out.length&&(this.out=r.extend(this.out,this.written,n.length,e)),this.out.set(n,this.written),this.written+=n.length+(o-(n.length%o||o)),this.out.length-this.written<1024&&(this.out=r.extend(this.out,this.written,1024,e)),"function"==typeof l&&l(this.out),this.out},s.prototype.clear=function(){this.written=0,this.out=r.clean(e)},s.utils=r,s.stringToUint8=r.stringToUint8,s.uint8ToBase64=r.uint8ToBase64,s.base64ToUint8=r.base64ToUint8,t.exports=s}()},"./node_modules/tar-js/lib/utils.js":t=>{!function(){"use strict";var e=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"];function n(t){var e,n=new Uint8Array(t);for(e=0;e<t;e+=1)n[e]=0;return n}t.exports.clean=n,t.exports.pad=function(t,e,n){return t=t.toString(n||8),"000000000000".substr(t.length+12-e)+t},t.exports.extend=function(t,e,i,r){var o=n((parseInt((e+i)/r)+1)*r);return o.set(t),o},t.exports.stringToUint8=function(t,e,i){var r,o;for(e=e||n(t.length),i=i||0,r=0,o=t.length;r<o;r+=1)e[i]=t.charCodeAt(r),i+=1;return e},t.exports.uint8ToBase64=function(t){var n,i,r=t.length%3,o="";function s(t){return e[t>>18&63]+e[t>>12&63]+e[t>>6&63]+e[63&t]}for(n=0,i=t.length-r;n<i;n+=3)o+=s((t[n]<<16)+(t[n+1]<<8)+t[n+2]);switch(o.length%4){case 1:o+="=";break;case 2:o+="=="}return o},t.exports.base64ToUint8=function(t){for(var i,r=t.match(/^([^=]+)/)[1],o=t.match(/(=*)$/)[1].length,s=0,l=r.length,u=0,h=n(.75*r.length+o);s<l;)i=0,i|=e.indexOf(r.charAt(s)||"A")<<18,s+=1,i|=e.indexOf(r.charAt(s)||"A")<<12,s+=1,i|=e.indexOf(r.charAt(s)||"A")<<6,s+=1,i|=e.indexOf(r.charAt(s)||"A"),s+=1,h[u]=i>>16&255,h[u+=1]=i>>8&255,h[u+=1]=255&i,u+=1;return h}}()}}]);
//# sourceMappingURL=6717.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[6762],{"./src/async-components/views/dialogs/security/RecoveryMethodRemovedDialog.tsx":(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var n=s("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=s("./node_modules/react/index.js"),i=s("./src/dispatcher/dispatcher.ts"),r=s("./src/languageHandler.tsx"),c=s("./src/dispatcher/actions.ts"),a=s("./src/components/views/dialogs/UserTab.ts"),l=s("./src/components/views/dialogs/BaseDialog.tsx"),m=s("./src/components/views/elements/DialogButtons.tsx");class d extends o.PureComponent{constructor(...e){super(...e),(0,n.A)(this,"onGoToSettingsClick",()=>{this.props.onFinished(),i.A.fire(c.r.ViewUserSettings)}),(0,n.A)(this,"onSetupClick",()=>{this.props.onFinished();const e={action:c.r.ViewUserSettings,initialTabId:a.v.Encryption};i.A.dispatch(e)})}render(){const e=o.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},(0,r._t)("encryption|recovery_method_removed|title"));return o.createElement(l.A,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:e},o.createElement("div",null,o.createElement("p",null,(0,r._t)("encryption|recovery_method_removed|description_1")),o.createElement("p",null,(0,r._t)("encryption|recovery_method_removed|description_2")),o.createElement("strong",{className:"warning"},(0,r._t)("encryption|recovery_method_removed|warning")),o.createElement(m.A,{primaryButton:(0,r._t)("common|setup_secure_messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:(0,r._t)("common|go_to_settings"),onCancel:this.onGoToSettingsClick})))}}}}]);
//# sourceMappingURL=6762.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"bundles/b208558142de943d2bca/6762.js","mappings":"wkBAuBe,MAAMA,UAAoCC,EAAAA,cAA4BC,WAAAA,IAAAC,GAAA,SAAAA,IAAAC,EAAAA,EAAAA,GAAA,2BACnD,KAC1BC,KAAKC,MAAMC,aACXC,EAAAA,EAAIC,KAAKC,EAAAA,EAAOC,qBACnBP,EAAAA,EAAAA,GAAA,oBAEsB,KACnBC,KAAKC,MAAMC,aAEX,MAAMK,EAA4B,CAC9BC,OAAQH,EAAAA,EAAOC,iBACfG,aAAcC,EAAAA,EAAQC,YAE1BR,EAAAA,EAAIS,SAASL,IAChB,CAEMM,MAAAA,GACH,MAAMC,EACFlB,EAAAA,cAAA,QAAMmB,UAAU,mCAAkCC,EAAAA,EAAAA,IAAG,6CAGzD,OACIpB,EAAAA,cAACqB,EAAAA,EAAU,CAACF,UAAU,2BAA2Bb,WAAYF,KAAKC,MAAMC,WAAYY,MAAOA,GACvFlB,EAAAA,cAAA,WACIA,EAAAA,cAAA,UAAIoB,EAAAA,EAAAA,IAAG,qDACPpB,EAAAA,cAAA,UAAIoB,EAAAA,EAAAA,IAAG,qDACPpB,EAAAA,cAAA,UAAQmB,UAAU,YAAWC,EAAAA,EAAAA,IAAG,+CAChCpB,EAAAA,cAACsB,EAAAA,EAAa,CACVC,eAAeH,EAAAA,EAAAA,IAAG,gCAClBI,qBAAsBpB,KAAKqB,aAC3BC,cAAcN,EAAAA,EAAAA,IAAG,yBACjBO,SAAUvB,KAAKwB,uBAKnC,E","sources":["webpack://element-web/./src/async-components/views/dialogs/security/RecoveryMethodRemovedDialog.tsx"],"sourcesContent":["/*\nCopyright 2024 New Vector Ltd.\nCopyright 2020 The Matrix.org Foundation C.I.C.\nCopyright 2019 New Vector Ltd\n\nSPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial\nPlease see LICENSE files in the repository root for full details.\n*/\n\nimport React from \"react\";\n\nimport dis from \"../../../../dispatcher/dispatcher\";\nimport { _t } from \"../../../../languageHandler\";\nimport { Action } from \"../../../../dispatcher/actions\";\nimport { UserTab } from \"../../../../components/views/dialogs/UserTab\";\nimport BaseDialog from \"../../../../components/views/dialogs/BaseDialog\";\nimport DialogButtons from \"../../../../components/views/elements/DialogButtons\";\nimport { type OpenToTabPayload } from \"../../../../dispatcher/payloads/OpenToTabPayload\";\n\ninterface IProps {\n onFinished(): void;\n}\n\nexport default class RecoveryMethodRemovedDialog extends React.PureComponent<IProps> {\n private onGoToSettingsClick = (): void => {\n this.props.onFinished();\n dis.fire(Action.ViewUserSettings);\n };\n\n private onSetupClick = (): void => {\n this.props.onFinished();\n // Open the user settings dialog to the encryption tab and start the flow to reset encryption\n const payload: OpenToTabPayload = {\n action: Action.ViewUserSettings,\n initialTabId: UserTab.Encryption,\n };\n dis.dispatch(payload);\n };\n\n public render(): React.ReactNode {\n const title = (\n <span className=\"mx_KeyBackupFailedDialog_title\">{_t(\"encryption|recovery_method_removed|title\")}</span>\n );\n\n return (\n <BaseDialog className=\"mx_KeyBackupFailedDialog\" onFinished={this.props.onFinished} title={title}>\n <div>\n <p>{_t(\"encryption|recovery_method_removed|description_1\")}</p>\n <p>{_t(\"encryption|recovery_method_removed|description_2\")}</p>\n <strong className=\"warning\">{_t(\"encryption|recovery_method_removed|warning\")}</strong>\n <DialogButtons\n primaryButton={_t(\"common|setup_secure_messages\")}\n onPrimaryButtonClick={this.onSetupClick}\n cancelButton={_t(\"common|go_to_settings\")}\n onCancel={this.onGoToSettingsClick}\n />\n </div>\n </BaseDialog>\n );\n }\n}\n"],"names":["RecoveryMethodRemovedDialog","React","constructor","args","_defineProperty","this","props","onFinished","dis","fire","Action","ViewUserSettings","payload","action","initialTabId","UserTab","Encryption","dispatch","render","title","className","_t","BaseDialog","DialogButtons","primaryButton","onPrimaryButtonClick","onSetupClick","cancelButton","onCancel","onGoToSettingsClick"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,5 @@
/*!
* content-type
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/

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

View File

@ -0,0 +1 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[7088],{"./node_modules/@vector-im/matrix-wysiwyg/node_modules/@vector-im/matrix-wysiwyg-wasm/pkg/wysiwyg_bg.wasm":(_,e,b)=>{var a=b("./node_modules/@vector-im/matrix-wysiwyg/node_modules/@vector-im/matrix-wysiwyg-wasm/pkg/wysiwyg_bg.js");_.exports=b.v(e,_.id,"47c84c1809aaa667c58f",{"./wysiwyg_bg.js":{__wbindgen_string_get:a.qN,__wbg_new_5e0be73521bc8c17:a.aI,__wbindgen_string_new:a.yc,__wbg_set_8fc6bf8a5b1071d1:a.iA,__wbg_forEach_e1cf6f7c8ecb7dae:a.tm,__wbindgen_number_new:a.QR,__wbg_forEach_d6a05ca96422eff9:a.k4,__wbg_new_8a6f238a6ece86ea:a.$P,__wbg_stack_0ed75d68575b0f3c:a.x$,__wbg_error_7534b8e9a36f1ab4:a.WY,__wbindgen_throw:a.Qn,__wbg_getPropertyValue_e623c23a05dfb30c:a.jn,__wbg_getAttribute_ea5166be2deba45e:a.wW,__wbg_nodeValue_6ff4f14870c43bd9:a.hr,__wbg_new_363ae9575a2aba54:a.F9,__wbg_parseFromString_91cbec9ba27a222a:a.P1,__wbg_body_942ea927546a04ba:a.rn,__wbg_childNodes_c4423003f3a9441f:a.dQ,__wbg_length_49b2ba67f0897e97:a.P9,__wbg_get_e27dfaeb6f46bd45:a.cV,__wbg_nodeName_ff3aa439a5af6311:a.$h,__wbg_style_fb30c14e5815805c:a.rz,__wbg_hasAttribute_db31090c2e646f57:a.u1,__wbg_nodeType_5e1153141daac26a:a.jG,__wbindgen_init_externref_table:a.bL}})}}]);

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

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[797],{"./src/async-components/views/dialogs/eventindex/ManageEventIndexDialog.tsx":(e,t,s)=>{s.r(t),s.d(t,{default:()=>_});var n=s("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=s("./node_modules/react/index.js"),a=s("./src/languageHandler.tsx"),i=s("./src/SdkConfig.ts"),r=s("./src/settings/SettingsStore.ts"),l=s("./src/Modal.tsx"),c=s("./src/utils/FormattingUtils.ts"),m=s("./src/indexing/EventIndexPeg.ts"),u=s("./src/settings/SettingLevel.ts"),g=s("./src/components/views/elements/Field.tsx"),d=s("./src/components/views/dialogs/BaseDialog.tsx"),h=s("./src/components/views/elements/DialogButtons.tsx");class _ extends o.Component{constructor(e){super(e),(0,n.A)(this,"updateCurrentRoom",async e=>{var t,s,n,o;const a=m.A.get();if(!a)return;let i;try{i=await a.getStats()}catch{return}let r=null;e&&(r=e.name);const l=a.crawlingRooms(),c=l.crawlingRooms.size,u=l.totalRooms.size;this.setState({eventIndexSize:null!==(t=null===(s=i)||void 0===s?void 0:s.size)&&void 0!==t?t:0,eventCount:null!==(n=null===(o=i)||void 0===o?void 0:o.eventCount)&&void 0!==n?n:0,crawlingRoomsCount:c,roomCount:u,currentRoom:r})}),(0,n.A)(this,"onDisable",async()=>{const e=(await s.e(5438).then(s.bind(s,"./src/async-components/views/dialogs/eventindex/DisableEventIndexDialog.tsx"))).default;l.Ay.createDialog(e,void 0,void 0,!1,!0)}),(0,n.A)(this,"onCrawlerSleepTimeChange",e=>{this.setState({crawlerSleepTime:parseInt(e.target.value,10)}),r.A.setValue("crawlerSleepTime",null,u.p.DEVICE,e.target.value)}),this.state={eventIndexSize:0,eventCount:0,crawlingRoomsCount:0,roomCount:0,currentRoom:null,crawlerSleepTime:r.A.getValueAt(u.p.DEVICE,"crawlerSleepTime")}}componentWillUnmount(){const e=m.A.get();null!==e&&e.removeListener("changedCheckpoint",this.updateCurrentRoom)}async componentDidMount(){let e=0,t=0,s=0,n=0,o=null;const a=m.A.get();if(null!==a){a.on("changedCheckpoint",this.updateCurrentRoom);try{const t=await a.getStats();t&&(e=t.size,n=t.eventCount)}catch{}const i=a.crawlingRooms();t=i.crawlingRooms.size,s=i.totalRooms.size;const r=a.currentRoom();r&&(o=r.name)}this.setState({eventIndexSize:e,eventCount:n,crawlingRoomsCount:t,roomCount:s,currentRoom:o})}render(){const e=i.Ay.get().brand;let t;t=null===this.state.currentRoom?(0,a._t)("settings|security|message_search_indexing_idle"):(0,a._t)("settings|security|message_search_indexing",{currentRoom:this.state.currentRoom});const s=Math.max(0,this.state.roomCount-this.state.crawlingRoomsCount),n=o.createElement("div",null,(0,a._t)("settings|security|message_search_intro",{brand:e}),o.createElement("div",{className:"mx_SettingsTab_subsectionText"},t,o.createElement("br",null),(0,a._t)("settings|security|message_search_space_used")," ",(0,c.z3)(this.state.eventIndexSize,0),o.createElement("br",null),(0,a._t)("settings|security|message_search_indexed_messages")," ",(0,c.Zl)(this.state.eventCount),o.createElement("br",null),(0,a._t)("settings|security|message_search_indexed_rooms")," ",(0,a._t)("settings|security|message_search_room_progress",{doneRooms:(0,c.Zl)(s),totalRooms:(0,c.Zl)(this.state.roomCount)})," ",o.createElement("br",null),o.createElement(g.A,{label:(0,a._t)("settings|security|message_search_sleep_time"),type:"number",value:this.state.crawlerSleepTime.toString(),onChange:this.onCrawlerSleepTimeChange})));return o.createElement(d.A,{className:"mx_ManageEventIndexDialog",onFinished:this.props.onFinished,title:(0,a._t)("settings|security|message_search_section")},n,o.createElement(h.A,{primaryButton:(0,a._t)("action|done"),onPrimaryButtonClick:this.props.onFinished,primaryButtonClass:"primary",cancelButton:(0,a._t)("action|disable"),onCancel:this.onDisable,cancelButtonClass:"danger"}))}}}}]);
//# sourceMappingURL=797.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[8227],{"./src/components/views/location/Marker.tsx":(e,t,o)=>{o.d(t,{A:()=>m});var n=o("./node_modules/react/index.js"),r=o("./node_modules/classnames/index.js"),a=o.n(r),l=o("./node_modules/@vector-im/compound-design-tokens/assets/web/icons/location-pin-solid.js"),i=o("./src/utils/FormattingUtils.ts"),s=o("./src/components/views/avatars/MemberAvatar.tsx");const c=({tooltip:e,children:t})=>{const[o,r]=(0,n.useState)(!1);if(!e)return n.createElement(n.Fragment,null,t);return n.createElement("div",{onMouseEnter:()=>r(!0),onClick:e=>{e.stopPropagation(),r(!o)},onMouseLeave:()=>r(!1)},t,o&&e)},m=({id:e,roomMember:t,useMemberColor:o,tooltip:r,ref:m})=>{const d=o&&t?(0,i.yJ)(t.userId):"";return n.createElement("div",{ref:m,id:e,className:a()("mx_Marker",d,{mx_Marker_defaultColor:!d})},n.createElement(c,{tooltip:r},n.createElement("div",{className:"mx_Marker_border"},t?n.createElement(s.A,{member:t,size:"36px",viewUserOnClick:!1,hideTitle:!!r}):n.createElement(l.A,{className:"mx_Marker_icon"}))))}},"./src/components/views/location/SmartMarker.tsx":(e,t,o)=>{o.r(t),o.d(t,{default:()=>i});var n=o("./node_modules/react/index.js"),r=o("./src/utils/location/index.ts"),a=o("./src/utils/location/map.ts"),l=o("./src/components/views/location/Marker.tsx");const i=({id:e,map:t,geoUri:o,roomMember:i,useMemberColor:s,tooltip:c})=>{const{onElementRef:m}=((e,t)=>{const[o,l]=(0,n.useState)(),i=(0,n.useCallback)(n=>{if(o||!n)return;const i=(0,r.XB)(t);if(i){const t=(0,a.h)(i,n);t.addTo(e),l(t)}},[o,t,e]);return(0,n.useEffect)(()=>{if(o){const e=(0,r.XB)(t);e&&o.setLngLat({lon:e.longitude,lat:e.latitude})}},[o,t]),(0,n.useEffect)(()=>()=>{o&&o.remove()},[o]),{marker:o,onElementRef:i}})(t,o);return n.createElement("span",null,n.createElement(l.A,{ref:m,id:e,roomMember:i,useMemberColor:s,tooltip:c}))}},"./src/utils/location/map.ts":(e,t,o)=>{o.d(t,{h:()=>c,p:()=>s});var n=o("./node_modules/maplibre-gl/dist/maplibre-gl.js"),r=o("./node_modules/matrix-js-sdk/src/logger.ts"),a=o("./src/languageHandler.tsx"),l=o("./src/utils/location/findMapStyleUrl.ts"),i=o("./src/utils/location/LocationShareErrors.ts");const s=(e,t,o,s)=>{try{const c=(0,l.M)(e),m=new n.Map({container:o,style:c,zoom:15,interactive:t,attributionControl:!1,locale:{"AttributionControl.ToggleAttribution":(0,a._t)("location_sharing|toggle_attribution"),"AttributionControl.MapFeedback":(0,a._t)("location_sharing|map_feedback"),"FullscreenControl.Enter":(0,a._t)("action|enter_fullscreen"),"FullscreenControl.Exit":(0,a._t)("action|exit_fullscreeen"),"GeolocateControl.FindMyLocation":(0,a._t)("location_sharing|find_my_location"),"GeolocateControl.LocationNotAvailable":(0,a._t)("location_sharing|location_not_available"),"LogoControl.Title":(0,a._t)("location_sharing|mapbox_logo"),"NavigationControl.ResetBearing":(0,a._t)("location_sharing|reset_bearing"),"NavigationControl.ZoomIn":(0,a._t)("action|zoom_in"),"NavigationControl.ZoomOut":(0,a._t)("action|zoom_out")}});return m.addControl(new n.AttributionControl,"top-right"),m.on("error",e=>{r.vF.error("Failed to load map: check map_style_url in config.json has a valid URL and API key",e.error),null==s||s(new Error(i.$.MapStyleUrlNotReachable))}),m}catch(e){r.vF.error("Failed to render map",e);if((null==e?void 0:e.message).includes("Failed to initialize WebGL"))throw new Error(i.$.WebGLNotEnabled);throw e}},c=(e,t)=>new n.Marker({element:t,anchor:"bottom",offset:[0,-1]}).setLngLat({lon:e.longitude,lat:e.latitude})}}]);
//# sourceMappingURL=8227.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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
/**
* MapLibre GL JS
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.8.0/LICENSE.txt
*/

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[9381],{"./src/modules.js":(e,s,c)=>{c.d(s,{INSTALLED_MODULES:()=>l});const l=[]}}]);
//# sourceMappingURL=9381.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"bundles/b208558142de943d2bca/9381.js","mappings":"yJASO,MAAMA,EAAoB,E","sources":["webpack://element-web/./src/modules.js"],"sourcesContent":["\n/*\n * THIS FILE IS AUTO-GENERATED\n * You can edit it you like, but your changes will be overwritten,\n * so you'd just be trying to swim upstream like a salmon.\n * You are not a salmon.\n */\n\n\nexport const INSTALLED_MODULES = [];\n"],"names":["INSTALLED_MODULES"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[9393],{"./src/utils/PasswordScorer.ts":(e,n,s)=>{s.d(n,{scorePassword:()=>b});var t=s("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=s("./node_modules/@zxcvbn-ts/core/dist/index.esm.js"),o=s("./node_modules/@zxcvbn-ts/language-common/dist/index.esm.js"),a=s("./node_modules/@zxcvbn-ts/language-en/dist/index.esm.js"),c=s("./node_modules/@zxcvbn-ts/language-en/dist/translations.esm.js"),i=s("./src/languageHandler.tsx"),g=s("./src/SdkConfig.ts");function u(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),s.push.apply(s,t)}return s}function d(e){for(var n=1;n<arguments.length;n++){var s=null!=arguments[n]?arguments[n]:{};n%2?u(Object(s),!0).forEach(function(n){(0,t.A)(e,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):u(Object(s)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(s,n))})}return e}function b(e,n,s=[]){if(0===n.length)return null;const t=[...s];if(e){t.push(e.getUserIdLocalpart());try{const n=e.getDomain();t.push(n)}catch{}}r.u2.setTranslations({warnings:{straightRow:(0,i._t)("zxcvbn|warnings|straightRow"),keyPattern:(0,i._t)("zxcvbn|warnings|keyPattern"),simpleRepeat:(0,i._t)("zxcvbn|warnings|simpleRepeat"),extendedRepeat:(0,i._t)("zxcvbn|warnings|extendedRepeat"),sequences:(0,i._t)("zxcvbn|warnings|sequences"),recentYears:(0,i._t)("zxcvbn|warnings|recentYears"),dates:(0,i._t)("zxcvbn|warnings|dates"),topTen:(0,i._t)("zxcvbn|warnings|topTen"),topHundred:(0,i._t)("zxcvbn|warnings|topHundred"),common:(0,i._t)("zxcvbn|warnings|common"),similarToCommon:(0,i._t)("zxcvbn|warnings|similarToCommon"),wordByItself:(0,i._t)("zxcvbn|warnings|wordByItself"),namesByThemselves:(0,i._t)("zxcvbn|warnings|namesByThemselves"),commonNames:(0,i._t)("zxcvbn|warnings|commonNames"),userInputs:(0,i._t)("zxcvbn|warnings|userInputs"),pwned:(0,i._t)("zxcvbn|warnings|pwned")},suggestions:{l33t:(0,i._t)("zxcvbn|suggestions|l33t"),reverseWords:(0,i._t)("zxcvbn|suggestions|reverseWords"),allUppercase:(0,i._t)("zxcvbn|suggestions|allUppercase"),capitalization:(0,i._t)("zxcvbn|suggestions|capitalization"),dates:(0,i._t)("zxcvbn|suggestions|dates"),recentYears:(0,i._t)("zxcvbn|suggestions|recentYears"),associatedYears:(0,i._t)("zxcvbn|suggestions|associatedYears"),sequences:(0,i._t)("zxcvbn|suggestions|sequences"),repeated:(0,i._t)("zxcvbn|suggestions|repeated"),longerKeyboardPattern:(0,i._t)("zxcvbn|suggestions|longerKeyboardPattern"),anotherWord:(0,i._t)("zxcvbn|suggestions|anotherWord"),useWords:(0,i._t)("zxcvbn|suggestions|useWords"),noNeed:(0,i._t)("zxcvbn|suggestions|noNeed"),pwned:(0,i._t)("zxcvbn|suggestions|pwned")},timeEstimation:c.A.timeEstimation});let o=(0,r.K1)(n,t);if(n.includes(" ")){const e=(0,r.K1)(n.replace(/ /g,""),t);e.score<o.score&&(o=e)}return o}r.u2.setOptions({dictionary:d(d(d({},o.z),a.z),{},{userInputs:["riot","matrix","element",g.Ay.get().brand]}),graphs:o.K,useLevenshteinDistance:!0})}}]);
//# sourceMappingURL=9393.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(()=>{"use strict";(()=>{if("undefined"!=typeof __webpack_require__){var t=__webpack_require__.u,e=__webpack_require__.e,a={},r={};__webpack_require__.u=function(e){return t(e)+(a.hasOwnProperty(e)?"?"+a[e]:"")},__webpack_require__.e=function(h){return e(h).catch(function(e){var o=r.hasOwnProperty(h)?r[h]:3;if(o<1){var n=t(h);throw e.message="Loading chunk "+h+" failed after 3 retries.\n("+n+")",e.request=n,e}return new Promise(function(t){setTimeout(function(){var e=Date.now();a[h]=e,r[h]=o-1,t(__webpack_require__.e(h))},500)})})}}})();var t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],e=(e,a)=>{var r="";for(let h=1;h<=a;h++){let o=Math.floor(e)/Math.pow(83,a-h)%83;r+=t[Math.floor(o)]}return r},a=t=>{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},r=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.trunc(12.92*e*255+.5):Math.trunc(255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5)},h=(t,e)=>(t=>t<0?-1:1)(t)*Math.pow(Math.abs(t),e),o=class extends Error{constructor(t){super(t),this.name="ValidationError",this.message=t}},n=(t,e,r,h)=>{let o=0,n=0,i=0,s=4*e;for(let l=0;l<e;l++){let e=4*l;for(let u=0;u<r;u++){let r=e+u*s,M=h(l,u);o+=M*a(t[r]),n+=M*a(t[r+1]),i+=M*a(t[r+2])}}let l=1/(e*r);return[o*l,n*l,i*l]},i=(t,a,i,s,l)=>{if(s<1||s>9||l<1||l>9)throw new o("BlurHash must have between 1 and 9 components");if(a*i*4!==t.length)throw new o("Width and height must match the pixels array");let u=[];for(let e=0;e<l;e++)for(let r=0;r<s;r++){let h=0==r&&0==e?1:2,o=n(t,a,i,(t,o)=>h*Math.cos(Math.PI*r*t/a)*Math.cos(Math.PI*e*o/i));u.push(o)}let M,f=u[0],_=u.slice(1),c="";if(c+=e(s-1+9*(l-1),1),_.length>0){let t=Math.max(..._.map(t=>Math.max(...t))),a=Math.floor(Math.max(0,Math.min(82,Math.floor(166*t-.5))));M=(a+1)/166,c+=e(a,1)}else M=1,c+=e(0,1);return c+=e((t=>(r(t[0])<<16)+(r(t[1])<<8)+r(t[2]))(f),4),_.forEach(t=>{c+=e(((t,e)=>19*Math.floor(Math.max(0,Math.min(18,Math.floor(9*h(t[0]/e,.5)+9.5))))*19+19*Math.floor(Math.max(0,Math.min(18,Math.floor(9*h(t[1]/e,.5)+9.5))))+Math.floor(Math.max(0,Math.min(18,Math.floor(9*h(t[2]/e,.5)+9.5)))))(t,M),2)}),c};const s=self;s.addEventListener("message",t=>{const{seq:e,imageData:a}=t.data,r=i(a.data,a.width,a.height,a.width>=a.height?4:3,a.height>=a.width?4:3);s.postMessage({seq:e,blurhash:r})})})();
//# sourceMappingURL=blurhash.worker.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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,426 @@
/*!
{
"name": "CSS Animations",
"property": "cssanimations",
"caniuse": "css-animation",
"polyfills": ["transformie", "csssandpaper"],
"tags": ["css"],
"warnings": ["Android < 4 will pass this test, but can only animate a single property at a time"],
"notes": [{
"name": "Article: 'Dispelling the Android CSS animation myths'",
"href": "https://web.archive.org/web/20180602074607/https://daneden.me/2011/12/14/putting-up-with-androids-bullshit/"
}]
}
!*/
/*!
{
"name": "CSS Display table",
"property": "displaytable",
"caniuse": "css-table",
"authors": ["scottjehl"],
"tags": ["css"],
"builderAliases": ["css_displaytable"],
"notes": [{
"name": "Detects for all additional table display values",
"href": "https://pastebin.com/Gk9PeVaQ"
}]
}
!*/
/*!
{
"name": "CSS Filters",
"property": "cssfilters",
"caniuse": "css-filters",
"polyfills": ["polyfilter"],
"tags": ["css"],
"builderAliases": ["css_filters"],
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/filter"
}]
}
!*/
/*!
{
"name": "CSS Object Fit",
"caniuse": "object-fit",
"property": "objectfit",
"tags": ["css"],
"builderAliases": ["css_objectfit"],
"notes": [{
"name": "Opera Article on Object Fit",
"href": "https://dev.opera.com/articles/css3-object-fit-object-position/"
}]
}
!*/
/*!
{
"name": "CSS Supports",
"property": "supports",
"caniuse": "css-featurequeries",
"tags": ["css"],
"builderAliases": ["css_supports"],
"notes": [{
"name": "W3C Spec (The @supports rule)",
"href": "https://dev.w3.org/csswg/css3-conditional/#at-supports"
}, {
"name": "Related Github Issue",
"href": "https://github.com/Modernizr/Modernizr/issues/648"
}, {
"name": "W3C Spec (The CSSSupportsRule interface)",
"href": "https://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface"
}]
}
!*/
/*!
{
"name": "Cross-Origin Resource Sharing",
"property": "cors",
"caniuse": "cors",
"authors": ["Theodoor van Donge"],
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS"
}],
"polyfills": ["pmxdr", "ppx", "flxhr"]
}
!*/
/*!
{
"name": "ES5 Date",
"property": "es5date",
"notes": [{
"name": "ECMAScript 5.1 Language Specification",
"href": "https://www.ecma-international.org/ecma-262/5.1/"
}],
"polyfills": ["es5shim"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"tags": ["es5"]
}
!*/
/*!
{
"name": "ES5 Function",
"property": "es5function",
"notes": [{
"name": "ECMAScript 5.1 Language Specification",
"href": "https://www.ecma-international.org/ecma-262/5.1/"
}],
"polyfills": ["es5shim"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"tags": ["es5"]
}
!*/
/*!
{
"name": "ES5 Immutable Undefined",
"property": "es5undefined",
"notes": [{
"name": "ECMAScript 5.1 Language Specification",
"href": "https://www.ecma-international.org/ecma-262/5.1/"
}, {
"name": "original implementation of detect code",
"href": "https://kangax.github.io/compat-table/es5/"
}],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"tags": ["es5"]
}
!*/
/*!
{
"name": "ES5 Object",
"property": "es5object",
"notes": [{
"name": "ECMAScript 5.1 Language Specification",
"href": "https://www.ecma-international.org/ecma-262/5.1/"
}],
"polyfills": ["es5shim", "es5sham"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"tags": ["es5"]
}
!*/
/*!
{
"name": "ES6 Array",
"property": "es6array",
"notes": [{
"name": "unofficial ECMAScript 6 draft specification",
"href": "https://web.archive.org/web/20180825202128/https://tc39.github.io/ecma262/"
}],
"polyfills": ["es6shim"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"warnings": ["ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations."],
"tags": ["es6"]
}
!*/
/*!
{
"name": "ES6 Collections",
"property": "es6collections",
"notes": [{
"name": "unofficial ECMAScript 6 draft specification",
"href": "https://web.archive.org/web/20180825202128/https://tc39.github.io/ecma262/"
}],
"polyfills": ["es6shim", "weakmap"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"warnings": ["ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations."],
"tags": ["es6"]
}
!*/
/*!
{
"name": "ES6 Promises",
"property": "promises",
"caniuse": "promises",
"polyfills": ["es6promises"],
"authors": ["Krister Kari", "Jake Archibald"],
"tags": ["es6"],
"notes": [{
"name": "The ES6 promises spec",
"href": "https://github.com/domenic/promises-unwrapping"
}, {
"name": "Chromium dashboard - ES6 Promises",
"href": "https://www.chromestatus.com/features/5681726336532480"
}, {
"name": "JavaScript Promises: an Introduction",
"href": "https://developers.google.com/web/fundamentals/primers/promises/"
}]
}
!*/
/*!
{
"name": "ES6 String",
"property": "es6string",
"notes": [{
"name": "unofficial ECMAScript 6 draft specification",
"href": "https://web.archive.org/web/20180825202128/https://tc39.github.io/ecma262/"
}],
"polyfills": ["es6shim"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"warnings": ["ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations."],
"tags": ["es6"]
}
!*/
/*!
{
"name": "Fetch API",
"property": "fetch",
"tags": ["network"],
"caniuse": "fetch",
"notes": [{
"name": "WHATWG Spec",
"href": "https://fetch.spec.whatwg.org/"
}],
"polyfills": ["fetch"]
}
!*/
/*!
{
"name": "Flexbox",
"property": "flexbox",
"caniuse": "flexbox",
"tags": ["css"],
"notes": [{
"name": "The _new_ flexbox",
"href": "https://www.w3.org/TR/css-flexbox-1/"
}],
"warnings": [
"A `true` result for this detect does not imply that the `flex-wrap` property is supported; see the `flexwrap` detect."
]
}
!*/
/*!
{
"name": "JSON",
"property": "json",
"caniuse": "json",
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Glossary/JSON"
}],
"polyfills": ["json2"]
}
!*/
/*!
{
"name": "Local Storage",
"property": "localstorage",
"caniuse": "namevalue-storage",
"tags": ["storage"],
"polyfills": [
"joshuabell-polyfill",
"cupcake",
"storagepolyfill",
"amplifyjs",
"yui-cacheoffline"
]
}
!*/
/*!
{
"name": "ResizeObserver",
"property": "resizeobserver",
"caniuse": "resizeobserver",
"tags": ["ResizeObserver"],
"authors": ["Christian Andersson"],
"notes": [{
"name": "W3C Spec",
"href": "https://www.w3.org/TR/resize-observer/"
}, {
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver"
}, {
"name": "Web.dev Article",
"href": "https://web.dev/resize-observer/"
}, {
"name": "Digital Ocean tutorial",
"href": "https://www.digitalocean.com/community/tutorials/js-resize-observer"
}]
}
!*/
/*!
{
"name": "SVG as an <img> tag source",
"property": "svgasimg",
"caniuse": "svg-img",
"tags": ["svg"],
"aliases": ["svgincss"],
"authors": ["Chris Coyier"],
"notes": [{
"name": "HTML5 Spec",
"href": "https://www.w3.org/TR/html5/embedded-content-0.html#the-img-element"
}]
}
!*/
/*!
{
"name": "SVG filters",
"property": "svgfilters",
"caniuse": "svg-filters",
"tags": ["svg"],
"builderAliases": ["svg_filters"],
"authors": ["Erik Dahlstrom"],
"notes": [{
"name": "W3C Spec",
"href": "https://www.w3.org/TR/SVG11/filters.html"
}]
}
!*/
/*!
{
"name": "SVG",
"property": "svg",
"caniuse": "svg",
"tags": ["svg"],
"authors": ["Erik Dahlstrom"],
"polyfills": [
"svgweb",
"raphael",
"amplesdk",
"canvg",
"svg-boilerplate",
"sie",
"dojogfx",
"fabricjs"
]
}
!*/
/*!
{
"name": "URL parser",
"property": "urlparser",
"notes": [{
"name": "WHATWG Spec",
"href": "https://url.spec.whatwg.org/"
}],
"polyfills": ["urlparser"],
"authors": ["Ron Waldon (@jokeyrhyme)"],
"tags": ["url"]
}
!*/
/*!
{
"name": "Web Audio API",
"property": "webaudio",
"caniuse": "audio-api",
"polyfills": ["xaudiojs", "dynamicaudiojs", "audiolibjs"],
"tags": ["audio", "media"],
"builderAliases": ["audio_webaudio_api"],
"authors": ["Addy Osmani"],
"notes": [{
"name": "W3C Spec",
"href": "https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html"
}]
}
!*/
/*!
{
"name": "Web Cryptography",
"property": "cryptography",
"caniuse": "cryptography",
"tags": ["crypto"],
"authors": ["roblarsen"],
"notes": [{
"name": "W3C Editor's Draft Spec",
"href": "https://www.w3.org/TR/WebCryptoAPI/"
}],
"polyfills": ["polycrypt"]
}
!*/
/*!
{
"name": "iframe[sandbox] Attribute",
"property": "sandbox",
"caniuse": "iframe-sandbox",
"tags": ["iframe"],
"builderAliases": ["iframe_sandbox"],
"notes": [
{
"name": "WHATWG Spec",
"href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-sandbox"
}],
"knownBugs": ["False-positive on Firefox < 29"]
}
!*/
/*!
{
"property": "urlsearchparams",
"caniuse": "urlsearchparams",
"tags": ["querystring", "url"],
"authors": ["Cătălin Mariș"],
"name": "URLSearchParams API",
"notes": [{
"name": "WHATWG Spec",
"href": "https://url.spec.whatwg.org/#interface-urlsearchparams"
}, {
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams"
}]
}
!*/

File diff suppressed because one or more lines are too long

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