@tsparticles/all 3.0.0-beta.3 → 3.0.0-beta.5
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 +0 -1
- package/browser/index.js +18 -4
- package/cjs/index.js +18 -4
- package/esm/index.js +18 -4
- package/package.json +45 -38
- package/report.html +4 -22
- package/tsparticles.all.bundle.js +3980 -2329
- package/tsparticles.all.bundle.min.js +1 -1
- package/tsparticles.all.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.all.js +251 -603
- package/tsparticles.all.min.js +1 -1
- package/tsparticles.all.min.js.LICENSE.txt +1 -1
- package/umd/index.js +19 -5
package/tsparticles.all.js
CHANGED
|
@@ -4,26 +4,40 @@
|
|
|
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.0-beta.
|
|
7
|
+
* v3.0.0-beta.5
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("@tsparticles/
|
|
11
|
+
module.exports = factory(require("@tsparticles/pjs"), require("@tsparticles/shape-arrow"), require("@tsparticles/effect-bubble"), require("@tsparticles/plugin-canvas-mask"), require("@tsparticles/shape-cards"), require("@tsparticles/shape-cog"), require("@tsparticles/path-curl-noise"), require("@tsparticles/path-curves"), require("@tsparticles/plugin-easing-back"), require("@tsparticles/plugin-easing-circ"), require("@tsparticles/plugin-easing-cubic"), require("@tsparticles/plugin-easing-expo"), require("@tsparticles/plugin-easing-linear"), require("@tsparticles/plugin-easing-quart"), require("@tsparticles/plugin-easing-quint"), require("@tsparticles/plugin-easing-sine"), require("@tsparticles/plugin-emitters-shape-canvas"), require("@tsparticles/plugin-emitters-shape-path"), require("@tsparticles/plugin-emitters-shape-polygon"), require("@tsparticles/plugin-export-image"), require("@tsparticles/plugin-export-json"), require("@tsparticles/plugin-export-video"), require("@tsparticles/interaction-external-pop"), require("tsparticles"), require("@tsparticles/updater-gradient"), require("@tsparticles/shape-heart"), require("@tsparticles/plugin-hsv-color"), require("@tsparticles/plugin-infection"), require("@tsparticles/interaction-light"), require("@tsparticles/plugin-motion"), require("@tsparticles/updater-orbit"), require("@tsparticles/interaction-particles-repulse"), require("@tsparticles/shape-path"), require("@tsparticles/path-perlin-noise"), require("@tsparticles/plugin-polygon-mask"), require("@tsparticles/path-polygon"), require("@tsparticles/shape-rounded-polygon"), require("@tsparticles/shape-rounded-rect"), require("@tsparticles/path-svg"), require("@tsparticles/path-simplex-noise"), require("@tsparticles/plugin-sounds"), require("@tsparticles/shape-spiral"), require("@tsparticles/effect-trail"));
|
|
12
12
|
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define(["@tsparticles/
|
|
13
|
+
define(["@tsparticles/pjs", "@tsparticles/shape-arrow", "@tsparticles/effect-bubble", "@tsparticles/plugin-canvas-mask", "@tsparticles/shape-cards", "@tsparticles/shape-cog", "@tsparticles/path-curl-noise", "@tsparticles/path-curves", "@tsparticles/plugin-easing-back", "@tsparticles/plugin-easing-circ", "@tsparticles/plugin-easing-cubic", "@tsparticles/plugin-easing-expo", "@tsparticles/plugin-easing-linear", "@tsparticles/plugin-easing-quart", "@tsparticles/plugin-easing-quint", "@tsparticles/plugin-easing-sine", "@tsparticles/plugin-emitters-shape-canvas", "@tsparticles/plugin-emitters-shape-path", "@tsparticles/plugin-emitters-shape-polygon", "@tsparticles/plugin-export-image", "@tsparticles/plugin-export-json", "@tsparticles/plugin-export-video", "@tsparticles/interaction-external-pop", "tsparticles", "@tsparticles/updater-gradient", "@tsparticles/shape-heart", "@tsparticles/plugin-hsv-color", "@tsparticles/plugin-infection", "@tsparticles/interaction-light", "@tsparticles/plugin-motion", "@tsparticles/updater-orbit", "@tsparticles/interaction-particles-repulse", "@tsparticles/shape-path", "@tsparticles/path-perlin-noise", "@tsparticles/plugin-polygon-mask", "@tsparticles/path-polygon", "@tsparticles/shape-rounded-polygon", "@tsparticles/shape-rounded-rect", "@tsparticles/path-svg", "@tsparticles/path-simplex-noise", "@tsparticles/plugin-sounds", "@tsparticles/shape-spiral", "@tsparticles/effect-trail"], factory);
|
|
14
14
|
else {
|
|
15
|
-
var a = typeof exports === 'object' ? factory(require("@tsparticles/
|
|
15
|
+
var a = typeof exports === 'object' ? factory(require("@tsparticles/pjs"), require("@tsparticles/shape-arrow"), require("@tsparticles/effect-bubble"), require("@tsparticles/plugin-canvas-mask"), require("@tsparticles/shape-cards"), require("@tsparticles/shape-cog"), require("@tsparticles/path-curl-noise"), require("@tsparticles/path-curves"), require("@tsparticles/plugin-easing-back"), require("@tsparticles/plugin-easing-circ"), require("@tsparticles/plugin-easing-cubic"), require("@tsparticles/plugin-easing-expo"), require("@tsparticles/plugin-easing-linear"), require("@tsparticles/plugin-easing-quart"), require("@tsparticles/plugin-easing-quint"), require("@tsparticles/plugin-easing-sine"), require("@tsparticles/plugin-emitters-shape-canvas"), require("@tsparticles/plugin-emitters-shape-path"), require("@tsparticles/plugin-emitters-shape-polygon"), require("@tsparticles/plugin-export-image"), require("@tsparticles/plugin-export-json"), require("@tsparticles/plugin-export-video"), require("@tsparticles/interaction-external-pop"), require("tsparticles"), require("@tsparticles/updater-gradient"), require("@tsparticles/shape-heart"), require("@tsparticles/plugin-hsv-color"), require("@tsparticles/plugin-infection"), require("@tsparticles/interaction-light"), require("@tsparticles/plugin-motion"), require("@tsparticles/updater-orbit"), require("@tsparticles/interaction-particles-repulse"), require("@tsparticles/shape-path"), require("@tsparticles/path-perlin-noise"), require("@tsparticles/plugin-polygon-mask"), require("@tsparticles/path-polygon"), require("@tsparticles/shape-rounded-polygon"), require("@tsparticles/shape-rounded-rect"), require("@tsparticles/path-svg"), require("@tsparticles/path-simplex-noise"), require("@tsparticles/plugin-sounds"), require("@tsparticles/shape-spiral"), require("@tsparticles/effect-trail")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
|
|
16
16
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
17
17
|
}
|
|
18
|
-
})(this, (
|
|
18
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__860__, __WEBPACK_EXTERNAL_MODULE__142__, __WEBPACK_EXTERNAL_MODULE__247__, __WEBPACK_EXTERNAL_MODULE__72__, __WEBPACK_EXTERNAL_MODULE__686__, __WEBPACK_EXTERNAL_MODULE__364__, __WEBPACK_EXTERNAL_MODULE__220__, __WEBPACK_EXTERNAL_MODULE__997__, __WEBPACK_EXTERNAL_MODULE__792__, __WEBPACK_EXTERNAL_MODULE__176__, __WEBPACK_EXTERNAL_MODULE__922__, __WEBPACK_EXTERNAL_MODULE__594__, __WEBPACK_EXTERNAL_MODULE__479__, __WEBPACK_EXTERNAL_MODULE__205__, __WEBPACK_EXTERNAL_MODULE__144__, __WEBPACK_EXTERNAL_MODULE__691__, __WEBPACK_EXTERNAL_MODULE__268__, __WEBPACK_EXTERNAL_MODULE__289__, __WEBPACK_EXTERNAL_MODULE__485__, __WEBPACK_EXTERNAL_MODULE__118__, __WEBPACK_EXTERNAL_MODULE__261__, __WEBPACK_EXTERNAL_MODULE__57__, __WEBPACK_EXTERNAL_MODULE__305__, __WEBPACK_EXTERNAL_MODULE__802__, __WEBPACK_EXTERNAL_MODULE__887__, __WEBPACK_EXTERNAL_MODULE__12__, __WEBPACK_EXTERNAL_MODULE__673__, __WEBPACK_EXTERNAL_MODULE__521__, __WEBPACK_EXTERNAL_MODULE__55__, __WEBPACK_EXTERNAL_MODULE__82__, __WEBPACK_EXTERNAL_MODULE__193__, __WEBPACK_EXTERNAL_MODULE__297__, __WEBPACK_EXTERNAL_MODULE__901__, __WEBPACK_EXTERNAL_MODULE__228__, __WEBPACK_EXTERNAL_MODULE__124__, __WEBPACK_EXTERNAL_MODULE__231__, __WEBPACK_EXTERNAL_MODULE__24__, __WEBPACK_EXTERNAL_MODULE__550__, __WEBPACK_EXTERNAL_MODULE__214__, __WEBPACK_EXTERNAL_MODULE__520__, __WEBPACK_EXTERNAL_MODULE__490__, __WEBPACK_EXTERNAL_MODULE__561__, __WEBPACK_EXTERNAL_MODULE__4__) => {
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ var __webpack_modules__ = ({
|
|
22
22
|
|
|
23
|
-
/***/
|
|
23
|
+
/***/ 247:
|
|
24
24
|
/***/ ((module) => {
|
|
25
25
|
|
|
26
|
-
module.exports =
|
|
26
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__247__;
|
|
27
|
+
|
|
28
|
+
/***/ }),
|
|
29
|
+
|
|
30
|
+
/***/ 4:
|
|
31
|
+
/***/ ((module) => {
|
|
32
|
+
|
|
33
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4__;
|
|
34
|
+
|
|
35
|
+
/***/ }),
|
|
36
|
+
|
|
37
|
+
/***/ 305:
|
|
38
|
+
/***/ ((module) => {
|
|
39
|
+
|
|
40
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__305__;
|
|
27
41
|
|
|
28
42
|
/***/ }),
|
|
29
43
|
|
|
@@ -41,6 +55,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__297__;
|
|
|
41
55
|
|
|
42
56
|
/***/ }),
|
|
43
57
|
|
|
58
|
+
/***/ 220:
|
|
59
|
+
/***/ ((module) => {
|
|
60
|
+
|
|
61
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__220__;
|
|
62
|
+
|
|
63
|
+
/***/ }),
|
|
64
|
+
|
|
44
65
|
/***/ 997:
|
|
45
66
|
/***/ ((module) => {
|
|
46
67
|
|
|
@@ -69,6 +90,20 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__520__;
|
|
|
69
90
|
|
|
70
91
|
/***/ }),
|
|
71
92
|
|
|
93
|
+
/***/ 214:
|
|
94
|
+
/***/ ((module) => {
|
|
95
|
+
|
|
96
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__214__;
|
|
97
|
+
|
|
98
|
+
/***/ }),
|
|
99
|
+
|
|
100
|
+
/***/ 860:
|
|
101
|
+
/***/ ((module) => {
|
|
102
|
+
|
|
103
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__860__;
|
|
104
|
+
|
|
105
|
+
/***/ }),
|
|
106
|
+
|
|
72
107
|
/***/ 72:
|
|
73
108
|
/***/ ((module) => {
|
|
74
109
|
|
|
@@ -104,6 +139,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__594__;
|
|
|
104
139
|
|
|
105
140
|
/***/ }),
|
|
106
141
|
|
|
142
|
+
/***/ 479:
|
|
143
|
+
/***/ ((module) => {
|
|
144
|
+
|
|
145
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__479__;
|
|
146
|
+
|
|
147
|
+
/***/ }),
|
|
148
|
+
|
|
107
149
|
/***/ 205:
|
|
108
150
|
/***/ ((module) => {
|
|
109
151
|
|
|
@@ -125,6 +167,48 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__691__;
|
|
|
125
167
|
|
|
126
168
|
/***/ }),
|
|
127
169
|
|
|
170
|
+
/***/ 268:
|
|
171
|
+
/***/ ((module) => {
|
|
172
|
+
|
|
173
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__268__;
|
|
174
|
+
|
|
175
|
+
/***/ }),
|
|
176
|
+
|
|
177
|
+
/***/ 289:
|
|
178
|
+
/***/ ((module) => {
|
|
179
|
+
|
|
180
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__289__;
|
|
181
|
+
|
|
182
|
+
/***/ }),
|
|
183
|
+
|
|
184
|
+
/***/ 485:
|
|
185
|
+
/***/ ((module) => {
|
|
186
|
+
|
|
187
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__485__;
|
|
188
|
+
|
|
189
|
+
/***/ }),
|
|
190
|
+
|
|
191
|
+
/***/ 118:
|
|
192
|
+
/***/ ((module) => {
|
|
193
|
+
|
|
194
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__118__;
|
|
195
|
+
|
|
196
|
+
/***/ }),
|
|
197
|
+
|
|
198
|
+
/***/ 261:
|
|
199
|
+
/***/ ((module) => {
|
|
200
|
+
|
|
201
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__261__;
|
|
202
|
+
|
|
203
|
+
/***/ }),
|
|
204
|
+
|
|
205
|
+
/***/ 57:
|
|
206
|
+
/***/ ((module) => {
|
|
207
|
+
|
|
208
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__57__;
|
|
209
|
+
|
|
210
|
+
/***/ }),
|
|
211
|
+
|
|
128
212
|
/***/ 673:
|
|
129
213
|
/***/ ((module) => {
|
|
130
214
|
|
|
@@ -160,10 +244,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__490__;
|
|
|
160
244
|
|
|
161
245
|
/***/ }),
|
|
162
246
|
|
|
163
|
-
/***/
|
|
247
|
+
/***/ 142:
|
|
164
248
|
/***/ ((module) => {
|
|
165
249
|
|
|
166
|
-
module.exports =
|
|
250
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__142__;
|
|
167
251
|
|
|
168
252
|
/***/ }),
|
|
169
253
|
|
|
@@ -174,17 +258,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__686__;
|
|
|
174
258
|
|
|
175
259
|
/***/ }),
|
|
176
260
|
|
|
177
|
-
/***/
|
|
261
|
+
/***/ 364:
|
|
178
262
|
/***/ ((module) => {
|
|
179
263
|
|
|
180
|
-
module.exports =
|
|
264
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__364__;
|
|
181
265
|
|
|
182
266
|
/***/ }),
|
|
183
267
|
|
|
184
|
-
/***/
|
|
268
|
+
/***/ 12:
|
|
185
269
|
/***/ ((module) => {
|
|
186
270
|
|
|
187
|
-
module.exports =
|
|
271
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__12__;
|
|
188
272
|
|
|
189
273
|
/***/ }),
|
|
190
274
|
|
|
@@ -195,6 +279,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__901__;
|
|
|
195
279
|
|
|
196
280
|
/***/ }),
|
|
197
281
|
|
|
282
|
+
/***/ 24:
|
|
283
|
+
/***/ ((module) => {
|
|
284
|
+
|
|
285
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__24__;
|
|
286
|
+
|
|
287
|
+
/***/ }),
|
|
288
|
+
|
|
198
289
|
/***/ 550:
|
|
199
290
|
/***/ ((module) => {
|
|
200
291
|
|
|
@@ -257,6 +348,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__802__;
|
|
|
257
348
|
/******/ }
|
|
258
349
|
/******/
|
|
259
350
|
/************************************************************************/
|
|
351
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
352
|
+
/******/ (() => {
|
|
353
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
354
|
+
/******/ __webpack_require__.n = (module) => {
|
|
355
|
+
/******/ var getter = module && module.__esModule ?
|
|
356
|
+
/******/ () => (module['default']) :
|
|
357
|
+
/******/ () => (module);
|
|
358
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
359
|
+
/******/ return getter;
|
|
360
|
+
/******/ };
|
|
361
|
+
/******/ })();
|
|
362
|
+
/******/
|
|
260
363
|
/******/ /* webpack/runtime/define property getters */
|
|
261
364
|
/******/ (() => {
|
|
262
365
|
/******/ // define getter functions for harmony exports
|
|
@@ -289,565 +392,103 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__802__;
|
|
|
289
392
|
var __webpack_exports__ = {};
|
|
290
393
|
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
291
394
|
(() => {
|
|
292
|
-
// ESM COMPAT FLAG
|
|
293
395
|
__webpack_require__.r(__webpack_exports__);
|
|
396
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
397
|
+
/* harmony export */ loadAll: () => (/* binding */ loadAll)
|
|
398
|
+
/* harmony export */ });
|
|
399
|
+
/* harmony import */ var _tsparticles_pjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(860);
|
|
400
|
+
/* harmony import */ var _tsparticles_pjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_pjs__WEBPACK_IMPORTED_MODULE_0__);
|
|
401
|
+
/* harmony import */ var _tsparticles_shape_arrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(142);
|
|
402
|
+
/* harmony import */ var _tsparticles_shape_arrow__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_arrow__WEBPACK_IMPORTED_MODULE_1__);
|
|
403
|
+
/* harmony import */ var _tsparticles_effect_bubble__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(247);
|
|
404
|
+
/* harmony import */ var _tsparticles_effect_bubble__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_effect_bubble__WEBPACK_IMPORTED_MODULE_2__);
|
|
405
|
+
/* harmony import */ var _tsparticles_plugin_canvas_mask__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72);
|
|
406
|
+
/* harmony import */ var _tsparticles_plugin_canvas_mask__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_canvas_mask__WEBPACK_IMPORTED_MODULE_3__);
|
|
407
|
+
/* harmony import */ var _tsparticles_shape_cards__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(686);
|
|
408
|
+
/* harmony import */ var _tsparticles_shape_cards__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_cards__WEBPACK_IMPORTED_MODULE_4__);
|
|
409
|
+
/* harmony import */ var _tsparticles_shape_cog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(364);
|
|
410
|
+
/* harmony import */ var _tsparticles_shape_cog__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_cog__WEBPACK_IMPORTED_MODULE_5__);
|
|
411
|
+
/* harmony import */ var _tsparticles_path_curl_noise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(220);
|
|
412
|
+
/* harmony import */ var _tsparticles_path_curl_noise__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_path_curl_noise__WEBPACK_IMPORTED_MODULE_6__);
|
|
413
|
+
/* harmony import */ var _tsparticles_path_curves__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(997);
|
|
414
|
+
/* harmony import */ var _tsparticles_path_curves__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_path_curves__WEBPACK_IMPORTED_MODULE_7__);
|
|
415
|
+
/* harmony import */ var _tsparticles_plugin_easing_back__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(792);
|
|
416
|
+
/* harmony import */ var _tsparticles_plugin_easing_back__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_back__WEBPACK_IMPORTED_MODULE_8__);
|
|
417
|
+
/* harmony import */ var _tsparticles_plugin_easing_circ__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(176);
|
|
418
|
+
/* harmony import */ var _tsparticles_plugin_easing_circ__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_circ__WEBPACK_IMPORTED_MODULE_9__);
|
|
419
|
+
/* harmony import */ var _tsparticles_plugin_easing_cubic__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(922);
|
|
420
|
+
/* harmony import */ var _tsparticles_plugin_easing_cubic__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_cubic__WEBPACK_IMPORTED_MODULE_10__);
|
|
421
|
+
/* harmony import */ var _tsparticles_plugin_easing_expo__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(594);
|
|
422
|
+
/* harmony import */ var _tsparticles_plugin_easing_expo__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_expo__WEBPACK_IMPORTED_MODULE_11__);
|
|
423
|
+
/* harmony import */ var _tsparticles_plugin_easing_linear__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(479);
|
|
424
|
+
/* harmony import */ var _tsparticles_plugin_easing_linear__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_linear__WEBPACK_IMPORTED_MODULE_12__);
|
|
425
|
+
/* harmony import */ var _tsparticles_plugin_easing_quart__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(205);
|
|
426
|
+
/* harmony import */ var _tsparticles_plugin_easing_quart__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_quart__WEBPACK_IMPORTED_MODULE_13__);
|
|
427
|
+
/* harmony import */ var _tsparticles_plugin_easing_quint__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(144);
|
|
428
|
+
/* harmony import */ var _tsparticles_plugin_easing_quint__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_quint__WEBPACK_IMPORTED_MODULE_14__);
|
|
429
|
+
/* harmony import */ var _tsparticles_plugin_easing_sine__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(691);
|
|
430
|
+
/* harmony import */ var _tsparticles_plugin_easing_sine__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_sine__WEBPACK_IMPORTED_MODULE_15__);
|
|
431
|
+
/* harmony import */ var _tsparticles_plugin_emitters_shape_canvas__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(268);
|
|
432
|
+
/* harmony import */ var _tsparticles_plugin_emitters_shape_canvas__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters_shape_canvas__WEBPACK_IMPORTED_MODULE_16__);
|
|
433
|
+
/* harmony import */ var _tsparticles_plugin_emitters_shape_path__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(289);
|
|
434
|
+
/* harmony import */ var _tsparticles_plugin_emitters_shape_path__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters_shape_path__WEBPACK_IMPORTED_MODULE_17__);
|
|
435
|
+
/* harmony import */ var _tsparticles_plugin_emitters_shape_polygon__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(485);
|
|
436
|
+
/* harmony import */ var _tsparticles_plugin_emitters_shape_polygon__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters_shape_polygon__WEBPACK_IMPORTED_MODULE_18__);
|
|
437
|
+
/* harmony import */ var _tsparticles_plugin_export_image__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(118);
|
|
438
|
+
/* harmony import */ var _tsparticles_plugin_export_image__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_export_image__WEBPACK_IMPORTED_MODULE_19__);
|
|
439
|
+
/* harmony import */ var _tsparticles_plugin_export_json__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(261);
|
|
440
|
+
/* harmony import */ var _tsparticles_plugin_export_json__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_export_json__WEBPACK_IMPORTED_MODULE_20__);
|
|
441
|
+
/* harmony import */ var _tsparticles_plugin_export_video__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57);
|
|
442
|
+
/* harmony import */ var _tsparticles_plugin_export_video__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_export_video__WEBPACK_IMPORTED_MODULE_21__);
|
|
443
|
+
/* harmony import */ var _tsparticles_interaction_external_pop__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(305);
|
|
444
|
+
/* harmony import */ var _tsparticles_interaction_external_pop__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_interaction_external_pop__WEBPACK_IMPORTED_MODULE_22__);
|
|
445
|
+
/* harmony import */ var tsparticles__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(802);
|
|
446
|
+
/* harmony import */ var tsparticles__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(tsparticles__WEBPACK_IMPORTED_MODULE_23__);
|
|
447
|
+
/* harmony import */ var _tsparticles_updater_gradient__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(887);
|
|
448
|
+
/* harmony import */ var _tsparticles_updater_gradient__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_gradient__WEBPACK_IMPORTED_MODULE_24__);
|
|
449
|
+
/* harmony import */ var _tsparticles_shape_heart__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(12);
|
|
450
|
+
/* harmony import */ var _tsparticles_shape_heart__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_heart__WEBPACK_IMPORTED_MODULE_25__);
|
|
451
|
+
/* harmony import */ var _tsparticles_plugin_hsv_color__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(673);
|
|
452
|
+
/* harmony import */ var _tsparticles_plugin_hsv_color__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_hsv_color__WEBPACK_IMPORTED_MODULE_26__);
|
|
453
|
+
/* harmony import */ var _tsparticles_plugin_infection__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(521);
|
|
454
|
+
/* harmony import */ var _tsparticles_plugin_infection__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_infection__WEBPACK_IMPORTED_MODULE_27__);
|
|
455
|
+
/* harmony import */ var _tsparticles_interaction_light__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(55);
|
|
456
|
+
/* harmony import */ var _tsparticles_interaction_light__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_interaction_light__WEBPACK_IMPORTED_MODULE_28__);
|
|
457
|
+
/* harmony import */ var _tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(82);
|
|
458
|
+
/* harmony import */ var _tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_29__);
|
|
459
|
+
/* harmony import */ var _tsparticles_updater_orbit__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(193);
|
|
460
|
+
/* harmony import */ var _tsparticles_updater_orbit__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_orbit__WEBPACK_IMPORTED_MODULE_30__);
|
|
461
|
+
/* harmony import */ var _tsparticles_interaction_particles_repulse__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(297);
|
|
462
|
+
/* harmony import */ var _tsparticles_interaction_particles_repulse__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_interaction_particles_repulse__WEBPACK_IMPORTED_MODULE_31__);
|
|
463
|
+
/* harmony import */ var _tsparticles_shape_path__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(901);
|
|
464
|
+
/* harmony import */ var _tsparticles_shape_path__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_path__WEBPACK_IMPORTED_MODULE_32__);
|
|
465
|
+
/* harmony import */ var _tsparticles_path_perlin_noise__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(228);
|
|
466
|
+
/* harmony import */ var _tsparticles_path_perlin_noise__WEBPACK_IMPORTED_MODULE_33___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_path_perlin_noise__WEBPACK_IMPORTED_MODULE_33__);
|
|
467
|
+
/* harmony import */ var _tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(124);
|
|
468
|
+
/* harmony import */ var _tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_34___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_34__);
|
|
469
|
+
/* harmony import */ var _tsparticles_path_polygon__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(231);
|
|
470
|
+
/* harmony import */ var _tsparticles_path_polygon__WEBPACK_IMPORTED_MODULE_35___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_path_polygon__WEBPACK_IMPORTED_MODULE_35__);
|
|
471
|
+
/* harmony import */ var _tsparticles_shape_rounded_polygon__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(24);
|
|
472
|
+
/* harmony import */ var _tsparticles_shape_rounded_polygon__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_rounded_polygon__WEBPACK_IMPORTED_MODULE_36__);
|
|
473
|
+
/* harmony import */ var _tsparticles_shape_rounded_rect__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(550);
|
|
474
|
+
/* harmony import */ var _tsparticles_shape_rounded_rect__WEBPACK_IMPORTED_MODULE_37___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_rounded_rect__WEBPACK_IMPORTED_MODULE_37__);
|
|
475
|
+
/* harmony import */ var _tsparticles_path_svg__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(214);
|
|
476
|
+
/* harmony import */ var _tsparticles_path_svg__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_path_svg__WEBPACK_IMPORTED_MODULE_38__);
|
|
477
|
+
/* harmony import */ var _tsparticles_path_simplex_noise__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(520);
|
|
478
|
+
/* harmony import */ var _tsparticles_path_simplex_noise__WEBPACK_IMPORTED_MODULE_39___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_path_simplex_noise__WEBPACK_IMPORTED_MODULE_39__);
|
|
479
|
+
/* harmony import */ var _tsparticles_plugin_sounds__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(490);
|
|
480
|
+
/* harmony import */ var _tsparticles_plugin_sounds__WEBPACK_IMPORTED_MODULE_40___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_sounds__WEBPACK_IMPORTED_MODULE_40__);
|
|
481
|
+
/* harmony import */ var _tsparticles_shape_spiral__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(561);
|
|
482
|
+
/* harmony import */ var _tsparticles_shape_spiral__WEBPACK_IMPORTED_MODULE_41___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_spiral__WEBPACK_IMPORTED_MODULE_41__);
|
|
483
|
+
/* harmony import */ var _tsparticles_effect_trail__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(4);
|
|
484
|
+
/* harmony import */ var _tsparticles_effect_trail__WEBPACK_IMPORTED_MODULE_42___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_effect_trail__WEBPACK_IMPORTED_MODULE_42__);
|
|
485
|
+
|
|
486
|
+
|
|
294
487
|
|
|
295
|
-
// EXPORTS
|
|
296
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
297
|
-
loadAll: () => (/* binding */ loadAll)
|
|
298
|
-
});
|
|
299
|
-
|
|
300
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"}
|
|
301
|
-
var engine_root_window_ = __webpack_require__(533);
|
|
302
|
-
;// CONCATENATED MODULE: ../../shapes/arrow/dist/browser/ArrowDrawer.js
|
|
303
|
-
|
|
304
|
-
class ArrowDrawer {
|
|
305
|
-
draw(data) {
|
|
306
|
-
const {
|
|
307
|
-
context,
|
|
308
|
-
particle,
|
|
309
|
-
radius
|
|
310
|
-
} = data,
|
|
311
|
-
width = radius * 2,
|
|
312
|
-
heightFactor = particle.heightFactor ?? 0.5,
|
|
313
|
-
headWidthFactor = particle.headWidthFactor ?? 0.2,
|
|
314
|
-
bodyHeightFactor = particle.bodyHeightFactor ?? 0.5,
|
|
315
|
-
height = width * heightFactor,
|
|
316
|
-
headWidth = width * headWidthFactor,
|
|
317
|
-
bodyHeight = height * bodyHeightFactor;
|
|
318
|
-
context.moveTo(-width / 2, 0);
|
|
319
|
-
context.lineTo(-width / 2, -bodyHeight / 2);
|
|
320
|
-
context.lineTo(width / 2 - headWidth, -bodyHeight / 2);
|
|
321
|
-
context.lineTo(width / 2 - headWidth, -height / 2);
|
|
322
|
-
context.lineTo(width / 2 + headWidth, 0);
|
|
323
|
-
context.lineTo(width / 2 - headWidth, height / 2);
|
|
324
|
-
context.lineTo(width / 2 - headWidth, bodyHeight / 2);
|
|
325
|
-
context.lineTo(-width / 2, bodyHeight / 2);
|
|
326
|
-
context.lineTo(-width / 2, 0);
|
|
327
|
-
}
|
|
328
|
-
particleInit(container, particle) {
|
|
329
|
-
const shapeData = particle.shapeData;
|
|
330
|
-
particle.heightFactor = (0,engine_root_window_.getRangeValue)(shapeData?.heightFactor ?? 0.5);
|
|
331
|
-
particle.headWidthFactor = (0,engine_root_window_.getRangeValue)(shapeData?.headWidthFactor ?? 0.2);
|
|
332
|
-
particle.bodyHeightFactor = (0,engine_root_window_.getRangeValue)(shapeData?.bodyHeightFactor ?? 0.5);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
;// CONCATENATED MODULE: ../../shapes/arrow/dist/browser/index.js
|
|
336
488
|
|
|
337
|
-
async function loadArrowShape(engine, refresh = true) {
|
|
338
|
-
await engine.addShape("arrow", new ArrowDrawer(), refresh);
|
|
339
|
-
}
|
|
340
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-bubble","commonjs2":"@tsparticles/shape-bubble","amd":"@tsparticles/shape-bubble","root":"window"}
|
|
341
|
-
var shape_bubble_root_window_ = __webpack_require__(164);
|
|
342
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-canvas-mask","commonjs2":"@tsparticles/plugin-canvas-mask","amd":"@tsparticles/plugin-canvas-mask","root":"window"}
|
|
343
|
-
var plugin_canvas_mask_root_window_ = __webpack_require__(72);
|
|
344
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-cards","commonjs2":"@tsparticles/shape-cards","amd":"@tsparticles/shape-cards","root":"window"}
|
|
345
|
-
var shape_cards_root_window_ = __webpack_require__(686);
|
|
346
|
-
;// CONCATENATED MODULE: ../../shapes/cog/dist/browser/CogDrawer.js
|
|
347
|
-
|
|
348
|
-
class CogDrawer {
|
|
349
|
-
afterEffect(data) {
|
|
350
|
-
const {
|
|
351
|
-
context,
|
|
352
|
-
particle,
|
|
353
|
-
radius
|
|
354
|
-
} = data;
|
|
355
|
-
if (particle.cogHoleRadius === undefined || particle.cogInnerRadius === undefined || particle.cogInnerTaper === undefined || particle.cogNotches === undefined || particle.cogOuterTaper === undefined) {
|
|
356
|
-
return;
|
|
357
|
-
}
|
|
358
|
-
const pi2 = 2 * Math.PI,
|
|
359
|
-
holeRadius = radius * particle.cogHoleRadius / 100;
|
|
360
|
-
context.globalCompositeOperation = "destination-out";
|
|
361
|
-
context.beginPath();
|
|
362
|
-
context.moveTo(holeRadius, 0);
|
|
363
|
-
context.arc(0, 0, holeRadius, 0, pi2);
|
|
364
|
-
context.closePath();
|
|
365
|
-
context.fill();
|
|
366
|
-
context.globalCompositeOperation = "source-over";
|
|
367
|
-
}
|
|
368
|
-
draw(data) {
|
|
369
|
-
const {
|
|
370
|
-
context,
|
|
371
|
-
particle,
|
|
372
|
-
radius
|
|
373
|
-
} = data;
|
|
374
|
-
if (particle.cogHoleRadius === undefined || particle.cogInnerRadius === undefined || particle.cogInnerTaper === undefined || particle.cogNotches === undefined || particle.cogOuterTaper === undefined) {
|
|
375
|
-
return;
|
|
376
|
-
}
|
|
377
|
-
const pi2 = 2 * Math.PI,
|
|
378
|
-
angle = pi2 / (particle.cogNotches * 2),
|
|
379
|
-
taperAI = angle * particle.cogInnerTaper * 0.005,
|
|
380
|
-
taperAO = angle * particle.cogOuterTaper * 0.005,
|
|
381
|
-
innerRadius = radius * particle.cogInnerRadius / 100;
|
|
382
|
-
let a = angle,
|
|
383
|
-
toggle = false;
|
|
384
|
-
context.moveTo(radius * Math.cos(taperAO), radius * Math.sin(taperAO));
|
|
385
|
-
for (; a <= pi2; a += angle) {
|
|
386
|
-
if (toggle) {
|
|
387
|
-
context.lineTo(innerRadius * Math.cos(a - taperAI), innerRadius * Math.sin(a - taperAI));
|
|
388
|
-
context.lineTo(radius * Math.cos(a + taperAO), radius * Math.sin(a + taperAO));
|
|
389
|
-
} else {
|
|
390
|
-
context.lineTo(radius * Math.cos(a - taperAO), radius * Math.sin(a - taperAO));
|
|
391
|
-
context.lineTo(innerRadius * Math.cos(a + taperAI), innerRadius * Math.sin(a + taperAI));
|
|
392
|
-
}
|
|
393
|
-
toggle = !toggle;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
particleInit(container, particle) {
|
|
397
|
-
const shapeData = particle.shapeData;
|
|
398
|
-
particle.cogHoleRadius = (0,engine_root_window_.getRangeValue)(shapeData?.holeRadius ?? 44);
|
|
399
|
-
particle.cogInnerRadius = (0,engine_root_window_.getRangeValue)(shapeData?.innerRadius ?? 72);
|
|
400
|
-
particle.cogInnerTaper = (0,engine_root_window_.getRangeValue)(shapeData?.innerTaper ?? 35);
|
|
401
|
-
particle.cogNotches = (0,engine_root_window_.getRangeValue)(shapeData?.notches ?? 7);
|
|
402
|
-
particle.cogOuterTaper = (0,engine_root_window_.getRangeValue)(shapeData?.outerTaper ?? 50);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
;// CONCATENATED MODULE: ../../shapes/cog/dist/browser/index.js
|
|
406
489
|
|
|
407
|
-
async function loadCogShape(engine, refresh = true) {
|
|
408
|
-
await engine.addShape("cog", new CogDrawer(), refresh);
|
|
409
|
-
}
|
|
410
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/path-curves","commonjs2":"@tsparticles/path-curves","amd":"@tsparticles/path-curves","root":"window"}
|
|
411
|
-
var path_curves_root_window_ = __webpack_require__(997);
|
|
412
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-back","commonjs2":"@tsparticles/plugin-easing-back","amd":"@tsparticles/plugin-easing-back","root":"window"}
|
|
413
|
-
var plugin_easing_back_root_window_ = __webpack_require__(792);
|
|
414
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-circ","commonjs2":"@tsparticles/plugin-easing-circ","amd":"@tsparticles/plugin-easing-circ","root":"window"}
|
|
415
|
-
var plugin_easing_circ_root_window_ = __webpack_require__(176);
|
|
416
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-cubic","commonjs2":"@tsparticles/plugin-easing-cubic","amd":"@tsparticles/plugin-easing-cubic","root":"window"}
|
|
417
|
-
var plugin_easing_cubic_root_window_ = __webpack_require__(922);
|
|
418
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-expo","commonjs2":"@tsparticles/plugin-easing-expo","amd":"@tsparticles/plugin-easing-expo","root":"window"}
|
|
419
|
-
var plugin_easing_expo_root_window_ = __webpack_require__(594);
|
|
420
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-quart","commonjs2":"@tsparticles/plugin-easing-quart","amd":"@tsparticles/plugin-easing-quart","root":"window"}
|
|
421
|
-
var plugin_easing_quart_root_window_ = __webpack_require__(205);
|
|
422
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-quint","commonjs2":"@tsparticles/plugin-easing-quint","amd":"@tsparticles/plugin-easing-quint","root":"window"}
|
|
423
|
-
var plugin_easing_quint_root_window_ = __webpack_require__(144);
|
|
424
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-easing-sine","commonjs2":"@tsparticles/plugin-easing-sine","amd":"@tsparticles/plugin-easing-sine","root":"window"}
|
|
425
|
-
var plugin_easing_sine_root_window_ = __webpack_require__(691);
|
|
426
|
-
;// CONCATENATED MODULE: ../../plugins/exports/image/dist/browser/ExportImageInstance.js
|
|
427
|
-
class ExportImageInstance {
|
|
428
|
-
constructor(container, engine) {
|
|
429
|
-
this._exportImage = async data => {
|
|
430
|
-
const element = this._container.canvas.element;
|
|
431
|
-
if (!element) {
|
|
432
|
-
return;
|
|
433
|
-
}
|
|
434
|
-
return new Promise(resolve => {
|
|
435
|
-
element.toBlob(blob => {
|
|
436
|
-
if (!blob) {
|
|
437
|
-
resolve(undefined);
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
resolve(blob);
|
|
441
|
-
}, data.type ?? "image/png", data.quality);
|
|
442
|
-
});
|
|
443
|
-
};
|
|
444
|
-
this._container = container;
|
|
445
|
-
this._engine = engine;
|
|
446
|
-
}
|
|
447
|
-
async export(type, data) {
|
|
448
|
-
const res = {
|
|
449
|
-
supported: false
|
|
450
|
-
};
|
|
451
|
-
switch (type) {
|
|
452
|
-
case "image":
|
|
453
|
-
res.supported = true;
|
|
454
|
-
res.blob = await this._exportImage(data);
|
|
455
|
-
break;
|
|
456
|
-
}
|
|
457
|
-
return res;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
;// CONCATENATED MODULE: ../../plugins/exports/image/dist/browser/index.js
|
|
461
|
-
|
|
462
|
-
class ExportImagePlugin {
|
|
463
|
-
constructor(engine) {
|
|
464
|
-
this.id = "export-image";
|
|
465
|
-
this._engine = engine;
|
|
466
|
-
}
|
|
467
|
-
getPlugin(container) {
|
|
468
|
-
return new ExportImageInstance(container, this._engine);
|
|
469
|
-
}
|
|
470
|
-
loadOptions() {}
|
|
471
|
-
needsPlugin() {
|
|
472
|
-
return true;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
async function loadExportImagePlugin(engine, refresh = true) {
|
|
476
|
-
await engine.addPlugin(new ExportImagePlugin(engine), refresh);
|
|
477
|
-
}
|
|
478
|
-
;// CONCATENATED MODULE: ../../plugins/exports/json/dist/browser/ExportJSONInstance.js
|
|
479
|
-
class ExportJSONInstance {
|
|
480
|
-
constructor(container, engine) {
|
|
481
|
-
this._exportJSON = async () => {
|
|
482
|
-
const json = JSON.stringify(this._container.actualOptions, (key, value) => {
|
|
483
|
-
if (key.startsWith("_")) {
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
return value;
|
|
487
|
-
}, 2);
|
|
488
|
-
return new Blob([json], {
|
|
489
|
-
type: "application/json"
|
|
490
|
-
});
|
|
491
|
-
};
|
|
492
|
-
this._container = container;
|
|
493
|
-
this._engine = engine;
|
|
494
|
-
}
|
|
495
|
-
async export(type) {
|
|
496
|
-
const res = {
|
|
497
|
-
supported: false
|
|
498
|
-
};
|
|
499
|
-
switch (type) {
|
|
500
|
-
case "json":
|
|
501
|
-
res.supported = true;
|
|
502
|
-
res.blob = await this._exportJSON();
|
|
503
|
-
break;
|
|
504
|
-
}
|
|
505
|
-
return res;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
;// CONCATENATED MODULE: ../../plugins/exports/json/dist/browser/index.js
|
|
509
|
-
|
|
510
|
-
class ExportJSONPlugin {
|
|
511
|
-
constructor(engine) {
|
|
512
|
-
this.id = "export-json";
|
|
513
|
-
this._engine = engine;
|
|
514
|
-
}
|
|
515
|
-
getPlugin(container) {
|
|
516
|
-
return new ExportJSONInstance(container, this._engine);
|
|
517
|
-
}
|
|
518
|
-
loadOptions() {}
|
|
519
|
-
needsPlugin() {
|
|
520
|
-
return true;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
async function loadExportJSONPlugin(engine, refresh = true) {
|
|
524
|
-
await engine.addPlugin(new ExportJSONPlugin(engine), refresh);
|
|
525
|
-
}
|
|
526
|
-
;// CONCATENATED MODULE: ../../plugins/exports/video/dist/browser/ExportVideoInstance.js
|
|
527
|
-
const videoTypes = ["webm", "ogg", "mp4", "x-matroska"],
|
|
528
|
-
codecs = ["vp9", "vp9.0", "vp8", "vp8.0", "avc1", "av1", "h265", "h.265", "h264", "h.264", "opus", "pcm", "aac", "mpeg", "mp4a"];
|
|
529
|
-
function getVideoSupportedMimeTypes() {
|
|
530
|
-
const isSupported = MediaRecorder.isTypeSupported,
|
|
531
|
-
supported = [];
|
|
532
|
-
videoTypes.forEach(type => {
|
|
533
|
-
const mimeType = `video/${type}`;
|
|
534
|
-
codecs.forEach(codec => [`${mimeType};codecs=${codec}`, `${mimeType};codecs=${codec.toUpperCase()}`].forEach(variation => {
|
|
535
|
-
if (isSupported(variation)) {
|
|
536
|
-
supported.push(variation);
|
|
537
|
-
}
|
|
538
|
-
}));
|
|
539
|
-
if (isSupported(mimeType)) {
|
|
540
|
-
supported.push(mimeType);
|
|
541
|
-
}
|
|
542
|
-
});
|
|
543
|
-
return supported;
|
|
544
|
-
}
|
|
545
|
-
class ExportVideoInstance {
|
|
546
|
-
constructor(container, engine) {
|
|
547
|
-
this._supportedTypes = [];
|
|
548
|
-
this._exportVideo = async data => {
|
|
549
|
-
const element = this._container.canvas.element;
|
|
550
|
-
if (!element) {
|
|
551
|
-
return;
|
|
552
|
-
}
|
|
553
|
-
return new Promise(resolve => {
|
|
554
|
-
const stream = element.captureStream(data.fps ?? this._container.actualOptions.fpsLimit),
|
|
555
|
-
mimeType = data.mimeType ?? this._supportedTypes[0],
|
|
556
|
-
recorder = new MediaRecorder(stream, {
|
|
557
|
-
mimeType
|
|
558
|
-
}),
|
|
559
|
-
chunks = [];
|
|
560
|
-
recorder.addEventListener("dataavailable", event => {
|
|
561
|
-
chunks.push(event.data);
|
|
562
|
-
});
|
|
563
|
-
recorder.addEventListener("stop", () => {
|
|
564
|
-
resolve(new Blob(chunks, {
|
|
565
|
-
type: mimeType
|
|
566
|
-
}));
|
|
567
|
-
});
|
|
568
|
-
recorder.start();
|
|
569
|
-
setTimeout(() => {
|
|
570
|
-
recorder.stop();
|
|
571
|
-
}, data.duration ?? 5000);
|
|
572
|
-
});
|
|
573
|
-
};
|
|
574
|
-
this._container = container;
|
|
575
|
-
this._engine = engine;
|
|
576
|
-
this._supportedTypes = getVideoSupportedMimeTypes();
|
|
577
|
-
}
|
|
578
|
-
async export(type, data) {
|
|
579
|
-
const res = {
|
|
580
|
-
supported: false
|
|
581
|
-
};
|
|
582
|
-
switch (type) {
|
|
583
|
-
case "video":
|
|
584
|
-
res.supported = true;
|
|
585
|
-
res.blob = await this._exportVideo(data);
|
|
586
|
-
break;
|
|
587
|
-
}
|
|
588
|
-
return res;
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
;// CONCATENATED MODULE: ../../plugins/exports/video/dist/browser/index.js
|
|
592
|
-
|
|
593
|
-
class ExportVideoPlugin {
|
|
594
|
-
constructor(engine) {
|
|
595
|
-
this.id = "export-video";
|
|
596
|
-
this._engine = engine;
|
|
597
|
-
}
|
|
598
|
-
getPlugin(container) {
|
|
599
|
-
return new ExportVideoInstance(container, this._engine);
|
|
600
|
-
}
|
|
601
|
-
loadOptions() {}
|
|
602
|
-
needsPlugin() {
|
|
603
|
-
return true;
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
async function loadExportVideoPlugin(engine, refresh = true) {
|
|
607
|
-
await engine.addPlugin(new ExportVideoPlugin(engine), refresh);
|
|
608
|
-
}
|
|
609
|
-
// EXTERNAL MODULE: external {"commonjs":"tsparticles","commonjs2":"tsparticles","amd":"tsparticles","root":"window"}
|
|
610
|
-
var external_commonjs_tsparticles_commonjs2_tsparticles_amd_tsparticles_root_window_ = __webpack_require__(802);
|
|
611
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/updater-gradient","commonjs2":"@tsparticles/updater-gradient","amd":"@tsparticles/updater-gradient","root":"window"}
|
|
612
|
-
var updater_gradient_root_window_ = __webpack_require__(887);
|
|
613
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-heart","commonjs2":"@tsparticles/shape-heart","amd":"@tsparticles/shape-heart","root":"window"}
|
|
614
|
-
var shape_heart_root_window_ = __webpack_require__(12);
|
|
615
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-hsv-color","commonjs2":"@tsparticles/plugin-hsv-color","amd":"@tsparticles/plugin-hsv-color","root":"window"}
|
|
616
|
-
var plugin_hsv_color_root_window_ = __webpack_require__(673);
|
|
617
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-infection","commonjs2":"@tsparticles/plugin-infection","amd":"@tsparticles/plugin-infection","root":"window"}
|
|
618
|
-
var plugin_infection_root_window_ = __webpack_require__(521);
|
|
619
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/interaction-light","commonjs2":"@tsparticles/interaction-light","amd":"@tsparticles/interaction-light","root":"window"}
|
|
620
|
-
var interaction_light_root_window_ = __webpack_require__(55);
|
|
621
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-motion","commonjs2":"@tsparticles/plugin-motion","amd":"@tsparticles/plugin-motion","root":"window"}
|
|
622
|
-
var plugin_motion_root_window_ = __webpack_require__(82);
|
|
623
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-multiline-text","commonjs2":"@tsparticles/shape-multiline-text","amd":"@tsparticles/shape-multiline-text","root":"window"}
|
|
624
|
-
var shape_multiline_text_root_window_ = __webpack_require__(940);
|
|
625
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/updater-orbit","commonjs2":"@tsparticles/updater-orbit","amd":"@tsparticles/updater-orbit","root":"window"}
|
|
626
|
-
var updater_orbit_root_window_ = __webpack_require__(193);
|
|
627
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/interaction-particles-repulse","commonjs2":"@tsparticles/interaction-particles-repulse","amd":"@tsparticles/interaction-particles-repulse","root":"window"}
|
|
628
|
-
var interaction_particles_repulse_root_window_ = __webpack_require__(297);
|
|
629
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-path","commonjs2":"@tsparticles/shape-path","amd":"@tsparticles/shape-path","root":"window"}
|
|
630
|
-
var shape_path_root_window_ = __webpack_require__(901);
|
|
631
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/path-perlin-noise","commonjs2":"@tsparticles/path-perlin-noise","amd":"@tsparticles/path-perlin-noise","root":"window"}
|
|
632
|
-
var path_perlin_noise_root_window_ = __webpack_require__(228);
|
|
633
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-polygon-mask","commonjs2":"@tsparticles/plugin-polygon-mask","amd":"@tsparticles/plugin-polygon-mask","root":"window"}
|
|
634
|
-
var plugin_polygon_mask_root_window_ = __webpack_require__(124);
|
|
635
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/path-polygon","commonjs2":"@tsparticles/path-polygon","amd":"@tsparticles/path-polygon","root":"window"}
|
|
636
|
-
var path_polygon_root_window_ = __webpack_require__(231);
|
|
637
|
-
;// CONCATENATED MODULE: ../../shapes/rounded-polygon/dist/browser/RoundedPolygonDrawer.js
|
|
638
|
-
|
|
639
|
-
function polygon(sides, radius, rot = 0) {
|
|
640
|
-
const step = Math.PI * 2 / sides,
|
|
641
|
-
path = [];
|
|
642
|
-
for (let i = 0; i < sides; i++) {
|
|
643
|
-
path.push({
|
|
644
|
-
x: Math.cos(i * step + rot) * radius,
|
|
645
|
-
y: Math.sin(i * step + rot) * radius
|
|
646
|
-
});
|
|
647
|
-
}
|
|
648
|
-
return path;
|
|
649
|
-
}
|
|
650
|
-
function roundedPath(context, path, radius) {
|
|
651
|
-
let p1 = path[0],
|
|
652
|
-
p2 = path[1];
|
|
653
|
-
const len = path.length;
|
|
654
|
-
context.moveTo((p1.x + p2.x) / 2, (p1.y + p2.y) / 2);
|
|
655
|
-
for (let i = 1; i <= len; i++) {
|
|
656
|
-
p1 = p2;
|
|
657
|
-
p2 = path[(i + 1) % len];
|
|
658
|
-
context.arcTo(p1.x, p1.y, (p1.x + p2.x) / 2, (p1.y + p2.y) / 2, radius);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
class RoundedPolygonDrawer {
|
|
662
|
-
draw(data) {
|
|
663
|
-
const {
|
|
664
|
-
context,
|
|
665
|
-
particle,
|
|
666
|
-
radius
|
|
667
|
-
} = data;
|
|
668
|
-
roundedPath(context, polygon(particle.sides, radius), particle.borderRadius ?? 5);
|
|
669
|
-
}
|
|
670
|
-
getSidesCount(particle) {
|
|
671
|
-
const roundedPolygon = particle.shapeData;
|
|
672
|
-
return Math.round((0,engine_root_window_.getRangeValue)(roundedPolygon?.sides ?? 5));
|
|
673
|
-
}
|
|
674
|
-
particleInit(container, particle) {
|
|
675
|
-
const shapeData = particle.shapeData;
|
|
676
|
-
particle.borderRadius = Math.round((0,engine_root_window_.getRangeValue)(shapeData?.radius ?? 5)) * container.retina.pixelRatio;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
;// CONCATENATED MODULE: ../../shapes/rounded-polygon/dist/browser/index.js
|
|
680
490
|
|
|
681
|
-
async function loadRoundedPolygonShape(engine, refresh = true) {
|
|
682
|
-
await engine.addShape("rounded-polygon", new RoundedPolygonDrawer(), refresh);
|
|
683
|
-
}
|
|
684
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-rounded-rect","commonjs2":"@tsparticles/shape-rounded-rect","amd":"@tsparticles/shape-rounded-rect","root":"window"}
|
|
685
|
-
var shape_rounded_rect_root_window_ = __webpack_require__(550);
|
|
686
|
-
;// CONCATENATED MODULE: ../../paths/svg/dist/browser/SVGPathGenerator.js
|
|
687
|
-
|
|
688
|
-
class SVGPathGenerator {
|
|
689
|
-
constructor() {
|
|
690
|
-
this._paths = [];
|
|
691
|
-
this._reverse = false;
|
|
692
|
-
this._size = {
|
|
693
|
-
width: 0,
|
|
694
|
-
height: 0
|
|
695
|
-
};
|
|
696
|
-
this._scale = 1;
|
|
697
|
-
this._offset = {
|
|
698
|
-
x: 0,
|
|
699
|
-
y: 0,
|
|
700
|
-
mode: "percent"
|
|
701
|
-
};
|
|
702
|
-
this._width = 0;
|
|
703
|
-
}
|
|
704
|
-
generate(particle, delta) {
|
|
705
|
-
const container = particle.container,
|
|
706
|
-
pxRatio = container.retina.pixelRatio;
|
|
707
|
-
if (particle.svgDirection === undefined) {
|
|
708
|
-
particle.svgDirection = (0,engine_root_window_.getRandom)() > 0.5 ? 0 : 1;
|
|
709
|
-
}
|
|
710
|
-
if (particle.svgPathIndex === undefined) {
|
|
711
|
-
particle.svgPathIndex = Math.floor(Math.random() * this._paths.length);
|
|
712
|
-
}
|
|
713
|
-
if (particle.svgSpeed === undefined) {
|
|
714
|
-
particle.svgSpeed = particle.velocity.mult((particle.retina.moveSpeed ?? 1) / 2).length;
|
|
715
|
-
}
|
|
716
|
-
if (particle.svgStep === undefined) {
|
|
717
|
-
particle.svgStep = (0,engine_root_window_.randomInRange)({
|
|
718
|
-
min: 0,
|
|
719
|
-
max: this._paths[particle.svgPathIndex].length
|
|
720
|
-
}) * pxRatio;
|
|
721
|
-
}
|
|
722
|
-
if (particle.svgOffset === undefined) {
|
|
723
|
-
particle.svgOffset = {
|
|
724
|
-
width: (0,engine_root_window_.randomInRange)({
|
|
725
|
-
min: -this._width / 2,
|
|
726
|
-
max: this._width / 2
|
|
727
|
-
}) * pxRatio,
|
|
728
|
-
height: (0,engine_root_window_.randomInRange)({
|
|
729
|
-
min: -this._width / 2,
|
|
730
|
-
max: this._width / 2
|
|
731
|
-
}) * pxRatio
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
if (particle.svgInitialPosition === undefined) {
|
|
735
|
-
particle.svgInitialPosition = {
|
|
736
|
-
...particle.position
|
|
737
|
-
};
|
|
738
|
-
}
|
|
739
|
-
particle.velocity.x = 0;
|
|
740
|
-
particle.velocity.y = 0;
|
|
741
|
-
if (particle.svgDirection === 0) {
|
|
742
|
-
particle.svgStep += particle.svgSpeed * delta.factor;
|
|
743
|
-
} else {
|
|
744
|
-
particle.svgStep -= particle.svgSpeed * delta.factor;
|
|
745
|
-
}
|
|
746
|
-
let path = this._paths[particle.svgPathIndex];
|
|
747
|
-
if (path) {
|
|
748
|
-
const pathLength = path.length;
|
|
749
|
-
if (particle.svgStep >= pathLength) {
|
|
750
|
-
particle.svgPathIndex = particle.svgPathIndex + 1;
|
|
751
|
-
if (particle.svgPathIndex >= this._paths.length) {
|
|
752
|
-
if (this._reverse) {
|
|
753
|
-
particle.svgPathIndex = this._paths.length - 1;
|
|
754
|
-
particle.svgDirection = 1;
|
|
755
|
-
} else {
|
|
756
|
-
particle.svgPathIndex = 0;
|
|
757
|
-
particle.svgStep = 0;
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
} else if (particle.svgStep <= 0) {
|
|
761
|
-
particle.svgPathIndex = particle.svgPathIndex - 1;
|
|
762
|
-
if (particle.svgPathIndex < 0) {
|
|
763
|
-
if (this._reverse) {
|
|
764
|
-
particle.svgPathIndex = 0;
|
|
765
|
-
particle.svgDirection = 0;
|
|
766
|
-
} else {
|
|
767
|
-
particle.svgPathIndex = this._paths.length - 1;
|
|
768
|
-
path = this._paths[particle.svgPathIndex];
|
|
769
|
-
particle.svgStep = path.length;
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
path = this._paths[particle.svgPathIndex];
|
|
774
|
-
}
|
|
775
|
-
if (path) {
|
|
776
|
-
const pathElement = path.element,
|
|
777
|
-
pos = pathElement.getPointAtLength(particle.svgStep),
|
|
778
|
-
canvasSize = particle.container.canvas.size,
|
|
779
|
-
offset = (0,engine_root_window_.getPosition)(this._offset, canvasSize),
|
|
780
|
-
scale = this._scale * pxRatio;
|
|
781
|
-
particle.position.x = (pos.x - this._size.width / 2) * scale + particle.svgInitialPosition.x + offset.x + particle.svgOffset.width;
|
|
782
|
-
particle.position.y = (pos.y - this._size.height / 2) * scale + particle.svgInitialPosition.y + offset.y + particle.svgOffset.height;
|
|
783
|
-
}
|
|
784
|
-
return engine_root_window_.Vector.origin;
|
|
785
|
-
}
|
|
786
|
-
init(container) {
|
|
787
|
-
const options = container.actualOptions.particles.move.path.options,
|
|
788
|
-
position = options.position ?? this._offset;
|
|
789
|
-
this._reverse = options.reverse ?? this._reverse;
|
|
790
|
-
this._scale = options.scale ?? 1;
|
|
791
|
-
this._offset.x = position.x;
|
|
792
|
-
this._offset.y = position.y;
|
|
793
|
-
this._offset.mode = position.mode;
|
|
794
|
-
this._width = options.width ?? 0;
|
|
795
|
-
if (options.url && !options.path) {
|
|
796
|
-
const url = options.url;
|
|
797
|
-
(async () => {
|
|
798
|
-
const response = await fetch(url),
|
|
799
|
-
data = await response.text();
|
|
800
|
-
const parser = new DOMParser(),
|
|
801
|
-
doc = parser.parseFromString(data, "image/svg+xml"),
|
|
802
|
-
svg = doc.getElementsByTagName("svg")[0];
|
|
803
|
-
let svgPaths = svg.getElementsByTagName("path");
|
|
804
|
-
if (!svgPaths.length) {
|
|
805
|
-
svgPaths = doc.getElementsByTagName("path");
|
|
806
|
-
}
|
|
807
|
-
this._paths = [];
|
|
808
|
-
for (let i = 0; i < svgPaths.length; i++) {
|
|
809
|
-
const path = svgPaths.item(i);
|
|
810
|
-
if (path) {
|
|
811
|
-
this._paths.push({
|
|
812
|
-
element: path,
|
|
813
|
-
length: path.getTotalLength()
|
|
814
|
-
});
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
this._size.height = parseFloat(svg.getAttribute("height") ?? "0");
|
|
818
|
-
this._size.width = parseFloat(svg.getAttribute("width") ?? "0");
|
|
819
|
-
})();
|
|
820
|
-
} else if (options.path) {
|
|
821
|
-
const path = options.path;
|
|
822
|
-
this._paths = [];
|
|
823
|
-
for (const item of path.data) {
|
|
824
|
-
const element = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
825
|
-
element.setAttribute("d", item);
|
|
826
|
-
this._paths.push({
|
|
827
|
-
element,
|
|
828
|
-
length: element.getTotalLength()
|
|
829
|
-
});
|
|
830
|
-
}
|
|
831
|
-
this._size.height = path.size.height;
|
|
832
|
-
this._size.width = path.size.width;
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
reset() {}
|
|
836
|
-
update() {}
|
|
837
|
-
}
|
|
838
|
-
;// CONCATENATED MODULE: ../../paths/svg/dist/browser/index.js
|
|
839
491
|
|
|
840
|
-
const svgPathName = "svgPathGenerator";
|
|
841
|
-
async function loadSVGPath(engine, refresh = true) {
|
|
842
|
-
await engine.addPathGenerator(svgPathName, new SVGPathGenerator(), refresh);
|
|
843
|
-
}
|
|
844
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/path-simplex-noise","commonjs2":"@tsparticles/path-simplex-noise","amd":"@tsparticles/path-simplex-noise","root":"window"}
|
|
845
|
-
var path_simplex_noise_root_window_ = __webpack_require__(520);
|
|
846
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-sounds","commonjs2":"@tsparticles/plugin-sounds","amd":"@tsparticles/plugin-sounds","root":"window"}
|
|
847
|
-
var plugin_sounds_root_window_ = __webpack_require__(490);
|
|
848
|
-
// EXTERNAL MODULE: external {"commonjs":"@tsparticles/shape-spiral","commonjs2":"@tsparticles/shape-spiral","amd":"@tsparticles/shape-spiral","root":"window"}
|
|
849
|
-
var shape_spiral_root_window_ = __webpack_require__(561);
|
|
850
|
-
;// CONCATENATED MODULE: ./dist/browser/index.js
|
|
851
492
|
|
|
852
493
|
|
|
853
494
|
|
|
@@ -885,43 +526,50 @@ var shape_spiral_root_window_ = __webpack_require__(561);
|
|
|
885
526
|
|
|
886
527
|
|
|
887
528
|
async function loadAll(engine, refresh = true) {
|
|
888
|
-
|
|
889
|
-
await (0,
|
|
890
|
-
await (0,
|
|
891
|
-
await (0,
|
|
892
|
-
await (0,
|
|
893
|
-
await (0,
|
|
894
|
-
await (0,
|
|
895
|
-
await (0,
|
|
896
|
-
await (0,
|
|
897
|
-
await (0,
|
|
898
|
-
await (0,
|
|
899
|
-
await (0,
|
|
900
|
-
await (0,
|
|
901
|
-
await (0,
|
|
902
|
-
await (0,
|
|
903
|
-
await
|
|
904
|
-
await
|
|
905
|
-
await
|
|
906
|
-
await (0,
|
|
907
|
-
await (0,
|
|
908
|
-
await (0,
|
|
909
|
-
await (0,
|
|
910
|
-
await (0,
|
|
911
|
-
await (0,
|
|
912
|
-
await (0,
|
|
913
|
-
await
|
|
914
|
-
await (0,
|
|
915
|
-
await
|
|
916
|
-
await (0,
|
|
917
|
-
await (0,
|
|
918
|
-
await
|
|
919
|
-
await (0,
|
|
920
|
-
await (0,
|
|
921
|
-
await (0,
|
|
922
|
-
await
|
|
923
|
-
await (0,
|
|
924
|
-
await (0,
|
|
529
|
+
(0,_tsparticles_pjs__WEBPACK_IMPORTED_MODULE_0__.initPjs)(engine);
|
|
530
|
+
await (0,tsparticles__WEBPACK_IMPORTED_MODULE_23__.loadFull)(engine, false);
|
|
531
|
+
await (0,_tsparticles_plugin_hsv_color__WEBPACK_IMPORTED_MODULE_26__.loadHsvColorPlugin)();
|
|
532
|
+
await (0,_tsparticles_plugin_easing_back__WEBPACK_IMPORTED_MODULE_8__.loadEasingBackPlugin)();
|
|
533
|
+
await (0,_tsparticles_plugin_easing_circ__WEBPACK_IMPORTED_MODULE_9__.loadEasingCircPlugin)();
|
|
534
|
+
await (0,_tsparticles_plugin_easing_cubic__WEBPACK_IMPORTED_MODULE_10__.loadEasingCubicPlugin)();
|
|
535
|
+
await (0,_tsparticles_plugin_easing_expo__WEBPACK_IMPORTED_MODULE_11__.loadEasingExpoPlugin)();
|
|
536
|
+
await (0,_tsparticles_plugin_easing_linear__WEBPACK_IMPORTED_MODULE_12__.loadEasingLinearPlugin)();
|
|
537
|
+
await (0,_tsparticles_plugin_easing_quart__WEBPACK_IMPORTED_MODULE_13__.loadEasingQuartPlugin)();
|
|
538
|
+
await (0,_tsparticles_plugin_easing_quint__WEBPACK_IMPORTED_MODULE_14__.loadEasingQuintPlugin)();
|
|
539
|
+
await (0,_tsparticles_plugin_easing_sine__WEBPACK_IMPORTED_MODULE_15__.loadEasingSinePlugin)();
|
|
540
|
+
await (0,_tsparticles_plugin_emitters_shape_canvas__WEBPACK_IMPORTED_MODULE_16__.loadEmittersShapeCanvas)(engine, false);
|
|
541
|
+
await (0,_tsparticles_plugin_emitters_shape_path__WEBPACK_IMPORTED_MODULE_17__.loadEmittersShapePath)(engine, false);
|
|
542
|
+
await (0,_tsparticles_plugin_emitters_shape_polygon__WEBPACK_IMPORTED_MODULE_18__.loadEmittersShapePolygon)(engine, false);
|
|
543
|
+
await (0,_tsparticles_plugin_hsv_color__WEBPACK_IMPORTED_MODULE_26__.loadHsvColorPlugin)();
|
|
544
|
+
await (0,_tsparticles_plugin_canvas_mask__WEBPACK_IMPORTED_MODULE_3__.loadCanvasMaskPlugin)(engine, false);
|
|
545
|
+
await (0,_tsparticles_plugin_infection__WEBPACK_IMPORTED_MODULE_27__.loadInfectionPlugin)(engine, false);
|
|
546
|
+
await (0,_tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_29__.loadMotionPlugin)(engine, false);
|
|
547
|
+
await (0,_tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_34__.loadPolygonMaskPlugin)(engine, false);
|
|
548
|
+
await (0,_tsparticles_plugin_sounds__WEBPACK_IMPORTED_MODULE_40__.loadSoundsPlugin)(engine, false);
|
|
549
|
+
await (0,_tsparticles_plugin_export_image__WEBPACK_IMPORTED_MODULE_19__.loadExportImagePlugin)(engine, false);
|
|
550
|
+
await (0,_tsparticles_plugin_export_json__WEBPACK_IMPORTED_MODULE_20__.loadExportJSONPlugin)(engine, false);
|
|
551
|
+
await (0,_tsparticles_plugin_export_video__WEBPACK_IMPORTED_MODULE_21__.loadExportVideoPlugin)(engine, false);
|
|
552
|
+
await (0,_tsparticles_interaction_external_pop__WEBPACK_IMPORTED_MODULE_22__.loadExternalPopInteraction)(engine, false);
|
|
553
|
+
await (0,_tsparticles_interaction_light__WEBPACK_IMPORTED_MODULE_28__.loadLightInteraction)(engine, false);
|
|
554
|
+
await (0,_tsparticles_interaction_particles_repulse__WEBPACK_IMPORTED_MODULE_31__.loadParticlesRepulseInteraction)(engine, false);
|
|
555
|
+
await (0,_tsparticles_updater_gradient__WEBPACK_IMPORTED_MODULE_24__.loadGradientUpdater)(engine, false);
|
|
556
|
+
await (0,_tsparticles_updater_orbit__WEBPACK_IMPORTED_MODULE_30__.loadOrbitUpdater)(engine, false);
|
|
557
|
+
await (0,_tsparticles_path_curves__WEBPACK_IMPORTED_MODULE_7__.loadCurvesPath)(engine, false);
|
|
558
|
+
await (0,_tsparticles_path_curl_noise__WEBPACK_IMPORTED_MODULE_6__.loadCurlNoisePath)(engine, false);
|
|
559
|
+
await (0,_tsparticles_path_perlin_noise__WEBPACK_IMPORTED_MODULE_33__.loadPerlinNoisePath)(engine, false);
|
|
560
|
+
await (0,_tsparticles_path_polygon__WEBPACK_IMPORTED_MODULE_35__.loadPolygonPath)(engine, false);
|
|
561
|
+
await (0,_tsparticles_path_svg__WEBPACK_IMPORTED_MODULE_38__.loadSVGPath)(engine, false);
|
|
562
|
+
await (0,_tsparticles_path_simplex_noise__WEBPACK_IMPORTED_MODULE_39__.loadSimplexNoisePath)(engine, false);
|
|
563
|
+
await (0,_tsparticles_effect_bubble__WEBPACK_IMPORTED_MODULE_2__.loadBubbleEffect)(engine, false);
|
|
564
|
+
await (0,_tsparticles_shape_arrow__WEBPACK_IMPORTED_MODULE_1__.loadArrowShape)(engine, false);
|
|
565
|
+
await (0,_tsparticles_shape_cards__WEBPACK_IMPORTED_MODULE_4__.loadCardsShape)(engine, false);
|
|
566
|
+
await (0,_tsparticles_shape_cog__WEBPACK_IMPORTED_MODULE_5__.loadCogShape)(engine, false);
|
|
567
|
+
await (0,_tsparticles_shape_heart__WEBPACK_IMPORTED_MODULE_25__.loadHeartShape)(engine, false);
|
|
568
|
+
await (0,_tsparticles_shape_path__WEBPACK_IMPORTED_MODULE_32__.loadPathShape)(engine, false);
|
|
569
|
+
await (0,_tsparticles_shape_rounded_polygon__WEBPACK_IMPORTED_MODULE_36__.loadRoundedPolygonShape)(engine, false);
|
|
570
|
+
await (0,_tsparticles_shape_rounded_rect__WEBPACK_IMPORTED_MODULE_37__.loadRoundedRectShape)(engine, false);
|
|
571
|
+
await (0,_tsparticles_shape_spiral__WEBPACK_IMPORTED_MODULE_41__.loadSpiralShape)(engine, false);
|
|
572
|
+
await (0,_tsparticles_effect_trail__WEBPACK_IMPORTED_MODULE_42__.loadTrailEffect)(engine, false);
|
|
925
573
|
await engine.refresh(refresh);
|
|
926
574
|
}
|
|
927
575
|
})();
|