@tsparticles/preset-links 4.0.0-alpha.0 → 4.0.0-alpha.2

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 (155) hide show
  1. package/180.min.js +2 -0
  2. package/180.min.js.LICENSE.txt +1 -0
  3. package/196.min.js +2 -0
  4. package/196.min.js.LICENSE.txt +1 -0
  5. package/{213.min.js → 202.min.js} +2 -2
  6. package/202.min.js.LICENSE.txt +1 -0
  7. package/294.min.js +2 -0
  8. package/294.min.js.LICENSE.txt +1 -0
  9. package/342.min.js +2 -0
  10. package/342.min.js.LICENSE.txt +1 -0
  11. package/352.min.js +2 -0
  12. package/352.min.js.LICENSE.txt +1 -0
  13. package/413.min.js +2 -0
  14. package/413.min.js.LICENSE.txt +1 -0
  15. package/420.min.js +2 -0
  16. package/420.min.js.LICENSE.txt +1 -0
  17. package/426.min.js +2 -0
  18. package/426.min.js.LICENSE.txt +1 -0
  19. package/440.min.js +2 -0
  20. package/440.min.js.LICENSE.txt +1 -0
  21. package/464.min.js +2 -0
  22. package/464.min.js.LICENSE.txt +1 -0
  23. package/{926.min.js → 505.min.js} +2 -2
  24. package/505.min.js.LICENSE.txt +1 -0
  25. package/557.min.js +2 -0
  26. package/557.min.js.LICENSE.txt +1 -0
  27. package/56.min.js +2 -0
  28. package/56.min.js.LICENSE.txt +1 -0
  29. package/60.min.js +2 -0
  30. package/60.min.js.LICENSE.txt +1 -0
  31. package/668.min.js +2 -0
  32. package/668.min.js.LICENSE.txt +1 -0
  33. package/684.min.js +2 -0
  34. package/684.min.js.LICENSE.txt +1 -0
  35. package/685.min.js +2 -0
  36. package/685.min.js.LICENSE.txt +1 -0
  37. package/688.min.js +2 -0
  38. package/688.min.js.LICENSE.txt +1 -0
  39. package/{481.min.js → 726.min.js} +2 -2
  40. package/726.min.js.LICENSE.txt +1 -0
  41. package/75.min.js +2 -0
  42. package/75.min.js.LICENSE.txt +1 -0
  43. package/778.min.js +2 -0
  44. package/778.min.js.LICENSE.txt +1 -0
  45. package/{751.min.js → 792.min.js} +2 -2
  46. package/792.min.js.LICENSE.txt +1 -0
  47. package/{264.min.js → 847.min.js} +2 -2
  48. package/847.min.js.LICENSE.txt +1 -0
  49. package/864.min.js +2 -0
  50. package/864.min.js.LICENSE.txt +1 -0
  51. package/909.min.js +2 -0
  52. package/909.min.js.LICENSE.txt +1 -0
  53. package/949.min.js +2 -0
  54. package/949.min.js.LICENSE.txt +1 -0
  55. package/990.min.js +2 -0
  56. package/990.min.js.LICENSE.txt +1 -0
  57. package/browser/index.js +6 -5
  58. package/browser/options.js +0 -1
  59. package/cjs/index.js +6 -5
  60. package/cjs/options.js +0 -1
  61. package/dist_browser_options_js.js +2 -2
  62. package/esm/index.js +6 -5
  63. package/esm/options.js +0 -1
  64. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  65. package/{node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-b975fc.js → node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-9c1b02.js} +14 -14
  66. package/{node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-100d2d.js → node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-a903c4.js} +5 -5
  67. package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-dce81a.js +40 -0
  68. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +40 -0
  69. package/{node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a.js → node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js} +5 -5
  70. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js} +5 -5
  71. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js} +5 -5
  72. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js} +5 -5
  73. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js} +5 -5
  74. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js +120 -0
  75. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +70 -0
  76. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js} +5 -5
  77. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js} +5 -5
  78. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js} +8 -8
  79. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-ce96e8.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js} +5 -5
  80. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-6ff909.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js} +5 -5
  81. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-210bd6.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js} +5 -5
  82. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--4e8c57.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js} +5 -5
  83. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--ac14ff.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js} +5 -5
  84. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticles_update-cd317f.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js} +5 -5
  85. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js} +5 -5
  86. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js} +5 -5
  87. package/package.json +4 -4
  88. package/report.html +1 -1
  89. package/tsparticles.preset.links.bundle.js +197 -389
  90. package/tsparticles.preset.links.bundle.min.js +1 -1
  91. package/tsparticles.preset.links.bundle.min.js.LICENSE.txt +1 -1
  92. package/tsparticles.preset.links.js +4 -16
  93. package/tsparticles.preset.links.min.js +1 -1
  94. package/tsparticles.preset.links.min.js.LICENSE.txt +1 -1
  95. package/types/index.d.ts +1 -1
  96. package/types/options.d.ts +0 -1
  97. package/umd/index.js +6 -5
  98. package/umd/options.js +1 -2
  99. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +90 -0
  100. package/vendors-node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_-a49c8d.js +140 -0
  101. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +50 -0
  102. package/{vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticle-124574.js → vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js} +20 -20
  103. package/1.min.js +0 -2
  104. package/1.min.js.LICENSE.txt +0 -1
  105. package/125.min.js +0 -2
  106. package/125.min.js.LICENSE.txt +0 -1
  107. package/171.min.js +0 -2
  108. package/171.min.js.LICENSE.txt +0 -1
  109. package/213.min.js.LICENSE.txt +0 -1
  110. package/248.min.js +0 -2
  111. package/248.min.js.LICENSE.txt +0 -1
  112. package/264.min.js.LICENSE.txt +0 -1
  113. package/267.min.js +0 -2
  114. package/267.min.js.LICENSE.txt +0 -1
  115. package/283.min.js +0 -2
  116. package/283.min.js.LICENSE.txt +0 -1
  117. package/313.min.js +0 -2
  118. package/313.min.js.LICENSE.txt +0 -1
  119. package/330.min.js +0 -2
  120. package/330.min.js.LICENSE.txt +0 -1
  121. package/349.min.js +0 -2
  122. package/349.min.js.LICENSE.txt +0 -1
  123. package/40.min.js +0 -2
  124. package/40.min.js.LICENSE.txt +0 -1
  125. package/418.min.js +0 -2
  126. package/418.min.js.LICENSE.txt +0 -1
  127. package/453.min.js +0 -2
  128. package/453.min.js.LICENSE.txt +0 -1
  129. package/455.min.js +0 -2
  130. package/455.min.js.LICENSE.txt +0 -1
  131. package/459.min.js +0 -2
  132. package/459.min.js.LICENSE.txt +0 -1
  133. package/481.min.js.LICENSE.txt +0 -1
  134. package/509.min.js +0 -2
  135. package/509.min.js.LICENSE.txt +0 -1
  136. package/597.min.js +0 -2
  137. package/597.min.js.LICENSE.txt +0 -1
  138. package/633.min.js +0 -2
  139. package/633.min.js.LICENSE.txt +0 -1
  140. package/751.min.js.LICENSE.txt +0 -1
  141. package/802.min.js +0 -2
  142. package/802.min.js.LICENSE.txt +0 -1
  143. package/803.min.js +0 -2
  144. package/803.min.js.LICENSE.txt +0 -1
  145. package/819.min.js +0 -2
  146. package/819.min.js.LICENSE.txt +0 -1
  147. package/926.min.js.LICENSE.txt +0 -1
  148. package/98.min.js +0 -2
  149. package/98.min.js.LICENSE.txt +0 -1
  150. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_2_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  151. package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-2be21a.js +0 -30
  152. package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-d9c3ec.js +0 -40
  153. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +0 -40
  154. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_2_node_modules_tsparticles_engine_br-9c0a0f.js +0 -100
  155. package/vendors-node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_-9dae0c.js +0 -50
