@tsparticles/preset-fireworks 4.0.0-alpha.4 → 4.0.0-beta.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.
Files changed (194) hide show
  1. package/1200.min.js +1 -0
  2. package/1361.min.js +1 -0
  3. package/1467.min.js +1 -0
  4. package/188.min.js +1 -0
  5. package/2086.min.js +1 -0
  6. package/2220.min.js +1 -0
  7. package/2902.min.js +1 -0
  8. package/2921.min.js +1 -0
  9. package/3010.min.js +1 -0
  10. package/3048.min.js +1 -0
  11. package/3072.min.js +1 -0
  12. package/{323.min.js → 311.min.js} +1 -1
  13. package/3153.min.js +1 -0
  14. package/3172.min.js +1 -0
  15. package/3326.min.js +1 -0
  16. package/361.min.js +1 -0
  17. package/3659.min.js +1 -0
  18. package/3784.min.js +1 -0
  19. package/3805.min.js +1 -0
  20. package/{163.min.js → 383.min.js} +2 -2
  21. package/4244.min.js +1 -0
  22. package/4750.min.js +1 -0
  23. package/4925.min.js +1 -0
  24. package/4957.min.js +1 -0
  25. package/5074.min.js +1 -0
  26. package/5647.min.js +1 -0
  27. package/5824.min.js +1 -0
  28. package/5857.min.js +1 -0
  29. package/6592.min.js +1 -0
  30. package/6700.min.js +1 -0
  31. package/6714.min.js +1 -0
  32. package/6895.min.js +1 -0
  33. package/7063.min.js +1 -0
  34. package/7072.min.js +1 -0
  35. package/7260.min.js +1 -0
  36. package/7404.min.js +1 -0
  37. package/7430.min.js +1 -0
  38. package/7632.min.js +1 -0
  39. package/7856.min.js +1 -0
  40. package/8304.min.js +1 -0
  41. package/8619.min.js +1 -0
  42. package/8738.min.js +1 -0
  43. package/8778.min.js +1 -0
  44. package/892.min.js +1 -0
  45. package/8998.min.js +1 -0
  46. package/915.min.js +1 -0
  47. package/9245.min.js +1 -0
  48. package/9358.min.js +1 -0
  49. package/9392.min.js +1 -0
  50. package/9719.min.js +1 -0
  51. package/9976.min.js +1 -0
  52. package/README.md +55 -3
  53. package/browser/index.js +27 -16
  54. package/browser/options.js +22 -41
  55. package/cjs/index.js +27 -16
  56. package/cjs/options.js +22 -41
  57. package/dist_browser_options_js.js +2 -2
  58. package/esm/index.js +27 -16
  59. package/esm/options.js +22 -41
  60. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  61. package/{node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_14_node_modules_tsparticles_effect-tra-79faa6.js → node_modules_pnpm_tsparticles_effect-trail_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-8a5947.js} +7 -7
  62. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-cb9e7e.js +30 -0
  63. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-beta_11__tsparticles_engine_-85b81e.js +100 -0
  64. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-beta_11__tsparticles_engine_-8b05f0.js +30 -0
  65. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-09a57e.js +100 -0
  66. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-65b417.js +80 -0
  67. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-74f6c1.js +50 -0
  68. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7e9977.js +30 -0
  69. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7f13fa.js +30 -0
  70. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--0e469e.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-b6bb50.js} +7 -7
  71. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-cf6e0a.js +30 -0
  72. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-daf8cd.js +100 -0
  73. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-bd3833.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js} +7 -7
  74. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-5a675f.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js} +7 -7
  75. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +30 -0
  76. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-651bc0.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js} +7 -7
  77. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +120 -0
  78. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +70 -0
  79. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +30 -0
  80. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +30 -0
  81. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +30 -0
  82. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-2d40c5.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js} +7 -7
  83. package/{node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_14_node_modules_tsparticles_plugin-so-dc7531.js → node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-3d7d15.js} +7 -7
  84. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +40 -0
  85. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_14_node_modules_tsparticles_shape-circ-365204.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js} +7 -7
  86. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_14_node_modules_tsparticles_shape-line_b-275ffe.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_node-06caa0.js} +12 -12
  87. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_14_node_modules_tsparticles_shape-line_b-33a49d.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_node-8f1b2c.js} +7 -7
  88. package/{node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_14_node_modules_tsparticles_updater-5833c9.js → node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7f9f4b.js} +7 -7
  89. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9cea59.js +70 -0
  90. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_14_node_modules_tsparticles_updater-li-b2cf28.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a724a4.js} +7 -7
  91. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +30 -0
  92. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_14_node_modules_tsparticles_updater-349756.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js} +7 -7
  93. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_14_node_modules_tsparticles_updat-54df0b.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js} +7 -7
  94. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +30 -0
  95. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +30 -0
  96. package/{node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_14_node_modules_tsparticles_updater--2bc889.js → node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-03eda6.js} +7 -7
  97. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-6626aa.js +50 -0
  98. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +30 -0
  99. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-9bb044.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js} +7 -7
  100. package/package.json +11 -15
  101. package/report.html +84 -29
  102. package/tsparticles.preset.fireworks.bundle.js +331 -321
  103. package/tsparticles.preset.fireworks.bundle.min.js +2 -2
  104. package/tsparticles.preset.fireworks.js +22 -62
  105. package/tsparticles.preset.fireworks.min.js +2 -2
  106. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +100 -0
  107. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-6e84d5.js +30 -0
  108. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-f34432.js +210 -0
  109. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +50 -0
  110. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +40 -0
  111. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_11__tsparticles_engine_4_0_0-b-2693cf.js +130 -0
  112. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_11__tsparticles_engine_4_0_0-b-9529dd.js +40 -0
  113. package/vendors-node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_11__tsparticles_engine_4_0_0-194b6c.js +100 -0
  114. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +80 -0
  115. package/110.min.js +0 -1
  116. package/115.min.js +0 -1
  117. package/120.min.js +0 -1
  118. package/15.min.js +0 -1
  119. package/154.min.js +0 -1
  120. package/162.min.js +0 -1
  121. package/177.min.js +0 -1
  122. package/218.min.js +0 -1
  123. package/219.min.js +0 -1
  124. package/227.min.js +0 -1
  125. package/239.min.js +0 -1
  126. package/240.min.js +0 -1
  127. package/252.min.js +0 -1
  128. package/258.min.js +0 -1
  129. package/26.min.js +0 -1
  130. package/298.min.js +0 -1
  131. package/341.min.js +0 -1
  132. package/355.min.js +0 -1
  133. package/359.min.js +0 -1
  134. package/386.min.js +0 -1
  135. package/388.min.js +0 -1
  136. package/402.min.js +0 -1
  137. package/418.min.js +0 -1
  138. package/486.min.js +0 -1
  139. package/488.min.js +0 -1
  140. package/491.min.js +0 -1
  141. package/542.min.js +0 -1
  142. package/551.min.js +0 -1
  143. package/571.min.js +0 -1
  144. package/584.min.js +0 -1
  145. package/634.min.js +0 -1
  146. package/646.min.js +0 -1
  147. package/654.min.js +0 -1
  148. package/662.min.js +0 -1
  149. package/666.min.js +0 -1
  150. package/668.min.js +0 -1
  151. package/68.min.js +0 -1
  152. package/714.min.js +0 -1
  153. package/72.min.js +0 -1
  154. package/722.min.js +0 -1
  155. package/835.min.js +0 -1
  156. package/837.min.js +0 -1
  157. package/876.min.js +0 -1
  158. package/891.min.js +0 -1
  159. package/939.min.js +0 -1
  160. package/96.min.js +0 -1
  161. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_14_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  162. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_14_node_modules_tsparticles_effect-tra-e1d476.js +0 -30
  163. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_14_node_modules_tsparticles_move-base_bro-0258ba.js +0 -30
  164. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_14_node_modules_tsparticles_move-base_bro-5558e3.js +0 -40
  165. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_14_node_modules_tspart-1854a5.js +0 -30
  166. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_14_node_modules_tspart-acf999.js +0 -70
  167. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--01c506.js +0 -50
  168. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--a27da9.js +0 -30
  169. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--da9aa3.js +0 -90
  170. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--e12e29.js +0 -90
  171. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9b85f2.js +0 -30
  172. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tsparticles_pl-07239f.js +0 -120
  173. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tsparticles_pl-20b658.js +0 -70
  174. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9d691b.js +0 -30
  175. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_14_node_modules_tsparticles_shape-circ-21bd73.js +0 -40
  176. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_14_node_modules_tsparticles_updater-c-a242d8.js +0 -30
  177. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_14_node_modules_tsparticles_updater-c-ed63c1.js +0 -30
  178. package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_14_node_modules_tsparticles_updater-2645de.js +0 -100
  179. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_14_node_modules_tsparticles_updater-li-bdb0d6.js +0 -70
  180. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_14_node_modules_tsparticles_updater-2e428a.js +0 -30
  181. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_14_node_modules_tsparticles_updater--9ebf81.js +0 -50
  182. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-1784d7.js +0 -30
  183. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-06cc80.js +0 -30
  184. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_14_node_modules_tsparticles_up-58f25b.js +0 -30
  185. package/umd/bundle.js +0 -17
  186. package/umd/index.js +0 -67
  187. package/umd/options.js +0 -288
  188. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_14_node_modules_tsparticles_engine_b-f5db4e.js +0 -90
  189. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles-2b5629.js +0 -30
  190. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles-88ac5e.js +0 -200
  191. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tspart-261f0c.js +0 -50
  192. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_14_node_modules_tsparticles_p-50eeb2.js +0 -40
  193. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_14_node_modules_tsparticles_p-a4b657.js +0 -130
  194. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_14_node_modules_tsparticl-56603a.js +0 -80
