@tsparticles/preset-fireworks 3.1.0 → 4.0.0-alpha.0
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/125.min.js +2 -0
- package/125.min.js.LICENSE.txt +1 -0
- package/171.min.js +2 -0
- package/171.min.js.LICENSE.txt +1 -0
- package/213.min.js +2 -0
- package/213.min.js.LICENSE.txt +1 -0
- package/22.min.js +2 -0
- package/22.min.js.LICENSE.txt +1 -0
- package/226.min.js +2 -0
- package/226.min.js.LICENSE.txt +1 -0
- package/237.min.js +2 -0
- package/237.min.js.LICENSE.txt +1 -0
- package/264.min.js +2 -0
- package/264.min.js.LICENSE.txt +1 -0
- package/267.min.js +2 -0
- package/267.min.js.LICENSE.txt +1 -0
- package/280.min.js +2 -0
- package/280.min.js.LICENSE.txt +1 -0
- package/283.min.js +2 -0
- package/283.min.js.LICENSE.txt +1 -0
- package/301.min.js +2 -0
- package/301.min.js.LICENSE.txt +1 -0
- package/313.min.js +2 -0
- package/313.min.js.LICENSE.txt +1 -0
- package/319.min.js +2 -0
- package/319.min.js.LICENSE.txt +1 -0
- package/349.min.js +2 -0
- package/349.min.js.LICENSE.txt +1 -0
- package/389.min.js +2 -0
- package/389.min.js.LICENSE.txt +1 -0
- package/397.min.js +2 -0
- package/397.min.js.LICENSE.txt +1 -0
- package/418.min.js +2 -0
- package/418.min.js.LICENSE.txt +1 -0
- package/453.min.js +2 -0
- package/453.min.js.LICENSE.txt +1 -0
- package/455.min.js +2 -0
- package/455.min.js.LICENSE.txt +1 -0
- package/459.min.js +2 -0
- package/459.min.js.LICENSE.txt +1 -0
- package/477.min.js +2 -0
- package/477.min.js.LICENSE.txt +1 -0
- package/481.min.js +2 -0
- package/481.min.js.LICENSE.txt +1 -0
- package/488.min.js +2 -0
- package/488.min.js.LICENSE.txt +1 -0
- package/49.min.js +2 -0
- package/49.min.js.LICENSE.txt +1 -0
- package/509.min.js +2 -0
- package/509.min.js.LICENSE.txt +1 -0
- package/527.min.js +2 -0
- package/527.min.js.LICENSE.txt +1 -0
- package/541.min.js +2 -0
- package/541.min.js.LICENSE.txt +1 -0
- package/597.min.js +2 -0
- package/597.min.js.LICENSE.txt +1 -0
- package/633.min.js +2 -0
- package/633.min.js.LICENSE.txt +1 -0
- package/637.min.js +2 -0
- package/637.min.js.LICENSE.txt +1 -0
- package/669.min.js +2 -0
- package/669.min.js.LICENSE.txt +1 -0
- package/751.min.js +2 -0
- package/751.min.js.LICENSE.txt +1 -0
- package/802.min.js +2 -0
- package/802.min.js.LICENSE.txt +1 -0
- package/803.min.js +2 -0
- package/803.min.js.LICENSE.txt +1 -0
- package/819.min.js +2 -0
- package/819.min.js.LICENSE.txt +1 -0
- package/829.min.js +2 -0
- package/829.min.js.LICENSE.txt +1 -0
- package/890.min.js +2 -0
- package/890.min.js.LICENSE.txt +1 -0
- package/908.min.js +2 -0
- package/908.min.js.LICENSE.txt +1 -0
- package/926.min.js +2 -0
- package/926.min.js.LICENSE.txt +1 -0
- package/98.min.js +2 -0
- package/98.min.js.LICENSE.txt +1 -0
- package/README.md +1 -1
- package/browser/bundle.js +2 -3
- package/browser/index.js +18 -22
- package/browser/options.js +254 -187
- package/cjs/bundle.js +2 -7
- package/cjs/index.js +18 -26
- package/cjs/options.js +254 -190
- package/dist_browser_options_js.js +30 -0
- package/esm/bundle.js +2 -3
- package/esm/index.js +18 -22
- package/esm/options.js +254 -187
- package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_2_node_modules_tsparticles_basic_browser_index_js.js +30 -0
- package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_2_node_modules_tsparticles_effect-trai-3395e5.js +30 -0
- package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_2_node_modules_tsparticles_effect-trai-8c7216.js +30 -0
- package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +40 -0
- package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cafd8c.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cf2f58.js +70 -0
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-122a51.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-6bd6f8.js +50 -0
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_plugin-sou-6e6a34.js +30 -0
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489.js +40 -0
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-ce96e8.js +30 -0
- package/node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_2_node_modules_tsparticles_shape-line_br-01d607.js +30 -0
- package/node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_2_node_modules_tsparticles_shape-line_br-eb7b65.js +40 -0
- package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-210bd6.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-6ff909.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_2_node_modules_tsparticles_updater--cef2d9.js +100 -0
- package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_2_node_modules_tsparticles_updater--f71d4c.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-50f821.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-dbf90f.js +70 -0
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--4e8c57.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--ac14ff.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticles_update-cd317f.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-0de212.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-e97427.js +50 -0
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-74b323.js +30 -0
- package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-ca004c.js +30 -0
- package/package.json +30 -13
- package/report.html +5 -4
- package/tsparticles.preset.fireworks.bundle.js +770 -2539
- package/tsparticles.preset.fireworks.bundle.min.js +1 -1
- package/tsparticles.preset.fireworks.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.fireworks.js +306 -57
- package/tsparticles.preset.fireworks.min.js +1 -1
- package/tsparticles.preset.fireworks.min.js.LICENSE.txt +1 -1
- package/types/bundle.d.ts +2 -3
- package/types/index.d.ts +1 -1
- package/types/options.d.ts +2 -1
- package/umd/bundle.js +2 -2
- package/umd/index.js +54 -25
- package/umd/options.js +255 -187
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_2_node_modules_tsparticles_engine_br-9c0a0f.js +100 -0
- package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_-1e60b5.js +110 -0
- package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_pl-a36589.js +140 -0
- package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticle-124574.js +80 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
*
|
|
7
|
+
* v4.0.0-alpha.0
|
|
8
8
|
*/
|
|
9
9
|
/*
|
|
10
10
|
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
@@ -16,137 +16,167 @@
|
|
|
16
16
|
*/
|
|
17
17
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
18
18
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
19
|
-
module.exports = factory(require("@tsparticles/
|
|
19
|
+
module.exports = factory(require("@tsparticles/updater-stroke-color"), require("@tsparticles/updater-life"), require("@tsparticles/updater-destroy"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-line"), require("@tsparticles/plugin-sounds"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/plugin-hex-color"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/effect-trail"), require("@tsparticles/plugin-emitters"), require("@tsparticles/basic"), require("@tsparticles/engine"));
|
|
20
20
|
else if(typeof define === 'function' && define.amd)
|
|
21
|
-
define(["@tsparticles/
|
|
21
|
+
define(["@tsparticles/updater-stroke-color", "@tsparticles/updater-life", "@tsparticles/updater-destroy", "@tsparticles/updater-rotate", "@tsparticles/shape-line", "@tsparticles/plugin-sounds", "@tsparticles/plugin-rgb-color", "@tsparticles/plugin-hsl-color", "@tsparticles/plugin-hex-color", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/effect-trail", "@tsparticles/plugin-emitters", "@tsparticles/basic", "@tsparticles/engine"], factory);
|
|
22
22
|
else {
|
|
23
|
-
var a = typeof exports === 'object' ? factory(require("@tsparticles/
|
|
23
|
+
var a = typeof exports === 'object' ? factory(require("@tsparticles/updater-stroke-color"), require("@tsparticles/updater-life"), require("@tsparticles/updater-destroy"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-line"), require("@tsparticles/plugin-sounds"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/plugin-hex-color"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/effect-trail"), require("@tsparticles/plugin-emitters"), 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"], root["window"], root["window"], root["window"], root["window"]);
|
|
24
24
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
25
25
|
}
|
|
26
|
-
})(this, (
|
|
26
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__, __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_rgb_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hex_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__, __WEBPACK_EXTERNAL_MODULE__tsparticles_effect_trail__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__) => {
|
|
27
27
|
return /******/ (() => { // webpackBootstrap
|
|
28
28
|
/******/ "use strict";
|
|
29
29
|
/******/ var __webpack_modules__ = ({
|
|
30
30
|
|
|
31
|
-
/***/ "./dist/browser/index.js"
|
|
31
|
+
/***/ "./dist/browser/index.js"
|
|
32
32
|
/*!*******************************!*\
|
|
33
33
|
!*** ./dist/browser/index.js ***!
|
|
34
34
|
\*******************************/
|
|
35
|
-
|
|
35
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
36
36
|
|
|
37
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFireworksPreset: () => (/* binding */ loadFireworksPreset)\n/* harmony export */ });\n
|
|
37
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFireworksPreset: () => (/* binding */ loadFireworksPreset)\n/* harmony export */ });\nfunction loadFireworksPreset(engine) {\n engine.register(async e => {\n const {\n loadBasic\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n {\n loadEmittersPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\", 19)),\n {\n loadTrailEffect\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/effect-trail */ \"@tsparticles/effect-trail\", 19)),\n {\n loadEmittersShapeSquare\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\", 19)),\n {\n loadHexColorPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-hex-color */ \"@tsparticles/plugin-hex-color\", 19)),\n {\n loadHslColorPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-hsl-color */ \"@tsparticles/plugin-hsl-color\", 19)),\n {\n loadRgbColorPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-rgb-color */ \"@tsparticles/plugin-rgb-color\", 19)),\n {\n loadSoundsPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-sounds */ \"@tsparticles/plugin-sounds\", 19)),\n {\n loadLineShape\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/shape-line */ \"@tsparticles/shape-line\", 19)),\n {\n loadRotateUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-rotate */ \"@tsparticles/updater-rotate\", 19)),\n {\n loadDestroyUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-destroy */ \"@tsparticles/updater-destroy\", 19)),\n {\n loadLifeUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n {\n loadStrokeColorUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-stroke-color */ \"@tsparticles/updater-stroke-color\", 19)),\n {\n initOptions,\n presetName\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"));\n loadBasic(e);\n loadHexColorPlugin(e);\n loadHslColorPlugin(e);\n loadRgbColorPlugin(e);\n loadEmittersPlugin(e);\n loadTrailEffect(e);\n loadEmittersShapeSquare(e);\n loadSoundsPlugin(e);\n loadLineShape(e);\n loadRotateUpdater(e);\n loadDestroyUpdater(e);\n loadLifeUpdater(e);\n loadStrokeColorUpdater(e);\n e.addPreset(presetName, initOptions(), false);\n });\n}\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/./dist/browser/index.js?\n}");
|
|
38
38
|
|
|
39
|
-
/***/ }
|
|
39
|
+
/***/ },
|
|
40
40
|
|
|
41
|
-
/***/ "
|
|
42
|
-
/*!*********************************!*\
|
|
43
|
-
!*** ./dist/browser/options.js ***!
|
|
44
|
-
\*********************************/
|
|
45
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
46
|
-
|
|
47
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"@tsparticles/engine\");\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__);\n\nconst explodeSoundCheck = args => {\n const data = args.data;\n return data.particle.shape === \"line\";\n};\nconst fixRange = (value, min, max) => {\n const minValue = 0,\n diffSMax = value.max > max ? value.max - max : minValue;\n let res = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(value);\n if (diffSMax) {\n res = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(value.min - diffSMax, max);\n }\n const diffSMin = value.min < min ? value.min : minValue;\n if (diffSMin) {\n res = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(minValue, value.max + diffSMin);\n }\n return res;\n};\nconst fireworksOptions = [\"#ff595e\", \"#ffca3a\", \"#8ac926\", \"#1982c4\", \"#6a4c93\"].map(color => {\n const rgb = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.stringToRgb)(color);\n if (!rgb) {\n return undefined;\n }\n const hsl = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rgbToHsl)(rgb),\n sOffset = 30,\n lOffset = 30,\n sBounds = {\n min: 0,\n max: 100\n },\n lBounds = {\n min: 0,\n max: 100\n },\n sRange = fixRange({\n min: hsl.s - sOffset,\n max: hsl.s + sOffset\n }, sBounds.min, sBounds.max),\n lRange = fixRange({\n min: hsl.l - lOffset,\n max: hsl.l + lOffset\n }, lBounds.min, lBounds.max);\n return {\n color: {\n value: {\n h: hsl.h,\n s: sRange,\n l: lRange\n }\n },\n stroke: {\n width: 0\n },\n number: {\n value: 0\n },\n opacity: {\n value: {\n min: 0.1,\n max: 1\n },\n animation: {\n enable: true,\n speed: 0.7,\n sync: false,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.max,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.min\n }\n },\n shape: {\n type: \"circle\"\n },\n size: {\n value: {\n min: 1,\n max: 2\n },\n animation: {\n enable: true,\n speed: 5,\n count: 1,\n sync: false,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.min,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.none\n }\n },\n life: {\n count: 1,\n duration: {\n value: {\n min: 1,\n max: 2\n }\n }\n },\n move: {\n decay: {\n min: 0.075,\n max: 0.1\n },\n enable: true,\n gravity: {\n enable: true,\n inverse: false,\n acceleration: 5\n },\n speed: {\n min: 5,\n max: 15\n },\n direction: \"none\",\n outModes: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy\n }\n };\n}).filter(t => t !== undefined);\nconst options = {\n detectRetina: true,\n background: {\n color: \"#000\"\n },\n fpsLimit: 120,\n emitters: {\n direction: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.MoveDirection.top,\n life: {\n count: 0,\n duration: 0.1,\n delay: 0.1\n },\n rate: {\n delay: 0.05,\n quantity: 1\n },\n size: {\n width: 100,\n height: 0\n },\n position: {\n y: 100,\n x: 50\n }\n },\n particles: {\n number: {\n value: 0\n },\n destroy: {\n mode: \"split\",\n bounds: {\n top: {\n min: 10,\n max: 30\n }\n },\n split: {\n sizeOffset: false,\n count: 1,\n factor: {\n value: 0.333333\n },\n rate: {\n value: {\n min: 75,\n max: 150\n }\n },\n particles: fireworksOptions\n }\n },\n life: {\n count: 1\n },\n shape: {\n type: \"line\"\n },\n size: {\n value: {\n min: 0.1,\n max: 50\n },\n animation: {\n enable: true,\n sync: true,\n speed: 90,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.max,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.min\n }\n },\n stroke: {\n color: {\n value: \"#ffffff\"\n },\n width: 1\n },\n rotate: {\n path: true\n },\n move: {\n enable: true,\n gravity: {\n acceleration: 15,\n enable: true,\n inverse: true,\n maxSpeed: 100\n },\n speed: {\n min: 10,\n max: 20\n },\n outModes: {\n default: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy,\n top: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none\n },\n trail: {\n fill: {\n color: \"#000\"\n },\n enable: true,\n length: 10\n }\n }\n },\n sounds: {\n enable: true,\n events: [{\n event: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.EventType.particleRemoved,\n filter: explodeSoundCheck,\n audio: [\"https://particles.js.org/audio/explosion0.mp3\", \"https://particles.js.org/audio/explosion1.mp3\", \"https://particles.js.org/audio/explosion2.mp3\"]\n }],\n volume: 50\n }\n};\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/./dist/browser/options.js?");
|
|
48
|
-
|
|
49
|
-
/***/ }),
|
|
50
|
-
|
|
51
|
-
/***/ "@tsparticles/basic":
|
|
41
|
+
/***/ "@tsparticles/basic"
|
|
52
42
|
/*!******************************************************************************************************************************!*\
|
|
53
43
|
!*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
|
|
54
44
|
\******************************************************************************************************************************/
|
|
55
|
-
|
|
45
|
+
(module) {
|
|
56
46
|
|
|
57
47
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
|
|
58
48
|
|
|
59
|
-
/***/ }
|
|
49
|
+
/***/ },
|
|
50
|
+
|
|
51
|
+
/***/ "@tsparticles/effect-trail"
|
|
52
|
+
/*!***************************************************************************************************************************************************!*\
|
|
53
|
+
!*** external {"commonjs":"@tsparticles/effect-trail","commonjs2":"@tsparticles/effect-trail","amd":"@tsparticles/effect-trail","root":"window"} ***!
|
|
54
|
+
\***************************************************************************************************************************************************/
|
|
55
|
+
(module) {
|
|
56
|
+
|
|
57
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_effect_trail__;
|
|
58
|
+
|
|
59
|
+
/***/ },
|
|
60
60
|
|
|
61
|
-
/***/ "@tsparticles/engine"
|
|
61
|
+
/***/ "@tsparticles/engine"
|
|
62
62
|
/*!*********************************************************************************************************************************!*\
|
|
63
63
|
!*** external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"} ***!
|
|
64
64
|
\*********************************************************************************************************************************/
|
|
65
|
-
|
|
65
|
+
(module) {
|
|
66
66
|
|
|
67
67
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
|
|
68
68
|
|
|
69
|
-
/***/ }
|
|
69
|
+
/***/ },
|
|
70
70
|
|
|
71
|
-
/***/ "@tsparticles/plugin-emitters"
|
|
71
|
+
/***/ "@tsparticles/plugin-emitters"
|
|
72
72
|
/*!************************************************************************************************************************************************************!*\
|
|
73
73
|
!*** external {"commonjs":"@tsparticles/plugin-emitters","commonjs2":"@tsparticles/plugin-emitters","amd":"@tsparticles/plugin-emitters","root":"window"} ***!
|
|
74
74
|
\************************************************************************************************************************************************************/
|
|
75
|
-
|
|
75
|
+
(module) {
|
|
76
76
|
|
|
77
77
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__;
|
|
78
78
|
|
|
79
|
-
/***/ }
|
|
79
|
+
/***/ },
|
|
80
80
|
|
|
81
|
-
/***/ "@tsparticles/plugin-emitters-shape-square"
|
|
81
|
+
/***/ "@tsparticles/plugin-emitters-shape-square"
|
|
82
82
|
/*!***************************************************************************************************************************************************************************************************!*\
|
|
83
83
|
!*** external {"commonjs":"@tsparticles/plugin-emitters-shape-square","commonjs2":"@tsparticles/plugin-emitters-shape-square","amd":"@tsparticles/plugin-emitters-shape-square","root":"window"} ***!
|
|
84
84
|
\***************************************************************************************************************************************************************************************************/
|
|
85
|
-
|
|
85
|
+
(module) {
|
|
86
86
|
|
|
87
87
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__;
|
|
88
88
|
|
|
89
|
-
/***/ }
|
|
89
|
+
/***/ },
|
|
90
|
+
|
|
91
|
+
/***/ "@tsparticles/plugin-hex-color"
|
|
92
|
+
/*!***************************************************************************************************************************************************************!*\
|
|
93
|
+
!*** external {"commonjs":"@tsparticles/plugin-hex-color","commonjs2":"@tsparticles/plugin-hex-color","amd":"@tsparticles/plugin-hex-color","root":"window"} ***!
|
|
94
|
+
\***************************************************************************************************************************************************************/
|
|
95
|
+
(module) {
|
|
96
|
+
|
|
97
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hex_color__;
|
|
98
|
+
|
|
99
|
+
/***/ },
|
|
100
|
+
|
|
101
|
+
/***/ "@tsparticles/plugin-hsl-color"
|
|
102
|
+
/*!***************************************************************************************************************************************************************!*\
|
|
103
|
+
!*** external {"commonjs":"@tsparticles/plugin-hsl-color","commonjs2":"@tsparticles/plugin-hsl-color","amd":"@tsparticles/plugin-hsl-color","root":"window"} ***!
|
|
104
|
+
\***************************************************************************************************************************************************************/
|
|
105
|
+
(module) {
|
|
106
|
+
|
|
107
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__;
|
|
108
|
+
|
|
109
|
+
/***/ },
|
|
110
|
+
|
|
111
|
+
/***/ "@tsparticles/plugin-rgb-color"
|
|
112
|
+
/*!***************************************************************************************************************************************************************!*\
|
|
113
|
+
!*** external {"commonjs":"@tsparticles/plugin-rgb-color","commonjs2":"@tsparticles/plugin-rgb-color","amd":"@tsparticles/plugin-rgb-color","root":"window"} ***!
|
|
114
|
+
\***************************************************************************************************************************************************************/
|
|
115
|
+
(module) {
|
|
90
116
|
|
|
91
|
-
|
|
117
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_rgb_color__;
|
|
118
|
+
|
|
119
|
+
/***/ },
|
|
120
|
+
|
|
121
|
+
/***/ "@tsparticles/plugin-sounds"
|
|
92
122
|
/*!******************************************************************************************************************************************************!*\
|
|
93
123
|
!*** external {"commonjs":"@tsparticles/plugin-sounds","commonjs2":"@tsparticles/plugin-sounds","amd":"@tsparticles/plugin-sounds","root":"window"} ***!
|
|
94
124
|
\******************************************************************************************************************************************************/
|
|
95
|
-
|
|
125
|
+
(module) {
|
|
96
126
|
|
|
97
127
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_sounds__;
|
|
98
128
|
|
|
99
|
-
/***/ }
|
|
129
|
+
/***/ },
|
|
100
130
|
|
|
101
|
-
/***/ "@tsparticles/shape-line"
|
|
131
|
+
/***/ "@tsparticles/shape-line"
|
|
102
132
|
/*!*********************************************************************************************************************************************!*\
|
|
103
133
|
!*** external {"commonjs":"@tsparticles/shape-line","commonjs2":"@tsparticles/shape-line","amd":"@tsparticles/shape-line","root":"window"} ***!
|
|
104
134
|
\*********************************************************************************************************************************************/
|
|
105
|
-
|
|
135
|
+
(module) {
|
|
106
136
|
|
|
107
137
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_line__;
|
|
108
138
|
|
|
109
|
-
/***/ }
|
|
139
|
+
/***/ },
|
|
110
140
|
|
|
111
|
-
/***/ "@tsparticles/updater-destroy"
|
|
141
|
+
/***/ "@tsparticles/updater-destroy"
|
|
112
142
|
/*!************************************************************************************************************************************************************!*\
|
|
113
143
|
!*** external {"commonjs":"@tsparticles/updater-destroy","commonjs2":"@tsparticles/updater-destroy","amd":"@tsparticles/updater-destroy","root":"window"} ***!
|
|
114
144
|
\************************************************************************************************************************************************************/
|
|
115
|
-
|
|
145
|
+
(module) {
|
|
116
146
|
|
|
117
147
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__;
|
|
118
148
|
|
|
119
|
-
/***/ }
|
|
149
|
+
/***/ },
|
|
120
150
|
|
|
121
|
-
/***/ "@tsparticles/updater-life"
|
|
151
|
+
/***/ "@tsparticles/updater-life"
|
|
122
152
|
/*!***************************************************************************************************************************************************!*\
|
|
123
153
|
!*** external {"commonjs":"@tsparticles/updater-life","commonjs2":"@tsparticles/updater-life","amd":"@tsparticles/updater-life","root":"window"} ***!
|
|
124
154
|
\***************************************************************************************************************************************************/
|
|
125
|
-
|
|
155
|
+
(module) {
|
|
126
156
|
|
|
127
157
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
|
|
128
158
|
|
|
129
|
-
/***/ }
|
|
159
|
+
/***/ },
|
|
130
160
|
|
|
131
|
-
/***/ "@tsparticles/updater-rotate"
|
|
161
|
+
/***/ "@tsparticles/updater-rotate"
|
|
132
162
|
/*!*********************************************************************************************************************************************************!*\
|
|
133
163
|
!*** external {"commonjs":"@tsparticles/updater-rotate","commonjs2":"@tsparticles/updater-rotate","amd":"@tsparticles/updater-rotate","root":"window"} ***!
|
|
134
164
|
\*********************************************************************************************************************************************************/
|
|
135
|
-
|
|
165
|
+
(module) {
|
|
136
166
|
|
|
137
167
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_rotate__;
|
|
138
168
|
|
|
139
|
-
/***/ }
|
|
169
|
+
/***/ },
|
|
140
170
|
|
|
141
|
-
/***/ "@tsparticles/updater-stroke-color"
|
|
171
|
+
/***/ "@tsparticles/updater-stroke-color"
|
|
142
172
|
/*!***************************************************************************************************************************************************************************!*\
|
|
143
173
|
!*** external {"commonjs":"@tsparticles/updater-stroke-color","commonjs2":"@tsparticles/updater-stroke-color","amd":"@tsparticles/updater-stroke-color","root":"window"} ***!
|
|
144
174
|
\***************************************************************************************************************************************************************************/
|
|
145
|
-
|
|
175
|
+
(module) {
|
|
146
176
|
|
|
147
177
|
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__;
|
|
148
178
|
|
|
149
|
-
/***/ }
|
|
179
|
+
/***/ }
|
|
150
180
|
|
|
151
181
|
/******/ });
|
|
152
182
|
/************************************************************************/
|
|
@@ -160,6 +190,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__;
|
|
|
160
190
|
/******/ if (cachedModule !== undefined) {
|
|
161
191
|
/******/ return cachedModule.exports;
|
|
162
192
|
/******/ }
|
|
193
|
+
/******/ // Check if module exists (development only)
|
|
194
|
+
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
195
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
196
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
197
|
+
/******/ throw e;
|
|
198
|
+
/******/ }
|
|
163
199
|
/******/ // Create a new module (and put it into the cache)
|
|
164
200
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
165
201
|
/******/ // no module.id needed
|
|
@@ -174,16 +210,37 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__;
|
|
|
174
210
|
/******/ return module.exports;
|
|
175
211
|
/******/ }
|
|
176
212
|
/******/
|
|
213
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
214
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
215
|
+
/******/
|
|
177
216
|
/************************************************************************/
|
|
178
|
-
/******/ /* webpack/runtime/
|
|
217
|
+
/******/ /* webpack/runtime/create fake namespace object */
|
|
179
218
|
/******/ (() => {
|
|
180
|
-
/******/
|
|
181
|
-
/******/
|
|
182
|
-
/******/
|
|
183
|
-
/******/
|
|
184
|
-
/******/
|
|
185
|
-
/******/
|
|
186
|
-
/******/
|
|
219
|
+
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
220
|
+
/******/ var leafPrototypes;
|
|
221
|
+
/******/ // create a fake namespace object
|
|
222
|
+
/******/ // mode & 1: value is a module id, require it
|
|
223
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
224
|
+
/******/ // mode & 4: return value when already ns object
|
|
225
|
+
/******/ // mode & 16: return value when it's Promise-like
|
|
226
|
+
/******/ // mode & 8|1: behave like require
|
|
227
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
228
|
+
/******/ if(mode & 1) value = this(value);
|
|
229
|
+
/******/ if(mode & 8) return value;
|
|
230
|
+
/******/ if(typeof value === 'object' && value) {
|
|
231
|
+
/******/ if((mode & 4) && value.__esModule) return value;
|
|
232
|
+
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
233
|
+
/******/ }
|
|
234
|
+
/******/ var ns = Object.create(null);
|
|
235
|
+
/******/ __webpack_require__.r(ns);
|
|
236
|
+
/******/ var def = {};
|
|
237
|
+
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
238
|
+
/******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
239
|
+
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
240
|
+
/******/ }
|
|
241
|
+
/******/ def['default'] = () => (value);
|
|
242
|
+
/******/ __webpack_require__.d(ns, def);
|
|
243
|
+
/******/ return ns;
|
|
187
244
|
/******/ };
|
|
188
245
|
/******/ })();
|
|
189
246
|
/******/
|
|
@@ -199,11 +256,90 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__;
|
|
|
199
256
|
/******/ };
|
|
200
257
|
/******/ })();
|
|
201
258
|
/******/
|
|
259
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
260
|
+
/******/ (() => {
|
|
261
|
+
/******/ __webpack_require__.f = {};
|
|
262
|
+
/******/ // This file contains only the entry chunk.
|
|
263
|
+
/******/ // The chunk loading function for additional chunks
|
|
264
|
+
/******/ __webpack_require__.e = (chunkId) => {
|
|
265
|
+
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
266
|
+
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
267
|
+
/******/ return promises;
|
|
268
|
+
/******/ }, []));
|
|
269
|
+
/******/ };
|
|
270
|
+
/******/ })();
|
|
271
|
+
/******/
|
|
272
|
+
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
273
|
+
/******/ (() => {
|
|
274
|
+
/******/ // This function allow to reference async chunks
|
|
275
|
+
/******/ __webpack_require__.u = (chunkId) => {
|
|
276
|
+
/******/ // return url for filenames based on template
|
|
277
|
+
/******/ return "" + chunkId + ".js";
|
|
278
|
+
/******/ };
|
|
279
|
+
/******/ })();
|
|
280
|
+
/******/
|
|
281
|
+
/******/ /* webpack/runtime/global */
|
|
282
|
+
/******/ (() => {
|
|
283
|
+
/******/ __webpack_require__.g = (function() {
|
|
284
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
285
|
+
/******/ try {
|
|
286
|
+
/******/ return this || new Function('return this')();
|
|
287
|
+
/******/ } catch (e) {
|
|
288
|
+
/******/ if (typeof window === 'object') return window;
|
|
289
|
+
/******/ }
|
|
290
|
+
/******/ })();
|
|
291
|
+
/******/ })();
|
|
292
|
+
/******/
|
|
202
293
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
203
294
|
/******/ (() => {
|
|
204
295
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
205
296
|
/******/ })();
|
|
206
297
|
/******/
|
|
298
|
+
/******/ /* webpack/runtime/load script */
|
|
299
|
+
/******/ (() => {
|
|
300
|
+
/******/ var inProgress = {};
|
|
301
|
+
/******/ var dataWebpackPrefix = "@tsparticles/preset-fireworks:";
|
|
302
|
+
/******/ // loadScript function to load a script via script tag
|
|
303
|
+
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
|
|
304
|
+
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
|
305
|
+
/******/ var script, needAttach;
|
|
306
|
+
/******/ if(key !== undefined) {
|
|
307
|
+
/******/ var scripts = document.getElementsByTagName("script");
|
|
308
|
+
/******/ for(var i = 0; i < scripts.length; i++) {
|
|
309
|
+
/******/ var s = scripts[i];
|
|
310
|
+
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
|
311
|
+
/******/ }
|
|
312
|
+
/******/ }
|
|
313
|
+
/******/ if(!script) {
|
|
314
|
+
/******/ needAttach = true;
|
|
315
|
+
/******/ script = document.createElement('script');
|
|
316
|
+
/******/
|
|
317
|
+
/******/ script.charset = 'utf-8';
|
|
318
|
+
/******/ if (__webpack_require__.nc) {
|
|
319
|
+
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|
320
|
+
/******/ }
|
|
321
|
+
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
|
322
|
+
/******/
|
|
323
|
+
/******/ script.src = url;
|
|
324
|
+
/******/ }
|
|
325
|
+
/******/ inProgress[url] = [done];
|
|
326
|
+
/******/ var onScriptComplete = (prev, event) => {
|
|
327
|
+
/******/ // avoid mem leaks in IE.
|
|
328
|
+
/******/ script.onerror = script.onload = null;
|
|
329
|
+
/******/ clearTimeout(timeout);
|
|
330
|
+
/******/ var doneFns = inProgress[url];
|
|
331
|
+
/******/ delete inProgress[url];
|
|
332
|
+
/******/ script.parentNode && script.parentNode.removeChild(script);
|
|
333
|
+
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
|
|
334
|
+
/******/ if(prev) return prev(event);
|
|
335
|
+
/******/ }
|
|
336
|
+
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
|
337
|
+
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
|
338
|
+
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
|
339
|
+
/******/ needAttach && document.head.appendChild(script);
|
|
340
|
+
/******/ };
|
|
341
|
+
/******/ })();
|
|
342
|
+
/******/
|
|
207
343
|
/******/ /* webpack/runtime/make namespace object */
|
|
208
344
|
/******/ (() => {
|
|
209
345
|
/******/ // define __esModule on exports
|
|
@@ -215,6 +351,119 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__;
|
|
|
215
351
|
/******/ };
|
|
216
352
|
/******/ })();
|
|
217
353
|
/******/
|
|
354
|
+
/******/ /* webpack/runtime/publicPath */
|
|
355
|
+
/******/ (() => {
|
|
356
|
+
/******/ var scriptUrl;
|
|
357
|
+
/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
|
|
358
|
+
/******/ var document = __webpack_require__.g.document;
|
|
359
|
+
/******/ if (!scriptUrl && document) {
|
|
360
|
+
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
361
|
+
/******/ scriptUrl = document.currentScript.src;
|
|
362
|
+
/******/ if (!scriptUrl) {
|
|
363
|
+
/******/ var scripts = document.getElementsByTagName("script");
|
|
364
|
+
/******/ if(scripts.length) {
|
|
365
|
+
/******/ var i = scripts.length - 1;
|
|
366
|
+
/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
|
|
367
|
+
/******/ }
|
|
368
|
+
/******/ }
|
|
369
|
+
/******/ }
|
|
370
|
+
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
371
|
+
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
372
|
+
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
373
|
+
/******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
374
|
+
/******/ __webpack_require__.p = scriptUrl;
|
|
375
|
+
/******/ })();
|
|
376
|
+
/******/
|
|
377
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
378
|
+
/******/ (() => {
|
|
379
|
+
/******/ // no baseURI
|
|
380
|
+
/******/
|
|
381
|
+
/******/ // object to store loaded and loading chunks
|
|
382
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
383
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
384
|
+
/******/ var installedChunks = {
|
|
385
|
+
/******/ "tsparticles.preset.fireworks": 0
|
|
386
|
+
/******/ };
|
|
387
|
+
/******/
|
|
388
|
+
/******/ __webpack_require__.f.j = (chunkId, promises) => {
|
|
389
|
+
/******/ // JSONP chunk loading for javascript
|
|
390
|
+
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
391
|
+
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|
392
|
+
/******/
|
|
393
|
+
/******/ // a Promise means "currently loading".
|
|
394
|
+
/******/ if(installedChunkData) {
|
|
395
|
+
/******/ promises.push(installedChunkData[2]);
|
|
396
|
+
/******/ } else {
|
|
397
|
+
/******/ if(true) { // all chunks have JS
|
|
398
|
+
/******/ // setup Promise in chunk cache
|
|
399
|
+
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
|
|
400
|
+
/******/ promises.push(installedChunkData[2] = promise);
|
|
401
|
+
/******/
|
|
402
|
+
/******/ // start chunk loading
|
|
403
|
+
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
|
404
|
+
/******/ // create error before stack unwound to get useful stacktrace later
|
|
405
|
+
/******/ var error = new Error();
|
|
406
|
+
/******/ var loadingEnded = (event) => {
|
|
407
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
|
408
|
+
/******/ installedChunkData = installedChunks[chunkId];
|
|
409
|
+
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
|
410
|
+
/******/ if(installedChunkData) {
|
|
411
|
+
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
412
|
+
/******/ var realSrc = event && event.target && event.target.src;
|
|
413
|
+
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|
414
|
+
/******/ error.name = 'ChunkLoadError';
|
|
415
|
+
/******/ error.type = errorType;
|
|
416
|
+
/******/ error.request = realSrc;
|
|
417
|
+
/******/ installedChunkData[1](error);
|
|
418
|
+
/******/ }
|
|
419
|
+
/******/ }
|
|
420
|
+
/******/ };
|
|
421
|
+
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
|
422
|
+
/******/ }
|
|
423
|
+
/******/ }
|
|
424
|
+
/******/ }
|
|
425
|
+
/******/ };
|
|
426
|
+
/******/
|
|
427
|
+
/******/ // no prefetching
|
|
428
|
+
/******/
|
|
429
|
+
/******/ // no preloaded
|
|
430
|
+
/******/
|
|
431
|
+
/******/ // no HMR
|
|
432
|
+
/******/
|
|
433
|
+
/******/ // no HMR manifest
|
|
434
|
+
/******/
|
|
435
|
+
/******/ // no on chunks loaded
|
|
436
|
+
/******/
|
|
437
|
+
/******/ // install a JSONP callback for chunk loading
|
|
438
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
439
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
440
|
+
/******/ // add "moreModules" to the modules object,
|
|
441
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
442
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
443
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
444
|
+
/******/ for(moduleId in moreModules) {
|
|
445
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
446
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
447
|
+
/******/ }
|
|
448
|
+
/******/ }
|
|
449
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
450
|
+
/******/ }
|
|
451
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
452
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
453
|
+
/******/ chunkId = chunkIds[i];
|
|
454
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
455
|
+
/******/ installedChunks[chunkId][0]();
|
|
456
|
+
/******/ }
|
|
457
|
+
/******/ installedChunks[chunkId] = 0;
|
|
458
|
+
/******/ }
|
|
459
|
+
/******/
|
|
460
|
+
/******/ }
|
|
461
|
+
/******/
|
|
462
|
+
/******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || [];
|
|
463
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
464
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
465
|
+
/******/ })();
|
|
466
|
+
/******/
|
|
218
467
|
/************************************************************************/
|
|
219
468
|
/******/
|
|
220
469
|
/******/ // startup
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.preset.fireworks.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/updater-stroke-color"),require("@tsparticles/updater-life"),require("@tsparticles/updater-destroy"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-line"),require("@tsparticles/plugin-sounds"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/plugin-hex-color"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/effect-trail"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-stroke-color","@tsparticles/updater-life","@tsparticles/updater-destroy","@tsparticles/updater-rotate","@tsparticles/shape-line","@tsparticles/plugin-sounds","@tsparticles/plugin-rgb-color","@tsparticles/plugin-hsl-color","@tsparticles/plugin-hex-color","@tsparticles/plugin-emitters-shape-square","@tsparticles/effect-trail","@tsparticles/plugin-emitters","@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/updater-stroke-color"),require("@tsparticles/updater-life"),require("@tsparticles/updater-destroy"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-line"),require("@tsparticles/plugin-sounds"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/plugin-hex-color"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/effect-trail"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r,i,o,s,a,n,l,p,u,c,d,f)=>(()=>{var h,b,g,w,m={75(e){e.exports=t},126(e){e.exports=l},140(e){e.exports=p},145(e){e.exports=d},173(e){e.exports=r},227(t){t.exports=e},303(e){e.exports=f},308(e){e.exports=n},526(e){e.exports=c},637(e){e.exports=u},668(e){e.exports=i},872(e){e.exports=a},933(e){e.exports=s},983(e){e.exports=o}},v={};function y(e){var t=v[e];if(void 0!==t)return t.exports;var r=v[e]={exports:{}};return m[e](r,r.exports,y),r.exports}y.m=m,b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);y.r(r);var i={};h=h||[null,b({}),b([]),b(b)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~h.indexOf(o);o=b(o))Object.getOwnPropertyNames(o).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,y.d(r,i),r},y.d=(e,t)=>{for(var r in t)y.o(t,r)&&!y.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce((t,r)=>(y.f[r](e,t),t),[])),y.u=e=>e+".min.js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),g={},w="@tsparticles/preset-fireworks:",y.l=(e,t,r,i)=>{if(g[e])g[e].push(t);else{var o,s;if(void 0!==r)for(var a=document.getElementsByTagName("script"),n=0;n<a.length;n++){var l=a[n];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==w+r){o=l;break}}o||(s=!0,(o=document.createElement("script")).charset="utf-8",y.nc&&o.setAttribute("nonce",y.nc),o.setAttribute("data-webpack",w+r),o.src=e),g[e]=[t];var p=(t,r)=>{o.onerror=o.onload=null,clearTimeout(u);var i=g[e];if(delete g[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(r)),t)return t(r)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),s&&document.head.appendChild(o)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var t=y.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=r[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),y.p=e})(),(()=>{var e={842:0};y.f.j=(t,r)=>{var i=y.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((r,o)=>i=e[t]=[r,o]);r.push(i[2]=o);var s=y.p+y.u(t),a=new Error;y.l(s,r=>{if(y.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",a.name="ChunkLoadError",a.type=o,a.request=s,i[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var i,o,[s,a,n]=r,l=0;if(s.some(t=>0!==e[t])){for(i in a)y.o(a,i)&&(y.m[i]=a[i]);if(n)n(y)}for(t&&t(r);l<s.length;l++)o=s[l],y.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var q={};function P(e){e.register(async e=>{const{loadBasic:t}=await Promise.resolve().then(y.t.bind(y,145,19)),{loadEmittersPlugin:r}=await Promise.resolve().then(y.t.bind(y,526,19)),{loadTrailEffect:i}=await Promise.resolve().then(y.t.bind(y,637,19)),{loadEmittersShapeSquare:o}=await Promise.resolve().then(y.t.bind(y,140,19)),{loadHexColorPlugin:s}=await Promise.resolve().then(y.t.bind(y,126,19)),{loadHslColorPlugin:a}=await Promise.resolve().then(y.t.bind(y,308,19)),{loadRgbColorPlugin:n}=await Promise.resolve().then(y.t.bind(y,872,19)),{loadSoundsPlugin:l}=await Promise.resolve().then(y.t.bind(y,933,19)),{loadLineShape:p}=await Promise.resolve().then(y.t.bind(y,983,19)),{loadRotateUpdater:u}=await Promise.resolve().then(y.t.bind(y,668,19)),{loadDestroyUpdater:c}=await Promise.resolve().then(y.t.bind(y,173,19)),{loadLifeUpdater:d}=await Promise.resolve().then(y.t.bind(y,75,19)),{loadStrokeColorUpdater:f}=await Promise.resolve().then(y.t.bind(y,227,19)),{initOptions:h,presetName:b}=await y.e(283).then(y.bind(y,283));t(e),s(e),a(e),n(e),r(e),i(e),o(e),l(e),p(e),u(e),c(e),d(e),f(e),e.addPreset(b,h(),!1)})}return y.r(q),y.d(q,{loadFireworksPreset:()=>P}),q})());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Fireworks Preset
|
|
1
|
+
/*! tsParticles Fireworks Preset v4.0.0-alpha.0 by Matteo Bruni */
|
package/types/bundle.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { loadFireworksPreset, tsParticles };
|
|
1
|
+
export { loadFireworksPreset } from "./index.js";
|
|
2
|
+
export { tsParticles } from "@tsparticles/engine";
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Engine } from "@tsparticles/engine";
|
|
2
|
-
export declare function loadFireworksPreset(engine: Engine
|
|
2
|
+
export declare function loadFireworksPreset(engine: Engine): void;
|
package/types/options.d.ts
CHANGED