@tsparticles/preset-fireworks 4.0.0-beta.12 → 4.0.0-beta.16

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.
Files changed (124) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +11 -12
  4. package/browser/index.lazy.js +31 -0
  5. package/browser/options.js +1 -1
  6. package/cjs/browser.js +5 -0
  7. package/cjs/bundle.js +4 -0
  8. package/cjs/index.js +11 -12
  9. package/cjs/index.lazy.js +31 -0
  10. package/cjs/options.js +1 -1
  11. package/esm/browser.js +5 -0
  12. package/esm/bundle.js +4 -0
  13. package/esm/index.js +11 -12
  14. package/esm/index.lazy.js +31 -0
  15. package/esm/options.js +1 -1
  16. package/package.json +18 -11
  17. package/report.html +4949 -94
  18. package/tsparticles.preset.fireworks.bundle.js +8538 -967
  19. package/tsparticles.preset.fireworks.bundle.min.js +1 -2
  20. package/tsparticles.preset.fireworks.js +294 -437
  21. package/tsparticles.preset.fireworks.min.js +1 -2
  22. package/types/browser.d.ts +1 -0
  23. package/types/index.lazy.d.ts +2 -0
  24. package/1005.min.js +0 -1
  25. package/1057.min.js +0 -1
  26. package/1069.min.js +0 -1
  27. package/1349.min.js +0 -1
  28. package/1415.min.js +0 -1
  29. package/1673.min.js +0 -1
  30. package/1794.min.js +0 -1
  31. package/1829.min.js +0 -1
  32. package/1858.min.js +0 -33
  33. package/1979.min.js +0 -1
  34. package/2181.min.js +0 -1
  35. package/240.min.js +0 -1
  36. package/2434.min.js +0 -1
  37. package/2641.min.js +0 -1
  38. package/2748.min.js +0 -1
  39. package/3147.min.js +0 -1
  40. package/3371.min.js +0 -1
  41. package/4210.min.js +0 -1
  42. package/425.min.js +0 -1
  43. package/4586.min.js +0 -1
  44. package/4623.min.js +0 -1
  45. package/4663.min.js +0 -1
  46. package/4807.min.js +0 -1
  47. package/483.min.js +0 -1
  48. package/4874.min.js +0 -1
  49. package/5336.min.js +0 -1
  50. package/5436.min.js +0 -1
  51. package/5837.min.js +0 -1
  52. package/5938.min.js +0 -1
  53. package/6379.min.js +0 -1
  54. package/6623.min.js +0 -1
  55. package/6900.min.js +0 -1
  56. package/7155.min.js +0 -1
  57. package/7268.min.js +0 -1
  58. package/7335.min.js +0 -1
  59. package/7646.min.js +0 -1
  60. package/7662.min.js +0 -1
  61. package/779.min.js +0 -1
  62. package/7819.min.js +0 -1
  63. package/7879.min.js +0 -1
  64. package/8089.min.js +0 -1
  65. package/8127.min.js +0 -1
  66. package/837.min.js +0 -1
  67. package/8589.min.js +0 -1
  68. package/8614.min.js +0 -1
  69. package/8935.min.js +0 -1
  70. package/9204.min.js +0 -1
  71. package/94.min.js +0 -1
  72. package/9587.min.js +0 -1
  73. package/9627.min.js +0 -1
  74. package/984.min.js +0 -1
  75. package/bundles_basic_dist_browser_index_js.js +0 -30
  76. package/dist_browser_options_js.js +0 -30
  77. package/effects_trail_dist_browser_TrailDrawer_js.js +0 -30
  78. package/effects_trail_dist_browser_index_js.js +0 -30
  79. package/engine_dist_browser_Core_Container_js.js +0 -100
  80. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  81. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  82. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  83. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  84. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  85. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  86. package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +0 -100
  87. package/plugins_emittersShapes_square_dist_browser_index_js.js +0 -30
  88. package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
  89. package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +0 -100
  90. package/plugins_emitters_dist_browser_EmittersInteractor_js.js +0 -210
  91. package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +0 -30
  92. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -100
  93. package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
  94. package/plugins_emitters_dist_browser_addEmittersShapesManager_js.js +0 -30
  95. package/plugins_emitters_dist_browser_getEmittersInstancesManager_js.js +0 -30
  96. package/plugins_emitters_dist_browser_index_js.js +0 -80
  97. package/plugins_emitters_dist_browser_plugin_js.js +0 -50
  98. package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
  99. package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
  100. package/plugins_interactivity_dist_browser_index_js.js +0 -120
  101. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  102. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  103. package/plugins_move_dist_browser_index_js.js +0 -30
  104. package/plugins_sounds_dist_browser_SoundsPluginInstance_js.js +0 -40
  105. package/plugins_sounds_dist_browser_SoundsPlugin_js.js +0 -130
  106. package/plugins_sounds_dist_browser_index_js.js +0 -30
  107. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  108. package/shapes_circle_dist_browser_index_js.js +0 -30
  109. package/shapes_line_dist_browser_LineDrawer_js.js +0 -40
  110. package/shapes_line_dist_browser_index_js.js +0 -30
  111. package/updaters_destroy_dist_browser_DestroyUpdater_js.js +0 -110
  112. package/updaters_destroy_dist_browser_index_js.js +0 -30
  113. package/updaters_life_dist_browser_LifeUpdater_js.js +0 -70
  114. package/updaters_life_dist_browser_index_js.js +0 -30
  115. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  116. package/updaters_opacity_dist_browser_index_js.js +0 -30
  117. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  118. package/updaters_outModes_dist_browser_index_js.js +0 -30
  119. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  120. package/updaters_paint_dist_browser_index_js.js +0 -30
  121. package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
  122. package/updaters_rotate_dist_browser_index_js.js +0 -30
  123. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  124. package/updaters_size_dist_browser_index_js.js +0 -30
