@tsparticles/preset-fireworks 4.0.0-alpha.1 → 4.0.0-alpha.4

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 (210) hide show
  1. package/110.min.js +1 -0
  2. package/115.min.js +1 -0
  3. package/120.min.js +1 -0
  4. package/15.min.js +1 -0
  5. package/154.min.js +1 -0
  6. package/162.min.js +1 -0
  7. package/163.min.js +33 -0
  8. package/177.min.js +1 -0
  9. package/218.min.js +1 -0
  10. package/219.min.js +1 -0
  11. package/227.min.js +1 -0
  12. package/239.min.js +1 -0
  13. package/240.min.js +1 -0
  14. package/252.min.js +1 -0
  15. package/258.min.js +1 -0
  16. package/26.min.js +1 -0
  17. package/298.min.js +1 -0
  18. package/323.min.js +1 -0
  19. package/341.min.js +1 -0
  20. package/355.min.js +1 -0
  21. package/359.min.js +1 -0
  22. package/386.min.js +1 -0
  23. package/388.min.js +1 -0
  24. package/402.min.js +1 -0
  25. package/418.min.js +1 -2
  26. package/486.min.js +1 -0
  27. package/488.min.js +1 -2
  28. package/491.min.js +1 -0
  29. package/542.min.js +1 -0
  30. package/551.min.js +1 -0
  31. package/571.min.js +1 -0
  32. package/584.min.js +1 -0
  33. package/634.min.js +1 -0
  34. package/646.min.js +1 -0
  35. package/654.min.js +1 -0
  36. package/662.min.js +1 -0
  37. package/666.min.js +1 -0
  38. package/668.min.js +1 -0
  39. package/68.min.js +1 -0
  40. package/714.min.js +1 -0
  41. package/72.min.js +1 -0
  42. package/722.min.js +1 -0
  43. package/835.min.js +1 -0
  44. package/837.min.js +1 -0
  45. package/876.min.js +1 -0
  46. package/891.min.js +1 -0
  47. package/939.min.js +1 -0
  48. package/96.min.js +1 -0
  49. package/browser/index.js +17 -16
  50. package/browser/options.js +0 -1
  51. package/cjs/index.js +17 -16
  52. package/cjs/options.js +0 -1
  53. package/dist_browser_options_js.js +2 -2
  54. package/esm/index.js +17 -16
  55. package/esm/options.js +0 -1
  56. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_14_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  57. package/{node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_2_node_modules_tsparticles_effect-trai-8c7216.js → node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_14_node_modules_tsparticles_effect-tra-79faa6.js} +7 -7
  58. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_14_node_modules_tsparticles_effect-tra-e1d476.js +30 -0
  59. package/{node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a.js → node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_14_node_modules_tsparticles_move-base_bro-0258ba.js} +7 -7
  60. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_14_node_modules_tsparticles_move-base_bro-5558e3.js +40 -0
  61. package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cafd8c.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_14_node_modules_tspart-1854a5.js} +7 -7
  62. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_14_node_modules_tspart-acf999.js +70 -0
  63. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--01c506.js +50 -0
  64. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-122a51.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--0e469e.js} +7 -7
  65. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--a27da9.js +30 -0
  66. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--da9aa3.js +90 -0
  67. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--e12e29.js +90 -0
  68. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-5a675f.js} +7 -7
  69. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-bd3833.js} +7 -7
  70. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-651bc0.js} +7 -7
  71. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9b85f2.js +30 -0
  72. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tsparticles_pl-07239f.js +120 -0
  73. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tsparticles_pl-20b658.js +70 -0
  74. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-2d40c5.js} +7 -7
  75. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9d691b.js +30 -0
  76. package/{node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_plugin-sou-6e6a34.js → node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_14_node_modules_tsparticles_plugin-so-dc7531.js} +7 -7
  77. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_14_node_modules_tsparticles_shape-circ-21bd73.js +40 -0
  78. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-ce96e8.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_14_node_modules_tsparticles_shape-circ-365204.js} +7 -7
  79. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_2_node_modules_tsparticles_shape-line_br-eb7b65.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_14_node_modules_tsparticles_shape-line_b-275ffe.js} +12 -12
  80. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_2_node_modules_tsparticles_shape-line_br-01d607.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_14_node_modules_tsparticles_shape-line_b-33a49d.js} +7 -7
  81. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-6ff909.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_14_node_modules_tsparticles_updater-c-a242d8.js} +7 -7
  82. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-210bd6.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_14_node_modules_tsparticles_updater-c-ed63c1.js} +7 -7
  83. package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_14_node_modules_tsparticles_updater-2645de.js +100 -0
  84. package/{node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_2_node_modules_tsparticles_updater--f71d4c.js → node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_14_node_modules_tsparticles_updater-5833c9.js} +7 -7
  85. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-50f821.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_14_node_modules_tsparticles_updater-li-b2cf28.js} +7 -7
  86. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_14_node_modules_tsparticles_updater-li-bdb0d6.js +70 -0
  87. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_14_node_modules_tsparticles_updater-2e428a.js +30 -0
  88. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--4e8c57.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_14_node_modules_tsparticles_updater-349756.js} +7 -7
  89. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticles_update-cd317f.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_14_node_modules_tsparticles_updat-54df0b.js} +7 -7
  90. package/{node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-0de212.js → node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_14_node_modules_tsparticles_updater--2bc889.js} +7 -7
  91. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_14_node_modules_tsparticles_updater--9ebf81.js +50 -0
  92. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-1784d7.js +30 -0
  93. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-9bb044.js} +7 -7
  94. package/{node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-74b323.js → node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-06cc80.js} +7 -7
  95. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-58f25b.js +30 -0
  96. package/package.json +15 -15
  97. package/report.html +3 -3
  98. package/tsparticles.preset.fireworks.bundle.js +301 -481
  99. package/tsparticles.preset.fireworks.bundle.min.js +2 -2
  100. package/tsparticles.preset.fireworks.js +2 -2
  101. package/tsparticles.preset.fireworks.min.js +2 -2
  102. package/types/index.d.ts +1 -1
  103. package/types/options.d.ts +0 -1
  104. package/umd/index.js +17 -16
  105. package/umd/options.js +0 -2
  106. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_14_node_modules_tsparticles_engine_b-f5db4e.js +90 -0
  107. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles-2b5629.js +30 -0
  108. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles-88ac5e.js +200 -0
  109. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tspart-261f0c.js +50 -0
  110. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_14_node_modules_tsparticles_p-50eeb2.js +40 -0
  111. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_14_node_modules_tsparticles_p-a4b657.js +130 -0
  112. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_14_node_modules_tsparticl-56603a.js +80 -0
  113. package/125.min.js +0 -2
  114. package/125.min.js.LICENSE.txt +0 -1
  115. package/171.min.js +0 -2
  116. package/171.min.js.LICENSE.txt +0 -1
  117. package/213.min.js +0 -2
  118. package/213.min.js.LICENSE.txt +0 -1
  119. package/22.min.js +0 -2
  120. package/22.min.js.LICENSE.txt +0 -1
  121. package/226.min.js +0 -2
  122. package/226.min.js.LICENSE.txt +0 -1
  123. package/237.min.js +0 -2
  124. package/237.min.js.LICENSE.txt +0 -1
  125. package/264.min.js +0 -2
  126. package/264.min.js.LICENSE.txt +0 -1
  127. package/267.min.js +0 -2
  128. package/267.min.js.LICENSE.txt +0 -1
  129. package/280.min.js +0 -2
  130. package/280.min.js.LICENSE.txt +0 -1
  131. package/283.min.js +0 -2
  132. package/283.min.js.LICENSE.txt +0 -1
  133. package/301.min.js +0 -2
  134. package/301.min.js.LICENSE.txt +0 -1
  135. package/313.min.js +0 -2
  136. package/313.min.js.LICENSE.txt +0 -1
  137. package/319.min.js +0 -2
  138. package/319.min.js.LICENSE.txt +0 -1
  139. package/349.min.js +0 -2
  140. package/349.min.js.LICENSE.txt +0 -1
  141. package/389.min.js +0 -2
  142. package/389.min.js.LICENSE.txt +0 -1
  143. package/397.min.js +0 -2
  144. package/397.min.js.LICENSE.txt +0 -1
  145. package/418.min.js.LICENSE.txt +0 -1
  146. package/453.min.js +0 -2
  147. package/453.min.js.LICENSE.txt +0 -1
  148. package/455.min.js +0 -2
  149. package/455.min.js.LICENSE.txt +0 -1
  150. package/459.min.js +0 -2
  151. package/459.min.js.LICENSE.txt +0 -1
  152. package/477.min.js +0 -2
  153. package/477.min.js.LICENSE.txt +0 -1
  154. package/481.min.js +0 -2
  155. package/481.min.js.LICENSE.txt +0 -1
  156. package/488.min.js.LICENSE.txt +0 -1
  157. package/49.min.js +0 -2
  158. package/49.min.js.LICENSE.txt +0 -1
  159. package/509.min.js +0 -2
  160. package/509.min.js.LICENSE.txt +0 -1
  161. package/527.min.js +0 -2
  162. package/527.min.js.LICENSE.txt +0 -1
  163. package/541.min.js +0 -2
  164. package/541.min.js.LICENSE.txt +0 -1
  165. package/597.min.js +0 -2
  166. package/597.min.js.LICENSE.txt +0 -1
  167. package/633.min.js +0 -2
  168. package/633.min.js.LICENSE.txt +0 -1
  169. package/637.min.js +0 -2
  170. package/637.min.js.LICENSE.txt +0 -1
  171. package/669.min.js +0 -2
  172. package/669.min.js.LICENSE.txt +0 -1
  173. package/751.min.js +0 -2
  174. package/751.min.js.LICENSE.txt +0 -1
  175. package/802.min.js +0 -2
  176. package/802.min.js.LICENSE.txt +0 -1
  177. package/803.min.js +0 -2
  178. package/803.min.js.LICENSE.txt +0 -1
  179. package/819.min.js +0 -2
  180. package/819.min.js.LICENSE.txt +0 -1
  181. package/829.min.js +0 -2
  182. package/829.min.js.LICENSE.txt +0 -1
  183. package/890.min.js +0 -2
  184. package/890.min.js.LICENSE.txt +0 -1
  185. package/908.min.js +0 -2
  186. package/908.min.js.LICENSE.txt +0 -1
  187. package/926.min.js +0 -2
  188. package/926.min.js.LICENSE.txt +0 -1
  189. package/98.min.js +0 -2
  190. package/98.min.js.LICENSE.txt +0 -1
  191. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_2_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  192. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_2_node_modules_tsparticles_effect-trai-3395e5.js +0 -30
  193. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +0 -40
  194. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cf2f58.js +0 -70
  195. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-6bd6f8.js +0 -50
  196. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9.js +0 -30
  197. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df.js +0 -30
  198. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489.js +0 -40
  199. package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_2_node_modules_tsparticles_updater--cef2d9.js +0 -100
  200. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-dbf90f.js +0 -70
  201. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--ac14ff.js +0 -30
  202. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-e97427.js +0 -50
  203. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117.js +0 -30
  204. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-ca004c.js +0 -30
  205. package/tsparticles.preset.fireworks.bundle.min.js.LICENSE.txt +0 -1
  206. package/tsparticles.preset.fireworks.min.js.LICENSE.txt +0 -1
  207. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_2_node_modules_tsparticles_engine_br-9c0a0f.js +0 -100
  208. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_-1e60b5.js +0 -110
  209. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_pl-a36589.js +0 -140
  210. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticle-124574.js +0 -80