@@ -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.0
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,45 +15,45 @@
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-b975fc"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-9c1b02"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js"
21
21
  /*!******************************************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js ***!
23
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 */ Links: () => (/* binding */ Links)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.2/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LinksShadow.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js\");\n/* harmony import */ var _LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LinksTriangle.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js\");\n\n\n\nclass Links {\n constructor() {\n this.blink = false;\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#fff\";\n this.consent = false;\n this.distance = 100;\n this.enable = false;\n this.frequency = 1;\n this.opacity = 1;\n this.shadow = new _LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__.LinksShadow();\n this.triangles = new _LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__.LinksTriangle();\n this.width = 1;\n this.warp = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.id !== undefined) {\n this.id = data.id;\n }\n if (data.blink !== undefined) {\n this.blink = data.blink;\n }\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n if (data.consent !== undefined) {\n this.consent = data.consent;\n }\n if (data.distance !== undefined) {\n this.distance = data.distance;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.frequency !== undefined) {\n this.frequency = data.frequency;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n this.shadow.load(data.shadow);\n this.triangles.load(data.triangles);\n if (data.width !== undefined) {\n this.width = data.width;\n }\n if (data.warp !== undefined) {\n this.warp = data.warp;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Links: () => (/* binding */ Links)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LinksShadow.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js\");\n/* harmony import */ var _LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LinksTriangle.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js\");\n\n\n\nclass Links {\n constructor() {\n this.blink = false;\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#fff\";\n this.consent = false;\n this.distance = 100;\n this.enable = false;\n this.frequency = 1;\n this.opacity = 1;\n this.shadow = new _LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__.LinksShadow();\n this.triangles = new _LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__.LinksTriangle();\n this.width = 1;\n this.warp = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.id !== undefined) {\n this.id = data.id;\n }\n if (data.blink !== undefined) {\n this.blink = data.blink;\n }\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n if (data.consent !== undefined) {\n this.consent = data.consent;\n }\n if (data.distance !== undefined) {\n this.distance = data.distance;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.frequency !== undefined) {\n this.frequency = data.frequency;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n this.shadow.load(data.shadow);\n this.triangles.load(data.triangles);\n if (data.width !== undefined) {\n this.width = data.width;\n }\n if (data.warp !== undefined) {\n this.warp = data.warp;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js?\n}");
27
27
 