@@ -1,437 +1,294 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- /*
10
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
11
- * This devtool is neither made for production nor for readable output files.
12
- * It uses "eval()" calls to create a separate source file in the browser devtools.
13
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
14
- * or disable the default devtool with "devtool: false".
15
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
16
- */
17
- (function webpackUniversalModuleDefinition(root, factory) {
18
- if(typeof exports === 'object' && typeof module === 'object')
19
- module.exports = factory(require("@tsparticles/updater-life"), require("@tsparticles/updater-destroy"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-line"), require("@tsparticles/plugin-sounds"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/effect-trail"), require("@tsparticles/plugin-emitters/plugin"), require("@tsparticles/basic"), require("@tsparticles/engine"));
20
- else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/updater-life", "@tsparticles/updater-destroy", "@tsparticles/updater-rotate", "@tsparticles/shape-line", "@tsparticles/plugin-sounds", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/effect-trail", "@tsparticles/plugin-emitters/plugin", "@tsparticles/basic", "@tsparticles/engine"], factory);
22
- else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/updater-life"), require("@tsparticles/updater-destroy"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-line"), require("@tsparticles/plugin-sounds"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/effect-trail"), require("@tsparticles/plugin-emitters/plugin"), require("@tsparticles/basic"), require("@tsparticles/engine")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
24
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
- }
26
- })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_rotate__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_line__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_sounds__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__, __WEBPACK_EXTERNAL_MODULE__tsparticles_effect_trail__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_plugin__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__) => {
27
- return /******/ (() => { // webpackBootstrap
28
- /******/ "use strict";
29
- /******/ var __webpack_modules__ = ({
30
-
31
- /***/ "@tsparticles/basic"
32
- /*!******************************************************************************************************************************!*\
33
- !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
34
- \******************************************************************************************************************************/
35
- (module) {
36
-
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
38
-
39
- /***/ },
40
-
41
- /***/ "@tsparticles/effect-trail"
42
- /*!***************************************************************************************************************************************************!*\
43
- !*** external {"commonjs":"@tsparticles/effect-trail","commonjs2":"@tsparticles/effect-trail","amd":"@tsparticles/effect-trail","root":"window"} ***!
44
- \***************************************************************************************************************************************************/
45
- (module) {
46
-
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_effect_trail__;
48
-
49
- /***/ },
50
-
51
- /***/ "@tsparticles/engine"
52
- /*!*********************************************************************************************************************************!*\
53
- !*** external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"} ***!
54
- \*********************************************************************************************************************************/
55
- (module) {
56
-
57
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
58
-
59
- /***/ },
60
-
61
- /***/ "@tsparticles/plugin-emitters-shape-square"
62
- /*!***************************************************************************************************************************************************************************************************!*\
63
- !*** external {"commonjs":"@tsparticles/plugin-emitters-shape-square","commonjs2":"@tsparticles/plugin-emitters-shape-square","amd":"@tsparticles/plugin-emitters-shape-square","root":"window"} ***!
64
- \***************************************************************************************************************************************************************************************************/
65
- (module) {
66
-
67
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__;
68
-
69
- /***/ },
70
-
71
- /***/ "@tsparticles/plugin-emitters/plugin"
72
- /*!*********************************************************************************************************************************************************************************!*\
73
- !*** external {"commonjs":"@tsparticles/plugin-emitters/plugin","commonjs2":"@tsparticles/plugin-emitters/plugin","amd":"@tsparticles/plugin-emitters/plugin","root":"window"} ***!
74
- \*********************************************************************************************************************************************************************************/
75
- (module) {
76
-
77
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_plugin__;
78
-
79
- /***/ },
80
-
81
- /***/ "@tsparticles/plugin-sounds"
82
- /*!******************************************************************************************************************************************************!*\
83
- !*** external {"commonjs":"@tsparticles/plugin-sounds","commonjs2":"@tsparticles/plugin-sounds","amd":"@tsparticles/plugin-sounds","root":"window"} ***!
84
- \******************************************************************************************************************************************************/
85
- (module) {
86
-
87
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_sounds__;
88
-
89
- /***/ },
90
-
91
- /***/ "@tsparticles/shape-line"
92
- /*!*********************************************************************************************************************************************!*\
93
- !*** external {"commonjs":"@tsparticles/shape-line","commonjs2":"@tsparticles/shape-line","amd":"@tsparticles/shape-line","root":"window"} ***!
94
- \*********************************************************************************************************************************************/
95
- (module) {
96
-
97
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_line__;
98
-
99
- /***/ },
100
-
101
- /***/ "@tsparticles/updater-destroy"
102
- /*!************************************************************************************************************************************************************!*\
103
- !*** external {"commonjs":"@tsparticles/updater-destroy","commonjs2":"@tsparticles/updater-destroy","amd":"@tsparticles/updater-destroy","root":"window"} ***!
104
- \************************************************************************************************************************************************************/
105
- (module) {
106
-
107
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__;
108
-
109
- /***/ },
110
-
111
- /***/ "@tsparticles/updater-life"
112
- /*!***************************************************************************************************************************************************!*\
113
- !*** external {"commonjs":"@tsparticles/updater-life","commonjs2":"@tsparticles/updater-life","amd":"@tsparticles/updater-life","root":"window"} ***!
114
- \***************************************************************************************************************************************************/
115
- (module) {
116
-
117
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
118
-
119
- /***/ },
120
-
121
- /***/ "@tsparticles/updater-rotate"
122
- /*!*********************************************************************************************************************************************************!*\
123
- !*** external {"commonjs":"@tsparticles/updater-rotate","commonjs2":"@tsparticles/updater-rotate","amd":"@tsparticles/updater-rotate","root":"window"} ***!
124
- \*********************************************************************************************************************************************************/
125
- (module) {
126
-
127
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_rotate__;
128
-
129
- /***/ },
130
-
131
- /***/ "./dist/browser/index.js"
132
- /*!*******************************!*\
133
- !*** ./dist/browser/index.js ***!
134
- \*******************************/
135
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
136
-
137
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFireworksPreset: () => (/* binding */ loadFireworksPreset)\n/* harmony export */ });\nconst presetName = \"fireworks\";\nasync function loadFireworksPreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { loadEmittersPluginSimple }, { loadTrailEffect }, { loadEmittersShapeSquare }, { loadSoundsPlugin }, { loadLineShape }, { loadRotateUpdater }, { loadDestroyUpdater }, { loadLifeUpdater }, { initOptions }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters/plugin */ \"@tsparticles/plugin-emitters/plugin\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/effect-trail */ \"@tsparticles/effect-trail\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-sounds */ \"@tsparticles/plugin-sounds\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/shape-line */ \"@tsparticles/shape-line\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-rotate */ \"@tsparticles/updater-rotate\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-destroy */ \"@tsparticles/updater-destroy\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"))\n ]), loadEmittersForFireworks = async (e)=>{\n await loadEmittersPluginSimple(e);\n await loadEmittersShapeSquare(e);\n };\n await Promise.all([\n loadBasic(e),\n loadEmittersForFireworks(e),\n loadTrailEffect(e),\n loadSoundsPlugin(e),\n loadLineShape(e),\n loadRotateUpdater(e),\n loadDestroyUpdater(e),\n loadLifeUpdater(e)\n ]);\n e.pluginManager.addPreset(presetName, initOptions(), false);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/./dist/browser/index.js?\n}");
138
-
139
- /***/ }
140
-
141
- /******/ });
142
- /************************************************************************/
143
- /******/ // The module cache
144
- /******/ var __webpack_module_cache__ = {};
145
- /******/
146
- /******/ // The require function
147
- /******/ function __webpack_require__(moduleId) {
148
- /******/ // Check if module is in cache
149
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
150
- /******/ if (cachedModule !== undefined) {
151
- /******/ return cachedModule.exports;
152
- /******/ }
153
- /******/ // Create a new module (and put it into the cache)
154
- /******/ var module = __webpack_module_cache__[moduleId] = {
155
- /******/ // no module.id needed
156
- /******/ // no module.loaded needed
157
- /******/ exports: {}
158
- /******/ };
159
- /******/
160
- /******/ // Execute the module function
161
- /******/ if (!(moduleId in __webpack_modules__)) {
162
- /******/ delete __webpack_module_cache__[moduleId];
163
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
164
- /******/ e.code = 'MODULE_NOT_FOUND';
165
- /******/ throw e;
166
- /******/ }
167
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
168
- /******/
169
- /******/ // Return the exports of the module
170
- /******/ return module.exports;
171
- /******/ }
172
- /******/
173
- /******/ // expose the modules object (__webpack_modules__)
174
- /******/ __webpack_require__.m = __webpack_modules__;
175
- /******/
176
- /************************************************************************/
177
- /******/ /* webpack/runtime/create fake namespace object */
178
- /******/ (() => {
179
- /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
180
- /******/ var leafPrototypes;
181
- /******/ // create a fake namespace object
182
- /******/ // mode & 1: value is a module id, require it
183
- /******/ // mode & 2: merge all properties of value into the ns
184
- /******/ // mode & 4: return value when already ns object
185
- /******/ // mode & 16: return value when it's Promise-like
186
- /******/ // mode & 8|1: behave like require
187
- /******/ __webpack_require__.t = function(value, mode) {
188
- /******/ if(mode & 1) value = this(value);
189
- /******/ if(mode & 8) return value;
190
- /******/ if(typeof value === 'object' && value) {
191
- /******/ if((mode & 4) && value.__esModule) return value;
192
- /******/ if((mode & 16) && typeof value.then === 'function') return value;
193
- /******/ }
194
- /******/ var ns = Object.create(null);
195
- /******/ __webpack_require__.r(ns);
196
- /******/ var def = {};
197
- /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
198
- /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
199
- /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
200
- /******/ }
201
- /******/ def['default'] = () => (value);
202
- /******/ __webpack_require__.d(ns, def);
203
- /******/ return ns;
204
- /******/ };
205
- /******/ })();
206
- /******/
207
- /******/ /* webpack/runtime/define property getters */
208
- /******/ (() => {
209
- /******/ // define getter functions for harmony exports
210
- /******/ __webpack_require__.d = (exports, definition) => {
211
- /******/ for(var key in definition) {
212
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
213
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
214
- /******/ }
215
- /******/ }
216
- /******/ };
217
- /******/ })();
218
- /******/
219
- /******/ /* webpack/runtime/ensure chunk */
220
- /******/ (() => {
221
- /******/ __webpack_require__.f = {};
222
- /******/ // This file contains only the entry chunk.
223
- /******/ // The chunk loading function for additional chunks
224
- /******/ __webpack_require__.e = (chunkId) => {
225
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
226
- /******/ __webpack_require__.f[key](chunkId, promises);
227
- /******/ return promises;
228
- /******/ }, []));
229
- /******/ };
230
- /******/ })();
231
- /******/
232
- /******/ /* webpack/runtime/get javascript chunk filename */
233
- /******/ (() => {
234
- /******/ // This function allow to reference async chunks
235
- /******/ __webpack_require__.u = (chunkId) => {
236
- /******/ // return url for filenames based on template
237
- /******/ return "" + chunkId + ".js";
238
- /******/ };
239
- /******/ })();
240
- /******/
241
- /******/ /* webpack/runtime/global */
242
- /******/ (() => {
243
- /******/ __webpack_require__.g = (function() {
244
- /******/ if (typeof globalThis === 'object') return globalThis;
245
- /******/ try {
246
- /******/ return this || new Function('return this')();
247
- /******/ } catch (e) {
248
- /******/ if (typeof window === 'object') return window;
249
- /******/ }
250
- /******/ })();
251
- /******/ })();
252
- /******/
253
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
254
- /******/ (() => {
255
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
256
- /******/ })();
257
- /******/
258
- /******/ /* webpack/runtime/load script */
259
- /******/ (() => {
260
- /******/ var inProgress = {};
261
- /******/ var dataWebpackPrefix = "@tsparticles/preset-fireworks:";
262
- /******/ // loadScript function to load a script via script tag
263
- /******/ __webpack_require__.l = (url, done, key, chunkId) => {
264
- /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
265
- /******/ var script, needAttach;
266
- /******/ if(key !== undefined) {
267
- /******/ var scripts = document.getElementsByTagName("script");
268
- /******/ for(var i = 0; i < scripts.length; i++) {
269
- /******/ var s = scripts[i];
270
- /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
271
- /******/ }
272
- /******/ }
273
- /******/ if(!script) {
274
- /******/ needAttach = true;
275
- /******/ script = document.createElement('script');
276
- /******/
277
- /******/ script.charset = 'utf-8';
278
- /******/ if (__webpack_require__.nc) {
279
- /******/ script.setAttribute("nonce", __webpack_require__.nc);
280
- /******/ }
281
- /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
282
- /******/
283
- /******/ script.src = url;
284
- /******/ }
285
- /******/ inProgress[url] = [done];
286
- /******/ var onScriptComplete = (prev, event) => {
287
- /******/ // avoid mem leaks in IE.
288
- /******/ script.onerror = script.onload = null;
289
- /******/ clearTimeout(timeout);
290
- /******/ var doneFns = inProgress[url];
291
- /******/ delete inProgress[url];
292
- /******/ script.parentNode && script.parentNode.removeChild(script);
293
- /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
294
- /******/ if(prev) return prev(event);
295
- /******/ }
296
- /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
297
- /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
298
- /******/ script.onload = onScriptComplete.bind(null, script.onload);
299
- /******/ needAttach && document.head.appendChild(script);
300
- /******/ };
301
- /******/ })();
302
- /******/
303
- /******/ /* webpack/runtime/make namespace object */
304
- /******/ (() => {
305
- /******/ // define __esModule on exports
306
- /******/ __webpack_require__.r = (exports) => {
307
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
308
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
309
- /******/ }
310
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
311
- /******/ };
312
- /******/ })();
313
- /******/
314
- /******/ /* webpack/runtime/publicPath */
315
- /******/ (() => {
316
- /******/ var scriptUrl;
317
- /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
318
- /******/ var document = __webpack_require__.g.document;
319
- /******/ if (!scriptUrl && document) {
320
- /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
321
- /******/ scriptUrl = document.currentScript.src;
322
- /******/ if (!scriptUrl) {
323
- /******/ var scripts = document.getElementsByTagName("script");
324
- /******/ if(scripts.length) {
325
- /******/ var i = scripts.length - 1;
326
- /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
327
- /******/ }
328
- /******/ }
329
- /******/ }
330
- /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
331
- /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
332
- /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
333
- /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
334
- /******/ __webpack_require__.p = scriptUrl;
335
- /******/ })();
336
- /******/
337
- /******/ /* webpack/runtime/jsonp chunk loading */
338
- /******/ (() => {
339
- /******/ // no baseURI
340
- /******/
341
- /******/ // object to store loaded and loading chunks
342
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
343
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
344
- /******/ var installedChunks = {
345
- /******/ "tsparticles.preset.fireworks": 0
346
- /******/ };
347
- /******/
348
- /******/ __webpack_require__.f.j = (chunkId, promises) => {
349
- /******/ // JSONP chunk loading for javascript
350
- /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
351
- /******/ if(installedChunkData !== 0) { // 0 means "already installed".
352
- /******/
353
- /******/ // a Promise means "currently loading".
354
- /******/ if(installedChunkData) {
355
- /******/ promises.push(installedChunkData[2]);
356
- /******/ } else {
357
- /******/ if(true) { // all chunks have JS
358
- /******/ // setup Promise in chunk cache
359
- /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
360
- /******/ promises.push(installedChunkData[2] = promise);
361
- /******/
362
- /******/ // start chunk loading
363
- /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
364
- /******/ // create error before stack unwound to get useful stacktrace later
365
- /******/ var error = new Error();
366
- /******/ var loadingEnded = (event) => {
367
- /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
368
- /******/ installedChunkData = installedChunks[chunkId];
369
- /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
370
- /******/ if(installedChunkData) {
371
- /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
372
- /******/ var realSrc = event && event.target && event.target.src;
373
- /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
374
- /******/ error.name = 'ChunkLoadError';
375
- /******/ error.type = errorType;
376
- /******/ error.request = realSrc;
377
- /******/ installedChunkData[1](error);
378
- /******/ }
379
- /******/ }
380
- /******/ };
381
- /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
382
- /******/ }
383
- /******/ }
384
- /******/ }
385
- /******/ };
386
- /******/
387
- /******/ // no prefetching
388
- /******/
389
- /******/ // no preloaded
390
- /******/
391
- /******/ // no HMR
392
- /******/
393
- /******/ // no HMR manifest
394
- /******/
395
- /******/ // no on chunks loaded
396
- /******/
397
- /******/ // install a JSONP callback for chunk loading
398
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
399
- /******/ var [chunkIds, moreModules, runtime] = data;
400
- /******/ // add "moreModules" to the modules object,
401
- /******/ // then flag all "chunkIds" as loaded and fire callback
402
- /******/ var moduleId, chunkId, i = 0;
403
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
404
- /******/ for(moduleId in moreModules) {
405
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
406
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
407
- /******/ }
408
- /******/ }
409
- /******/ if(runtime) var result = runtime(__webpack_require__);
410
- /******/ }
411
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
412
- /******/ for(;i < chunkIds.length; i++) {
413
- /******/ chunkId = chunkIds[i];
414
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
415
- /******/ installedChunks[chunkId][0]();
416
- /******/ }
417
- /******/ installedChunks[chunkId] = 0;
418
- /******/ }
419
- /******/
420
- /******/ }
421
- /******/
422
- /******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || [];
423
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
424
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
425
- /******/ })();
426
- /******/
427
- /************************************************************************/
428
- /******/
429
- /******/ // startup
430
- /******/ // Load entry module and return exports
431
- /******/ // This entry module can't be inlined because the eval devtool is used.
432
- /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
433
- /******/
434
- /******/ return __webpack_exports__;
435
- /******/ })()
436
- ;
437
- });
1
+ (function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
2
+ /* Preset v4.0.0-beta.16 */
3
+ (function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/engine'), require('@tsparticles/basic'), require('@tsparticles/updater-destroy'), require('@tsparticles/plugin-emitters/plugin'), require('@tsparticles/plugin-emitters-shape-square'), require('@tsparticles/updater-life'), require('@tsparticles/shape-line'), require('@tsparticles/updater-rotate'), require('@tsparticles/plugin-sounds'), require('@tsparticles/effect-trail')) :
5
+ typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/engine', '@tsparticles/basic', '@tsparticles/updater-destroy', '@tsparticles/plugin-emitters/plugin', '@tsparticles/plugin-emitters-shape-square', '@tsparticles/updater-life', '@tsparticles/shape-line', '@tsparticles/updater-rotate', '@tsparticles/plugin-sounds', '@tsparticles/effect-trail'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.presets = global.__tsParticlesInternals.presets || {}, global.__tsParticlesInternals.presets.fireworks = global.__tsParticlesInternals.presets.fireworks || {}), global.__tsParticlesInternals.engine, global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.updaters.destroy, global.__tsParticlesInternals.plugins["emitters/plugin"], global.__tsParticlesInternals.plugins.emittersShapes.square, global.__tsParticlesInternals.updaters.life, global.__tsParticlesInternals.shapes.line, global.__tsParticlesInternals.updaters.rotate, global.__tsParticlesInternals.plugins.sounds, global.__tsParticlesInternals.effects.trail));
7
+ })(this, (function (exports, engine, basic, updaterDestroy, plugin, pluginEmittersShapeSquare, updaterLife, shapeLine, updaterRotate, pluginSounds, effectTrail) { 'use strict';
8
+
9
+ function initOptions() {
10
+ const explodeSoundCheck = (args) => {
11
+ const data = args.data;
12
+ return data.particle.options.move.gravity.inverse;
13
+ }, fixRange = (value, min, max) => {
14
+ const minValue = 0, diffSMax = value.max > max ? value.max - max : minValue;
15
+ let res = engine.setRangeValue(value);
16
+ if (diffSMax) {
17
+ res = engine.setRangeValue(value.min - diffSMax, max);
18
+ }
19
+ const diffSMin = value.min < min ? value.min : minValue;
20
+ if (diffSMin) {
21
+ res = engine.setRangeValue(minValue, value.max + diffSMin);
22
+ }
23
+ return res;
24
+ }, hexToRgba = (hex) => {
25
+ let hexValue = hex;
26
+ const shortRegex = /^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i;
27
+ if (shortRegex.test(hexValue)) {
28
+ hexValue = hexValue.replace(shortRegex, (_m, r, g, b, a) => r + r + g + g + b + b + (a ? a + a : ""));
29
+ }
30
+ const regex = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, result = regex.exec(hexValue);
31
+ if (!result) {
32
+ return undefined;
33
+ }
34
+ result.shift();
35
+ const indexes = {
36
+ a: 3,
37
+ b: 2,
38
+ g: 1,
39
+ r: 0,
40
+ }, values = {
41
+ a: result[indexes.a],
42
+ b: result[indexes.b],
43
+ g: result[indexes.g],
44
+ r: result[indexes.r],
45
+ }, hexRadix = 16;
46
+ return {
47
+ r: values.r ? Number.parseInt(values.r, hexRadix) : engine.none,
48
+ g: values.g ? Number.parseInt(values.g, hexRadix) : engine.none,
49
+ b: values.b ? Number.parseInt(values.b, hexRadix) : engine.none,
50
+ a: values.a ? Number.parseInt(values.a, hexRadix) : engine.defaultAlpha,
51
+ };
52
+ }, fireworksOptions = [
53
+ "#FF0000",
54
+ "#FF8000",
55
+ "#FFFF00",
56
+ "#00FF00",
57
+ "#00FFFF",
58
+ "#0000FF",
59
+ "#FF00FF",
60
+ ]
61
+ .map(color => {
62
+ const rgb = hexToRgba(color);
63
+ if (!rgb) {
64
+ return undefined;
65
+ }
66
+ const hsl = engine.rgbToHsl(rgb), sOffset = 30, lOffset = 30, sBounds = {
67
+ min: 0,
68
+ max: 100,
69
+ }, lBounds = {
70
+ min: 0,
71
+ max: 100,
72
+ }, sRange = fixRange({ min: hsl.s - sOffset, max: hsl.s + sOffset }, sBounds.min, sBounds.max), lRange = fixRange({ min: hsl.l - lOffset, max: hsl.l + lOffset }, lBounds.min, lBounds.max);
73
+ return {
74
+ paint: {
75
+ fill: {
76
+ color: {
77
+ value: {
78
+ h: hsl.h,
79
+ s: sRange,
80
+ l: lRange,
81
+ },
82
+ },
83
+ enable: true,
84
+ },
85
+ stroke: {
86
+ width: 0,
87
+ },
88
+ },
89
+ number: {
90
+ value: 0,
91
+ },
92
+ opacity: {
93
+ value: {
94
+ min: 0.1,
95
+ max: 1,
96
+ },
97
+ animation: {
98
+ enable: true,
99
+ speed: 0.7,
100
+ sync: false,
101
+ startValue: engine.StartValueType.max,
102
+ destroy: engine.DestroyType.min,
103
+ },
104
+ },
105
+ shape: {
106
+ type: "circle",
107
+ },
108
+ effect: {
109
+ type: "trail",
110
+ options: {
111
+ trail: {
112
+ length: {
113
+ min: 5,
114
+ max: 10,
115
+ },
116
+ },
117
+ },
118
+ },
119
+ size: {
120
+ value: { min: 1, max: 2 },
121
+ animation: {
122
+ enable: true,
123
+ speed: 5,
124
+ count: 1,
125
+ sync: false,
126
+ startValue: engine.StartValueType.min,
127
+ destroy: engine.DestroyType.none,
128
+ },
129
+ },
130
+ life: {
131
+ count: 1,
132
+ duration: {
133
+ value: {
134
+ min: 1,
135
+ max: 2,
136
+ },
137
+ },
138
+ },
139
+ move: {
140
+ decay: { min: 0.075, max: 0.1 },
141
+ enable: true,
142
+ gravity: {
143
+ enable: true,
144
+ inverse: false,
145
+ acceleration: 5,
146
+ },
147
+ speed: { min: 5, max: 15 },
148
+ direction: engine.MoveDirection.none,
149
+ outModes: engine.OutMode.destroy,
150
+ },
151
+ };
152
+ })
153
+ .filter(t => t !== undefined);
154
+ return {
155
+ detectRetina: true,
156
+ background: {
157
+ color: "#000",
158
+ },
159
+ fpsLimit: 120,
160
+ emitters: {
161
+ direction: engine.MoveDirection.top,
162
+ rate: {
163
+ delay: 0.3,
164
+ quantity: 1,
165
+ },
166
+ size: {
167
+ width: 100,
168
+ height: 0,
169
+ },
170
+ position: {
171
+ y: 100,
172
+ x: 50,
173
+ },
174
+ },
175
+ particles: {
176
+ number: {
177
+ value: 0,
178
+ },
179
+ destroy: {
180
+ mode: "split",
181
+ bounds: {
182
+ top: { min: 15, max: 35 },
183
+ },
184
+ split: {
185
+ sizeOffset: false,
186
+ count: 1,
187
+ factor: {
188
+ value: 0.333333,
189
+ },
190
+ rate: {
191
+ value: { min: 75, max: 150 },
192
+ },
193
+ particles: fireworksOptions,
194
+ },
195
+ },
196
+ life: {
197
+ count: 1,
198
+ },
199
+ shape: {
200
+ type: "circle",
201
+ },
202
+ effect: {
203
+ type: "trail",
204
+ options: {
205
+ trail: {
206
+ length: {
207
+ min: 5,
208
+ max: 15,
209
+ },
210
+ minWidth: 1,
211
+ maxWidth: 1,
212
+ },
213
+ },
214
+ },
215
+ size: {
216
+ value: 1,
217
+ },
218
+ paint: {
219
+ stroke: {
220
+ color: {
221
+ value: "#ffffff",
222
+ },
223
+ width: 1,
224
+ },
225
+ fill: {
226
+ enable: false,
227
+ },
228
+ },
229
+ move: {
230
+ enable: true,
231
+ gravity: {
232
+ acceleration: 15,
233
+ enable: true,
234
+ inverse: true,
235
+ maxSpeed: 100,
236
+ },
237
+ speed: {
238
+ min: 10,
239
+ max: 20,
240
+ },
241
+ outModes: {
242
+ default: engine.OutMode.destroy,
243
+ top: engine.OutMode.none,
244
+ },
245
+ },
246
+ },
247
+ sounds: {
248
+ enable: true,
249
+ events: [
250
+ {
251
+ event: engine.EventType.particleRemoved,
252
+ filter: explodeSoundCheck,
253
+ audio: [
254
+ "https://particles.js.org/audio/explosion0.mp3",
255
+ "https://particles.js.org/audio/explosion1.mp3",
256
+ "https://particles.js.org/audio/explosion2.mp3",
257
+ ],
258
+ },
259
+ ],
260
+ volume: 50,
261
+ },
262
+ };
263
+ }
264
+
265
+ const presetName = "fireworks";
266
+ async function loadFireworksPreset(engine) {
267
+ await engine.pluginManager.register(async (e) => {
268
+ const loadEmittersForFireworks = async (e) => {
269
+ await plugin.loadEmittersPluginSimple(e);
270
+ await pluginEmittersShapeSquare.loadEmittersShapeSquare(e);
271
+ };
272
+ await Promise.all([
273
+ basic.loadBasic(e),
274
+ loadEmittersForFireworks(e),
275
+ effectTrail.loadTrailEffect(e),
276
+ pluginSounds.loadSoundsPlugin(e),
277
+ shapeLine.loadLineShape(e),
278
+ updaterRotate.loadRotateUpdater(e),
279
+ updaterDestroy.loadDestroyUpdater(e),
280
+ updaterLife.loadLifeUpdater(e),
281
+ ]);
282
+ e.pluginManager.addPreset(presetName, initOptions(), false);
283
+ });
284
+ }
285
+
286
+ const globalObject = globalThis;
287
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
288
+ globalObject.loadFireworksPreset = loadFireworksPreset;
289
+
290
+ exports.loadFireworksPreset = loadFireworksPreset;
291
+
292
+ }));
293
+ Object.assign(globalThis.window || globalThis, { loadFireworksPreset: (globalThis.__tsParticlesInternals.presets.fireworks || {}).loadFireworksPreset });
294
+ delete (globalThis.window || globalThis).tsparticlesInternalExports;