@@ -0,0 +1,50 @@
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-alpha.4
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_14_node_modules_tsparticles_updater--9ebf81"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js"
21
+ /*!******************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js ***!
23
+ \******************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Rotate: () => (/* binding */ Rotate)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.14/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _RotateAnimation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./RotateAnimation.js */ \"../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js\");\n\n\nclass Rotate extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n animation;\n direction;\n path;\n constructor() {\n super();\n this.animation = new _RotateAnimation_js__WEBPACK_IMPORTED_MODULE_1__.RotateAnimation();\n this.direction = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise;\n this.path = false;\n this.value = 0;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n super.load(data);\n if (data.direction !== undefined) {\n this.direction = data.direction;\n }\n this.animation.load(data.animation);\n if (data.path !== undefined) {\n this.path = data.path;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js"
31
+ /*!***************************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js ***!
33
+ \***************************************************************************************************************************************************************/
34
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
+
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RotateAnimation: () => (/* binding */ RotateAnimation)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.14/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass RotateAnimation {\n decay;\n enable;\n speed;\n sync;\n constructor() {\n this.enable = false;\n this.speed = 0;\n this.decay = 0;\n this.sync = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.speed !== undefined) {\n this.speed = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.speed);\n }\n if (data.decay !== undefined) {\n this.decay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.decay);\n }\n if (data.sync !== undefined) {\n this.sync = data.sync;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js"
41
+ /*!*********************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js ***!
43
+ \*********************************************************************************************************************************************/
44
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45
+
46
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RotateUpdater: () => (/* binding */ RotateUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.14/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Options_Classes_Rotate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Rotate.js */ \"../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js\");\n\n\nconst doublePIDeg = 360;\nclass RotateUpdater {\n container;\n constructor(container) {\n this.container = container;\n }\n init(particle) {\n const rotateOptions = particle.options.rotate;\n if (!rotateOptions) {\n return;\n }\n particle.rotate = {\n enable: rotateOptions.animation.enable,\n value: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(rotateOptions.value)),\n min: 0,\n max: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI,\n };\n particle.pathRotation = rotateOptions.path;\n let rotateDirection = rotateOptions.direction;\n if (rotateDirection === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.random) {\n const index = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double), minIndex = 0;\n rotateDirection = index > minIndex ? _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.counterClockwise : _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise;\n }\n switch (rotateDirection) {\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.counterClockwise:\n case \"counterClockwise\":\n particle.rotate.status = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimationStatus.decreasing;\n break;\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise:\n particle.rotate.status = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimationStatus.increasing;\n break;\n default:\n break;\n }\n const rotateAnimation = rotateOptions.animation;\n if (rotateAnimation.enable) {\n particle.rotate.decay = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.identity - (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(rotateAnimation.decay);\n particle.rotate.velocity =\n ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(rotateAnimation.speed) / doublePIDeg) * this.container.retina.reduceFactor;\n if (!rotateAnimation.sync) {\n particle.rotate.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n particle.rotation = particle.rotate.value;\n }\n isEnabled(particle) {\n const rotate = particle.options.rotate;\n if (!rotate) {\n return false;\n }\n return !particle.destroyed && !particle.spawning && (!!rotate.value || rotate.animation.enable || rotate.path);\n }\n loadOptions(options, ...sources) {\n options.rotate ??= new _Options_Classes_Rotate_js__WEBPACK_IMPORTED_MODULE_1__.Rotate();\n for (const source of sources) {\n options.rotate.load(source?.rotate);\n }\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n particle.isRotating = !!particle.rotate;\n if (!particle.rotate) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.rotate, false, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.none, delta);\n particle.rotation = particle.rotate.value;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-rotate@4.0.0-alpha.14/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js?\n}");
47
+
48
+ /***/ }
49
+
50
+ }]);
@@ -0,0 +1,30 @@
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-alpha.4
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-1784d7"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js"
21
+ /*!***************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js ***!
23
+ \***************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SizeUpdater: () => (/* binding */ SizeUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.14/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minLoops = 0;\nclass SizeUpdater {\n init(particle) {\n const container = particle.container, sizeOptions = particle.options.size, sizeAnimation = sizeOptions.animation;\n if (sizeAnimation.enable) {\n particle.size.velocity =\n ((particle.retina.sizeAnimationSpeed ?? container.retina.sizeAnimationSpeed) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator) *\n container.retina.reduceFactor;\n if (!sizeAnimation.sync) {\n particle.size.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n }\n isEnabled(particle) {\n return (!particle.destroyed &&\n !particle.spawning &&\n particle.size.enable &&\n ((particle.size.maxLoops ?? minLoops) <= minLoops ||\n ((particle.size.maxLoops ?? minLoops) > minLoops &&\n (particle.size.loops ?? minLoops) < (particle.size.maxLoops ?? minLoops))));\n }\n reset(particle) {\n particle.size.loops = minLoops;\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.size, true, particle.options.size.animation.destroy, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -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
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.4
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-9bb044"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.2/node_modules/@tsparticles/updater-size/browser/index.js"
21
- /*!********************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.2/node_modules/@tsparticles/updater-size/browser/index.js ***!
23
- \********************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/index.js"
21
+ /*!*********************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/index.js ***!
23
+ \*********************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSizeUpdater: () => (/* binding */ loadSizeUpdater)\n/* harmony export */ });\nfunction loadSizeUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addParticleUpdater(\"size\", async () => {\n const { SizeUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117\").then(__webpack_require__.bind(__webpack_require__, /*! ./SizeUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.2/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js\"));\n return new SizeUpdater();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.2/node_modules/@tsparticles/updater-size/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSizeUpdater: () => (/* binding */ loadSizeUpdater)\n/* harmony export */ });\nasync function loadSizeUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.14\");\n await engine.register(e => {\n e.addParticleUpdater(\"size\", async () => {\n const { SizeUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-1784d7\").then(__webpack_require__.bind(__webpack_require__, /*! ./SizeUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js\"));\n return new SizeUpdater();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.14/node_modules/@tsparticles/updater-size/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -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
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.4
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-74b323"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-06cc80"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.2/node_modules/@tsparticles/updater-stroke-color/browser/index.js"
21
- /*!************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.2/node_modules/@tsparticles/updater-stroke-color/browser/index.js ***!
23
- \************************************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/index.js"
21
+ /*!*************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/index.js ***!
23
+ \*************************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadStrokeColorUpdater: () => (/* binding */ loadStrokeColorUpdater)\n/* harmony export */ });\nfunction loadStrokeColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addParticleUpdater(\"strokeColor\", async (container) => {\n const { StrokeColorUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-ca004c\").then(__webpack_require__.bind(__webpack_require__, /*! ./StrokeColorUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.2/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js\"));\n return new StrokeColorUpdater(e, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.2/node_modules/@tsparticles/updater-stroke-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadStrokeColorUpdater: () => (/* binding */ loadStrokeColorUpdater)\n/* harmony export */ });\nasync function loadStrokeColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.14\");\n await engine.register(e => {\n e.addParticleUpdater(\"strokeColor\", async (container) => {\n const { StrokeColorUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-58f25b\").then(__webpack_require__.bind(__webpack_require__, /*! ./StrokeColorUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js\"));\n return new StrokeColorUpdater(e, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -0,0 +1,30 @@
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-alpha.4
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-58f25b"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js"
21
+ /*!**************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js ***!
23
+ \**************************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StrokeColorUpdater: () => (/* binding */ StrokeColorUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.14/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst defaultOpacity = 1;\nclass StrokeColorUpdater {\n _container;\n _engine;\n constructor(engine, container) {\n this._container = container;\n this._engine = engine;\n }\n init(particle) {\n const container = this._container, options = particle.options, stroke = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.stroke, particle.id, options.reduceDuplicates);\n if (!stroke) {\n return;\n }\n particle.strokeWidth = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(stroke.width) * container.retina.pixelRatio;\n particle.strokeOpacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(stroke.opacity ?? defaultOpacity);\n particle.strokeAnimation = stroke.color?.animation;\n const strokeHslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._engine, stroke.color) ?? particle.getFillColor();\n if (strokeHslColor) {\n particle.strokeColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(strokeHslColor, particle.strokeAnimation, container.retina.reduceFactor);\n }\n }\n isEnabled(particle) {\n const color = particle.strokeAnimation, { strokeColor } = particle;\n return (!particle.destroyed &&\n !particle.spawning &&\n !!color &&\n ((strokeColor?.h.value !== undefined && strokeColor.h.enable) ||\n (strokeColor?.s.value !== undefined && strokeColor.s.enable) ||\n (strokeColor?.l.value !== undefined && strokeColor.l.enable)));\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.strokeColor, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.14/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-fireworks",
3
- "version": "4.0.0-alpha.1",
3
+ "version": "4.0.0-alpha.4",
4
4
  "description": "tsParticles fireworks preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -99,20 +99,20 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/basic": "^4.0.0-alpha.2",
103
- "@tsparticles/effect-trail": "^4.0.0-alpha.2",
104
- "@tsparticles/engine": "^4.0.0-alpha.2",
105
- "@tsparticles/plugin-emitters": "^4.0.0-alpha.2",
106
- "@tsparticles/plugin-emitters-shape-square": "^4.0.0-alpha.2",
107
- "@tsparticles/plugin-hex-color": "^4.0.0-alpha.2",
108
- "@tsparticles/plugin-hsl-color": "^4.0.0-alpha.2",
109
- "@tsparticles/plugin-rgb-color": "^4.0.0-alpha.2",
110
- "@tsparticles/plugin-sounds": "^4.0.0-alpha.2",
111
- "@tsparticles/shape-line": "^4.0.0-alpha.2",
112
- "@tsparticles/updater-destroy": "^4.0.0-alpha.2",
113
- "@tsparticles/updater-life": "^4.0.0-alpha.2",
114
- "@tsparticles/updater-rotate": "^4.0.0-alpha.2",
115
- "@tsparticles/updater-stroke-color": "^4.0.0-alpha.2"
102
+ "@tsparticles/basic": "^4.0.0-alpha.14",
103
+ "@tsparticles/effect-trail": "^4.0.0-alpha.14",
104
+ "@tsparticles/engine": "^4.0.0-alpha.14",
105
+ "@tsparticles/plugin-emitters": "^4.0.0-alpha.14",
106
+ "@tsparticles/plugin-emitters-shape-square": "^4.0.0-alpha.14",
107
+ "@tsparticles/plugin-hex-color": "^4.0.0-alpha.14",
108
+ "@tsparticles/plugin-hsl-color": "^4.0.0-alpha.14",
109
+ "@tsparticles/plugin-rgb-color": "^4.0.0-alpha.14",
110
+ "@tsparticles/plugin-sounds": "^4.0.0-alpha.14",
111
+ "@tsparticles/shape-line": "^4.0.0-alpha.14",
112
+ "@tsparticles/updater-destroy": "^4.0.0-alpha.14",
113
+ "@tsparticles/updater-life": "^4.0.0-alpha.14",
114
+ "@tsparticles/updater-rotate": "^4.0.0-alpha.14",
115
+ "@tsparticles/updater-stroke-color": "^4.0.0-alpha.14"
116
116
  },
117
117
  "publishConfig": {
118
118
  "access": "public"