@tsparticles/preset-fountain 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -119
- package/package.json +5 -5
- package/report.html +2 -2
- package/tsparticles.preset.fountain.bundle.js +145 -125
- package/tsparticles.preset.fountain.bundle.min.js +1 -1
- package/tsparticles.preset.fountain.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.fountain.js +1 -1
- package/tsparticles.preset.fountain.min.js.LICENSE.txt +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v3.0.
|
|
7
|
+
* v3.0.2
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -61,7 +61,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61
61
|
tsParticles: () => (/* reexport */ tsParticles)
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
64
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Constants.js
|
|
65
65
|
const generatedAttribute = "generated";
|
|
66
66
|
const mouseDownEvent = "pointerdown";
|
|
67
67
|
const mouseUpEvent = "pointerup";
|
|
@@ -76,7 +76,7 @@ const resizeEvent = "resize";
|
|
|
76
76
|
const visibilityChangeEvent = "visibilitychange";
|
|
77
77
|
const errorPrefix = "tsParticles - Error";
|
|
78
78
|
|
|
79
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
79
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Vector3d.js
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
class Vector3d {
|
|
@@ -182,7 +182,7 @@ class Vector3d {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
185
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Vector.js
|
|
186
186
|
|
|
187
187
|
class Vector_Vector extends Vector3d {
|
|
188
188
|
constructor(xOrCoords, y) {
|
|
@@ -199,7 +199,7 @@ class Vector_Vector extends Vector3d {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
202
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/NumberUtils.js
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
let _random = Math.random;
|
|
@@ -337,7 +337,7 @@ function parseAlpha(input) {
|
|
|
337
337
|
return input ? (input.endsWith("%") ? parseFloat(input) / 100 : parseFloat(input)) : 1;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
340
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/Utils.js
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
const _logger = {
|
|
@@ -683,7 +683,7 @@ function isArray(arg) {
|
|
|
683
683
|
return Array.isArray(arg);
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
686
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/ColorUtils.js
|
|
687
687
|
|
|
688
688
|
|
|
689
689
|
const randomColorValue = "random", midColorValue = "mid", colorManagers = new Map();
|
|
@@ -943,7 +943,7 @@ function setColorAnimation(colorValue, colorAnimation, reduceFactor) {
|
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
945
|
|
|
946
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
946
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/CanvasUtils.js
|
|
947
947
|
|
|
948
948
|
function drawLine(context, begin, end) {
|
|
949
949
|
context.beginPath();
|
|
@@ -1090,7 +1090,7 @@ function alterHsl(color, type, value) {
|
|
|
1090
1090
|
};
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1093
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Canvas.js
|
|
1094
1094
|
|
|
1095
1095
|
|
|
1096
1096
|
|
|
@@ -1520,7 +1520,7 @@ class Canvas {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
}
|
|
1522
1522
|
|
|
1523
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1523
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/EventListeners.js
|
|
1524
1524
|
|
|
1525
1525
|
|
|
1526
1526
|
function manageListener(element, event, handler, add, options) {
|
|
@@ -1841,7 +1841,7 @@ class EventListeners {
|
|
|
1841
1841
|
}
|
|
1842
1842
|
}
|
|
1843
1843
|
|
|
1844
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1844
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/OptionsColor.js
|
|
1845
1845
|
|
|
1846
1846
|
class OptionsColor {
|
|
1847
1847
|
constructor() {
|
|
@@ -1868,7 +1868,7 @@ class OptionsColor {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1871
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Background/Background.js
|
|
1872
1872
|
|
|
1873
1873
|
class Background {
|
|
1874
1874
|
constructor() {
|
|
@@ -1905,7 +1905,7 @@ class Background {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1908
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js
|
|
1909
1909
|
|
|
1910
1910
|
class BackgroundMaskCover {
|
|
1911
1911
|
constructor() {
|
|
@@ -1926,7 +1926,7 @@ class BackgroundMaskCover {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1929
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/BackgroundMask/BackgroundMask.js
|
|
1930
1930
|
|
|
1931
1931
|
|
|
1932
1932
|
class BackgroundMask {
|
|
@@ -1952,7 +1952,7 @@ class BackgroundMask {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
|
|
1955
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1955
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/FullScreen/FullScreen.js
|
|
1956
1956
|
class FullScreen {
|
|
1957
1957
|
constructor() {
|
|
1958
1958
|
this.enable = true;
|
|
@@ -1971,7 +1971,7 @@ class FullScreen {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
}
|
|
1973
1973
|
|
|
1974
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1974
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/ClickEvent.js
|
|
1975
1975
|
class ClickEvent {
|
|
1976
1976
|
constructor() {
|
|
1977
1977
|
this.enable = false;
|
|
@@ -1990,7 +1990,7 @@ class ClickEvent {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
}
|
|
1992
1992
|
|
|
1993
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
1993
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/DivEvent.js
|
|
1994
1994
|
class DivEvent {
|
|
1995
1995
|
constructor() {
|
|
1996
1996
|
this.selectors = [];
|
|
@@ -2017,7 +2017,7 @@ class DivEvent {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
2019
2019
|
|
|
2020
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2020
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/Parallax.js
|
|
2021
2021
|
class Parallax {
|
|
2022
2022
|
constructor() {
|
|
2023
2023
|
this.enable = false;
|
|
@@ -2040,7 +2040,7 @@ class Parallax {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
}
|
|
2042
2042
|
|
|
2043
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2043
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/HoverEvent.js
|
|
2044
2044
|
|
|
2045
2045
|
class HoverEvent {
|
|
2046
2046
|
constructor() {
|
|
@@ -2062,7 +2062,7 @@ class HoverEvent {
|
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
2064
|
|
|
2065
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2065
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/ResizeEvent.js
|
|
2066
2066
|
class ResizeEvent {
|
|
2067
2067
|
constructor() {
|
|
2068
2068
|
this.delay = 0.5;
|
|
@@ -2081,7 +2081,7 @@ class ResizeEvent {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
}
|
|
2083
2083
|
|
|
2084
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2084
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/Events.js
|
|
2085
2085
|
|
|
2086
2086
|
|
|
2087
2087
|
|
|
@@ -2112,7 +2112,7 @@ class Events {
|
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
2115
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2115
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Modes/Modes.js
|
|
2116
2116
|
class Modes {
|
|
2117
2117
|
constructor(engine, container) {
|
|
2118
2118
|
this._engine = engine;
|
|
@@ -2138,7 +2138,7 @@ class Modes {
|
|
|
2138
2138
|
}
|
|
2139
2139
|
}
|
|
2140
2140
|
|
|
2141
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2141
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Interactivity.js
|
|
2142
2142
|
|
|
2143
2143
|
|
|
2144
2144
|
class Interactivity {
|
|
@@ -2160,7 +2160,7 @@ class Interactivity {
|
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
2162
2162
|
|
|
2163
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2163
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/ManualParticle.js
|
|
2164
2164
|
|
|
2165
2165
|
class ManualParticle {
|
|
2166
2166
|
load(data) {
|
|
@@ -2180,7 +2180,7 @@ class ManualParticle {
|
|
|
2180
2180
|
}
|
|
2181
2181
|
}
|
|
2182
2182
|
|
|
2183
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2183
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Responsive.js
|
|
2184
2184
|
|
|
2185
2185
|
class Responsive {
|
|
2186
2186
|
constructor() {
|
|
@@ -2209,7 +2209,7 @@ class Responsive {
|
|
|
2209
2209
|
}
|
|
2210
2210
|
}
|
|
2211
2211
|
|
|
2212
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2212
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Theme/ThemeDefault.js
|
|
2213
2213
|
class ThemeDefault {
|
|
2214
2214
|
constructor() {
|
|
2215
2215
|
this.auto = false;
|
|
@@ -2232,7 +2232,7 @@ class ThemeDefault {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
2234
|
|
|
2235
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2235
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Theme/Theme.js
|
|
2236
2236
|
|
|
2237
2237
|
|
|
2238
2238
|
class Theme {
|
|
@@ -2254,7 +2254,7 @@ class Theme {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
2256
|
|
|
2257
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2257
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/AnimationOptions.js
|
|
2258
2258
|
|
|
2259
2259
|
class AnimationOptions {
|
|
2260
2260
|
constructor() {
|
|
@@ -2309,7 +2309,7 @@ class RangedAnimationOptions extends AnimationOptions {
|
|
|
2309
2309
|
}
|
|
2310
2310
|
}
|
|
2311
2311
|
|
|
2312
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2312
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/ColorAnimation.js
|
|
2313
2313
|
|
|
2314
2314
|
|
|
2315
2315
|
class ColorAnimation extends AnimationOptions {
|
|
@@ -2329,7 +2329,7 @@ class ColorAnimation extends AnimationOptions {
|
|
|
2329
2329
|
}
|
|
2330
2330
|
}
|
|
2331
2331
|
|
|
2332
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2332
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/HslAnimation.js
|
|
2333
2333
|
|
|
2334
2334
|
class HslAnimation {
|
|
2335
2335
|
constructor() {
|
|
@@ -2347,7 +2347,7 @@ class HslAnimation {
|
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
2349
2349
|
|
|
2350
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2350
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/AnimatableColor.js
|
|
2351
2351
|
|
|
2352
2352
|
|
|
2353
2353
|
|
|
@@ -2386,7 +2386,7 @@ class AnimatableColor extends OptionsColor {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2389
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Collisions/CollisionsAbsorb.js
|
|
2390
2390
|
class CollisionsAbsorb {
|
|
2391
2391
|
constructor() {
|
|
2392
2392
|
this.speed = 2;
|
|
@@ -2401,7 +2401,7 @@ class CollisionsAbsorb {
|
|
|
2401
2401
|
}
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2404
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Collisions/CollisionsOverlap.js
|
|
2405
2405
|
class CollisionsOverlap {
|
|
2406
2406
|
constructor() {
|
|
2407
2407
|
this.enable = true;
|
|
@@ -2420,7 +2420,7 @@ class CollisionsOverlap {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
2422
|
|
|
2423
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2423
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/ValueWithRandom.js
|
|
2424
2424
|
|
|
2425
2425
|
|
|
2426
2426
|
class ValueWithRandom {
|
|
@@ -2462,7 +2462,7 @@ class RangedAnimationValueWithRandom extends AnimationValueWithRandom {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
}
|
|
2464
2464
|
|
|
2465
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2465
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js
|
|
2466
2466
|
|
|
2467
2467
|
class ParticlesBounceFactor extends ValueWithRandom {
|
|
2468
2468
|
constructor() {
|
|
@@ -2471,7 +2471,7 @@ class ParticlesBounceFactor extends ValueWithRandom {
|
|
|
2471
2471
|
}
|
|
2472
2472
|
}
|
|
2473
2473
|
|
|
2474
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2474
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js
|
|
2475
2475
|
|
|
2476
2476
|
class ParticlesBounce {
|
|
2477
2477
|
constructor() {
|
|
@@ -2487,7 +2487,7 @@ class ParticlesBounce {
|
|
|
2487
2487
|
}
|
|
2488
2488
|
}
|
|
2489
2489
|
|
|
2490
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2490
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Collisions/Collisions.js
|
|
2491
2491
|
|
|
2492
2492
|
|
|
2493
2493
|
|
|
@@ -2520,7 +2520,7 @@ class Collisions {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
}
|
|
2522
2522
|
|
|
2523
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2523
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Effect/Effect.js
|
|
2524
2524
|
|
|
2525
2525
|
class Effect {
|
|
2526
2526
|
constructor() {
|
|
@@ -2554,7 +2554,7 @@ class Effect {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
|
|
2557
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2557
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveAngle.js
|
|
2558
2558
|
|
|
2559
2559
|
class MoveAngle {
|
|
2560
2560
|
constructor() {
|
|
@@ -2574,7 +2574,7 @@ class MoveAngle {
|
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
2576
|
|
|
2577
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2577
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveAttract.js
|
|
2578
2578
|
|
|
2579
2579
|
class MoveAttract {
|
|
2580
2580
|
constructor() {
|
|
@@ -2608,7 +2608,7 @@ class MoveAttract {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
}
|
|
2610
2610
|
|
|
2611
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2611
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveCenter.js
|
|
2612
2612
|
class MoveCenter {
|
|
2613
2613
|
constructor() {
|
|
2614
2614
|
this.x = 50;
|
|
@@ -2635,7 +2635,7 @@ class MoveCenter {
|
|
|
2635
2635
|
}
|
|
2636
2636
|
}
|
|
2637
2637
|
|
|
2638
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2638
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveGravity.js
|
|
2639
2639
|
|
|
2640
2640
|
class MoveGravity {
|
|
2641
2641
|
constructor() {
|
|
@@ -2663,7 +2663,7 @@ class MoveGravity {
|
|
|
2663
2663
|
}
|
|
2664
2664
|
}
|
|
2665
2665
|
|
|
2666
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2666
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/Path/MovePath.js
|
|
2667
2667
|
|
|
2668
2668
|
|
|
2669
2669
|
class MovePath {
|
|
@@ -2691,7 +2691,7 @@ class MovePath {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
}
|
|
2693
2693
|
|
|
2694
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2694
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveTrailFill.js
|
|
2695
2695
|
|
|
2696
2696
|
class MoveTrailFill {
|
|
2697
2697
|
load(data) {
|
|
@@ -2707,7 +2707,7 @@ class MoveTrailFill {
|
|
|
2707
2707
|
}
|
|
2708
2708
|
}
|
|
2709
2709
|
|
|
2710
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2710
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveTrail.js
|
|
2711
2711
|
|
|
2712
2712
|
class MoveTrail {
|
|
2713
2713
|
constructor() {
|
|
@@ -2731,7 +2731,7 @@ class MoveTrail {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
}
|
|
2733
2733
|
|
|
2734
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2734
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/OutModes.js
|
|
2735
2735
|
class OutModes {
|
|
2736
2736
|
constructor() {
|
|
2737
2737
|
this.default = "out";
|
|
@@ -2750,7 +2750,7 @@ class OutModes {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
}
|
|
2752
2752
|
|
|
2753
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2753
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/Spin.js
|
|
2754
2754
|
|
|
2755
2755
|
|
|
2756
2756
|
class Spin {
|
|
@@ -2774,7 +2774,7 @@ class Spin {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
}
|
|
2776
2776
|
|
|
2777
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2777
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/Move.js
|
|
2778
2778
|
|
|
2779
2779
|
|
|
2780
2780
|
|
|
@@ -2870,7 +2870,7 @@ class Move {
|
|
|
2870
2870
|
}
|
|
2871
2871
|
}
|
|
2872
2872
|
|
|
2873
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2873
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js
|
|
2874
2874
|
|
|
2875
2875
|
class OpacityAnimation extends RangedAnimationOptions {
|
|
2876
2876
|
constructor() {
|
|
@@ -2889,7 +2889,7 @@ class OpacityAnimation extends RangedAnimationOptions {
|
|
|
2889
2889
|
}
|
|
2890
2890
|
}
|
|
2891
2891
|
|
|
2892
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2892
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Opacity/Opacity.js
|
|
2893
2893
|
|
|
2894
2894
|
|
|
2895
2895
|
class Opacity extends RangedAnimationValueWithRandom {
|
|
@@ -2910,7 +2910,7 @@ class Opacity extends RangedAnimationValueWithRandom {
|
|
|
2910
2910
|
}
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2913
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Number/ParticlesDensity.js
|
|
2914
2914
|
class ParticlesDensity {
|
|
2915
2915
|
constructor() {
|
|
2916
2916
|
this.enable = false;
|
|
@@ -2935,7 +2935,7 @@ class ParticlesDensity {
|
|
|
2935
2935
|
}
|
|
2936
2936
|
}
|
|
2937
2937
|
|
|
2938
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2938
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js
|
|
2939
2939
|
class ParticlesNumberLimit {
|
|
2940
2940
|
constructor() {
|
|
2941
2941
|
this.mode = "delete";
|
|
@@ -2954,7 +2954,7 @@ class ParticlesNumberLimit {
|
|
|
2954
2954
|
}
|
|
2955
2955
|
}
|
|
2956
2956
|
|
|
2957
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2957
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Number/ParticlesNumber.js
|
|
2958
2958
|
|
|
2959
2959
|
|
|
2960
2960
|
class ParticlesNumber {
|
|
@@ -2975,7 +2975,7 @@ class ParticlesNumber {
|
|
|
2975
2975
|
}
|
|
2976
2976
|
}
|
|
2977
2977
|
|
|
2978
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
2978
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Shadow.js
|
|
2979
2979
|
|
|
2980
2980
|
class Shadow {
|
|
2981
2981
|
constructor() {
|
|
@@ -3011,7 +3011,7 @@ class Shadow {
|
|
|
3011
3011
|
}
|
|
3012
3012
|
}
|
|
3013
3013
|
|
|
3014
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3014
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Shape/Shape.js
|
|
3015
3015
|
|
|
3016
3016
|
class Shape {
|
|
3017
3017
|
constructor() {
|
|
@@ -3045,7 +3045,7 @@ class Shape {
|
|
|
3045
3045
|
}
|
|
3046
3046
|
}
|
|
3047
3047
|
|
|
3048
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3048
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Size/SizeAnimation.js
|
|
3049
3049
|
|
|
3050
3050
|
class SizeAnimation extends RangedAnimationOptions {
|
|
3051
3051
|
constructor() {
|
|
@@ -3064,7 +3064,7 @@ class SizeAnimation extends RangedAnimationOptions {
|
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
3066
|
|
|
3067
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3067
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Size/Size.js
|
|
3068
3068
|
|
|
3069
3069
|
|
|
3070
3070
|
class Size extends RangedAnimationValueWithRandom {
|
|
@@ -3085,7 +3085,7 @@ class Size extends RangedAnimationValueWithRandom {
|
|
|
3085
3085
|
}
|
|
3086
3086
|
}
|
|
3087
3087
|
|
|
3088
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3088
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Stroke.js
|
|
3089
3089
|
|
|
3090
3090
|
|
|
3091
3091
|
class Stroke {
|
|
@@ -3108,7 +3108,7 @@ class Stroke {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
}
|
|
3110
3110
|
|
|
3111
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3111
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/ZIndex/ZIndex.js
|
|
3112
3112
|
|
|
3113
3113
|
class ZIndex extends ValueWithRandom {
|
|
3114
3114
|
constructor() {
|
|
@@ -3134,7 +3134,7 @@ class ZIndex extends ValueWithRandom {
|
|
|
3134
3134
|
}
|
|
3135
3135
|
}
|
|
3136
3136
|
|
|
3137
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3137
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/ParticlesOptions.js
|
|
3138
3138
|
|
|
3139
3139
|
|
|
3140
3140
|
|
|
@@ -3229,7 +3229,7 @@ class ParticlesOptions {
|
|
|
3229
3229
|
}
|
|
3230
3230
|
}
|
|
3231
3231
|
|
|
3232
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3232
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/OptionsUtils.js
|
|
3233
3233
|
|
|
3234
3234
|
function loadOptions(options, ...sourceOptionsArr) {
|
|
3235
3235
|
for (const sourceOptions of sourceOptionsArr) {
|
|
@@ -3242,7 +3242,7 @@ function loadParticlesOptions(engine, container, ...sourceOptionsArr) {
|
|
|
3242
3242
|
return options;
|
|
3243
3243
|
}
|
|
3244
3244
|
|
|
3245
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3245
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Options/Classes/Options.js
|
|
3246
3246
|
|
|
3247
3247
|
|
|
3248
3248
|
|
|
@@ -3401,7 +3401,7 @@ class Options {
|
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
3403
|
|
|
3404
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3404
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/InteractionManager.js
|
|
3405
3405
|
class InteractionManager {
|
|
3406
3406
|
constructor(engine, container) {
|
|
3407
3407
|
this.container = container;
|
|
@@ -3453,7 +3453,7 @@ class InteractionManager {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
}
|
|
3455
3455
|
|
|
3456
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3456
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Particle.js
|
|
3457
3457
|
|
|
3458
3458
|
|
|
3459
3459
|
|
|
@@ -3624,6 +3624,12 @@ class Particle {
|
|
|
3624
3624
|
updater.particleDestroyed && updater.particleDestroyed(this, override);
|
|
3625
3625
|
}
|
|
3626
3626
|
pathGenerator && pathGenerator.reset(this);
|
|
3627
|
+
this._engine.dispatchEvent("particleDestroyed", {
|
|
3628
|
+
container: this.container,
|
|
3629
|
+
data: {
|
|
3630
|
+
particle: this,
|
|
3631
|
+
},
|
|
3632
|
+
});
|
|
3627
3633
|
}
|
|
3628
3634
|
draw(delta) {
|
|
3629
3635
|
const container = this.container, canvas = container.canvas;
|
|
@@ -3794,7 +3800,7 @@ class Particle {
|
|
|
3794
3800
|
}
|
|
3795
3801
|
}
|
|
3796
3802
|
|
|
3797
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3803
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Point.js
|
|
3798
3804
|
class Point {
|
|
3799
3805
|
constructor(position, particle) {
|
|
3800
3806
|
this.position = position;
|
|
@@ -3802,7 +3808,7 @@ class Point {
|
|
|
3802
3808
|
}
|
|
3803
3809
|
}
|
|
3804
3810
|
|
|
3805
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3811
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Range.js
|
|
3806
3812
|
class Range {
|
|
3807
3813
|
constructor(x, y) {
|
|
3808
3814
|
this.position = {
|
|
@@ -3812,7 +3818,7 @@ class Range {
|
|
|
3812
3818
|
}
|
|
3813
3819
|
}
|
|
3814
3820
|
|
|
3815
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3821
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Rectangle.js
|
|
3816
3822
|
|
|
3817
3823
|
|
|
3818
3824
|
class Rectangle extends Range {
|
|
@@ -3836,7 +3842,7 @@ class Rectangle extends Range {
|
|
|
3836
3842
|
}
|
|
3837
3843
|
}
|
|
3838
3844
|
|
|
3839
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3845
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/Circle.js
|
|
3840
3846
|
|
|
3841
3847
|
|
|
3842
3848
|
|
|
@@ -3865,7 +3871,7 @@ class Circle extends Range {
|
|
|
3865
3871
|
}
|
|
3866
3872
|
}
|
|
3867
3873
|
|
|
3868
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3874
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Utils/QuadTree.js
|
|
3869
3875
|
|
|
3870
3876
|
|
|
3871
3877
|
|
|
@@ -3925,7 +3931,7 @@ class QuadTree {
|
|
|
3925
3931
|
}
|
|
3926
3932
|
}
|
|
3927
3933
|
|
|
3928
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
3934
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Particles.js
|
|
3929
3935
|
|
|
3930
3936
|
|
|
3931
3937
|
|
|
@@ -3940,13 +3946,18 @@ const qTreeRectangle = (canvasSize) => {
|
|
|
3940
3946
|
};
|
|
3941
3947
|
class Particles {
|
|
3942
3948
|
constructor(engine, container) {
|
|
3949
|
+
this._addToPool = (...particles) => {
|
|
3950
|
+
for (const particle of particles) {
|
|
3951
|
+
this._pool.push(particle);
|
|
3952
|
+
}
|
|
3953
|
+
};
|
|
3943
3954
|
this._applyDensity = (options, manualCount, group) => {
|
|
3944
3955
|
const numberOptions = options.number;
|
|
3945
3956
|
if (!options.number.density?.enable) {
|
|
3946
3957
|
if (group === undefined) {
|
|
3947
3958
|
this._limit = numberOptions.limit.value;
|
|
3948
3959
|
}
|
|
3949
|
-
else {
|
|
3960
|
+
else if (numberOptions.limit) {
|
|
3950
3961
|
this._groupLimits.set(group, numberOptions.limit.value);
|
|
3951
3962
|
}
|
|
3952
3963
|
return;
|
|
@@ -4010,17 +4021,17 @@ class Particles {
|
|
|
4010
4021
|
if (!particle || particle.group !== group) {
|
|
4011
4022
|
return false;
|
|
4012
4023
|
}
|
|
4013
|
-
particle.destroy(override);
|
|
4014
4024
|
const zIdx = this._zArray.indexOf(particle);
|
|
4015
4025
|
this._array.splice(index, 1);
|
|
4016
4026
|
this._zArray.splice(zIdx, 1);
|
|
4017
|
-
|
|
4027
|
+
particle.destroy(override);
|
|
4018
4028
|
this._engine.dispatchEvent("particleRemoved", {
|
|
4019
4029
|
container: this._container,
|
|
4020
4030
|
data: {
|
|
4021
4031
|
particle,
|
|
4022
4032
|
},
|
|
4023
4033
|
});
|
|
4034
|
+
this._addToPool(particle);
|
|
4024
4035
|
return true;
|
|
4025
4036
|
};
|
|
4026
4037
|
this._engine = engine;
|
|
@@ -4208,7 +4219,15 @@ class Particles {
|
|
|
4208
4219
|
const checkDelete = (p) => !particlesToDelete.has(p);
|
|
4209
4220
|
this._array = this.filter(checkDelete);
|
|
4210
4221
|
this._zArray = this._zArray.filter(checkDelete);
|
|
4211
|
-
|
|
4222
|
+
for (const particle of particlesToDelete) {
|
|
4223
|
+
this._engine.dispatchEvent("particleRemoved", {
|
|
4224
|
+
container: this._container,
|
|
4225
|
+
data: {
|
|
4226
|
+
particle,
|
|
4227
|
+
},
|
|
4228
|
+
});
|
|
4229
|
+
}
|
|
4230
|
+
this._addToPool(...particlesToDelete);
|
|
4212
4231
|
}
|
|
4213
4232
|
await this._interactionManager.externalInteract(delta);
|
|
4214
4233
|
for (const particle of this._array) {
|
|
@@ -4229,7 +4248,7 @@ class Particles {
|
|
|
4229
4248
|
}
|
|
4230
4249
|
}
|
|
4231
4250
|
|
|
4232
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
4251
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Retina.js
|
|
4233
4252
|
|
|
4234
4253
|
|
|
4235
4254
|
class Retina {
|
|
@@ -4264,7 +4283,7 @@ class Retina {
|
|
|
4264
4283
|
}
|
|
4265
4284
|
}
|
|
4266
4285
|
|
|
4267
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
4286
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Container.js
|
|
4268
4287
|
|
|
4269
4288
|
|
|
4270
4289
|
|
|
@@ -4701,7 +4720,7 @@ class Container {
|
|
|
4701
4720
|
}
|
|
4702
4721
|
}
|
|
4703
4722
|
|
|
4704
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
4723
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/EventDispatcher.js
|
|
4705
4724
|
class EventDispatcher {
|
|
4706
4725
|
constructor() {
|
|
4707
4726
|
this._listeners = new Map();
|
|
@@ -4748,7 +4767,7 @@ class EventDispatcher {
|
|
|
4748
4767
|
}
|
|
4749
4768
|
}
|
|
4750
4769
|
|
|
4751
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
4770
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Core/Engine.js
|
|
4752
4771
|
|
|
4753
4772
|
|
|
4754
4773
|
|
|
@@ -4802,7 +4821,7 @@ class Engine {
|
|
|
4802
4821
|
return res;
|
|
4803
4822
|
}
|
|
4804
4823
|
get version() {
|
|
4805
|
-
return "3.0.
|
|
4824
|
+
return "3.0.3";
|
|
4806
4825
|
}
|
|
4807
4826
|
addConfig(config) {
|
|
4808
4827
|
const name = config.name ?? "default";
|
|
@@ -4911,7 +4930,7 @@ class Engine {
|
|
|
4911
4930
|
this._initialized = true;
|
|
4912
4931
|
}
|
|
4913
4932
|
async load(params) {
|
|
4914
|
-
const id = params.id ?? `tsparticles${Math.floor(getRandom() * 10000)}`, { index, url } = params, options = url ? await getDataFromUrl({ fallback: params.options, url, index }) : params.options;
|
|
4933
|
+
const id = params.id ?? params.element?.id ?? `tsparticles${Math.floor(getRandom() * 10000)}`, { index, url } = params, options = url ? await getDataFromUrl({ fallback: params.options, url, index }) : params.options;
|
|
4915
4934
|
let domContainer = params.element ?? document.getElementById(id);
|
|
4916
4935
|
if (!domContainer) {
|
|
4917
4936
|
domContainer = document.createElement("div");
|
|
@@ -4994,7 +5013,7 @@ class Engine {
|
|
|
4994
5013
|
}
|
|
4995
5014
|
}
|
|
4996
5015
|
|
|
4997
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
5016
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/HslColorManager.js
|
|
4998
5017
|
|
|
4999
5018
|
|
|
5000
5019
|
class HslColorManager {
|
|
@@ -5034,7 +5053,7 @@ class HslColorManager {
|
|
|
5034
5053
|
}
|
|
5035
5054
|
}
|
|
5036
5055
|
|
|
5037
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
5056
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/Utils/RgbColorManager.js
|
|
5038
5057
|
|
|
5039
5058
|
class RgbColorManager {
|
|
5040
5059
|
constructor() {
|
|
@@ -5073,7 +5092,7 @@ class RgbColorManager {
|
|
|
5073
5092
|
}
|
|
5074
5093
|
}
|
|
5075
5094
|
|
|
5076
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
5095
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/init.js
|
|
5077
5096
|
|
|
5078
5097
|
|
|
5079
5098
|
|
|
@@ -5087,7 +5106,7 @@ function init() {
|
|
|
5087
5106
|
return engine;
|
|
5088
5107
|
}
|
|
5089
5108
|
|
|
5090
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
5109
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/exports.js
|
|
5091
5110
|
|
|
5092
5111
|
|
|
5093
5112
|
|
|
@@ -5177,7 +5196,7 @@ function init() {
|
|
|
5177
5196
|
|
|
5178
5197
|
|
|
5179
5198
|
|
|
5180
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.
|
|
5199
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.3/node_modules/@tsparticles/engine/browser/index.js
|
|
5181
5200
|
|
|
5182
5201
|
|
|
5183
5202
|
const tsParticles = init();
|
|
@@ -5188,7 +5207,7 @@ if (!isSsr()) {
|
|
|
5188
5207
|
|
|
5189
5208
|
|
|
5190
5209
|
|
|
5191
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.
|
|
5210
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.3/node_modules/@tsparticles/move-base/browser/Utils.js
|
|
5192
5211
|
|
|
5193
5212
|
function applyDistance(particle) {
|
|
5194
5213
|
const initialPosition = particle.initialPosition, { dx, dy } = NumberUtils_getDistances(initialPosition, particle.position), dxFixed = Math.abs(dx), dyFixed = Math.abs(dy), { maxDistance } = particle.retina, hDistance = maxDistance.horizontal, vDistance = maxDistance.vertical;
|
|
@@ -5293,7 +5312,7 @@ function getProximitySpeedFactor(particle) {
|
|
|
5293
5312
|
return particle.slow.inRange ? particle.slow.factor : 1;
|
|
5294
5313
|
}
|
|
5295
5314
|
|
|
5296
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.
|
|
5315
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.3/node_modules/@tsparticles/move-base/browser/BaseMover.js
|
|
5297
5316
|
|
|
5298
5317
|
|
|
5299
5318
|
const diffFactor = 2;
|
|
@@ -5347,13 +5366,13 @@ class BaseMover {
|
|
|
5347
5366
|
}
|
|
5348
5367
|
}
|
|
5349
5368
|
|
|
5350
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.
|
|
5369
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.3/node_modules/@tsparticles/move-base/browser/index.js
|
|
5351
5370
|
|
|
5352
5371
|
async function loadBaseMover(engine, refresh = true) {
|
|
5353
5372
|
await engine.addMover("base", () => new BaseMover(), refresh);
|
|
5354
5373
|
}
|
|
5355
5374
|
|
|
5356
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.
|
|
5375
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.3/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js
|
|
5357
5376
|
|
|
5358
5377
|
class CircleDrawer {
|
|
5359
5378
|
draw(data) {
|
|
@@ -5381,13 +5400,13 @@ class CircleDrawer {
|
|
|
5381
5400
|
}
|
|
5382
5401
|
}
|
|
5383
5402
|
|
|
5384
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.
|
|
5403
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.3/node_modules/@tsparticles/shape-circle/browser/index.js
|
|
5385
5404
|
|
|
5386
5405
|
async function loadCircleShape(engine, refresh = true) {
|
|
5387
5406
|
await engine.addShape("circle", new CircleDrawer(), refresh);
|
|
5388
5407
|
}
|
|
5389
5408
|
|
|
5390
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.
|
|
5409
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.3/node_modules/@tsparticles/updater-color/browser/Utils.js
|
|
5391
5410
|
|
|
5392
5411
|
function updateColorValue(delta, colorValue, valueAnimation, max, decrease) {
|
|
5393
5412
|
if (!colorValue ||
|
|
@@ -5453,7 +5472,7 @@ function updateColor(particle, delta) {
|
|
|
5453
5472
|
}
|
|
5454
5473
|
}
|
|
5455
5474
|
|
|
5456
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.
|
|
5475
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.3/node_modules/@tsparticles/updater-color/browser/ColorUpdater.js
|
|
5457
5476
|
|
|
5458
5477
|
|
|
5459
5478
|
class ColorUpdater {
|
|
@@ -5479,13 +5498,13 @@ class ColorUpdater {
|
|
|
5479
5498
|
}
|
|
5480
5499
|
}
|
|
5481
5500
|
|
|
5482
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.
|
|
5501
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.3/node_modules/@tsparticles/updater-color/browser/index.js
|
|
5483
5502
|
|
|
5484
5503
|
async function loadColorUpdater(engine, refresh = true) {
|
|
5485
5504
|
await engine.addParticleUpdater("color", (container) => new ColorUpdater(container), refresh);
|
|
5486
5505
|
}
|
|
5487
5506
|
|
|
5488
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.
|
|
5507
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.3/node_modules/@tsparticles/updater-opacity/browser/Utils.js
|
|
5489
5508
|
|
|
5490
5509
|
function checkDestroy(particle, value, minValue, maxValue) {
|
|
5491
5510
|
switch (particle.options.opacity.animation.destroy) {
|
|
@@ -5551,7 +5570,7 @@ function updateOpacity(particle, delta) {
|
|
|
5551
5570
|
}
|
|
5552
5571
|
}
|
|
5553
5572
|
|
|
5554
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.
|
|
5573
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.3/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.js
|
|
5555
5574
|
|
|
5556
5575
|
|
|
5557
5576
|
class OpacityUpdater {
|
|
@@ -5593,13 +5612,13 @@ class OpacityUpdater {
|
|
|
5593
5612
|
}
|
|
5594
5613
|
}
|
|
5595
5614
|
|
|
5596
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.
|
|
5615
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.3/node_modules/@tsparticles/updater-opacity/browser/index.js
|
|
5597
5616
|
|
|
5598
5617
|
async function loadOpacityUpdater(engine, refresh = true) {
|
|
5599
5618
|
await engine.addParticleUpdater("opacity", (container) => new OpacityUpdater(container), refresh);
|
|
5600
5619
|
}
|
|
5601
5620
|
|
|
5602
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5621
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/Utils.js
|
|
5603
5622
|
|
|
5604
5623
|
function bounceHorizontal(data) {
|
|
5605
5624
|
if ((data.outMode !== "bounce" &&
|
|
@@ -5674,7 +5693,7 @@ function bounceVertical(data) {
|
|
|
5674
5693
|
}
|
|
5675
5694
|
}
|
|
5676
5695
|
|
|
5677
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5696
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.js
|
|
5678
5697
|
|
|
5679
5698
|
|
|
5680
5699
|
class BounceOutMode {
|
|
@@ -5712,7 +5731,7 @@ class BounceOutMode {
|
|
|
5712
5731
|
}
|
|
5713
5732
|
}
|
|
5714
5733
|
|
|
5715
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5734
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.js
|
|
5716
5735
|
|
|
5717
5736
|
class DestroyOutMode {
|
|
5718
5737
|
constructor(container) {
|
|
@@ -5747,7 +5766,7 @@ class DestroyOutMode {
|
|
|
5747
5766
|
}
|
|
5748
5767
|
}
|
|
5749
5768
|
|
|
5750
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5769
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.js
|
|
5751
5770
|
|
|
5752
5771
|
class NoneOutMode {
|
|
5753
5772
|
constructor(container) {
|
|
@@ -5790,7 +5809,7 @@ class NoneOutMode {
|
|
|
5790
5809
|
}
|
|
5791
5810
|
}
|
|
5792
5811
|
|
|
5793
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5812
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.js
|
|
5794
5813
|
|
|
5795
5814
|
class OutOutMode {
|
|
5796
5815
|
constructor(container) {
|
|
@@ -5899,7 +5918,7 @@ class OutOutMode {
|
|
|
5899
5918
|
}
|
|
5900
5919
|
}
|
|
5901
5920
|
|
|
5902
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5921
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/OutOfCanvasUpdater.js
|
|
5903
5922
|
|
|
5904
5923
|
|
|
5905
5924
|
|
|
@@ -5933,13 +5952,13 @@ class OutOfCanvasUpdater {
|
|
|
5933
5952
|
}
|
|
5934
5953
|
}
|
|
5935
5954
|
|
|
5936
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.
|
|
5955
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.3/node_modules/@tsparticles/updater-out-modes/browser/index.js
|
|
5937
5956
|
|
|
5938
5957
|
async function loadOutModesUpdater(engine, refresh = true) {
|
|
5939
5958
|
await engine.addParticleUpdater("outModes", (container) => new OutOfCanvasUpdater(container), refresh);
|
|
5940
5959
|
}
|
|
5941
5960
|
|
|
5942
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.
|
|
5961
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.3/node_modules/@tsparticles/updater-size/browser/Utils.js
|
|
5943
5962
|
|
|
5944
5963
|
function Utils_checkDestroy(particle, value, minValue, maxValue) {
|
|
5945
5964
|
switch (particle.options.size.animation.destroy) {
|
|
@@ -6007,7 +6026,7 @@ function updateSize(particle, delta) {
|
|
|
6007
6026
|
}
|
|
6008
6027
|
}
|
|
6009
6028
|
|
|
6010
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.
|
|
6029
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.3/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js
|
|
6011
6030
|
|
|
6012
6031
|
|
|
6013
6032
|
class SizeUpdater {
|
|
@@ -6040,13 +6059,13 @@ class SizeUpdater {
|
|
|
6040
6059
|
}
|
|
6041
6060
|
}
|
|
6042
6061
|
|
|
6043
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.
|
|
6062
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.3/node_modules/@tsparticles/updater-size/browser/index.js
|
|
6044
6063
|
|
|
6045
6064
|
async function loadSizeUpdater(engine, refresh = true) {
|
|
6046
6065
|
await engine.addParticleUpdater("size", () => new SizeUpdater(), refresh);
|
|
6047
6066
|
}
|
|
6048
6067
|
|
|
6049
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+basic@3.0.
|
|
6068
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+basic@3.0.3/node_modules/@tsparticles/basic/browser/index.js
|
|
6050
6069
|
|
|
6051
6070
|
|
|
6052
6071
|
|
|
@@ -6063,7 +6082,7 @@ async function loadBasic(engine, refresh = true) {
|
|
|
6063
6082
|
await engine.refresh(refresh);
|
|
6064
6083
|
}
|
|
6065
6084
|
|
|
6066
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6085
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/DestroyBounds.js
|
|
6067
6086
|
|
|
6068
6087
|
class DestroyBounds {
|
|
6069
6088
|
load(data) {
|
|
@@ -6085,7 +6104,7 @@ class DestroyBounds {
|
|
|
6085
6104
|
}
|
|
6086
6105
|
}
|
|
6087
6106
|
|
|
6088
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6107
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitFactor.js
|
|
6089
6108
|
|
|
6090
6109
|
class SplitFactor extends ValueWithRandom {
|
|
6091
6110
|
constructor() {
|
|
@@ -6094,7 +6113,7 @@ class SplitFactor extends ValueWithRandom {
|
|
|
6094
6113
|
}
|
|
6095
6114
|
}
|
|
6096
6115
|
|
|
6097
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6116
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitRate.js
|
|
6098
6117
|
|
|
6099
6118
|
class SplitRate extends ValueWithRandom {
|
|
6100
6119
|
constructor() {
|
|
@@ -6103,7 +6122,7 @@ class SplitRate extends ValueWithRandom {
|
|
|
6103
6122
|
}
|
|
6104
6123
|
}
|
|
6105
6124
|
|
|
6106
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6125
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Split.js
|
|
6107
6126
|
|
|
6108
6127
|
|
|
6109
6128
|
|
|
@@ -6147,7 +6166,7 @@ class Split {
|
|
|
6147
6166
|
}
|
|
6148
6167
|
}
|
|
6149
6168
|
|
|
6150
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6169
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Destroy.js
|
|
6151
6170
|
|
|
6152
6171
|
|
|
6153
6172
|
class Destroy {
|
|
@@ -6170,7 +6189,7 @@ class Destroy {
|
|
|
6170
6189
|
}
|
|
6171
6190
|
}
|
|
6172
6191
|
|
|
6173
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6192
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/Utils.js
|
|
6174
6193
|
|
|
6175
6194
|
function addSplitParticle(engine, container, parent, splitParticlesOptions) {
|
|
6176
6195
|
const destroyOptions = parent.options.destroy;
|
|
@@ -6246,7 +6265,7 @@ function split(engine, container, particle) {
|
|
|
6246
6265
|
}
|
|
6247
6266
|
}
|
|
6248
6267
|
|
|
6249
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6268
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/DestroyUpdater.js
|
|
6250
6269
|
|
|
6251
6270
|
|
|
6252
6271
|
|
|
@@ -6316,13 +6335,13 @@ class DestroyUpdater {
|
|
|
6316
6335
|
}
|
|
6317
6336
|
}
|
|
6318
6337
|
|
|
6319
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.
|
|
6338
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.3/node_modules/@tsparticles/updater-destroy/browser/index.js
|
|
6320
6339
|
|
|
6321
6340
|
async function loadDestroyUpdater(engine, refresh = true) {
|
|
6322
6341
|
await engine.addParticleUpdater("destroy", (container) => new DestroyUpdater(engine, container), refresh);
|
|
6323
6342
|
}
|
|
6324
6343
|
|
|
6325
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6344
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js
|
|
6326
6345
|
|
|
6327
6346
|
class EmitterLife {
|
|
6328
6347
|
constructor() {
|
|
@@ -6347,7 +6366,7 @@ class EmitterLife {
|
|
|
6347
6366
|
}
|
|
6348
6367
|
}
|
|
6349
6368
|
|
|
6350
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6369
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js
|
|
6351
6370
|
|
|
6352
6371
|
class EmitterRate {
|
|
6353
6372
|
constructor() {
|
|
@@ -6367,7 +6386,7 @@ class EmitterRate {
|
|
|
6367
6386
|
}
|
|
6368
6387
|
}
|
|
6369
6388
|
|
|
6370
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6389
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js
|
|
6371
6390
|
class EmitterShapeReplace {
|
|
6372
6391
|
constructor() {
|
|
6373
6392
|
this.color = false;
|
|
@@ -6386,7 +6405,7 @@ class EmitterShapeReplace {
|
|
|
6386
6405
|
}
|
|
6387
6406
|
}
|
|
6388
6407
|
|
|
6389
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6408
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js
|
|
6390
6409
|
|
|
6391
6410
|
|
|
6392
6411
|
class EmitterShape {
|
|
@@ -6409,7 +6428,7 @@ class EmitterShape {
|
|
|
6409
6428
|
}
|
|
6410
6429
|
}
|
|
6411
6430
|
|
|
6412
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6431
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js
|
|
6413
6432
|
class EmitterSize {
|
|
6414
6433
|
constructor() {
|
|
6415
6434
|
this.mode = "percent";
|
|
@@ -6432,7 +6451,7 @@ class EmitterSize {
|
|
|
6432
6451
|
}
|
|
6433
6452
|
}
|
|
6434
6453
|
|
|
6435
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6454
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js
|
|
6436
6455
|
|
|
6437
6456
|
|
|
6438
6457
|
|
|
@@ -6495,7 +6514,7 @@ class Emitter {
|
|
|
6495
6514
|
}
|
|
6496
6515
|
}
|
|
6497
6516
|
|
|
6498
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6517
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/EmitterInstance.js
|
|
6499
6518
|
|
|
6500
6519
|
|
|
6501
6520
|
|
|
@@ -6674,6 +6693,7 @@ class EmitterInstance {
|
|
|
6674
6693
|
}
|
|
6675
6694
|
if (this._lifeCount > 0 || this._immortal) {
|
|
6676
6695
|
this.position = this._calcPosition();
|
|
6696
|
+
this._shape?.resize(this.position, this.size);
|
|
6677
6697
|
this._spawnDelay =
|
|
6678
6698
|
(NumberUtils_getRangeValue(this.options.life.delay ?? 0) * 1000) / this.container.retina.reduceFactor;
|
|
6679
6699
|
}
|
|
@@ -6795,7 +6815,7 @@ class EmitterInstance {
|
|
|
6795
6815
|
}
|
|
6796
6816
|
}
|
|
6797
6817
|
|
|
6798
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6818
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Emitters.js
|
|
6799
6819
|
|
|
6800
6820
|
|
|
6801
6821
|
|
|
@@ -6921,7 +6941,7 @@ class Emitters {
|
|
|
6921
6941
|
}
|
|
6922
6942
|
}
|
|
6923
6943
|
|
|
6924
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6944
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js
|
|
6925
6945
|
const shapeGeneratorss = new Map();
|
|
6926
6946
|
class ShapeManager {
|
|
6927
6947
|
constructor(engine) {
|
|
@@ -6940,7 +6960,7 @@ class ShapeManager {
|
|
|
6940
6960
|
}
|
|
6941
6961
|
}
|
|
6942
6962
|
|
|
6943
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6963
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/index.js
|
|
6944
6964
|
|
|
6945
6965
|
|
|
6946
6966
|
|