@tsparticles/preset-confetti 3.0.0 → 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 +83 -175
- package/browser/bundle.js +2 -4
- package/browser/index.js +1 -1
- package/browser/options.js +2 -1
- package/cjs/bundle.js +3 -5
- package/cjs/index.js +2 -2
- package/cjs/options.js +2 -1
- package/esm/bundle.js +2 -4
- package/esm/index.js +1 -1
- package/esm/options.js +2 -1
- package/package.json +11 -11
- package/report.html +2 -2
- package/tsparticles.preset.confetti.bundle.js +172 -151
- package/tsparticles.preset.confetti.bundle.min.js +1 -1
- package/tsparticles.preset.confetti.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.confetti.js +5 -2
- package/tsparticles.preset.confetti.min.js +1 -1
- package/tsparticles.preset.confetti.min.js.LICENSE.txt +1 -1
- package/types/bundle.d.ts +1 -1
- package/umd/bundle.js +4 -6
- package/umd/index.js +3 -3
- package/umd/options.js +2 -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+plugin-emitters@3.0.
|
|
6085
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js
|
|
6067
6086
|
|
|
6068
6087
|
class EmitterLife {
|
|
6069
6088
|
constructor() {
|
|
@@ -6088,7 +6107,7 @@ class EmitterLife {
|
|
|
6088
6107
|
}
|
|
6089
6108
|
}
|
|
6090
6109
|
|
|
6091
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6110
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js
|
|
6092
6111
|
|
|
6093
6112
|
class EmitterRate {
|
|
6094
6113
|
constructor() {
|
|
@@ -6108,7 +6127,7 @@ class EmitterRate {
|
|
|
6108
6127
|
}
|
|
6109
6128
|
}
|
|
6110
6129
|
|
|
6111
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6130
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js
|
|
6112
6131
|
class EmitterShapeReplace {
|
|
6113
6132
|
constructor() {
|
|
6114
6133
|
this.color = false;
|
|
@@ -6127,7 +6146,7 @@ class EmitterShapeReplace {
|
|
|
6127
6146
|
}
|
|
6128
6147
|
}
|
|
6129
6148
|
|
|
6130
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6149
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js
|
|
6131
6150
|
|
|
6132
6151
|
|
|
6133
6152
|
class EmitterShape {
|
|
@@ -6150,7 +6169,7 @@ class EmitterShape {
|
|
|
6150
6169
|
}
|
|
6151
6170
|
}
|
|
6152
6171
|
|
|
6153
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6172
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js
|
|
6154
6173
|
class EmitterSize {
|
|
6155
6174
|
constructor() {
|
|
6156
6175
|
this.mode = "percent";
|
|
@@ -6173,7 +6192,7 @@ class EmitterSize {
|
|
|
6173
6192
|
}
|
|
6174
6193
|
}
|
|
6175
6194
|
|
|
6176
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6195
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js
|
|
6177
6196
|
|
|
6178
6197
|
|
|
6179
6198
|
|
|
@@ -6236,7 +6255,7 @@ class Emitter {
|
|
|
6236
6255
|
}
|
|
6237
6256
|
}
|
|
6238
6257
|
|
|
6239
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6258
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/EmitterInstance.js
|
|
6240
6259
|
|
|
6241
6260
|
|
|
6242
6261
|
|
|
@@ -6415,6 +6434,7 @@ class EmitterInstance {
|
|
|
6415
6434
|
}
|
|
6416
6435
|
if (this._lifeCount > 0 || this._immortal) {
|
|
6417
6436
|
this.position = this._calcPosition();
|
|
6437
|
+
this._shape?.resize(this.position, this.size);
|
|
6418
6438
|
this._spawnDelay =
|
|
6419
6439
|
(NumberUtils_getRangeValue(this.options.life.delay ?? 0) * 1000) / this.container.retina.reduceFactor;
|
|
6420
6440
|
}
|
|
@@ -6536,7 +6556,7 @@ class EmitterInstance {
|
|
|
6536
6556
|
}
|
|
6537
6557
|
}
|
|
6538
6558
|
|
|
6539
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6559
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/Emitters.js
|
|
6540
6560
|
|
|
6541
6561
|
|
|
6542
6562
|
|
|
@@ -6662,7 +6682,7 @@ class Emitters {
|
|
|
6662
6682
|
}
|
|
6663
6683
|
}
|
|
6664
6684
|
|
|
6665
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6685
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js
|
|
6666
6686
|
const shapeGeneratorss = new Map();
|
|
6667
6687
|
class ShapeManager {
|
|
6668
6688
|
constructor(engine) {
|
|
@@ -6681,7 +6701,7 @@ class ShapeManager {
|
|
|
6681
6701
|
}
|
|
6682
6702
|
}
|
|
6683
6703
|
|
|
6684
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.
|
|
6704
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.3/node_modules/@tsparticles/plugin-emitters/browser/index.js
|
|
6685
6705
|
|
|
6686
6706
|
|
|
6687
6707
|
|
|
@@ -6792,7 +6812,7 @@ async function loadEmittersPlugin(engine, refresh = true) {
|
|
|
6792
6812
|
|
|
6793
6813
|
|
|
6794
6814
|
|
|
6795
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.
|
|
6815
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.3/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.js
|
|
6796
6816
|
|
|
6797
6817
|
class LifeDelay extends ValueWithRandom {
|
|
6798
6818
|
constructor() {
|
|
@@ -6810,7 +6830,7 @@ class LifeDelay extends ValueWithRandom {
|
|
|
6810
6830
|
}
|
|
6811
6831
|
}
|
|
6812
6832
|
|
|
6813
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.
|
|
6833
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.3/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js
|
|
6814
6834
|
|
|
6815
6835
|
class LifeDuration extends ValueWithRandom {
|
|
6816
6836
|
constructor() {
|
|
@@ -6828,7 +6848,7 @@ class LifeDuration extends ValueWithRandom {
|
|
|
6828
6848
|
}
|
|
6829
6849
|
}
|
|
6830
6850
|
|
|
6831
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.
|
|
6851
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.3/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.js
|
|
6832
6852
|
|
|
6833
6853
|
|
|
6834
6854
|
class Life {
|
|
@@ -6849,7 +6869,7 @@ class Life {
|
|
|
6849
6869
|
}
|
|
6850
6870
|
}
|
|
6851
6871
|
|
|
6852
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.
|
|
6872
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.3/node_modules/@tsparticles/updater-life/browser/LifeUpdater.js
|
|
6853
6873
|
|
|
6854
6874
|
|
|
6855
6875
|
class LifeUpdater {
|
|
@@ -6953,13 +6973,13 @@ class LifeUpdater {
|
|
|
6953
6973
|
}
|
|
6954
6974
|
}
|
|
6955
6975
|
|
|
6956
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.
|
|
6976
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.3/node_modules/@tsparticles/updater-life/browser/index.js
|
|
6957
6977
|
|
|
6958
6978
|
async function loadLifeUpdater(engine, refresh = true) {
|
|
6959
6979
|
await engine.addParticleUpdater("life", (container) => new LifeUpdater(container), refresh);
|
|
6960
6980
|
}
|
|
6961
6981
|
|
|
6962
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.
|
|
6982
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.3/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/MotionReduce.js
|
|
6963
6983
|
class MotionReduce {
|
|
6964
6984
|
constructor() {
|
|
6965
6985
|
this.factor = 4;
|
|
@@ -6978,7 +6998,7 @@ class MotionReduce {
|
|
|
6978
6998
|
}
|
|
6979
6999
|
}
|
|
6980
7000
|
|
|
6981
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.
|
|
7001
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.3/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/Motion.js
|
|
6982
7002
|
|
|
6983
7003
|
class Motion {
|
|
6984
7004
|
constructor() {
|
|
@@ -6996,7 +7016,7 @@ class Motion {
|
|
|
6996
7016
|
}
|
|
6997
7017
|
}
|
|
6998
7018
|
|
|
6999
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.
|
|
7019
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.3/node_modules/@tsparticles/plugin-motion/browser/MotionInstance.js
|
|
7000
7020
|
|
|
7001
7021
|
class MotionInstance {
|
|
7002
7022
|
constructor(container, engine) {
|
|
@@ -7045,7 +7065,7 @@ class MotionInstance {
|
|
|
7045
7065
|
}
|
|
7046
7066
|
}
|
|
7047
7067
|
|
|
7048
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.
|
|
7068
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.3/node_modules/@tsparticles/plugin-motion/browser/index.js
|
|
7049
7069
|
|
|
7050
7070
|
|
|
7051
7071
|
class MotionPlugin {
|
|
@@ -7074,7 +7094,7 @@ async function loadMotionPlugin(engine, refresh = true) {
|
|
|
7074
7094
|
await engine.addPlugin(new MotionPlugin(engine), refresh);
|
|
7075
7095
|
}
|
|
7076
7096
|
|
|
7077
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.
|
|
7097
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.3/node_modules/@tsparticles/updater-roll/browser/Utils.js
|
|
7078
7098
|
|
|
7079
7099
|
function initParticle(particle) {
|
|
7080
7100
|
const rollOpt = particle.options.roll;
|
|
@@ -7130,7 +7150,7 @@ function updateRoll(particle, delta) {
|
|
|
7130
7150
|
}
|
|
7131
7151
|
}
|
|
7132
7152
|
|
|
7133
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.
|
|
7153
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.3/node_modules/@tsparticles/updater-roll/browser/Options/Classes/RollLight.js
|
|
7134
7154
|
|
|
7135
7155
|
class RollLight {
|
|
7136
7156
|
constructor() {
|
|
@@ -7150,7 +7170,7 @@ class RollLight {
|
|
|
7150
7170
|
}
|
|
7151
7171
|
}
|
|
7152
7172
|
|
|
7153
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.
|
|
7173
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.3/node_modules/@tsparticles/updater-roll/browser/Options/Classes/Roll.js
|
|
7154
7174
|
|
|
7155
7175
|
|
|
7156
7176
|
class Roll {
|
|
@@ -7182,7 +7202,7 @@ class Roll {
|
|
|
7182
7202
|
}
|
|
7183
7203
|
}
|
|
7184
7204
|
|
|
7185
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.
|
|
7205
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.3/node_modules/@tsparticles/updater-roll/browser/RollUpdater.js
|
|
7186
7206
|
|
|
7187
7207
|
|
|
7188
7208
|
class RollUpdater {
|
|
@@ -7216,13 +7236,13 @@ class RollUpdater {
|
|
|
7216
7236
|
}
|
|
7217
7237
|
}
|
|
7218
7238
|
|
|
7219
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.
|
|
7239
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.3/node_modules/@tsparticles/updater-roll/browser/index.js
|
|
7220
7240
|
|
|
7221
7241
|
async function loadRollUpdater(engine, refresh = true) {
|
|
7222
7242
|
await engine.addParticleUpdater("roll", () => new RollUpdater(), refresh);
|
|
7223
7243
|
}
|
|
7224
7244
|
|
|
7225
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.
|
|
7245
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.3/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js
|
|
7226
7246
|
|
|
7227
7247
|
class RotateAnimation {
|
|
7228
7248
|
constructor() {
|
|
@@ -7250,7 +7270,7 @@ class RotateAnimation {
|
|
|
7250
7270
|
}
|
|
7251
7271
|
}
|
|
7252
7272
|
|
|
7253
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.
|
|
7273
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.3/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js
|
|
7254
7274
|
|
|
7255
7275
|
|
|
7256
7276
|
class Rotate extends ValueWithRandom {
|
|
@@ -7276,7 +7296,7 @@ class Rotate extends ValueWithRandom {
|
|
|
7276
7296
|
}
|
|
7277
7297
|
}
|
|
7278
7298
|
|
|
7279
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.
|
|
7299
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.3/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js
|
|
7280
7300
|
|
|
7281
7301
|
|
|
7282
7302
|
function updateRotate(particle, delta) {
|
|
@@ -7370,13 +7390,13 @@ class RotateUpdater {
|
|
|
7370
7390
|
}
|
|
7371
7391
|
}
|
|
7372
7392
|
|
|
7373
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.
|
|
7393
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.3/node_modules/@tsparticles/updater-rotate/browser/index.js
|
|
7374
7394
|
|
|
7375
7395
|
async function loadRotateUpdater(engine, refresh = true) {
|
|
7376
7396
|
await engine.addParticleUpdater("rotate", (container) => new RotateUpdater(container), refresh);
|
|
7377
7397
|
}
|
|
7378
7398
|
|
|
7379
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.
|
|
7399
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.3/node_modules/@tsparticles/shape-square/browser/SquareDrawer.js
|
|
7380
7400
|
const fixFactor = Math.sqrt(2);
|
|
7381
7401
|
class SquareDrawer {
|
|
7382
7402
|
draw(data) {
|
|
@@ -7388,13 +7408,13 @@ class SquareDrawer {
|
|
|
7388
7408
|
}
|
|
7389
7409
|
}
|
|
7390
7410
|
|
|
7391
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.
|
|
7411
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.3/node_modules/@tsparticles/shape-square/browser/index.js
|
|
7392
7412
|
|
|
7393
7413
|
async function loadSquareShape(engine, refresh = true) {
|
|
7394
7414
|
await engine.addShape(["edge", "square"], new SquareDrawer(), refresh);
|
|
7395
7415
|
}
|
|
7396
7416
|
|
|
7397
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.
|
|
7417
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.3/node_modules/@tsparticles/updater-tilt/browser/Options/Classes/TiltAnimation.js
|
|
7398
7418
|
|
|
7399
7419
|
class TiltAnimation {
|
|
7400
7420
|
constructor() {
|
|
@@ -7422,7 +7442,7 @@ class TiltAnimation {
|
|
|
7422
7442
|
}
|
|
7423
7443
|
}
|
|
7424
7444
|
|
|
7425
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.
|
|
7445
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.3/node_modules/@tsparticles/updater-tilt/browser/Options/Classes/Tilt.js
|
|
7426
7446
|
|
|
7427
7447
|
|
|
7428
7448
|
class Tilt extends ValueWithRandom {
|
|
@@ -7448,7 +7468,7 @@ class Tilt extends ValueWithRandom {
|
|
|
7448
7468
|
}
|
|
7449
7469
|
}
|
|
7450
7470
|
|
|
7451
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.
|
|
7471
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.3/node_modules/@tsparticles/updater-tilt/browser/Utils.js
|
|
7452
7472
|
function updateTilt(particle, delta) {
|
|
7453
7473
|
if (!particle.tilt || !particle.options.tilt) {
|
|
7454
7474
|
return;
|
|
@@ -7477,7 +7497,7 @@ function updateTilt(particle, delta) {
|
|
|
7477
7497
|
}
|
|
7478
7498
|
}
|
|
7479
7499
|
|
|
7480
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.
|
|
7500
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.3/node_modules/@tsparticles/updater-tilt/browser/TiltUpdater.js
|
|
7481
7501
|
|
|
7482
7502
|
|
|
7483
7503
|
|
|
@@ -7546,13 +7566,13 @@ class TiltUpdater {
|
|
|
7546
7566
|
}
|
|
7547
7567
|
}
|
|
7548
7568
|
|
|
7549
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.
|
|
7569
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.3/node_modules/@tsparticles/updater-tilt/browser/index.js
|
|
7550
7570
|
|
|
7551
7571
|
async function loadTiltUpdater(engine, refresh = true) {
|
|
7552
7572
|
await engine.addParticleUpdater("tilt", (container) => new TiltUpdater(container), refresh);
|
|
7553
7573
|
}
|
|
7554
7574
|
|
|
7555
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.
|
|
7575
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.3/node_modules/@tsparticles/updater-wobble/browser/Options/Classes/WobbleSpeed.js
|
|
7556
7576
|
|
|
7557
7577
|
class WobbleSpeed {
|
|
7558
7578
|
constructor() {
|
|
@@ -7572,7 +7592,7 @@ class WobbleSpeed {
|
|
|
7572
7592
|
}
|
|
7573
7593
|
}
|
|
7574
7594
|
|
|
7575
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.
|
|
7595
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.3/node_modules/@tsparticles/updater-wobble/browser/Options/Classes/Wobble.js
|
|
7576
7596
|
|
|
7577
7597
|
|
|
7578
7598
|
class Wobble {
|
|
@@ -7608,7 +7628,7 @@ class Wobble {
|
|
|
7608
7628
|
}
|
|
7609
7629
|
}
|
|
7610
7630
|
|
|
7611
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.
|
|
7631
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.3/node_modules/@tsparticles/updater-wobble/browser/Utils.js
|
|
7612
7632
|
function updateWobble(particle, delta) {
|
|
7613
7633
|
const { wobble: wobbleOptions } = particle.options, { wobble } = particle;
|
|
7614
7634
|
if (!wobbleOptions?.enable || !wobble) {
|
|
@@ -7623,7 +7643,7 @@ function updateWobble(particle, delta) {
|
|
|
7623
7643
|
position.y += distance * Math.abs(Math.sin(wobble.angle));
|
|
7624
7644
|
}
|
|
7625
7645
|
|
|
7626
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.
|
|
7646
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.3/node_modules/@tsparticles/updater-wobble/browser/WobbleUpdater.js
|
|
7627
7647
|
|
|
7628
7648
|
|
|
7629
7649
|
|
|
@@ -7668,13 +7688,16 @@ class WobbleUpdater {
|
|
|
7668
7688
|
}
|
|
7669
7689
|
}
|
|
7670
7690
|
|
|
7671
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.
|
|
7691
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.3/node_modules/@tsparticles/updater-wobble/browser/index.js
|
|
7672
7692
|
|
|
7673
7693
|
async function loadWobbleUpdater(engine, refresh = true) {
|
|
7674
7694
|
await engine.addParticleUpdater("wobble", (container) => new WobbleUpdater(container), refresh);
|
|
7675
7695
|
}
|
|
7676
7696
|
|
|
7677
7697
|
;// CONCATENATED MODULE: ./dist/browser/options.js
|
|
7698
|
+
const lifeDurationNum = 20,
|
|
7699
|
+
lifeDurationFactor = 6,
|
|
7700
|
+
lifeDuration = lifeDurationNum / lifeDurationFactor;
|
|
7678
7701
|
const options = {
|
|
7679
7702
|
fullScreen: {
|
|
7680
7703
|
enable: true,
|
|
@@ -7712,7 +7735,7 @@ const options = {
|
|
|
7712
7735
|
life: {
|
|
7713
7736
|
duration: {
|
|
7714
7737
|
sync: true,
|
|
7715
|
-
value:
|
|
7738
|
+
value: lifeDuration
|
|
7716
7739
|
},
|
|
7717
7740
|
count: 1
|
|
7718
7741
|
},
|
|
@@ -7834,9 +7857,7 @@ async function loadConfettiPreset(engine) {
|
|
|
7834
7857
|
;// CONCATENATED MODULE: ./dist/browser/bundle.js
|
|
7835
7858
|
|
|
7836
7859
|
|
|
7837
|
-
|
|
7838
|
-
await loadConfettiPreset(tsParticles);
|
|
7839
|
-
})();
|
|
7860
|
+
void loadConfettiPreset(tsParticles);
|
|
7840
7861
|
|
|
7841
7862
|
/******/ return __webpack_exports__;
|
|
7842
7863
|
/******/ })()
|