28
28
  /***/ },
29
29
 
30
- /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js"
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js"
31
31
  /*!************************************************************************************************************************************************************************************!*\
32
- !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js ***!
32
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js ***!
33
33
  \************************************************************************************************************************************************************************************/
34
34
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
35
 
36
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LinksShadow: () => (/* binding */ LinksShadow)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.2/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass LinksShadow {\n constructor() {\n this.blur = 5;\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#000\";\n this.enable = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.blur !== undefined) {\n this.blur = data.blur;\n }\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js?\n}");
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LinksShadow: () => (/* binding */ LinksShadow)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass LinksShadow {\n constructor() {\n this.blur = 5;\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#000\";\n this.enable = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.blur !== undefined) {\n this.blur = data.blur;\n }\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js?\n}");
37
37
 
38
38
  /***/ },
39
39
 
40
- /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js"
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js"
41
41
  /*!**************************************************************************************************************************************************************************************!*\
42
- !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js ***!
42
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js ***!
43
43
  \**************************************************************************************************************************************************************************************/
44
44
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45
45
 
46
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LinksTriangle: () => (/* binding */ LinksTriangle)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.2/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass LinksTriangle {\n constructor() {\n this.enable = false;\n this.frequency = 1;\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 = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.frequency !== undefined) {\n this.frequency = data.frequency;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js?\n}");
46
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LinksTriangle: () => (/* binding */ LinksTriangle)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass LinksTriangle {\n constructor() {\n this.enable = false;\n this.frequency = 1;\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 = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.frequency !== undefined) {\n this.frequency = data.frequency;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js?\n}");
47
47
 
48
48
  /***/ },
49
49
 
50
- /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/index.js"
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/index.js"
51
51
  /*!**************************************************************************************************************************************************************!*\
52
- !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/index.js ***!
52
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/index.js ***!
53
53
  \**************************************************************************************************************************************************************/
54
54
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
55
55
 
56
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Links: () => (/* reexport safe */ _Options_Classes_Links_js__WEBPACK_IMPORTED_MODULE_0__.Links),\n/* harmony export */ LinksShadow: () => (/* reexport safe */ _Options_Classes_LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__.LinksShadow),\n/* harmony export */ LinksTriangle: () => (/* reexport safe */ _Options_Classes_LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__.LinksTriangle),\n/* harmony export */ loadParticlesLinksInteraction: () => (/* binding */ loadParticlesLinksInteraction)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Links_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Links.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js\");\n/* harmony import */ var _Options_Classes_LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/LinksShadow.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js\");\n/* harmony import */ var _Options_Classes_LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Options/Classes/LinksTriangle.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js\");\nfunction loadParticlesLinksInteraction(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { loadLinksInteraction } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-100d2d\").then(__webpack_require__.bind(__webpack_require__, /*! ./interaction.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/interaction.js\")), { loadLinksPlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-2be21a\").then(__webpack_require__.bind(__webpack_require__, /*! ./plugin.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/plugin.js\"));\n loadLinksInteraction(e);\n loadLinksPlugin(e);\n });\n}\n\n\n\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/index.js?\n}");
56
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Links: () => (/* reexport safe */ _Options_Classes_Links_js__WEBPACK_IMPORTED_MODULE_0__.Links),\n/* harmony export */ LinksShadow: () => (/* reexport safe */ _Options_Classes_LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__.LinksShadow),\n/* harmony export */ LinksTriangle: () => (/* reexport safe */ _Options_Classes_LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__.LinksTriangle),\n/* harmony export */ loadParticlesLinksInteraction: () => (/* binding */ loadParticlesLinksInteraction)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Links_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Links.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/Links.js\");\n/* harmony import */ var _Options_Classes_LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/LinksShadow.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksShadow.js\");\n/* harmony import */ var _Options_Classes_LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Options/Classes/LinksTriangle.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Options/Classes/LinksTriangle.js\");\nasync function loadParticlesLinksInteraction(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(async (e) => {\n const { loadInteractivityPlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-interactivity */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/index.js\")), { LinksPlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-a903c4\").then(__webpack_require__.bind(__webpack_require__, /*! ./LinksPlugin.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinksPlugin.js\"));\n await loadInteractivityPlugin(e);\n e.addPlugin(new LinksPlugin(e));\n e.addInteractor?.(\"particlesLinks\", async (container) => {\n const { Linker } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_-a49c8d\").then(__webpack_require__.bind(__webpack_require__, /*! ./Linker.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Linker.js\"));\n return new Linker(container, engine);\n });\n });\n}\n\n\n\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/index.js?\n}");
57
57
 
58
58
  /***/ }
59
59
 
@@ -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.0
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-100d2d"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-a903c4"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/interaction.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinksPlugin.js"
21
21
  /*!********************************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/interaction.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinksPlugin.js ***!
23
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 */ loadLinksInteraction: () => (/* binding */ loadLinksInteraction)\n/* harmony export */ });\nfunction loadLinksInteraction(engine) {\n engine.register(e => {\n e.addInteractor(\"particlesLinks\", async (container) => {\n const { Linker } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-d9c3ec\").then(__webpack_require__.bind(__webpack_require__, /*! ./Linker.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/Linker.js\"));\n return new Linker(container, engine);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.2/node_modules/@tsparticles/interaction-particles-links/browser/interaction.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LinksPlugin: () => (/* binding */ LinksPlugin)\n/* harmony export */ });\nclass LinksPlugin {\n constructor(engine) {\n this.id = \"links\";\n this._engine = engine;\n }\n async getPlugin(container) {\n const { LinkInstance } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-dce81a\").then(__webpack_require__.bind(__webpack_require__, /*! ./LinkInstance.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinkInstance.js\"));\n return new LinkInstance(container, this._engine);\n }\n loadOptions() {\n }\n needsPlugin() {\n return true;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinksPlugin.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-dce81a"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinkInstance.js"
21
+ /*!*********************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinkInstance.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 */ LinkInstance: () => (/* binding */ LinkInstance)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Utils.js\");\n\n\nconst minOpacity = 0, minWidth = 0, minDistance = 0, maxFrequency = 1;\nclass LinkInstance {\n constructor(container, engine) {\n this._drawLinkLine = (p1, link) => {\n const p1LinksOptions = p1.options.links;\n if (!p1LinksOptions?.enable) {\n return;\n }\n const container = this._container, p2 = link.destination, pos1 = p1.getPosition(), pos2 = p2.getPosition();\n let opacity = link.opacity;\n container.canvas.draw(ctx => {\n let colorLine;\n const twinkle = p1.options[\"twinkle\"]?.lines;\n if (twinkle?.enable) {\n const twinkleFreq = twinkle.frequency, twinkleRgb = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToRgb)(this._engine, twinkle.color), twinkling = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() < twinkleFreq;\n if (twinkling && twinkleRgb) {\n colorLine = twinkleRgb;\n opacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(twinkle.opacity);\n }\n }\n if (!colorLine) {\n const linkColor = p1LinksOptions.id !== undefined\n ? container.particles.linksColors.get(p1LinksOptions.id)\n : container.particles.linksColor;\n colorLine = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getLinkColor)(p1, p2, linkColor);\n }\n if (!colorLine) {\n return;\n }\n const width = p1.retina.linksWidth ?? minWidth, maxDistance = p1.retina.linksDistance ?? minDistance;\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawLinkLine)({\n context: ctx,\n width,\n begin: pos1,\n end: pos2,\n engine: this._engine,\n maxDistance,\n canvasSize: container.canvas.size,\n links: p1LinksOptions,\n colorLine,\n opacity,\n hdr: container.hdr,\n });\n });\n };\n this._drawLinkTriangle = (p1, link1, link2) => {\n const linksOptions = p1.options.links;\n if (!linksOptions?.enable) {\n return;\n }\n const triangleOptions = linksOptions.triangles;\n if (!triangleOptions.enable) {\n return;\n }\n const container = this._container, p2 = link1.destination, p3 = link2.destination, opacityTriangle = triangleOptions.opacity ?? (link1.opacity + link2.opacity) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half;\n if (opacityTriangle <= minOpacity) {\n return;\n }\n container.canvas.draw(ctx => {\n const pos1 = p1.getPosition(), pos2 = p2.getPosition(), pos3 = p3.getPosition(), linksDistance = p1.retina.linksDistance ?? minDistance;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(pos1, pos2) > linksDistance ||\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(pos3, pos2) > linksDistance ||\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(pos3, pos1) > linksDistance) {\n return;\n }\n let colorTriangle = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToRgb)(this._engine, triangleOptions.color);\n if (!colorTriangle) {\n const linkColor = linksOptions.id !== undefined\n ? container.particles.linksColors.get(linksOptions.id)\n : container.particles.linksColor;\n colorTriangle = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getLinkColor)(p1, p2, linkColor);\n }\n if (!colorTriangle) {\n return;\n }\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawLinkTriangle)({\n context: ctx,\n pos1,\n pos2,\n pos3,\n colorTriangle,\n opacityTriangle,\n hdr: container.hdr,\n });\n });\n };\n this._drawTriangles = (options, p1, link, p1Links) => {\n const p2 = link.destination;\n if (!(options.links?.triangles.enable && p2.options.links?.triangles.enable)) {\n return;\n }\n const vertices = p2.links?.filter(t => {\n const linkFreq = this._getLinkFrequency(p2, t.destination), minCount = 0;\n return (p2.options.links &&\n linkFreq <= p2.options.links.frequency &&\n p1Links.findIndex(l => l.destination === t.destination) >= minCount);\n });\n if (!vertices?.length) {\n return;\n }\n for (const vertex of vertices) {\n const p3 = vertex.destination, triangleFreq = this._getTriangleFrequency(p1, p2, p3);\n if (triangleFreq > options.links.triangles.frequency) {\n continue;\n }\n this._drawLinkTriangle(p1, link, vertex);\n }\n };\n this._getLinkFrequency = (p1, p2) => {\n return (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.setLinkFrequency)([p1, p2], this._freqs.links);\n };\n this._getTriangleFrequency = (p1, p2, p3) => {\n return (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.setLinkFrequency)([p1, p2, p3], this._freqs.triangles);\n };\n this._container = container;\n this._engine = engine;\n this._freqs = {\n links: new Map(),\n triangles: new Map(),\n };\n }\n drawParticle(_context, particle) {\n const { links, options } = particle;\n if (!links?.length) {\n return;\n }\n const p1Links = links.filter(l => options.links &&\n (options.links.frequency >= maxFrequency ||\n this._getLinkFrequency(particle, l.destination) <= options.links.frequency));\n for (const link of p1Links) {\n this._drawTriangles(options, particle, link, p1Links);\n if (link.opacity > minOpacity && (particle.retina.linksWidth ?? minWidth) > minWidth) {\n this._drawLinkLine(particle, link);\n }\n }\n }\n async init() {\n this._freqs.links = new Map();\n this._freqs.triangles = new Map();\n await Promise.resolve();\n }\n particleCreated(particle) {\n particle.links = [];\n if (!particle.options.links) {\n return;\n }\n const ratio = this._container.retina.pixelRatio, { retina } = particle, { distance, width } = particle.options.links;\n retina.linksDistance = distance * ratio;\n retina.linksWidth = width * ratio;\n }\n particleDestroyed(particle) {\n particle.links = [];\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/LinkInstance.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Utils.js"
31
+ /*!**************************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Utils.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 */ drawLinkLine: () => (/* binding */ drawLinkLine),\n/* harmony export */ drawLinkTriangle: () => (/* binding */ drawLinkTriangle),\n/* harmony export */ drawTriangle: () => (/* binding */ drawTriangle),\n/* harmony export */ getLinkKey: () => (/* binding */ getLinkKey),\n/* harmony export */ setLinkFrequency: () => (/* binding */ setLinkFrequency)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nfunction drawTriangle(context, p1, p2, p3) {\n context.beginPath();\n context.moveTo(p1.x, p1.y);\n context.lineTo(p2.x, p2.y);\n context.lineTo(p3.x, p3.y);\n context.closePath();\n}\nfunction drawLinkLine(params) {\n let drawn = false;\n const { begin, end, engine, maxDistance, context, canvasSize, width, colorLine, opacity, links, hdr } = params;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(begin, end) <= maxDistance) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.drawLine)(context, begin, end);\n drawn = true;\n }\n else if (links.warp) {\n let pi1;\n let pi2;\n const endNE = {\n x: end.x - canvasSize.width,\n y: end.y,\n };\n const d1 = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(begin, endNE);\n if (d1.distance <= maxDistance) {\n const yi = begin.y - (d1.dy / d1.dx) * begin.x;\n pi1 = { x: 0, y: yi };\n pi2 = { x: canvasSize.width, y: yi };\n }\n else {\n const endSW = {\n x: end.x,\n y: end.y - canvasSize.height,\n };\n const d2 = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(begin, endSW);\n if (d2.distance <= maxDistance) {\n const yi = begin.y - (d2.dy / d2.dx) * begin.x;\n const xi = -yi / (d2.dy / d2.dx);\n pi1 = { x: xi, y: 0 };\n pi2 = { x: xi, y: canvasSize.height };\n }\n else {\n const endSE = {\n x: end.x - canvasSize.width,\n y: end.y - canvasSize.height,\n };\n const d3 = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(begin, endSE);\n if (d3.distance <= maxDistance) {\n const yi = begin.y - (d3.dy / d3.dx) * begin.x;\n const xi = -yi / (d3.dy / d3.dx);\n pi1 = { x: xi, y: yi };\n pi2 = { x: pi1.x + canvasSize.width, y: pi1.y + canvasSize.height };\n }\n }\n }\n if (pi1 && pi2) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.drawLine)(context, begin, pi1);\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.drawLine)(context, end, pi2);\n drawn = true;\n }\n }\n if (!drawn) {\n return;\n }\n context.lineWidth = width;\n context.strokeStyle = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getStyleFromRgb)(colorLine, hdr, opacity);\n const { shadow } = links;\n if (shadow.enable) {\n const shadowColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToRgb)(engine, shadow.color);\n if (shadowColor) {\n context.shadowBlur = shadow.blur;\n context.shadowColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getStyleFromRgb)(shadowColor, hdr);\n }\n }\n context.stroke();\n}\nfunction drawLinkTriangle(params) {\n const { context, hdr, pos1, pos2, pos3, colorTriangle, opacityTriangle } = params;\n drawTriangle(context, pos1, pos2, pos3);\n context.fillStyle = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getStyleFromRgb)(colorTriangle, hdr, opacityTriangle);\n context.fill();\n}\nfunction getLinkKey(ids) {\n ids.sort((a, b) => a - b);\n return ids.join(\"_\");\n}\nfunction setLinkFrequency(particles, dictionary) {\n const key = getLinkKey(particles.map(t => t.id));\n let res = dictionary.get(key);\n if (res === undefined) {\n res = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n dictionary.set(key, res);\n }\n return res;\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+interaction-particles-links@4.0.0-alpha.5/node_modules/@tsparticles/interaction-particles-links/browser/Utils.js?\n}");
37
+
38
+ /***/ }
39
+
40
+ }]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/BaseMover.js"
21
+ /*!******************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/BaseMover.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 */ BaseMover: () => (/* binding */ BaseMover)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/Utils.js\");\n\n\nconst diffFactor = 2, defaultSizeFactor = 1, defaultDeltaFactor = 1;\nclass BaseMover {\n init(particle) {\n const options = particle.options, gravityOptions = options.move.gravity;\n particle.gravity = {\n enable: gravityOptions.enable,\n acceleration: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(gravityOptions.acceleration),\n inverse: gravityOptions.inverse,\n };\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.initSpin)(particle);\n }\n isEnabled(particle) {\n return !particle.destroyed && particle.options.move.enable;\n }\n move(particle, delta) {\n const particleOptions = particle.options, moveOptions = particleOptions.move;\n if (!moveOptions.enable) {\n return;\n }\n const container = particle.container, pxRatio = container.retina.pixelRatio;\n particle.retina.moveSpeed ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(moveOptions.speed) * pxRatio;\n particle.retina.moveDrift ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(particle.options.move.drift) * pxRatio;\n const slowFactor = (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.getProximitySpeedFactor)(particle), reduceFactor = container.retina.reduceFactor, baseSpeed = particle.retina.moveSpeed, moveDrift = particle.retina.moveDrift, maxSize = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(particleOptions.size.value) * pxRatio, sizeFactor = moveOptions.size ? particle.getRadius() / maxSize : defaultSizeFactor, deltaFactor = delta.factor || defaultDeltaFactor, moveSpeed = (baseSpeed * sizeFactor * slowFactor * deltaFactor) / diffFactor, maxSpeed = particle.retina.maxSpeed ?? container.retina.maxSpeed;\n if (moveOptions.spin.enable) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.spin)(particle, moveSpeed, reduceFactor);\n }\n else {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.move)(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, reduceFactor, delta);\n }\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.applyDistance)(particle);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/BaseMover.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/Utils.js"
31
+ /*!**************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/Utils.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 */ applyDistance: () => (/* binding */ applyDistance),\n/* harmony export */ applyPath: () => (/* binding */ applyPath),\n/* harmony export */ getProximitySpeedFactor: () => (/* binding */ getProximitySpeedFactor),\n/* harmony export */ initSpin: () => (/* binding */ initSpin),\n/* harmony export */ move: () => (/* binding */ move),\n/* harmony export */ spin: () => (/* binding */ spin)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minVelocity = 0, identity = 1, moveSpeedFactor = 60, minSpinRadius = 0, spinFactor = 0.01;\nfunction applyDistance(particle) {\n const initialPosition = particle.initialPosition, { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(initialPosition, particle.position), dxFixed = Math.abs(dx), dyFixed = Math.abs(dy), { maxDistance } = particle.retina, hDistance = maxDistance.horizontal, vDistance = maxDistance.vertical;\n if (!hDistance && !vDistance) {\n return;\n }\n const hasHDistance = (hDistance && dxFixed >= hDistance) ?? false, hasVDistance = (vDistance && dyFixed >= vDistance) ?? false;\n if ((hasHDistance || hasVDistance) && !particle.misplaced) {\n particle.misplaced = (!!hDistance && dxFixed > hDistance) || (!!vDistance && dyFixed > vDistance);\n if (hDistance) {\n particle.velocity.x = particle.velocity.y * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - particle.velocity.x;\n }\n if (vDistance) {\n particle.velocity.y = particle.velocity.x * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - particle.velocity.y;\n }\n }\n else if ((!hDistance || dxFixed < hDistance) && (!vDistance || dyFixed < vDistance) && particle.misplaced) {\n particle.misplaced = false;\n }\n else if (particle.misplaced) {\n const pos = particle.position, vel = particle.velocity;\n if (hDistance &&\n ((pos.x < initialPosition.x && vel.x < minVelocity) || (pos.x > initialPosition.x && vel.x > minVelocity))) {\n vel.x *= -(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n if (vDistance &&\n ((pos.y < initialPosition.y && vel.y < minVelocity) || (pos.y > initialPosition.y && vel.y > minVelocity))) {\n vel.y *= -(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n}\nfunction move(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, reduceFactor, delta) {\n applyPath(particle, delta);\n const gravityOptions = particle.gravity, gravityFactor = gravityOptions?.enable && gravityOptions.inverse ? -identity : identity;\n if (moveDrift && moveSpeed) {\n particle.velocity.x += (moveDrift * delta.factor) / (moveSpeedFactor * moveSpeed);\n }\n if (gravityOptions?.enable && moveSpeed) {\n particle.velocity.y +=\n (gravityFactor * (gravityOptions.acceleration * delta.factor)) / (moveSpeedFactor * moveSpeed);\n }\n const decay = particle.moveDecay;\n particle.velocity.multTo(decay);\n const velocity = particle.velocity.mult(moveSpeed);\n if (gravityOptions?.enable &&\n maxSpeed > minVelocity &&\n ((!gravityOptions.inverse && velocity.y >= minVelocity && velocity.y >= maxSpeed) ||\n (gravityOptions.inverse && velocity.y <= minVelocity && velocity.y <= -maxSpeed))) {\n velocity.y = gravityFactor * maxSpeed;\n if (moveSpeed) {\n particle.velocity.y = velocity.y / moveSpeed;\n }\n }\n const zIndexOptions = particle.options.zIndex, zVelocityFactor = (identity - particle.zIndexFactor) ** zIndexOptions.velocityRate;\n velocity.multTo(zVelocityFactor);\n velocity.multTo(reduceFactor);\n const { position } = particle;\n position.addTo(velocity);\n if (moveOptions.vibrate) {\n position.x += Math.sin(position.x * Math.cos(position.y)) * reduceFactor;\n position.y += Math.cos(position.y * Math.sin(position.x)) * reduceFactor;\n }\n}\nfunction spin(particle, moveSpeed, reduceFactor) {\n const container = particle.container;\n if (!particle.spin) {\n return;\n }\n const spinClockwise = particle.spin.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise, updateFunc = {\n x: spinClockwise ? Math.cos : Math.sin,\n y: spinClockwise ? Math.sin : Math.cos,\n };\n particle.position.x =\n particle.spin.center.x + particle.spin.radius * updateFunc.x(particle.spin.angle) * reduceFactor;\n particle.position.y =\n particle.spin.center.y + particle.spin.radius * updateFunc.y(particle.spin.angle) * reduceFactor;\n particle.spin.radius += particle.spin.acceleration * reduceFactor;\n const maxCanvasSize = Math.max(container.canvas.size.width, container.canvas.size.height), halfMaxSize = maxCanvasSize * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half;\n if (particle.spin.radius > halfMaxSize) {\n particle.spin.radius = halfMaxSize;\n particle.spin.acceleration *= -identity;\n }\n else if (particle.spin.radius < minSpinRadius) {\n particle.spin.radius = minSpinRadius;\n particle.spin.acceleration *= -identity;\n }\n particle.spin.angle += moveSpeed * spinFactor * (identity - particle.spin.radius / maxCanvasSize);\n}\nfunction applyPath(particle, delta) {\n const particlesOptions = particle.options, pathOptions = particlesOptions.move.path, pathEnabled = pathOptions.enable;\n if (!pathEnabled) {\n return;\n }\n if (particle.lastPathTime <= particle.pathDelay) {\n particle.lastPathTime += delta.value;\n return;\n }\n const path = particle.pathGenerator?.generate(particle, delta);\n if (path) {\n particle.velocity.addTo(path);\n }\n if (pathOptions.clamp) {\n particle.velocity.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)(particle.velocity.x, -identity, identity);\n particle.velocity.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)(particle.velocity.y, -identity, identity);\n }\n particle.lastPathTime -= particle.pathDelay;\n}\nfunction getProximitySpeedFactor(particle) {\n return particle.slow.inRange ? particle.slow.factor : identity;\n}\nfunction initSpin(particle) {\n const container = particle.container, options = particle.options, spinOptions = options.move.spin;\n if (!spinOptions.enable) {\n return;\n }\n const spinPos = spinOptions.position ?? { x: 50, y: 50 }, spinFactor = 0.01, spinCenter = {\n x: spinPos.x * spinFactor * container.canvas.size.width,\n y: spinPos.y * spinFactor * container.canvas.size.height,\n }, pos = particle.getPosition(), distance = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(pos, spinCenter), spinAcceleration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(spinOptions.acceleration);\n particle.retina.spinAcceleration = spinAcceleration * container.retina.pixelRatio;\n particle.spin = {\n center: spinCenter,\n direction: particle.velocity.x >= minVelocity ? _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise : _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.counterClockwise,\n angle: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI,\n radius: distance,\n acceleration: particle.retina.spinAcceleration,\n };\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/Utils.js?\n}");
37
+
38
+ /***/ }
39
+
40
+ }]);
@@ -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.0
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.2/node_modules/@tsparticles/move-base/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/index.js"
21
21
  /*!**************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.2/node_modules/@tsparticles/move-base/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/index.js ***!
23
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 */ loadBaseMover: () => (/* binding */ loadBaseMover)\n/* harmony export */ });\nfunction loadBaseMover(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addMover(\"base\", async () => {\n const { BaseMover } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb\").then(__webpack_require__.bind(__webpack_require__, /*! ./BaseMover.js */ \"../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.2/node_modules/@tsparticles/move-base/browser/BaseMover.js\"));\n return new BaseMover();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.2/node_modules/@tsparticles/move-base/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBaseMover: () => (/* binding */ loadBaseMover)\n/* harmony export */ });\nasync function loadBaseMover(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(e => {\n e.addMover(\"base\", async () => {\n const { BaseMover } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee\").then(__webpack_require__.bind(__webpack_require__, /*! ./BaseMover.js */ \"../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/BaseMover.js\"));\n return new BaseMover();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+move-base@4.0.0-alpha.5/node_modules/@tsparticles/move-base/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.0
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
21
21
  /*!**************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js ***!
23
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 constructor() {\n this.key = \"hex\";\n }\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] ? parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/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 constructor() {\n this.key = \"hex\";\n }\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] ? parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/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.0
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
21
21
  /*!****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/index.js ***!
23
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 */ });\nfunction loadHexColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { HexColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.addColorManager(new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/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-alpha.5\");\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_5_node_modules_tsparticles_plugin--082572\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.addColorManager(new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.0
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js"
21
21
  /*!**************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js ***!
23
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 */ 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-alpha.2/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 constructor() {\n this.key = \"hsl\";\n }\n accepts(input) {\n return input.startsWith(\"hsl\");\n }\n handleColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!Object.hasOwn(hslColor, \"h\") && !Object.hasOwn(hslColor, \"s\") && !Object.hasOwn(hslColor, \"l\")) {\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 (!Object.hasOwn(hslColor, \"h\") && !Object.hasOwn(hslColor, \"s\") && !Object.hasOwn(hslColor, \"l\")) {\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: parseInt(result[HslIndexes.h] ?? \"0\", radix),\n l: parseInt(result[HslIndexes.l] ?? \"0\", radix),\n s: parseInt(result[HslIndexes.s] ?? \"0\", radix),\n })\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js?\n}");
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-alpha.5/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 constructor() {\n this.key = \"hsl\";\n }\n accepts(input) {\n return input.startsWith(\"hsl\");\n }\n handleColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!Object.hasOwn(hslColor, \"h\") || !Object.hasOwn(hslColor, \"s\") || !Object.hasOwn(hslColor, \"l\")) {\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 (!Object.hasOwn(hslColor, \"h\") || !Object.hasOwn(hslColor, \"s\") || !Object.hasOwn(hslColor, \"l\")) {\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: parseInt(result[HslIndexes.h] ?? \"0\", radix),\n l: parseInt(result[HslIndexes.l] ?? \"0\", radix),\n s: parseInt(result[HslIndexes.s] ?? \"0\", radix),\n })\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.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.0
7
+ * v4.0.0-alpha.2
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_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c"],{
18
+ (this["webpackChunk_tsparticles_preset_links"] = this["webpackChunk_tsparticles_preset_links"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
21
21
  /*!****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/index.js ***!
23
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 */ });\nfunction loadHslColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { HslColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.addColorManager(new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/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-alpha.5\");\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_5_node_modules_tsparticles_plugin--175cc6\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.addColorManager(new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-links/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29