@@ -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.4
7
+ * v4.0.0-beta.0
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_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--0e469e"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-b6bb50"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-alpha.14/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js"
21
- /*!**********************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-alpha.14/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js ***!
23
- \**********************************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js"
21
+ /*!***************************************************************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.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 */ ShapeManager: () => (/* binding */ ShapeManager)\n/* harmony export */ });\nconst shapeGenerators = new Map();\nclass ShapeManager {\n addShapeGenerator(name, generator) {\n if (!this.getShapeGenerator(name)) {\n shapeGenerators.set(name, generator);\n }\n }\n getShapeGenerator(name) {\n return shapeGenerators.get(name);\n }\n getSupportedShapeGenerators() {\n return shapeGenerators.keys();\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-alpha.14/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ShapeManager: () => (/* binding */ ShapeManager)\n/* harmony export */ });\nconst shapeGenerators = new Map();\nclass ShapeManager {\n addShapeGenerator(name, generator) {\n if (!this.getShapeGenerator(name)) {\n shapeGenerators.set(name, generator);\n }\n }\n getShapeGenerator(name) {\n return shapeGenerators.get(name);\n }\n getSupportedShapeGenerators() {\n return shapeGenerators.keys();\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.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-beta.0
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_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-cf6e0a"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/addEmittersShapesManager.js"
21
+ /*!***************************************************************************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/addEmittersShapesManager.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 */ addEmittersShapesManager: () => (/* binding */ addEmittersShapesManager)\n/* harmony export */ });\nasync function addEmittersShapesManager(e) {\n const { ShapeManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-b6bb50\").then(__webpack_require__.bind(__webpack_require__, /*! ./ShapeManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js\")), pluginManager = e.pluginManager;\n pluginManager.emitterShapeManager ??= new ShapeManager();\n pluginManager.addEmitterShapeGenerator ??= (name, generator) => {\n pluginManager.emitterShapeManager?.addShapeGenerator(name, generator);\n };\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/addEmittersShapesManager.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,100 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-beta.0
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_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-daf8cd"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/EmittersPlugin.js"
21
+ /*!*****************************************************************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/EmittersPlugin.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 */ EmittersPlugin: () => (/* binding */ EmittersPlugin)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Emitter.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js\");\n\n\nclass EmittersPlugin {\n id = \"emitters\";\n _instancesManager;\n constructor(instancesManager) {\n this._instancesManager = instancesManager;\n }\n async getPlugin(container) {\n const { EmittersPluginInstance } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7e9977\").then(__webpack_require__.bind(__webpack_require__, /*! ./EmittersPluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/EmittersPluginInstance.js\"));\n return new EmittersPluginInstance(this._instancesManager, container);\n }\n loadOptions(_container, options, source) {\n if (!this.needsPlugin(options) && !this.needsPlugin(source)) {\n return;\n }\n if (source?.emitters) {\n options.emitters = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(source.emitters, emitter => {\n const tmp = new _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__.Emitter();\n tmp.load(emitter);\n return tmp;\n });\n }\n }\n needsPlugin(options) {\n if (!options) {\n return false;\n }\n const emitters = options.emitters;\n return ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(emitters) && !!emitters.length) || emitters !== undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/EmittersPlugin.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js"
31
+ /*!**************************************************************************************************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.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 */ Emitter: () => (/* binding */ Emitter)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _EmitterLife_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EmitterLife.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js\");\n/* harmony import */ var _EmitterRate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EmitterRate.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js\");\n/* harmony import */ var _EmitterShape_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EmitterShape.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js\");\n/* harmony import */ var _EmitterSize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./EmitterSize.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js\");\n/* harmony import */ var _EmitterSpawn_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./EmitterSpawn.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSpawn.js\");\n\n\n\n\n\n\nclass Emitter {\n autoPlay;\n direction;\n domId;\n fill;\n life;\n name;\n particles;\n position;\n rate;\n shape;\n size;\n spawn;\n spawnFillColor;\n spawnStrokeColor;\n startCount;\n constructor() {\n this.autoPlay = true;\n this.fill = true;\n this.life = new _EmitterLife_js__WEBPACK_IMPORTED_MODULE_1__.EmitterLife();\n this.rate = new _EmitterRate_js__WEBPACK_IMPORTED_MODULE_2__.EmitterRate();\n this.shape = new _EmitterShape_js__WEBPACK_IMPORTED_MODULE_3__.EmitterShape();\n this.spawn = new _EmitterSpawn_js__WEBPACK_IMPORTED_MODULE_5__.EmitterSpawn();\n this.startCount = 0;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.autoPlay !== undefined) {\n this.autoPlay = data.autoPlay;\n }\n if (data.size !== undefined) {\n this.size ??= new _EmitterSize_js__WEBPACK_IMPORTED_MODULE_4__.EmitterSize();\n this.size.load(data.size);\n }\n if (data.direction !== undefined) {\n this.direction = data.direction;\n }\n this.domId = data.domId;\n if (data.fill !== undefined) {\n this.fill = data.fill;\n }\n this.life.load(data.life);\n this.name = data.name;\n this.particles = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(data.particles, particles => {\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, particles);\n });\n this.rate.load(data.rate);\n this.shape.load(data.shape);\n this.spawn.load(data.spawn);\n if (data.position !== undefined) {\n this.position = {};\n if (data.position.x !== undefined) {\n this.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.position.x);\n }\n if (data.position.y !== undefined) {\n this.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.position.y);\n }\n }\n if (data.spawnFillColor !== undefined) {\n this.spawnFillColor ??= new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimatableColor();\n this.spawnFillColor.load(data.spawnFillColor);\n }\n if (data.spawnStrokeColor !== undefined) {\n this.spawnStrokeColor ??= new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimatableColor();\n this.spawnStrokeColor.load(data.spawnStrokeColor);\n }\n if (data.startCount !== undefined) {\n this.startCount = data.startCount;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js"
41
+ /*!******************************************************************************************************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.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 */ EmitterLife: () => (/* binding */ EmitterLife)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass EmitterLife {\n count;\n delay;\n duration;\n wait;\n constructor() {\n this.wait = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.count !== undefined) {\n this.count = data.count;\n }\n if (data.delay !== undefined) {\n this.delay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.delay);\n }\n if (data.duration !== undefined) {\n this.duration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.duration);\n }\n if (data.wait !== undefined) {\n this.wait = data.wait;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js?\n}");
47
+
48
+ /***/ },
49
+
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js"
51
+ /*!******************************************************************************************************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js ***!
53
+ \******************************************************************************************************************************************************************************************************************************************/
54
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
55
+
56
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterRate: () => (/* binding */ EmitterRate)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass EmitterRate {\n delay;\n quantity;\n constructor() {\n this.quantity = 1;\n this.delay = 0.1;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.quantity !== undefined) {\n this.quantity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.quantity);\n }\n if (data.delay !== undefined) {\n this.delay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.delay);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js?\n}");
57
+
58
+ /***/ },
59
+
60
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js"
61
+ /*!*******************************************************************************************************************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js ***!
63
+ \*******************************************************************************************************************************************************************************************************************************************/
64
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
65
+
66
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterShape: () => (/* binding */ EmitterShape)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _EmitterShapeReplace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EmitterShapeReplace.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js\");\n\n\nclass EmitterShape {\n options;\n replace;\n type;\n constructor() {\n this.options = {};\n this.replace = new _EmitterShapeReplace_js__WEBPACK_IMPORTED_MODULE_1__.EmitterShapeReplace();\n this.type = \"square\";\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.options !== undefined) {\n this.options = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, data.options ?? {});\n }\n this.replace.load(data.replace);\n if (data.type !== undefined) {\n this.type = data.type;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js?\n}");
67
+
68
+ /***/ },
69
+
70
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js"
71
+ /*!**************************************************************************************************************************************************************************************************************************************************!*\
72
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js ***!
73
+ \**************************************************************************************************************************************************************************************************************************************************/
74
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
75
+
76
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterShapeReplace: () => (/* binding */ EmitterShapeReplace)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass EmitterShapeReplace {\n color;\n opacity;\n constructor() {\n this.color = false;\n this.opacity = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.color !== undefined) {\n this.color = data.color;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js?\n}");
77
+
78
+ /***/ },
79
+
80
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js"
81
+ /*!******************************************************************************************************************************************************************************************************************************************!*\
82
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js ***!
83
+ \******************************************************************************************************************************************************************************************************************************************/
84
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
85
+
86
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterSize: () => (/* binding */ EmitterSize)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass EmitterSize {\n height;\n mode;\n width;\n constructor() {\n this.mode = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.PixelMode.percent;\n this.height = 0;\n this.width = 0;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.mode !== undefined) {\n this.mode = data.mode;\n }\n if (data.height !== undefined) {\n this.height = data.height;\n }\n if (data.width !== undefined) {\n this.width = data.width;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js?\n}");
87
+
88
+ /***/ },
89
+
90
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSpawn.js"
91
+ /*!*******************************************************************************************************************************************************************************************************************************************!*\
92
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSpawn.js ***!
93
+ \*******************************************************************************************************************************************************************************************************************************************/
94
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
95
+
96
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterSpawn: () => (/* binding */ EmitterSpawn)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass EmitterSpawn {\n fill;\n stroke;\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.fill) {\n this.fill ??= new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Fill();\n this.fill.load(data.fill);\n }\n if (data.stroke) {\n this.stroke ??= new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Stroke();\n this.stroke.load(data.stroke);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-emitters@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11_@tsparticl_911613e440bd8bdfdd857402e6017d72/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSpawn.js?\n}");
97
+
98
+ /***/ }
99
+
100
+ }]);
@@ -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.4
7
+ * v4.0.0-beta.0
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_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-bd3833"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
21
- /*!***************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js ***!
23
- \***************************************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
21
+ /*!************************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.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 */ HexColorManager: () => (/* binding */ HexColorManager)\n/* harmony export */ });\nvar RgbIndexes;\n(function (RgbIndexes) {\n RgbIndexes[RgbIndexes[\"r\"] = 1] = \"r\";\n RgbIndexes[RgbIndexes[\"g\"] = 2] = \"g\";\n RgbIndexes[RgbIndexes[\"b\"] = 3] = \"b\";\n RgbIndexes[RgbIndexes[\"a\"] = 4] = \"a\";\n})(RgbIndexes || (RgbIndexes = {}));\nconst shorthandHexRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])([a-f\\d])?$/i, hexRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})?$/i, hexRadix = 16, defaultAlpha = 1, alphaFactor = 0xff;\nclass HexColorManager {\n accepts(input) {\n return input.startsWith(\"#\");\n }\n handleColor(color) {\n return this._parseString(color.value);\n }\n handleRangeColor(color) {\n return this._parseString(color.value);\n }\n parseString(input) {\n return this._parseString(input);\n }\n _parseString(hexColor) {\n if (typeof hexColor !== \"string\" || !this.accepts(hexColor)) {\n return;\n }\n const hexFixed = hexColor.replace(shorthandHexRegex, (_, r, g, b, a) => {\n return r + r + g + g + b + b + (a === undefined ? \"\" : a + a);\n }), result = hexRegex.exec(hexFixed);\n return result\n ? {\n a: result[RgbIndexes.a] ? Number.parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: Number.parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: Number.parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: Number.parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HexColorManager: () => (/* binding */ HexColorManager)\n/* harmony export */ });\nvar RgbIndexes;\n(function (RgbIndexes) {\n RgbIndexes[RgbIndexes[\"r\"] = 1] = \"r\";\n RgbIndexes[RgbIndexes[\"g\"] = 2] = \"g\";\n RgbIndexes[RgbIndexes[\"b\"] = 3] = \"b\";\n RgbIndexes[RgbIndexes[\"a\"] = 4] = \"a\";\n})(RgbIndexes || (RgbIndexes = {}));\nconst shorthandHexRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])([a-f\\d])?$/i, hexRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})?$/i, hexRadix = 16, defaultAlpha = 1, alphaFactor = 0xff;\nclass HexColorManager {\n accepts(input) {\n return input.startsWith(\"#\");\n }\n handleColor(color) {\n return this._parseString(color.value);\n }\n handleRangeColor(color) {\n return this._parseString(color.value);\n }\n parseString(input) {\n return this._parseString(input);\n }\n _parseString(hexColor) {\n if (typeof hexColor !== \"string\" || !this.accepts(hexColor)) {\n return;\n }\n const hexFixed = hexColor.replace(shorthandHexRegex, (_, r, g, b, a) => {\n return r + r + g + g + b + b + (a === undefined ? \"\" : a + a);\n }), result = hexRegex.exec(hexFixed);\n return result\n ? {\n a: result[RgbIndexes.a] ? Number.parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: Number.parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: Number.parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: Number.parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.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.4
7
+ * v4.0.0-beta.0
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_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-5a675f"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
21
- /*!*****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/index.js ***!
23
- \*****************************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
21
+ /*!**************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-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 */ loadHexColorPlugin: () => (/* binding */ loadHexColorPlugin)\n/* harmony export */ });\nasync function loadHexColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.14\");\n await engine.register(async (e) => {\n const { HexColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-bd3833\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.addColorManager(\"hex\", new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hex-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHexColorPlugin: () => (/* binding */ loadHexColorPlugin)\n/* harmony export */ });\nasync function loadHexColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.11\");\n await engine.pluginManager.register(async (e) => {\n const { HexColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.pluginManager.addColorManager(\"hex\", new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hex-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-beta.0
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_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js"
21
+ /*!************************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.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 */ HslColorManager: () => (/* binding */ HslColorManager)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nvar HslIndexes;\n(function (HslIndexes) {\n HslIndexes[HslIndexes[\"h\"] = 1] = \"h\";\n HslIndexes[HslIndexes[\"s\"] = 2] = \"s\";\n HslIndexes[HslIndexes[\"l\"] = 3] = \"l\";\n HslIndexes[HslIndexes[\"a\"] = 5] = \"a\";\n})(HslIndexes || (HslIndexes = {}));\nconst hslRegex = /hsla?\\(\\s*(\\d+)\\s*[\\s,]\\s*(\\d+)%\\s*[\\s,]\\s*(\\d+)%\\s*([\\s,]\\s*(0|1|0?\\.\\d+|(\\d{1,3})%)\\s*)?\\)/i;\nclass HslColorManager {\n accepts(input) {\n return input.startsWith(\"hsl\");\n }\n handleColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!(\"h\" in hslColor) || !(\"s\" in hslColor) || !(\"l\" in hslColor)) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)(hslColor);\n }\n handleRangeColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!(\"h\" in hslColor) || !(\"s\" in hslColor) || !(\"l\" in hslColor)) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)({\n h: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.h),\n l: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.l),\n s: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.s),\n });\n }\n parseString(input) {\n if (!this.accepts(input)) {\n return;\n }\n const result = hslRegex.exec(input), minLength = 4, defaultAlpha = 1, radix = 10;\n return result\n ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslaToRgba)({\n a: result.length > minLength ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.parseAlpha)(result[HslIndexes.a]) : defaultAlpha,\n h: Number.parseInt(result[HslIndexes.h] ?? \"0\", radix),\n l: Number.parseInt(result[HslIndexes.l] ?? \"0\", radix),\n s: Number.parseInt(result[HslIndexes.s] ?? \"0\", radix),\n })\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.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.4
7
+ * v4.0.0-beta.0
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_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-651bc0"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
21
- /*!*****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hsl-color/browser/index.js ***!
23
- \*****************************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
21
+ /*!**************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-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 */ loadHslColorPlugin: () => (/* binding */ loadHslColorPlugin)\n/* harmony export */ });\nasync function loadHslColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.14\");\n await engine.register(async (e) => {\n const { HslColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9b85f2\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.addColorManager(\"hsl\", new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.14/node_modules/@tsparticles/plugin-hsl-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHslColorPlugin: () => (/* binding */ loadHslColorPlugin)\n/* harmony export */ });\nasync function loadHslColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.11\");\n await engine.pluginManager.register(async (e) => {\n const { HslColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.pluginManager.addColorManager(\"hsl\", new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-hsl-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -0,0 +1,120 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-beta.0
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_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ExternalInteractorBase.js"
21
+ /*!***************************************************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ExternalInteractorBase.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 */ ExternalInteractorBase: () => (/* binding */ ExternalInteractorBase)\n/* harmony export */ });\n/* harmony import */ var _Enums_InteractorType_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Enums/InteractorType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractorType.js\");\n\nclass ExternalInteractorBase {\n type = _Enums_InteractorType_js__WEBPACK_IMPORTED_MODULE_0__.InteractorType.external;\n container;\n constructor(container) {\n this.container = container;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ExternalInteractorBase.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ParticlesInteractorBase.js"
31
+ /*!****************************************************************************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ParticlesInteractorBase.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 */ ParticlesInteractorBase: () => (/* binding */ ParticlesInteractorBase)\n/* harmony export */ });\n/* harmony import */ var _Enums_InteractorType_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Enums/InteractorType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractorType.js\");\n\nclass ParticlesInteractorBase {\n type = _Enums_InteractorType_js__WEBPACK_IMPORTED_MODULE_0__.InteractorType.particles;\n container;\n constructor(container) {\n this.container = container;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ParticlesInteractorBase.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/DivType.js"
41
+ /*!******************************************************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/DivType.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 */ DivType: () => (/* binding */ DivType)\n/* harmony export */ });\nvar DivType;\n(function (DivType) {\n DivType[\"circle\"] = \"circle\";\n DivType[\"rectangle\"] = \"rectangle\";\n})(DivType || (DivType = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/DivType.js?\n}");
47
+
48
+ /***/ },
49
+
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractivityDetect.js"
51
+ /*!******************************************************************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractivityDetect.js ***!
53
+ \******************************************************************************************************************************************************************************************************/
54
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
55
+
56
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InteractivityDetect: () => (/* binding */ InteractivityDetect)\n/* harmony export */ });\nvar InteractivityDetect;\n(function (InteractivityDetect) {\n InteractivityDetect[\"canvas\"] = \"canvas\";\n InteractivityDetect[\"parent\"] = \"parent\";\n InteractivityDetect[\"window\"] = \"window\";\n})(InteractivityDetect || (InteractivityDetect = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractivityDetect.js?\n}");
57
+
58
+ /***/ },
59
+
60
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractorType.js"
61
+ /*!*************************************************************************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractorType.js ***!
63
+ \*************************************************************************************************************************************************************************************************/
64
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
65
+
66
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InteractorType: () => (/* binding */ InteractorType)\n/* harmony export */ });\nvar InteractorType;\n(function (InteractorType) {\n InteractorType[\"external\"] = \"external\";\n InteractorType[\"particles\"] = \"particles\";\n})(InteractorType || (InteractorType = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractorType.js?\n}");
67
+
68
+ /***/ },
69
+
70
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js"
71
+ /*!***************************************************************************************************************************************************************************************************!*\
72
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js ***!
73
+ \***************************************************************************************************************************************************************************************************/
74
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
75
+
76
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ clickEvent: () => (/* binding */ clickEvent),\n/* harmony export */ mouseDownEvent: () => (/* binding */ mouseDownEvent),\n/* harmony export */ mouseLeaveEvent: () => (/* binding */ mouseLeaveEvent),\n/* harmony export */ mouseMoveEvent: () => (/* binding */ mouseMoveEvent),\n/* harmony export */ mouseUpEvent: () => (/* binding */ mouseUpEvent),\n/* harmony export */ touchCancelEvent: () => (/* binding */ touchCancelEvent),\n/* harmony export */ touchEndEvent: () => (/* binding */ touchEndEvent),\n/* harmony export */ touchMoveEvent: () => (/* binding */ touchMoveEvent),\n/* harmony export */ touchStartEvent: () => (/* binding */ touchStartEvent)\n/* harmony export */ });\nconst clickEvent = \"click\", mouseDownEvent = \"pointerdown\", mouseUpEvent = \"pointerup\", mouseLeaveEvent = \"pointerleave\", mouseMoveEvent = \"pointermove\", touchStartEvent = \"touchstart\", touchEndEvent = \"touchend\", touchMoveEvent = \"touchmove\", touchCancelEvent = \"touchcancel\";\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js?\n}");
77
+
78
+ /***/ },
79
+
80
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js"
81
+ /*!************************************************************************************************************************************************************************************************************!*\
82
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js ***!
83
+ \************************************************************************************************************************************************************************************************************/
84
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
85
+
86
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DivEvent: () => (/* binding */ DivEvent)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Enums_DivType_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Enums/DivType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/DivType.js\");\n\n\nclass DivEvent {\n enable;\n mode;\n selectors;\n type;\n constructor() {\n this.selectors = [];\n this.enable = false;\n this.mode = [];\n this.type = _Enums_DivType_js__WEBPACK_IMPORTED_MODULE_1__.DivType.circle;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.selectors !== undefined) {\n this.selectors = data.selectors;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.mode !== undefined) {\n this.mode = data.mode;\n }\n if (data.type !== undefined) {\n this.type = data.type;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js?\n}");
87
+
88
+ /***/ },
89
+
90
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js"
91
+ /*!********************************************************************************************************************************************************************************************************!*\
92
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js ***!
93
+ \********************************************************************************************************************************************************************************************************/
94
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
95
+
96
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Modes: () => (/* binding */ Modes)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass Modes {\n _container;\n _pluginManager;\n constructor(pluginManager, container) {\n this._pluginManager = pluginManager;\n this._container = container;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (!this._container) {\n return;\n }\n const interactors = this._pluginManager.interactors?.get(this._container);\n if (!interactors) {\n return;\n }\n for (const interactor of interactors) {\n if (!interactor.loadModeOptions) {\n continue;\n }\n interactor.loadModeOptions(this, data);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js?\n}");
97
+
98
+ /***/ },
99
+
100
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/index.js"
101
+ /*!**********************************************************************************************************************************************************************************!*\
102
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/index.js ***!
103
+ \**********************************************************************************************************************************************************************************/
104
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
105
+
106
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DivEvent: () => (/* reexport safe */ _Options_Classes_Events_DivEvent_js__WEBPACK_IMPORTED_MODULE_8__.DivEvent),\n/* harmony export */ DivType: () => (/* reexport safe */ _Enums_DivType_js__WEBPACK_IMPORTED_MODULE_4__.DivType),\n/* harmony export */ ExternalInteractorBase: () => (/* reexport safe */ _BaseClasses_ExternalInteractorBase_js__WEBPACK_IMPORTED_MODULE_1__.ExternalInteractorBase),\n/* harmony export */ InteractivityDetect: () => (/* reexport safe */ _Enums_InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_5__.InteractivityDetect),\n/* harmony export */ InteractorType: () => (/* reexport safe */ _Enums_InteractorType_js__WEBPACK_IMPORTED_MODULE_6__.InteractorType),\n/* harmony export */ Modes: () => (/* reexport safe */ _Options_Classes_Modes_Modes_js__WEBPACK_IMPORTED_MODULE_9__.Modes),\n/* harmony export */ ParticlesInteractorBase: () => (/* reexport safe */ _BaseClasses_ParticlesInteractorBase_js__WEBPACK_IMPORTED_MODULE_2__.ParticlesInteractorBase),\n/* harmony export */ clickEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.clickEvent),\n/* harmony export */ divMode: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.divMode),\n/* harmony export */ divModeExecute: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.divModeExecute),\n/* harmony export */ ensureInteractivityPluginLoaded: () => (/* binding */ ensureInteractivityPluginLoaded),\n/* harmony export */ isDivModeEnabled: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.isDivModeEnabled),\n/* harmony export */ loadInteractivityPlugin: () => (/* binding */ loadInteractivityPlugin),\n/* harmony export */ mouseDownEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseDownEvent),\n/* harmony export */ mouseLeaveEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseLeaveEvent),\n/* harmony export */ mouseMoveEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseMoveEvent),\n/* harmony export */ mouseUpEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseUpEvent),\n/* harmony export */ singleDivModeExecute: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.singleDivModeExecute),\n/* harmony export */ touchCancelEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchCancelEvent),\n/* harmony export */ touchEndEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchEndEvent),\n/* harmony export */ touchMoveEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchMoveEvent),\n/* harmony export */ touchStartEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchStartEvent)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _BaseClasses_ExternalInteractorBase_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseClasses/ExternalInteractorBase.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ExternalInteractorBase.js\");\n/* harmony import */ var _BaseClasses_ParticlesInteractorBase_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BaseClasses/ParticlesInteractorBase.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/BaseClasses/ParticlesInteractorBase.js\");\n/* harmony import */ var _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./InteractivityConstants.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js\");\n/* harmony import */ var _Enums_DivType_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Enums/DivType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/DivType.js\");\n/* harmony import */ var _Enums_InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Enums/InteractivityDetect.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractivityDetect.js\");\n/* harmony import */ var _Enums_InteractorType_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Enums/InteractorType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractorType.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/utils.js\");\n/* harmony import */ var _Options_Classes_Events_DivEvent_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Options/Classes/Events/DivEvent.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js\");\n/* harmony import */ var _Options_Classes_Modes_Modes_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Options/Classes/Modes/Modes.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js\");\n\nasync function loadInteractivityPlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.11\");\n await engine.pluginManager.register(async (e) => {\n const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager, { InteractivityPlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43\").then(__webpack_require__.bind(__webpack_require__, /*! ./InteractivityPlugin.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.js\"));\n interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));\n interactivityPluginManager.initializers.interactors ??= new Map();\n interactivityPluginManager.interactors ??= new Map();\n interactivityPluginManager.addInteractor = (name, interactorInitializer) => {\n interactivityPluginManager.initializers.interactors ??= new Map();\n interactivityPluginManager.initializers.interactors.set(name, interactorInitializer);\n };\n interactivityPluginManager.getInteractors = async (container, force = false) => {\n interactivityPluginManager.interactors ??= new Map();\n interactivityPluginManager.initializers.interactors ??= new Map();\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getItemsFromInitializer)(container, interactivityPluginManager.interactors, interactivityPluginManager.initializers.interactors, force);\n };\n interactivityPluginManager.setOnClickHandler = (callback) => {\n const { items } = interactivityEngine;\n if (!items.length) {\n throw new Error(\"Click handlers can only be set after calling tsParticles.load()\");\n }\n items.forEach(item => {\n const interactivityContainer = item;\n interactivityContainer.addClickHandler?.(callback);\n });\n };\n });\n}\nfunction ensureInteractivityPluginLoaded(e) {\n if (!e.pluginManager.addInteractor) {\n throw new Error(\"tsParticles Interactivity Plugin is not loaded\");\n }\n}\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/index.js?\n}");
107
+
108
+ /***/ },
109
+
110
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/utils.js"
111
+ /*!**********************************************************************************************************************************************************************************!*\
112
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/utils.js ***!
113
+ \**********************************************************************************************************************************************************************************/
114
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
115
+
116
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ divMode: () => (/* binding */ divMode),\n/* harmony export */ divModeExecute: () => (/* binding */ divModeExecute),\n/* harmony export */ isDivModeEnabled: () => (/* binding */ isDivModeEnabled),\n/* harmony export */ singleDivModeExecute: () => (/* binding */ singleDivModeExecute)\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-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nfunction checkSelector(element, selectors) {\n const res = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(selectors, selector => {\n return element.matches(selector);\n });\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(res) ? res.some(t => t) : res;\n}\nfunction isDivModeEnabled(mode, divs) {\n return !!(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.findItemFromSingleOrMultiple)(divs, t => t.enable && (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(mode, t.mode));\n}\nfunction divModeExecute(mode, divs, callback) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(divs, div => {\n const divMode = div.mode, divEnabled = div.enable;\n if (divEnabled && (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(mode, divMode)) {\n singleDivModeExecute(div, callback);\n }\n });\n}\nfunction singleDivModeExecute(div, callback) {\n const selectors = div.selectors;\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(selectors, selector => {\n callback(selector, div);\n });\n}\nfunction divMode(divs, element) {\n if (!element || !divs) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.findItemFromSingleOrMultiple)(divs, div => {\n return checkSelector(element, div.selectors);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/plugin-interactivity/browser/utils.js?\n}");
117
+
118
+ /***/ }
119
+
120
+ }]);