@tsparticles/all 4.0.0-beta.12 → 4.0.0-beta.15

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 (610) hide show
  1. package/README.md +18 -14
  2. package/browser/browser.js +5 -0
  3. package/browser/bundle.js +4 -0
  4. package/browser/index.js +107 -108
  5. package/browser/index.lazy.js +167 -0
  6. package/cjs/browser.js +5 -0
  7. package/cjs/bundle.js +4 -0
  8. package/cjs/index.js +107 -108
  9. package/cjs/index.lazy.js +167 -0
  10. package/esm/browser.js +5 -0
  11. package/esm/bundle.js +4 -0
  12. package/esm/index.js +107 -108
  13. package/esm/index.lazy.js +167 -0
  14. package/package.json +86 -79
  15. package/report.html +4949 -94
  16. package/tsparticles.all.bundle.js +28779 -791
  17. package/tsparticles.all.bundle.min.js +1 -2
  18. package/tsparticles.all.js +111 -912
  19. package/tsparticles.all.min.js +1 -1
  20. package/types/browser.d.ts +1 -0
  21. package/types/index.lazy.d.ts +2 -0
  22. package/1005.min.js +0 -1
  23. package/1057.min.js +0 -1
  24. package/1069.min.js +0 -1
  25. package/1135.min.js +0 -1
  26. package/1185.min.js +0 -1
  27. package/1212.min.js +0 -1
  28. package/130.min.js +0 -1
  29. package/1313.min.js +0 -2
  30. package/1319.min.js +0 -1
  31. package/1349.min.js +0 -1
  32. package/1357.min.js +0 -1
  33. package/1378.min.js +0 -1
  34. package/1398.min.js +0 -1
  35. package/1415.min.js +0 -1
  36. package/1482.min.js +0 -1
  37. package/1528.min.js +0 -1
  38. package/1533.min.js +0 -1
  39. package/1584.min.js +0 -1
  40. package/167.min.js +0 -1
  41. package/1673.min.js +0 -1
  42. package/1685.min.js +0 -1
  43. package/1708.min.js +0 -1
  44. package/1722.min.js +0 -1
  45. package/1733.min.js +0 -1
  46. package/1753.min.js +0 -1
  47. package/1794.min.js +0 -1
  48. package/1829.min.js +0 -1
  49. package/183.min.js +0 -1
  50. package/1858.min.js +0 -33
  51. package/1884.min.js +0 -1
  52. package/1887.min.js +0 -1
  53. package/1896.min.js +0 -1
  54. package/1979.min.js +0 -1
  55. package/2008.min.js +0 -1
  56. package/2036.min.js +0 -1
  57. package/2065.min.js +0 -1
  58. package/2122.min.js +0 -1
  59. package/2152.min.js +0 -1
  60. package/2181.min.js +0 -1
  61. package/2185.min.js +0 -1
  62. package/2212.min.js +0 -1
  63. package/2298.min.js +0 -1
  64. package/2318.min.js +0 -1
  65. package/2328.min.js +0 -1
  66. package/2330.min.js +0 -1
  67. package/240.min.js +0 -1
  68. package/2410.min.js +0 -1
  69. package/2434.min.js +0 -1
  70. package/244.min.js +0 -1
  71. package/2459.min.js +0 -1
  72. package/2466.min.js +0 -1
  73. package/2471.min.js +0 -1
  74. package/2510.min.js +0 -1
  75. package/2553.min.js +0 -1
  76. package/2556.min.js +0 -1
  77. package/2568.min.js +0 -1
  78. package/2580.min.js +0 -1
  79. package/2595.min.js +0 -1
  80. package/260.min.js +0 -1
  81. package/2623.min.js +0 -1
  82. package/2630.min.js +0 -1
  83. package/2641.min.js +0 -1
  84. package/2662.min.js +0 -1
  85. package/2748.min.js +0 -1
  86. package/2749.min.js +0 -1
  87. package/2788.min.js +0 -1
  88. package/2791.min.js +0 -1
  89. package/2806.min.js +0 -1
  90. package/2899.min.js +0 -1
  91. package/2951.min.js +0 -1
  92. package/2954.min.js +0 -1
  93. package/299.min.js +0 -1
  94. package/302.min.js +0 -1
  95. package/3051.min.js +0 -1
  96. package/3100.min.js +0 -1
  97. package/3110.min.js +0 -1
  98. package/312.min.js +0 -1
  99. package/3147.min.js +0 -1
  100. package/3281.min.js +0 -1
  101. package/3371.min.js +0 -1
  102. package/343.min.js +0 -1
  103. package/3486.min.js +0 -1
  104. package/3507.min.js +0 -1
  105. package/3517.min.js +0 -1
  106. package/3564.min.js +0 -1
  107. package/3586.min.js +0 -1
  108. package/3600.min.js +0 -1
  109. package/3627.min.js +0 -1
  110. package/3692.min.js +0 -1
  111. package/3743.min.js +0 -1
  112. package/3751.min.js +0 -1
  113. package/3754.min.js +0 -1
  114. package/3772.min.js +0 -1
  115. package/3926.min.js +0 -1
  116. package/4068.min.js +0 -1
  117. package/4088.min.js +0 -1
  118. package/409.min.js +0 -1
  119. package/4103.min.js +0 -1
  120. package/4121.min.js +0 -1
  121. package/4162.min.js +0 -1
  122. package/4177.min.js +0 -1
  123. package/4210.min.js +0 -1
  124. package/425.min.js +0 -1
  125. package/4282.min.js +0 -1
  126. package/4289.min.js +0 -1
  127. package/4319.min.js +0 -1
  128. package/4353.min.js +0 -1
  129. package/4438.min.js +0 -1
  130. package/4447.min.js +0 -1
  131. package/4454.min.js +0 -1
  132. package/4535.min.js +0 -1
  133. package/4586.min.js +0 -1
  134. package/462.min.js +0 -1
  135. package/4626.min.js +0 -1
  136. package/4629.min.js +0 -1
  137. package/4657.min.js +0 -1
  138. package/4663.min.js +0 -1
  139. package/4726.min.js +0 -1
  140. package/4807.min.js +0 -1
  141. package/4821.min.js +0 -1
  142. package/4828.min.js +0 -1
  143. package/483.min.js +0 -1
  144. package/4874.min.js +0 -1
  145. package/4909.min.js +0 -1
  146. package/4948.min.js +0 -1
  147. package/4953.min.js +0 -1
  148. package/4970.min.js +0 -1
  149. package/5127.min.js +0 -1
  150. package/5130.min.js +0 -1
  151. package/5197.min.js +0 -1
  152. package/524.min.js +0 -1
  153. package/5252.min.js +0 -1
  154. package/5269.min.js +0 -1
  155. package/5271.min.js +0 -1
  156. package/5306.min.js +0 -1
  157. package/5348.min.js +0 -1
  158. package/5361.min.js +0 -1
  159. package/5436.min.js +0 -1
  160. package/5472.min.js +0 -1
  161. package/5485.min.js +0 -1
  162. package/5653.min.js +0 -1
  163. package/5757.min.js +0 -1
  164. package/5761.min.js +0 -1
  165. package/582.min.js +0 -1
  166. package/5841.min.js +0 -1
  167. package/5938.min.js +0 -1
  168. package/5939.min.js +0 -1
  169. package/5966.min.js +0 -1
  170. package/5999.min.js +0 -1
  171. package/6002.min.js +0 -1
  172. package/6133.min.js +0 -1
  173. package/6144.min.js +0 -1
  174. package/6148.min.js +0 -1
  175. package/6179.min.js +0 -1
  176. package/6213.min.js +0 -1
  177. package/6232.min.js +0 -1
  178. package/6242.min.js +0 -1
  179. package/6254.min.js +0 -1
  180. package/6379.min.js +0 -1
  181. package/6427.min.js +0 -1
  182. package/6470.min.js +0 -1
  183. package/6472.min.js +0 -1
  184. package/652.min.js +0 -1
  185. package/6623.min.js +0 -1
  186. package/6688.min.js +0 -1
  187. package/6699.min.js +0 -1
  188. package/6710.min.js +0 -1
  189. package/6718.min.js +0 -1
  190. package/673.min.js +0 -1
  191. package/6766.min.js +0 -1
  192. package/6799.min.js +0 -1
  193. package/6837.min.js +0 -1
  194. package/6887.min.js +0 -1
  195. package/6900.min.js +0 -1
  196. package/6911.min.js +0 -1
  197. package/693.min.js +0 -1
  198. package/7009.min.js +0 -1
  199. package/7025.min.js +0 -2
  200. package/7089.min.js +0 -1
  201. package/7091.min.js +0 -1
  202. package/7101.min.js +0 -1
  203. package/7110.min.js +0 -1
  204. package/7129.min.js +0 -1
  205. package/7155.min.js +0 -1
  206. package/716.min.js +0 -1
  207. package/7180.min.js +0 -1
  208. package/7192.min.js +0 -1
  209. package/7208.min.js +0 -1
  210. package/7268.min.js +0 -1
  211. package/7282.min.js +0 -1
  212. package/7319.min.js +0 -2
  213. package/7335.min.js +0 -1
  214. package/7347.min.js +0 -1
  215. package/7375.min.js +0 -1
  216. package/7399.min.js +0 -1
  217. package/7402.min.js +0 -1
  218. package/7409.min.js +0 -1
  219. package/7483.min.js +0 -1
  220. package/7484.min.js +0 -1
  221. package/7530.min.js +0 -1
  222. package/7646.min.js +0 -1
  223. package/7662.min.js +0 -1
  224. package/7678.min.js +0 -1
  225. package/7752.min.js +0 -1
  226. package/779.min.js +0 -1
  227. package/7819.min.js +0 -1
  228. package/7829.min.js +0 -1
  229. package/7846.min.js +0 -1
  230. package/7857.min.js +0 -1
  231. package/7861.min.js +0 -1
  232. package/7879.min.js +0 -1
  233. package/789.min.js +0 -1
  234. package/7987.min.js +0 -1
  235. package/7989.min.js +0 -2
  236. package/8002.min.js +0 -1
  237. package/8005.min.js +0 -1
  238. package/805.min.js +0 -1
  239. package/809.min.js +0 -1
  240. package/8093.min.js +0 -1
  241. package/8101.min.js +0 -1
  242. package/8103.min.js +0 -1
  243. package/8127.min.js +0 -1
  244. package/8136.min.js +0 -1
  245. package/8152.min.js +0 -1
  246. package/8172.min.js +0 -1
  247. package/8212.min.js +0 -1
  248. package/8237.min.js +0 -1
  249. package/8314.min.js +0 -1
  250. package/8320.min.js +0 -1
  251. package/8338.min.js +0 -1
  252. package/835.min.js +0 -1
  253. package/8368.min.js +0 -1
  254. package/8372.min.js +0 -1
  255. package/8396.min.js +0 -1
  256. package/8405.min.js +0 -1
  257. package/8420.min.js +0 -1
  258. package/8464.min.js +0 -1
  259. package/850.min.js +0 -1
  260. package/8568.min.js +0 -1
  261. package/858.min.js +0 -1
  262. package/8589.min.js +0 -1
  263. package/8614.min.js +0 -1
  264. package/8633.min.js +0 -1
  265. package/8639.min.js +0 -1
  266. package/8644.min.js +0 -1
  267. package/8649.min.js +0 -1
  268. package/8671.min.js +0 -1
  269. package/8690.min.js +0 -1
  270. package/8759.min.js +0 -1
  271. package/8774.min.js +0 -1
  272. package/8777.min.js +0 -1
  273. package/8802.min.js +0 -1
  274. package/8803.min.js +0 -1
  275. package/8823.min.js +0 -1
  276. package/885.min.js +0 -1
  277. package/8859.min.js +0 -1
  278. package/8929.min.js +0 -1
  279. package/8935.min.js +0 -1
  280. package/8951.min.js +0 -1
  281. package/9006.min.js +0 -1
  282. package/9013.min.js +0 -1
  283. package/904.min.js +0 -1
  284. package/9044.min.js +0 -1
  285. package/9087.min.js +0 -1
  286. package/9204.min.js +0 -1
  287. package/9215.min.js +0 -1
  288. package/9264.min.js +0 -1
  289. package/9299.min.js +0 -1
  290. package/9301.min.js +0 -1
  291. package/9320.min.js +0 -1
  292. package/9336.min.js +0 -1
  293. package/9352.min.js +0 -1
  294. package/9356.min.js +0 -1
  295. package/94.min.js +0 -1
  296. package/9408.min.js +0 -1
  297. package/9439.min.js +0 -1
  298. package/945.min.js +0 -1
  299. package/9515.min.js +0 -1
  300. package/9577.min.js +0 -1
  301. package/9587.min.js +0 -1
  302. package/9603.min.js +0 -1
  303. package/9627.min.js +0 -1
  304. package/968.min.js +0 -1
  305. package/9714.min.js +0 -1
  306. package/9732.min.js +0 -2
  307. package/9770.min.js +0 -1
  308. package/9807.min.js +0 -1
  309. package/9819.min.js +0 -1
  310. package/984.min.js +0 -1
  311. package/9856.min.js +0 -1
  312. package/9887.min.js +0 -1
  313. package/991.min.js +0 -1
  314. package/9956.min.js +0 -1
  315. package/9964.min.js +0 -1
  316. package/basic_dist_browser_index_js.js +0 -30
  317. package/effects_bubble_dist_browser_BubbleDrawer_js.js +0 -30
  318. package/effects_bubble_dist_browser_index_js.js +0 -30
  319. package/effects_filter_dist_browser_FilterDrawer_js.js +0 -30
  320. package/effects_filter_dist_browser_index_js.js +0 -30
  321. package/effects_particles_dist_browser_ParticlesDrawer_js.js +0 -30
  322. package/effects_particles_dist_browser_index_js.js +0 -30
  323. package/effects_shadow_dist_browser_ShadowDrawer_js.js +0 -30
  324. package/effects_shadow_dist_browser_index_js.js +0 -30
  325. package/effects_trail_dist_browser_TrailDrawer_js.js +0 -30
  326. package/effects_trail_dist_browser_index_js.js +0 -30
  327. package/engine_dist_browser_Core_Container_js.js +0 -100
  328. package/full_dist_browser_index_js.js +0 -30
  329. package/interactions_external_attract_dist_browser_Attractor_js.js +0 -140
  330. package/interactions_external_attract_dist_browser_index_js.js +0 -40
  331. package/interactions_external_bounce_dist_browser_Bouncer_js.js +0 -140
  332. package/interactions_external_bounce_dist_browser_index_js.js +0 -40
  333. package/interactions_external_bubble_dist_browser_Bubbler_js.js +0 -150
  334. package/interactions_external_bubble_dist_browser_index_js.js +0 -60
  335. package/interactions_external_cannon_dist_browser_Cannoner_js.js +0 -130
  336. package/interactions_external_cannon_dist_browser_index_js.js +0 -40
  337. package/interactions_external_connect_dist_browser_Connector_js.js +0 -160
  338. package/interactions_external_connect_dist_browser_index_js.js +0 -50
  339. package/interactions_external_destroy_dist_browser_Destroyer_js.js +0 -140
  340. package/interactions_external_destroy_dist_browser_index_js.js +0 -40
  341. package/interactions_external_drag_dist_browser_Dragger_js.js +0 -130
  342. package/interactions_external_drag_dist_browser_index_js.js +0 -40
  343. package/interactions_external_grab_dist_browser_Grabber_js.js +0 -160
  344. package/interactions_external_grab_dist_browser_index_js.js +0 -50
  345. package/interactions_external_parallax_dist_browser_Parallaxer_js.js +0 -130
  346. package/interactions_external_parallax_dist_browser_index_js.js +0 -40
  347. package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +0 -140
  348. package/interactions_external_particle_dist_browser_index_js.js +0 -30
  349. package/interactions_external_pause_dist_browser_Pauser_js.js +0 -130
  350. package/interactions_external_pause_dist_browser_index_js.js +0 -30
  351. package/interactions_external_pop_dist_browser_Popper_js.js +0 -130
  352. package/interactions_external_pop_dist_browser_index_js.js +0 -30
  353. package/interactions_external_push_dist_browser_Pusher_js.js +0 -130
  354. package/interactions_external_push_dist_browser_index_js.js +0 -40
  355. package/interactions_external_remove_dist_browser_Remover_js.js +0 -130
  356. package/interactions_external_remove_dist_browser_index_js.js +0 -40
  357. package/interactions_external_repulse_dist_browser_Repulser_js.js +0 -130
  358. package/interactions_external_repulse_dist_browser_index_js.js +0 -60
  359. package/interactions_external_slow_dist_browser_Slower_js.js +0 -130
  360. package/interactions_external_slow_dist_browser_index_js.js +0 -40
  361. package/interactions_external_trail_dist_browser_TrailMaker_js.js +0 -130
  362. package/interactions_external_trail_dist_browser_index_js.js +0 -70
  363. package/interactions_light_dist_browser_ExternalLighter_js.js +0 -140
  364. package/interactions_light_dist_browser_ParticlesLighter_js.js +0 -140
  365. package/interactions_light_dist_browser_index_js.js +0 -70
  366. package/interactions_particles_attract_dist_browser_Attractor_js.js +0 -140
  367. package/interactions_particles_attract_dist_browser_index_js.js +0 -30
  368. package/interactions_particles_collisions_dist_browser_Collider_js.js +0 -210
  369. package/interactions_particles_collisions_dist_browser_OverlapPluginInstance_js.js +0 -30
  370. package/interactions_particles_collisions_dist_browser_OverlapPlugin_js.js +0 -30
  371. package/interactions_particles_collisions_dist_browser_index_js.js +0 -30
  372. package/interactions_particles_links_dist_browser_LinkInstance_js.js +0 -40
  373. package/interactions_particles_links_dist_browser_Linker_js.js +0 -140
  374. package/interactions_particles_links_dist_browser_LinksPlugin_js.js +0 -30
  375. package/interactions_particles_links_dist_browser_index_js.js +0 -60
  376. package/interactions_particles_repulse_dist_browser_Repulser_js.js +0 -140
  377. package/interactions_particles_repulse_dist_browser_index_js.js +0 -30
  378. package/paths_branches_dist_browser_BranchesPathGenerator_js.js +0 -30
  379. package/paths_branches_dist_browser_index_js.js +0 -30
  380. package/paths_brownian_dist_browser_BrownianPathGenerator_js.js +0 -30
  381. package/paths_brownian_dist_browser_index_js.js +0 -30
  382. package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +0 -30
  383. package/paths_curlNoise_dist_browser_index_js.js +0 -30
  384. package/paths_curves_dist_browser_CurvesPathGenerator_js.js +0 -40
  385. package/paths_curves_dist_browser_index_js.js +0 -30
  386. package/paths_fractalNoise_dist_browser_FractalNoiseGenerator_js.js +0 -90
  387. package/paths_fractalNoise_dist_browser_index_js.js +0 -30
  388. package/paths_grid_dist_browser_GridPathGenerator_js.js +0 -30
  389. package/paths_grid_dist_browser_index_js.js +0 -30
  390. package/paths_levy_dist_browser_LevyPathGenerator_js.js +0 -30
  391. package/paths_levy_dist_browser_index_js.js +0 -30
  392. package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +0 -80
  393. package/paths_perlinNoise_dist_browser_index_js.js +0 -30
  394. package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +0 -30
  395. package/paths_polygon_dist_browser_index_js.js +0 -30
  396. package/paths_random_dist_browser_RandomPathGenerator_js.js +0 -30
  397. package/paths_random_dist_browser_index_js.js +0 -30
  398. package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +0 -50
  399. package/paths_simplexNoise_dist_browser_index_js.js +0 -30
  400. package/paths_spiral_dist_browser_SpiralPathGenerator_js.js +0 -40
  401. package/paths_spiral_dist_browser_index_js.js +0 -30
  402. package/paths_svg_dist_browser_SVGPathGenerator_js.js +0 -50
  403. package/paths_svg_dist_browser_index_js.js +0 -30
  404. package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +0 -30
  405. package/paths_zigzag_dist_browser_index_js.js +0 -30
  406. package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +0 -70
  407. package/plugins_absorbers_dist_browser_AbsorbersInstancesManager_js.js +0 -30
  408. package/plugins_absorbers_dist_browser_AbsorbersInteractor_js.js +0 -170
  409. package/plugins_absorbers_dist_browser_AbsorbersPluginInstance_js.js +0 -30
  410. package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +0 -70
  411. package/plugins_absorbers_dist_browser_getAbsorbersInstancesManager_js.js +0 -30
  412. package/plugins_absorbers_dist_browser_index_js.js +0 -50
  413. package/plugins_backgroundMask_dist_browser_BackgroundMaskPluginInstance_js.js +0 -30
  414. package/plugins_backgroundMask_dist_browser_BackgroundMaskPlugin_js.js +0 -50
  415. package/plugins_backgroundMask_dist_browser_index_js.js +0 -30
  416. package/plugins_blend_dist_browser_BlendPluginInstance_js.js +0 -30
  417. package/plugins_blend_dist_browser_BlendPlugin_js.js +0 -40
  418. package/plugins_blend_dist_browser_index_js.js +0 -30
  419. package/plugins_canvasMask_dist_browser_CanvasMaskPluginInstance_js.js +0 -60
  420. package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +0 -100
  421. package/plugins_canvasMask_dist_browser_index_js.js +0 -30
  422. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  423. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  424. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  425. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  426. package/plugins_colors_hsv_dist_browser_HsvColorManager_js.js +0 -40
  427. package/plugins_colors_hsv_dist_browser_index_js.js +0 -30
  428. package/plugins_colors_hwb_dist_browser_HwbColorManager_js.js +0 -30
  429. package/plugins_colors_hwb_dist_browser_index_js.js +0 -30
  430. package/plugins_colors_lab_dist_browser_LabColorManager_js.js +0 -40
  431. package/plugins_colors_lab_dist_browser_index_js.js +0 -30
  432. package/plugins_colors_lch_dist_browser_LchColorManager_js.js +0 -40
  433. package/plugins_colors_lch_dist_browser_index_js.js +0 -30
  434. package/plugins_colors_named_dist_browser_NamedColorManager_js.js +0 -30
  435. package/plugins_colors_named_dist_browser_index_js.js +0 -30
  436. package/plugins_colors_oklab_dist_browser_OklabColorManager_js.js +0 -40
  437. package/plugins_colors_oklab_dist_browser_index_js.js +0 -30
  438. package/plugins_colors_oklch_dist_browser_OklchColorManager_js.js +0 -40
  439. package/plugins_colors_oklch_dist_browser_index_js.js +0 -30
  440. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  441. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  442. package/plugins_easings_back_dist_browser_easingsFunctions_js.js +0 -30
  443. package/plugins_easings_back_dist_browser_index_js.js +0 -30
  444. package/plugins_easings_bounce_dist_browser_easingsFunctions_js.js +0 -30
  445. package/plugins_easings_bounce_dist_browser_index_js.js +0 -30
  446. package/plugins_easings_circ_dist_browser_easingsFunctions_js.js +0 -30
  447. package/plugins_easings_circ_dist_browser_index_js.js +0 -30
  448. package/plugins_easings_cubic_dist_browser_easingsFunctions_js.js +0 -30
  449. package/plugins_easings_cubic_dist_browser_index_js.js +0 -30
  450. package/plugins_easings_elastic_dist_browser_easingsFunctions_js.js +0 -30
  451. package/plugins_easings_elastic_dist_browser_index_js.js +0 -30
  452. package/plugins_easings_expo_dist_browser_easingsFunctions_js.js +0 -30
  453. package/plugins_easings_expo_dist_browser_index_js.js +0 -30
  454. package/plugins_easings_gaussian_dist_browser_easingsFunctions_js.js +0 -30
  455. package/plugins_easings_gaussian_dist_browser_index_js.js +0 -30
  456. package/plugins_easings_linear_dist_browser_easingsFunctions_js.js +0 -30
  457. package/plugins_easings_linear_dist_browser_index_js.js +0 -30
  458. package/plugins_easings_quad_dist_browser_easingsFunctions_js.js +0 -30
  459. package/plugins_easings_quad_dist_browser_index_js.js +0 -30
  460. package/plugins_easings_quart_dist_browser_easingsFunctions_js.js +0 -30
  461. package/plugins_easings_quart_dist_browser_index_js.js +0 -30
  462. package/plugins_easings_quint_dist_browser_easingsFunctions_js.js +0 -30
  463. package/plugins_easings_quint_dist_browser_index_js.js +0 -30
  464. package/plugins_easings_sigmoid_dist_browser_easingsFunctions_js.js +0 -30
  465. package/plugins_easings_sigmoid_dist_browser_index_js.js +0 -30
  466. package/plugins_easings_sine_dist_browser_easingsFunctions_js.js +0 -30
  467. package/plugins_easings_sine_dist_browser_index_js.js +0 -30
  468. package/plugins_easings_smoothstep_dist_browser_easingsFunctions_js.js +0 -30
  469. package/plugins_easings_smoothstep_dist_browser_index_js.js +0 -30
  470. package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +0 -170
  471. package/plugins_emittersShapes_canvas_dist_browser_index_js.js +0 -30
  472. package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +0 -100
  473. package/plugins_emittersShapes_circle_dist_browser_index_js.js +0 -30
  474. package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +0 -120
  475. package/plugins_emittersShapes_path_dist_browser_index_js.js +0 -30
  476. package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +0 -120
  477. package/plugins_emittersShapes_polygon_dist_browser_index_js.js +0 -30
  478. package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +0 -100
  479. package/plugins_emittersShapes_square_dist_browser_index_js.js +0 -30
  480. package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
  481. package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +0 -100
  482. package/plugins_emitters_dist_browser_EmittersInteractor_js.js +0 -210
  483. package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +0 -30
  484. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -100
  485. package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
  486. package/plugins_emitters_dist_browser_addEmittersShapesManager_js.js +0 -30
  487. package/plugins_emitters_dist_browser_getEmittersInstancesManager_js.js +0 -30
  488. package/plugins_emitters_dist_browser_index_js.js +0 -80
  489. package/plugins_exports_image_dist_browser_ExportImagePluginInstance_js.js +0 -30
  490. package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +0 -30
  491. package/plugins_exports_image_dist_browser_index_js.js +0 -30
  492. package/plugins_exports_json_dist_browser_ExportJSONPluginInstance_js.js +0 -30
  493. package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +0 -30
  494. package/plugins_exports_json_dist_browser_index_js.js +0 -30
  495. package/plugins_exports_video_dist_browser_ExportVideoPluginInstance_js.js +0 -30
  496. package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +0 -30
  497. package/plugins_exports_video_dist_browser_index_js.js +0 -30
  498. package/plugins_infection_dist_browser_InfectionPluginInstance_js.js +0 -40
  499. package/plugins_infection_dist_browser_InfectionPlugin_js.js +0 -50
  500. package/plugins_infection_dist_browser_ParticlesInfecter_js.js +0 -130
  501. package/plugins_infection_dist_browser_index_js.js +0 -30
  502. package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
  503. package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
  504. package/plugins_interactivity_dist_browser_index_js.js +0 -120
  505. package/plugins_manualParticles_dist_browser_ManualParticlesPluginInstance_js.js +0 -30
  506. package/plugins_manualParticles_dist_browser_ManualParticlesPlugin_js.js +0 -40
  507. package/plugins_manualParticles_dist_browser_index_js.js +0 -30
  508. package/plugins_motion_dist_browser_MotionPluginInstance_js.js +0 -30
  509. package/plugins_motion_dist_browser_MotionPlugin_js.js +0 -50
  510. package/plugins_motion_dist_browser_index_js.js +0 -30
  511. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  512. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  513. package/plugins_move_dist_browser_index_js.js +0 -30
  514. package/plugins_poisson_dist_browser_PoissonDiscPluginInstance_js.js +0 -30
  515. package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +0 -40
  516. package/plugins_poisson_dist_browser_PoissonDisc_js.js +0 -30
  517. package/plugins_poisson_dist_browser_index_js.js +0 -30
  518. package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +0 -50
  519. package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +0 -90
  520. package/plugins_polygonMask_dist_browser_index_js.js +0 -60
  521. package/plugins_responsive_dist_browser_ResponsivePluginInstance_js.js +0 -30
  522. package/plugins_responsive_dist_browser_ResponsivePlugin_js.js +0 -50
  523. package/plugins_responsive_dist_browser_index_js.js +0 -30
  524. package/plugins_sounds_dist_browser_SoundsPluginInstance_js.js +0 -40
  525. package/plugins_sounds_dist_browser_SoundsPlugin_js.js +0 -130
  526. package/plugins_sounds_dist_browser_index_js.js +0 -30
  527. package/plugins_themes_dist_browser_ThemesPluginInstance_js.js +0 -30
  528. package/plugins_themes_dist_browser_ThemesPlugin_js.js +0 -60
  529. package/plugins_themes_dist_browser_index_js.js +0 -30
  530. package/plugins_trail_dist_browser_TrailPluginInstance_js.js +0 -30
  531. package/plugins_trail_dist_browser_TrailPlugin_js.js +0 -50
  532. package/plugins_trail_dist_browser_index_js.js +0 -30
  533. package/plugins_zoom_dist_browser_ZoomPluginInstance_js.js +0 -40
  534. package/plugins_zoom_dist_browser_ZoomPlugin_js.js +0 -30
  535. package/plugins_zoom_dist_browser_index_js.js +0 -50
  536. package/shapes_arrow_dist_browser_ArrowDrawer_js.js +0 -40
  537. package/shapes_arrow_dist_browser_index_js.js +0 -30
  538. package/shapes_cards_dist_browser_cards_CardDrawer_js.js +0 -40
  539. package/shapes_cards_dist_browser_clubs_ClubDrawer_js.js +0 -30
  540. package/shapes_cards_dist_browser_diamonds_DiamondDrawer_js.js +0 -30
  541. package/shapes_cards_dist_browser_hearts_HeartDrawer_js.js +0 -30
  542. package/shapes_cards_dist_browser_index_js.js +0 -90
  543. package/shapes_cards_dist_browser_paths_js.js +0 -70
  544. package/shapes_cards_dist_browser_spades_SpadeDrawer_js.js +0 -30
  545. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  546. package/shapes_circle_dist_browser_index_js.js +0 -30
  547. package/shapes_cog_dist_browser_CogDrawer_js.js +0 -40
  548. package/shapes_cog_dist_browser_index_js.js +0 -30
  549. package/shapes_emoji_dist_browser_EmojiDrawer_js.js +0 -50
  550. package/shapes_emoji_dist_browser_index_js.js +0 -40
  551. package/shapes_heart_dist_browser_HeartDrawer_js.js +0 -40
  552. package/shapes_heart_dist_browser_index_js.js +0 -30
  553. package/shapes_image_dist_browser_GifUtils_Utils_js.js +0 -70
  554. package/shapes_image_dist_browser_ImageDrawer_js.js +0 -30
  555. package/shapes_image_dist_browser_ImagePreloaderInstance_js.js +0 -30
  556. package/shapes_image_dist_browser_ImagePreloader_js.js +0 -40
  557. package/shapes_image_dist_browser_index_js.js +0 -40
  558. package/shapes_infinity_dist_browser_InfinityDrawer_js.js +0 -40
  559. package/shapes_infinity_dist_browser_index_js.js +0 -30
  560. package/shapes_line_dist_browser_LineDrawer_js.js +0 -40
  561. package/shapes_line_dist_browser_index_js.js +0 -30
  562. package/shapes_matrix_dist_browser_MatrixDrawer_js.js +0 -40
  563. package/shapes_matrix_dist_browser_index_js.js +0 -30
  564. package/shapes_path_dist_browser_PathDrawer_js.js +0 -60
  565. package/shapes_path_dist_browser_index_js.js +0 -30
  566. package/shapes_polygon_dist_browser_PolygonDrawer_js.js +0 -50
  567. package/shapes_polygon_dist_browser_TriangleDrawer_js.js +0 -50
  568. package/shapes_polygon_dist_browser_index_js.js +0 -30
  569. package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +0 -40
  570. package/shapes_rounded-polygon_dist_browser_index_js.js +0 -30
  571. package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +0 -40
  572. package/shapes_rounded-rect_dist_browser_index_js.js +0 -30
  573. package/shapes_spiral_dist_browser_SpiralDrawer_js.js +0 -40
  574. package/shapes_spiral_dist_browser_index_js.js +0 -30
  575. package/shapes_square_dist_browser_SquareDrawer_js.js +0 -40
  576. package/shapes_square_dist_browser_index_js.js +0 -30
  577. package/shapes_squircle_dist_browser_SquircleDrawer_js.js +0 -40
  578. package/shapes_squircle_dist_browser_index_js.js +0 -30
  579. package/shapes_star_dist_browser_StarDrawer_js.js +0 -40
  580. package/shapes_star_dist_browser_index_js.js +0 -30
  581. package/shapes_text_dist_browser_TextDrawer_js.js +0 -50
  582. package/shapes_text_dist_browser_index_js.js +0 -40
  583. package/slim_dist_browser_index_js.js +0 -30
  584. package/updaters_destroy_dist_browser_DestroyUpdater_js.js +0 -110
  585. package/updaters_destroy_dist_browser_index_js.js +0 -30
  586. package/updaters_gradient_dist_browser_GradientUpdater_js.js +0 -100
  587. package/updaters_gradient_dist_browser_index_js.js +0 -30
  588. package/updaters_life_dist_browser_LifeUpdater_js.js +0 -70
  589. package/updaters_life_dist_browser_index_js.js +0 -30
  590. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  591. package/updaters_opacity_dist_browser_index_js.js +0 -30
  592. package/updaters_orbit_dist_browser_OrbitUpdater_js.js +0 -70
  593. package/updaters_orbit_dist_browser_index_js.js +0 -30
  594. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  595. package/updaters_outModes_dist_browser_index_js.js +0 -30
  596. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  597. package/updaters_paint_dist_browser_index_js.js +0 -30
  598. package/updaters_roll_dist_browser_RollUpdater_js.js +0 -70
  599. package/updaters_roll_dist_browser_index_js.js +0 -30
  600. package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
  601. package/updaters_rotate_dist_browser_index_js.js +0 -30
  602. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  603. package/updaters_size_dist_browser_index_js.js +0 -30
  604. package/updaters_tilt_dist_browser_TiltUpdater_js.js +0 -60
  605. package/updaters_tilt_dist_browser_index_js.js +0 -30
  606. package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +0 -60
  607. package/updaters_twinkle_dist_browser_index_js.js +0 -30
  608. package/updaters_wobble_dist_browser_WobbleUpdater_js.js +0 -60
  609. package/updaters_wobble_dist_browser_index_js.js +0 -30
  610. package/utils_simplexNoise_dist_browser_index_js.js +0 -80
package/9732.min.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9732],{9732(t,e,i){i.d(e,{PolygonMaskInstance:()=>s}),function(){try{if("u"<typeof window)return;!("SVGPathSeg"in window)&&(window.SVGPathSeg=function(t,e,i){this.pathSegType=t,this.pathSegTypeAsLetter=e,this._owningPathSegList=i},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",t)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",t),this._x=e,this._y=i},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",t),this._x=e,this._y=i},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",t),this._x=e,this._y=i},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",t),this._x=e,this._y=i},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(t,e,i,n,o,r,h){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",t),this._x=e,this._y=i,this._x1=n,this._y1=o,this._x2=r,this._y2=h},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(t,e,i,n,o,r,h){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",t),this._x=e,this._y=i,this._x1=n,this._y1=o,this._x2=r,this._y2=h},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",t),this._x=e,this._y=i,this._x1=n,this._y1=o},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",t),this._x=e,this._y=i,this._x1=n,this._y1=o},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(t,e,i,n,o,r,h,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",t),this._x=e,this._y=i,this._r1=n,this._r2=o,this._angle=r,this._largeArcFlag=h,this._sweepFlag=s},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._r1} ${this._r2} ${this._angle} ${this._largeArcFlag?"1":"0"} ${this._sweepFlag?"1":"0"} ${this._x} ${this._y}`},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(t,e,i,n,o,r,h,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",t),this._x=e,this._y=i,this._r1=n,this._r2=o,this._angle=r,this._largeArcFlag=h,this._sweepFlag=s},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._r1} ${this._r2} ${this._angle} ${this._largeArcFlag?"1":"0"} ${this._sweepFlag?"1":"0"} ${this._x} ${this._y}`},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",t),this._x=e},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x}`},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",t),this._x=e},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x}`},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",t),this._y=e},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._y}`},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",t),this._y=e},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._y}`},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",t),this._x=e,this._y=i,this._x2=n,this._y2=o},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",t),this._x=e,this._y=i,this._x2=n,this._y2=o},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(t,e){return new window.SVGPathSegMovetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(t,e){return new window.SVGPathSegMovetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(t,e){return new window.SVGPathSegLinetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(t,e){return new window.SVGPathSegLinetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(t,e,i,n,o,r){return new window.SVGPathSegCurvetoCubicAbs(void 0,t,e,i,n,o,r)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(t,e,i,n,o,r){return new window.SVGPathSegCurvetoCubicRel(void 0,t,e,i,n,o,r)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(t,e,i,n,o,r,h){return new window.SVGPathSegArcAbs(void 0,t,e,i,n,o,r,h)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(t,e,i,n,o,r,h){return new window.SVGPathSegArcRel(void 0,t,e,i,n,o,r,h)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(t){return new window.SVGPathSegLinetoHorizontalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(t){return new window.SVGPathSegLinetoHorizontalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(t){return new window.SVGPathSegLinetoVerticalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(t){return new window.SVGPathSegLinetoVerticalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,t,e)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(t){if(void 0===t||!isFinite(t))throw"Invalid arguments.";let e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d",this.getAttribute("d"));let i=e.pathSegList.numberOfItems-1;if(i<=0)return 0;do{if(e.pathSegList.removeItem(i),t>e.getTotalLength())break;i--}while(i>0)return i})),"SVGPathSegList"in window&&"appendItem"in window.SVGPathSegList.prototype||(window.SVGPathSegList=function(t){this._pathElement=t,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathSegList.prototype,"length",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(t){if(!this._pathElement)return;let e=!1;t.forEach(function(t){"d"==t.attributeName&&(e=!0)}),e&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(t){t._owningPathSegList=null}),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(t){return this._checkPathSynchronizedToList(),this._list=[t],t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype._checkValidIndex=function(t){if(isNaN(t)||t<0||t>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(t){return this._checkPathSynchronizedToList(),this._checkValidIndex(t),this._list[t]},window.SVGPathSegList.prototype.insertItemBefore=function(t,e){return this._checkPathSynchronizedToList(),e>this.numberOfItems&&(e=this.numberOfItems),t._owningPathSegList&&(t=t.clone()),this._list.splice(e,0,t),t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype.replaceItem=function(t,e){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._checkValidIndex(e),this._list[e]=t,t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype.removeItem=function(t){this._checkPathSynchronizedToList(),this._checkValidIndex(t);let e=this._list[t];return this._list.splice(t,1),this._writeListToPath(),e},window.SVGPathSegList.prototype.appendItem=function(t){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._list.push(t),t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList._pathSegArrayAsString=function(t){let e="",i=!0;return t.forEach(function(t){i?(i=!1,e+=t._asPathString()):e+=` ${t._asPathString()}`}),e},window.SVGPathSegList.prototype._parsePath=function(t){if(!t?.length)return[];let e=this,i=function(){this.pathSegList=[]};i.prototype.appendSegment=function(t){this.pathSegList.push(t)};let n=function(t){this._string=t,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};n.prototype._isCurrentSpace=function(){let t=this._string[this._currentIndex];return t<=" "&&(" "==t||`
2
- `==t||" "==t||`\r`==t||"\f"==t)},n.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},n.prototype._skipOptionalSpacesOrDelimiter=function(){return(!(this._currentIndex<this._endIndex)||!!this._isCurrentSpace()||","==this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},n.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},n.prototype.peekSegmentType=function(){let t=this._string[this._currentIndex];return this._pathSegTypeFromChar(t)},n.prototype._pathSegTypeFromChar=function(t){switch(t){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},n.prototype._nextCommandHelper=function(t,e){return("+"==t||"-"==t||"."==t||t>="0"&&t<="9")&&e!=window.SVGPathSeg.PATHSEG_CLOSEPATH?e==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:e==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:e:window.SVGPathSeg.PATHSEG_UNKNOWN},n.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;let t=this.peekSegmentType();return t==window.SVGPathSeg.PATHSEG_MOVETO_ABS||t==window.SVGPathSeg.PATHSEG_MOVETO_REL},n.prototype._parseNumber=function(){let t=0,e=0,i=1,n=0,o=1,r=1,h=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex==this._endIndex||("0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))return;let s=this._currentIndex;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)this._currentIndex++;if(this._currentIndex!=s){let t=this._currentIndex-1,i=1;for(;t>=s;)e+=i*(this._string.charAt(t--)-0),i*=10}if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)i*=10,n+=(this._string.charAt(this._currentIndex)-0)/i,this._currentIndex+=1}if(this._currentIndex!=h&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)t*=10,t+=this._string.charAt(this._currentIndex)-0,this._currentIndex++}let a=e+n;if(a*=o,t&&(a*=Math.pow(10,r*t)),h!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),a},n.prototype._parseArcFlag=function(){if(this._currentIndex>=this._endIndex)return;let t=!1,e=this._string.charAt(this._currentIndex++);if("0"==e)t=!1;else{if("1"!=e)return;t=!0}return this._skipOptionalSpacesOrDelimiter(),t},n.prototype.parseSegment=function(){let t,i=this._string[this._currentIndex],n=this._pathSegTypeFromChar(i);if(n==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN||(n=this._nextCommandHelper(i,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(e);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicRel(e,t.x,t.y,t.x1,t.y1,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicAbs(e,t.x,t.y,t.x1,t.y1,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:return t={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothRel(e,t.x,t.y,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:return t={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothAbs(e,t.x,t.y,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticRel(e,t.x,t.y,t.x1,t.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticAbs(e,t.x,t.y,t.x1,t.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcRel(e,t.x,t.y,t.x1,t.y1,t.arcAngle,t.arcLarge,t.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcAbs(e,t.x,t.y,t.x1,t.y1,t.arcAngle,t.arcLarge,t.arcSweep);default:throw"Unknown path seg type."}};let o=new i,r=new n(t);if(!r.initialCommandIsMoveTo())return[];for(;r.hasMoreData();){let t=r.parseSegment();if(!t)return[];o.appendSegment(t)}return o.pathSegList})}catch(t){console.warn("An error occurred in tsParticles pathseg polyfill. If the Polygon Mask is not working, please open an issue here: https://github.com/tsparticles/tsparticles",t)}}();var n=i(7279),o=i(440),r=i(7351);let h="No polygon data loaded.";class s{dimension;offset;paths;raw;redrawTimeout;_container;_moveRadius;_pluginManager;_scale;constructor(t,e){this._container=e,this._pluginManager=t,this.dimension={height:0,width:0},this._moveRadius=0,this._scale=1}clickPositionValid(t){let e=this._container.actualOptions.polygon;return!!e?.enable&&e.type!==r.T.none&&e.type!==r.T.inline&&this._checkInsidePolygon(t)}draw(t){if(!this.paths?.length)return;let e=this._container.actualOptions.polygon;if(!e?.enable)return;let i=e.draw;if(!i.enable)return;let o=this.raw;for(let e of this.paths){let r=e.path2d;r&&this.offset?function(t,e,i,o,r,h=!1){e.setTransform(1,0,0,1,r.x,r.y);let s=(0,n.BN0)(t,o.color);s&&(e.strokeStyle=(0,n.xxz)(s,h,o.opacity),e.lineWidth=o.width,e.stroke(i),e.resetTransform())}(this._pluginManager,t,r,i.stroke,this.offset,this._container.hdr):o&&function(t,e,i,o,r=!1){let h=(0,n.BN0)(t,o.color);if(!h)return;let s=i[0];if(s){for(let t of(e.beginPath(),e.moveTo(s.x,s.y),i))e.lineTo(t.x,t.y);e.closePath(),e.strokeStyle=(0,n.xxz)(h,r),e.lineWidth=o.width,e.stroke()}}(this._pluginManager,t,o,i.stroke,this._container.hdr)}}async init(){let t=this._container,e=t.actualOptions.polygon,i=t.retina.pixelRatio;e&&(this._moveRadius=e.move.radius*i,this._scale=e.scale*i,e.enable&&await this._initRawData())}particleBounce(t,e,i){return this._polygonBounce(t,e,i)}particlePosition(t){let e=this._container.actualOptions.polygon;if(e?.enable&&(this.raw?.length??0)>0)return(0,n.zwS)({},t??this._randomPoint())}particlesInitialization(){let t=this._container.actualOptions.polygon;return!!t?.enable&&t.type===r.T.inline&&(t.inline.arrangement===o.G.onePerPoint||t.inline.arrangement===o.G.perPoint)&&(this._drawPoints(),!0)}resize(){let t=this._container,e=t.actualOptions.polygon;e?.enable&&e.type!==r.T.none&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=setTimeout(()=>{(async()=>{await this._initRawData(!0),await t.particles.redraw()})()},250))}stop(){delete this.raw,delete this.paths}_checkInsidePolygon=t=>{let e=this._container,i=e.actualOptions.polygon;if(!i?.enable||i.type===r.T.none||i.type===r.T.inline)return!0;if(!this.raw)throw Error("No polygon found, you need to specify SVG url in config.");let o=e.canvas.size,h=t?.x??(0,n.G0i)()*o.width,s=t?.y??(0,n.G0i)()*o.height,a=!1;for(let t=0,e=this.raw.length-1;t<this.raw.length;e=t++){let i=this.raw[t],n=this.raw[e];i&&n&&i.y>s!=n.y>s&&h<(n.x-i.x)*(s-i.y)/(n.y-i.y)+i.x&&(a=!a)}return i.type===r.T.inside?a:!a};_createPath2D=()=>{if(this._container.actualOptions.polygon&&this.paths?.length)for(let t of this.paths){let e=t.element.getAttribute("d");if(e){let i=new Path2D(e),o=(0,n.T5G)().createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix(),r=new Path2D,h=o.scale(this._scale);r.addPath(i,h),t.path2d=r}else delete t.path2d;if(t.path2d??!this.raw)continue;t.path2d=new Path2D;let i=this.raw[0];i&&(t.path2d.moveTo(i.x,i.y),this.raw.forEach((e,i)=>{i>0&&t.path2d?.lineTo(e.x,e.y)}),t.path2d.closePath())}};_downloadSvgPath=async(t,e)=>{let i=this._container.actualOptions.polygon;if(!i)return;let n=t??i.url,o=e??!1;if(!n||void 0!==this.paths&&!o)return this.raw;let r=await fetch(n);if(!r.ok)throw Error("Error occurred during polygon mask download");return this._parseSvgPath(await r.text(),e)};_drawPoints=()=>{if(this.raw)for(let t of this.raw)this._container.particles.addParticle({x:t.x,y:t.y})};_getEquidistantPointByIndex=t=>{let e=this._container.actualOptions;if(!e.polygon)return;if(!this.raw?.length||!this.paths?.length)throw Error(h);let i=0,o,r=this.paths.reduce((t,e)=>t+e.length,0)/e.particles.number.value;for(let e of this.paths){let n=r*t-i;if(n<=e.length){o=e.element.getPointAtLength(n);break}i+=e.length}let s=this._scale;return{x:(o?.x??n.boI.x)*s+(this.offset?.x??n.boI.x),y:(o?.y??n.boI.y)*s+(this.offset?.y??n.boI.y)}};_getPointByIndex=t=>{if(!this.raw?.length)throw Error(h);let e=this.raw[t%this.raw.length];if(e)return{x:e.x,y:e.y}};_getRandomPoint=()=>{if(!this.raw?.length)throw Error(h);let t=(0,n.Vh1)(this.raw);if(t)return{x:t.x,y:t.y}};_getRandomPointByLength=()=>{if(!this._container.actualOptions.polygon)return;if(!this.raw?.length||!this.paths?.length)throw Error(h);let t=(0,n.Vh1)(this.paths);if(!t)return;let e=Math.floor((0,n.G0i)()*t.length)+1,i=t.element.getPointAtLength(e),o=this._scale;return{x:i.x*o+(this.offset?.x??n.boI.x),y:i.y*o+(this.offset?.y??n.boI.y)}};_initRawData=async t=>{let e=this._container.actualOptions.polygon;if(e){if(e.url)this.raw=await this._downloadSvgPath(e.url,t);else if(e.data){let i,o=e.data;if((0,n.KgX)(o))i=o;else{let t=t=>`<path d="${t}" />`,e=(0,n.cyL)(o.path)?o.path.map(t).join(""):t(o.path);i=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="${o.size.width.toString()}" height="${o.size.height.toString()}">${e}</svg>`}this.raw=this._parseSvgPath(i,t)}this._createPath2D(),this._container.dispatchEvent("polygonMaskLoaded")}};_parseSvgPath=(t,e)=>{if(void 0!==this.paths&&!e)return this.raw;let i=this._container,o=i.actualOptions.polygon;if(!o)return;let r=new DOMParser().parseFromString(t,"image/svg+xml"),h=r.getElementsByTagName("svg")[0];if(!h)return;let s=h.getElementsByTagName("path");s.length||(s=r.getElementsByTagName("path")),this.paths=[];for(let t=0;t<s.length;t++){let e=s.item(t);e&&this.paths.push({element:e,length:e.getTotalLength()})}let a=this._scale;this.dimension.width=parseFloat(h.getAttribute("width")??"0")*a,this.dimension.height=parseFloat(h.getAttribute("height")??"0")*a;let S=o.position??{x:50,y:50},u=i.canvas.size;return this.offset={x:u.width*S.x/n.a56-this.dimension.width*n.MXx,y:u.height*S.y/n.a56-this.dimension.height*n.MXx},function(t,e,i){let n=[];for(let o of t){let t=o.element.pathSegList,r=t?.numberOfItems??0,h={x:0,y:0};for(let o=0;o<r;o++){let r=t?.getItem(o),s=globalThis.SVGPathSeg;switch(r?.pathSegType){case s.PATHSEG_MOVETO_ABS:case s.PATHSEG_LINETO_ABS:case s.PATHSEG_CURVETO_CUBIC_ABS:case s.PATHSEG_CURVETO_QUADRATIC_ABS:case s.PATHSEG_ARC_ABS:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:h.x=r.x,h.y=r.y;break;case s.PATHSEG_LINETO_HORIZONTAL_ABS:h.x=r.x;break;case s.PATHSEG_LINETO_VERTICAL_ABS:h.y=r.y;break;case s.PATHSEG_LINETO_REL:case s.PATHSEG_MOVETO_REL:case s.PATHSEG_CURVETO_CUBIC_REL:case s.PATHSEG_CURVETO_QUADRATIC_REL:case s.PATHSEG_ARC_REL:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:h.x+=r.x,h.y+=r.y;break;case s.PATHSEG_LINETO_HORIZONTAL_REL:h.x+=r.x;break;case s.PATHSEG_LINETO_VERTICAL_REL:h.y+=r.y;break;case s.PATHSEG_UNKNOWN:case s.PATHSEG_CLOSEPATH:default:continue}n.push({x:h.x*e+i.x,y:h.y*e+i.y})}}return n}(this.paths,a,this.offset)};_polygonBounce=(t,e,i)=>{let o=this._container.actualOptions.polygon;if(!this.raw||!o?.enable||i!==n.v5k.top)return!1;if(o.type===r.T.inside||o.type===r.T.outside){let e,i,o,r=t.getPosition(),h=t.getRadius();for(let s=0,a=this.raw.length-1;s<this.raw.length;a=s++){let S=this.raw[s],u=this.raw[a];if(!S||!u)continue;e=function(t,e,i){let{dx:o,dy:r}=(0,n.vrU)(i,t),{dx:h,dy:s}=(0,n.vrU)(e,t),a=(o*h+r*s)/(h**2+s**2),S={x:t.x+h*a,y:t.y+s*a,isOnSegment:a>=0&&a<=1};return a<0?(S.x=t.x,S.y=t.y):a>1&&(S.x=e.x,S.y=e.y),S}(S,u,r);let _=(0,n.vrU)(r,e);if([i,o]=[_.dx,_.dy],_.distance<h)return!function(t,e,i){let{dx:o,dy:r}=(0,n.vrU)(t,e),h=Math.atan2(r,o),s=n.Miz.create(Math.sin(h),-Math.cos(h)),a=n.gdl*(i.x*s.x+i.y*s.y);s.multTo(a),i.subFrom(s)}(S,u,t.velocity),!0}if(e&&void 0!==i&&void 0!==o&&!this._checkInsidePolygon(r)){let i={x:1,y:1},o=h*n.gdl;return r.x>=e.x&&(i.x=-1),r.y>=e.y&&(i.y=-1),t.position.x=e.x+o*i.x,t.position.y=e.y+o*i.y,t.velocity.mult(-1),!0}}else if(o.type===r.T.inline){let e=(0,n.YfF)(t.initialPosition,t.getPosition()),{velocity:i}=t;if(e>this._moveRadius)return i.x=i.y*n.MXx-i.x,i.y=i.x*n.MXx-i.y,!0}return!1};_randomPoint=()=>{let t,e=this._container,i=e.actualOptions.polygon;if(i){if(i.type===r.T.inline)switch(i.inline.arrangement){case o.G.randomPoint:t=this._getRandomPoint();break;case o.G.randomLength:t=this._getRandomPointByLength();break;case o.G.equidistant:t=this._getEquidistantPointByIndex(e.particles.count);break;case o.G.onePerPoint:case o.G.perPoint:default:t=this._getPointByIndex(e.particles.count)}else{let i=e.canvas.size;t={x:(0,n.G0i)()*i.width,y:(0,n.G0i)()*i.height}}return this._checkInsidePolygon(t)?t:this._randomPoint()}}}}}]);
package/9770.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9770],{9770(a,l,t){t.d(l,{LchColorManager:()=>o});var e=t(7279);let r={EPSILON:216/24389,KAPPA:24389/27,L_OFFSET:16,L_SCALE:116,A_SCALE:500,B_SCALE:200},s=3.2404542,h=-1.5371385,c=-.4985314,n=-.969266,A=1.8760108,i=.041556,L=.0556434,u=-.2040259,E=1.0572252;function S(a){let l=a.l,t=a.c,S=(0,e.puj)(a.h),_=t*Math.cos(S),o=t*Math.sin(S),P=(l+r.L_OFFSET)/r.L_SCALE,d=P+_/r.A_SCALE,p=P-o/r.B_SCALE,C=d**3,F=p**3,O=C>r.EPSILON?C:(r.L_SCALE*d-r.L_OFFSET)/r.KAPPA,v=l>r.KAPPA*r.EPSILON?P**3:l/r.KAPPA,M=F>r.EPSILON?F:(r.L_SCALE*p-r.L_OFFSET)/r.KAPPA,K=.95047*O,f=+v,g=1.08883*M,k=a=>Math.round(255*(0,e.qE8)(a<=.0031308?12.92*a:1.055*Math.pow(a,e.hBr/2.4)-.055,0,1));return{r:k(s*K+h*f+c*g),g:k(n*K+A*f+i*g),b:k(L*K+u*f+E*g)}}let _=/lch\(\s*(\d+(\.\d+)?)%\s+(\d+(\.\d+)?)\s+(\d+(\.\d+)?)(?:\s*\/\s*(0|1|0?\.\d+|\d{1,3}%))?\s*\)/i;class o{accepts(a){return a.startsWith("lch")}handleColor(a){let l=a.value.lch??a.value;if("l"in l&&"c"in l&&"h"in l)return S(l)}handleRangeColor(a){let l=a.value.lch??a.value;if("l"in l&&"c"in l&&"h"in l)return S({l:(0,e.VGA)(l.l),c:(0,e.VGA)(l.c),h:(0,e.VGA)(l.h)})}parseString(a){var l;if(!this.accepts(a))return;let t=_.exec(a);return t?{a:(l={a:t[7]?(0,e.M3Y)(t[7]):1,c:parseFloat(t[3]??"0"),h:parseFloat(t[5]??"0"),l:parseFloat(t[1]??"0")}).a,...S(l)}:void 0}}}}]);
package/9807.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9807],{9807(e,t,s){s.d(t,{SimplexNoiseGenerator:()=>n});var i=s(4577),o=s(8639);class n extends i.o{constructor(e){const t=new o.h;super(e,{noise4d:(e,s,i,o)=>t.noise4d.noise(e,s,i,o),seed:e=>{t.noise4d.seed(e)}})}}},4577(e,t,s){s.d(t,{o:()=>n});var i=s(7279);let o={draw:!1,size:20,increment:.004,columns:0,rows:0,layers:0,width:0,height:0,factor:{angle:.02,length:.01},offset:{x:4e4,y:4e4,z:4e4}};class n{container;field;noiseGen;noiseW;options;_res;constructor(e,t){this.container=e,this.noiseGen=t,this.field=[],this.noiseW=0,this._res=i.Miz.origin,this.options=(0,i.zwS)({},o)}generate(e){let t=e.getPosition(),{size:s}=this.options,o=i.D_O/s,n={x:Math.max(Math.floor(t.x*o),0),y:Math.max(Math.floor(t.y*o),0),z:Math.max(Math.floor(t.z*o),0)},{field:r}=this,l=r[n.x]?.[n.y]?.[n.z];return l?(this._res.x=l.x,this._res.y=l.y):(this._res.x=0,this._res.y=0),this._res}init(){this._setup()}reset(){}update(){this._calculateField(),this.noiseW+=this.options.increment,this.options.draw&&this.container.canvas.render.draw(e=>{this._drawField(e)})}_calculateField(){let{field:e,noiseGen:t,options:s,noiseW:o}=this,n=s.factor.length,r=s.factor.angle;for(let l=0;l<s.columns;l++){let a=e[l];if(a)for(let e=0;e<s.rows;e++){let h=a[e];if(h)for(let a=0;a<s.layers;a++){let f=h[a];f&&(f.length=t.noise4d(l*n+s.offset.x,e*n+s.offset.y,a*n+s.offset.z,o),f.angle=t.noise4d(l*r,e*r,a*r,o)*i.R1e)}}}}_drawField(e){let{field:t,options:s}=this;for(let i=0;i<s.columns;i++){let o=t[i];if(o)for(let t=0;t<s.rows;t++){let s=o[t];if(!s)continue;let n=s[0];if(!n)continue;let{angle:r,length:l}=n;e.setTransform(1,0,0,1,i*this.options.size,t*this.options.size),e.rotate(r),e.strokeStyle="white",e.beginPath(),e.moveTo(0,0),e.lineTo(0,this.options.size*l),e.stroke(),e.setTransform(1,0,0,1,0,0)}}}_initField(){let{columns:e,rows:t,layers:s}=this.options;this.field=Array(e);for(let o=0;o<e;o++){let e=Array(t);for(let o=0;o<t;o++){let t=Array(s);for(let e=0;e<s;e++)t[e]=i.Miz.origin;e[o]=t}this.field[o]=e}}_resetField(){let e=this.container,t=e.actualOptions.particles.move.path.options,{options:s}=this;s.width=e.canvas.size.width,s.height=e.canvas.size.height,s.size=t.size>0?t.size:o.size,s.increment=t.increment>0?t.increment:o.increment,s.draw=!!t.draw;let n=t.offset;s.offset.x=n?.x??o.offset.x,s.offset.y=n?.y??o.offset.y,s.offset.z=n?.z??o.offset.z;let r=t.factor;s.factor.angle=r?.angle??o.factor.angle,s.factor.length=r?.length??o.factor.length,s.seed=t.seed,this.noiseGen.seed(s.seed??(0,i.G0i)()),s.columns=Math.floor(s.width/s.size)+1,s.rows=Math.floor(s.height/s.size)+1,s.layers=Math.floor(e.zLayers/s.size)+1,this._initField()}_setup(){this.noiseW=0,this._resetField(),addEventListener("resize",()=>{this._resetField()})}}}}]);
package/9819.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9819],{9819(r,t,e){e.d(t,{AbsorbersInstancesManager:()=>a});var s=e(7279);class a{_containerArrays;_pluginManager;constructor(r){this._pluginManager=r,this._containerArrays=new Map}async addAbsorber(r,t,s){let{AbsorberInstance:a}=await e.e(8338).then(e.bind(e,8338)),n=new a(this._pluginManager,r,t,s);return this.getArray(r).push(n),n}clear(r){this.initContainer(r),this._containerArrays.set(r,[])}getArray(r){this.initContainer(r);let t=this._containerArrays.get(r);return t||(t=[],this._containerArrays.set(r,t)),t}initContainer(r){this._containerArrays.has(r)||(this._containerArrays.set(r,[]),r.getAbsorber??=t=>{let e=this.getArray(r);return void 0===t||(0,s.EtT)(t)?e[t??0]:e.find(r=>r.name===t)},r.addAbsorber??=(t,e)=>this.addAbsorber(r,t,e))}removeAbsorber(r,t){let e=this.getArray(r).indexOf(t);e>=0&&this.getArray(r).splice(e,1)}}}}]);
package/984.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[984],{984(a,e,t){async function n(a){a.checkVersion("4.0.0-beta.12"),await a.pluginManager.register(a=>{a.pluginManager.addParticleUpdater("destroy",async e=>{let{DestroyUpdater:n}=await t.e(8589).then(t.bind(t,8589));return new n(a.pluginManager,e)})})}t.r(e),t.d(e,{loadDestroyUpdater:()=>n})}}]);
package/9856.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9856],{9856(a,e,t){t.r(e),t.d(e,{loadSVGPath:()=>s,svgPathName:()=>n});let n="svgPathGenerator";async function s(a){a.checkVersion("4.0.0-beta.12"),await a.pluginManager.register(async a=>{let{ensureBaseMoverLoaded:e}=await t.e(1069).then(t.bind(t,1069));e(a),a.pluginManager.addPathGenerator?.(n,async a=>{let{SVGPathGenerator:e}=await t.e(2595).then(t.bind(t,2595));return new e(a)})})}}}]);
package/9887.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9887],{3421(t,a,s){s.d(a,{v:()=>n});var i=s(7279),e=s(9012),r=s(3661);class n{area;shadow;constructor(){this.area=new e.O,this.shadow=new r.X}load(t){(0,i.kZJ)(t)||(this.area.load(t.area),this.shadow.load(t.shadow))}}},9012(t,a,s){s.d(a,{O:()=>r});var i=s(7279),e=s(7185);class r{gradient;radius;constructor(){this.gradient=new e.V,this.radius=1e3}load(t){(0,i.kZJ)(t)||(this.gradient.load(t.gradient),void 0!==t.radius&&(this.radius=t.radius))}}},7185(t,a,s){s.d(a,{V:()=>e});var i=s(7279);class e{start;stop;constructor(){this.start=new i.Oit,this.stop=new i.Oit,this.start.value="#ffffff",this.stop.value="#000000"}load(t){(0,i.kZJ)(t)||(this.start=i.Oit.create(this.start,t.start),this.stop=i.Oit.create(this.stop,t.stop))}}},3661(t,a,s){s.d(a,{X:()=>e});var i=s(7279);class e{color;length;constructor(){this.color=new i.Oit,this.color.value="#000000",this.length=2e3}load(t){(0,i.kZJ)(t)||(this.color=i.Oit.create(this.color,t.color),void 0!==t.length&&(this.length=t.length))}}},9887(t,a,s){s.r(a),s.d(a,{Light:()=>i.v,LightArea:()=>e.O,LightGradient:()=>r.V,LightShadow:()=>n.X,loadLightInteraction:()=>h});var i=s(3421),e=s(9012),r=s(7185),n=s(3661);async function h(t){t.checkVersion("4.0.0-beta.12"),await t.pluginManager.register(async t=>{let{ensureInteractivityPluginLoaded:a}=await s.e(4586).then(s.bind(s,4586));a(t),t.pluginManager.addInteractor?.("externalLight",async a=>{let{ExternalLighter:i}=await s.e(7129).then(s.bind(s,7129));return new i(t.pluginManager,a)}),t.pluginManager.addInteractor?.("particlesLight",async a=>{let{ParticlesLighter:i}=await s.e(2749).then(s.bind(s,2749));return new i(t.pluginManager,a)})})}}}]);
package/991.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[991],{991(a,t,e){e.d(t,{HwbColorManager:()=>i});var r,s,l=e(7279);(r=s||(s={}))[r.h=1]="h",r[r.w=2]="w",r[r.b=3]="b",r[r.a=5]="a";let n=/hwba?\(\s*(\d{1,3}(?:\.\d+)?(?:deg|rad|grad|turn)?)\s*[\s,]\s*(\d{1,3}(?:\.\d+)?)%\s*[\s,]\s*(\d{1,3}(?:\.\d+)?)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;function h(a){let t,e,r,s=a.h/360,l=a.w/100,n=a.b/100,h=l+n;if(h>=1){let a=l/h;t=a,e=a,r=a}else{let a=a=>{let t=(a+6*s)%6;return 1-n-(1-l-n)*Math.max(0,Math.min(t,4-t,1))};t=a(5),e=a(3),r=a(1)}return{r:Math.round(255*t),g:Math.round(255*e),b:Math.round(255*r)}}class i{accepts(a){return a.startsWith("hwb")}handleColor(a){let t=a.value.hwb??a.value;if("h"in t&&"w"in t&&"b"in t)return h(t)}handleRangeColor(a){let t=a.value.hwb??a.value;if("h"in t&&"w"in t&&"b"in t)return h({h:(0,l.VGA)(t.h),w:(0,l.VGA)(t.w),b:(0,l.VGA)(t.b)})}parseString(a){var t;if(!this.accepts(a))return;let e=n.exec(a);if(!e)return;let r=e[s.h],i=e[s.w],u=e[s.b];return{a:(t={a:e.length>4?(0,l.M3Y)(e[s.a]):1,h:void 0!==r?parseFloat(r):0,w:void 0!==i?parseFloat(i):0,b:void 0!==u?parseFloat(u):0}).a,...h(t)}}}}}]);
package/9956.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9956],{9956(s,e,t){t.d(e,{easingsFunctions:()=>i});var a=t(7279);let i=new Map;i.set(a.mgy.easeInCubic,s=>s**3),i.set(a.mgy.easeOutCubic,s=>1-(1-s)**3),i.set(a.mgy.easeInOutCubic,s=>s<.5?4*s**3:1-(-2*s+2)**3/2)}}]);
package/9964.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[9964],{9964(e,t,i){i.d(t,{TwinkleUpdater:()=>n});var o=i(7279);class l{color;enable;frequency;opacity;constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(e){(0,o.kZJ)(e)||(void 0!==e.color&&(this.color=o.Oit.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=(0,o.DT4)(e.opacity)))}}class r{enable;fillColor;frequency;opacity;strokeColor;constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(e){(0,o.kZJ)(e)||(void 0!==e.fillColor&&(this.fillColor=o.Oit.create(this.fillColor,e.fillColor)),void 0!==e.strokeColor&&(this.strokeColor=o.Oit.create(this.strokeColor,e.strokeColor)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=(0,o.DT4)(e.opacity)))}}class s{links;particles;constructor(){this.links=new l,this.particles=new r}load(e){(0,o.kZJ)(e)||(this.links.load(e.links),this.particles.load(e.particles))}}class n{_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t}getColorStyles(e,t,i,l){let r=e.options,{_container:s}=this,n=r.twinkle;if(!n)return{};let a=n.particles,c=a.enable&&(0,o.G0i)()<a.frequency,h=e.options.zIndex,p=(1-e.zIndexFactor)**h.opacityRate,u=c?(0,o.VGA)(a.opacity)*p:l,d=(0,o.R5R)(this._pluginManager,a.fillColor),f=(0,o.R5R)(this._pluginManager,a.strokeColor),k=(()=>{if(d)return(0,o.LCf)(d,s.hdr,u)})(),y=(()=>{if(f)return(0,o.LCf)(f,s.hdr,u)})(),C={},b=c&&(!!k||!!y);return C.fill=b?k:void 0,C.stroke=b?y:void 0,C}init(){}isEnabled(e){let t=e.options.twinkle;return!!t&&t.particles.enable}loadOptions(e,...t){for(let i of(e.twinkle??=new s,t))e.twinkle.load(i?.twinkle)}update(){}}}}]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["basic_dist_browser_index_js"],{
19
-
20
- /***/ "../basic/dist/browser/index.js"
21
- /*!**************************************!*\
22
- !*** ../basic/dist/browser/index.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 */ loadBasic: () => (/* binding */ loadBasic)\n/* harmony export */ });\nasync function loadBasic(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register(async (e)=>{\n const [{ loadHexColorPlugin }, { loadHslColorPlugin }, { loadRgbColorPlugin }, { loadMovePlugin }, { loadCircleShape }, { loadPaintUpdater }, { loadOpacityUpdater }, { loadOutModesUpdater }, { loadSizeUpdater }] = await Promise.all([\n __webpack_require__.e(/*! import() */ \"plugins_colors_hex_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-hex-color */ \"../../plugins/colors/hex/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"plugins_colors_hsl_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-hsl-color */ \"../../plugins/colors/hsl/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"plugins_colors_rgb_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-rgb-color */ \"../../plugins/colors/rgb/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"plugins_move_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-move */ \"../../plugins/move/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"shapes_circle_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-circle */ \"../../shapes/circle/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"updaters_paint_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-paint */ \"../../updaters/paint/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"updaters_opacity_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-opacity */ \"../../updaters/opacity/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"updaters_outModes_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-out-modes */ \"../../updaters/outModes/dist/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"updaters_size_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-size */ \"../../updaters/size/dist/browser/index.js\"))\n ]);\n await Promise.all([\n loadHexColorPlugin(e),\n loadHslColorPlugin(e),\n loadRgbColorPlugin(e),\n loadMovePlugin(e),\n loadCircleShape(e),\n loadPaintUpdater(e),\n loadOpacityUpdater(e),\n loadOutModesUpdater(e),\n loadSizeUpdater(e)\n ]);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../basic/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_bubble_dist_browser_BubbleDrawer_js"],{
19
-
20
- /***/ "../../effects/bubble/dist/browser/BubbleDrawer.js"
21
- /*!*********************************************************!*\
22
- !*** ../../effects/bubble/dist/browser/BubbleDrawer.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 */ BubbleDrawer: () => (/* binding */ BubbleDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst bubbleFactor = 3;\nclass BubbleDrawer {\n drawAfter(data) {\n const { context, radius } = data, bubbleRadius = radius / bubbleFactor;\n context.beginPath();\n context.arc(bubbleRadius, -bubbleRadius, bubbleRadius, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.defaultAngle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI, false);\n context.closePath();\n context.fillStyle = \"#fff9\";\n context.fill();\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/bubble/dist/browser/BubbleDrawer.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_bubble_dist_browser_index_js"],{
19
-
20
- /***/ "../../effects/bubble/dist/browser/index.js"
21
- /*!**************************************************!*\
22
- !*** ../../effects/bubble/dist/browser/index.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 */ loadBubbleEffect: () => (/* binding */ loadBubbleEffect)\n/* harmony export */ });\nasync function loadBubbleEffect(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addEffect(\"bubble\", async ()=>{\n const { BubbleDrawer } = await __webpack_require__.e(/*! import() */ \"effects_bubble_dist_browser_BubbleDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./BubbleDrawer.js */ \"../../effects/bubble/dist/browser/BubbleDrawer.js\"));\n return new BubbleDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/bubble/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_filter_dist_browser_FilterDrawer_js"],{
19
-
20
- /***/ "../../effects/filter/dist/browser/FilterDrawer.js"
21
- /*!*********************************************************!*\
22
- !*** ../../effects/filter/dist/browser/FilterDrawer.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 */ FilterDrawer: () => (/* binding */ FilterDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass FilterDrawer {\n drawAfter(data) {\n const { context } = data;\n context.restore();\n }\n drawBefore(data) {\n const { context, particle } = data;\n context.save();\n const blurValue = typeof particle.filterBlur === \"number\" ? `${particle.filterBlur}px` : particle.filterBlur, brightnessValue = particle.filterBrightness, contrastValue = particle.filterContrast, dropShadowValue = particle.filterDropShadow, grayscaleValue = particle.filterGrayscale, hueRotateValue = typeof particle.filterHueRotate === \"number\" ? `${particle.filterHueRotate}deg` : particle.filterHueRotate, invertValue = particle.filterInvert, opacityValue = particle.filterOpacity, saturateValue = particle.filterSaturate, sepiaValue = particle.filterSepia, urlValue = particle.filterUrl, blurString = blurValue ? `blur(${blurValue})` : \"\", brightnessString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(brightnessValue) ? \"\" : `brightness(${brightnessValue})`, contrastString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(contrastValue) ? \"\" : `contrast(${contrastValue})`, dropShadowString = dropShadowValue ? `drop-shadow(${dropShadowValue})` : \"\", grayscaleString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(grayscaleValue) ? \"\" : `grayscale(${grayscaleValue})`, hueRotateString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(hueRotateValue) ? \"\" : `hue-rotate(${hueRotateValue})`, invertString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(invertValue) ? \"\" : `invert(${invertValue})`, opacityString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(opacityValue) ? \"\" : `opacity(${opacityValue})`, saturateString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(saturateValue) ? \"\" : `saturate(${saturateValue})`, sepiaString = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(sepiaValue) ? \"\" : `sepia(${sepiaValue})`, urlString = urlValue ? `url(${urlValue})` : \"\";\n context.filter = `${blurString} ${brightnessString} ${contrastString} ${dropShadowString} ${grayscaleString} ${hueRotateString} ${invertString} ${opacityString} ${saturateString} ${sepiaString} ${urlString}`.trim();\n }\n particleInit(_container, particle) {\n const effectData = particle.effectData;\n if (!effectData) {\n return;\n }\n particle.filterBlur = effectData.blur;\n particle.filterBrightness = effectData.brightness;\n particle.filterContrast = effectData.contrast;\n particle.filterDropShadow = effectData.dropShadow;\n particle.filterGrayscale = effectData.grayscale;\n particle.filterHueRotate = effectData.hueRotate;\n particle.filterInvert = effectData.invert;\n particle.filterOpacity = effectData.opacity;\n particle.filterSaturate = effectData.saturate;\n particle.filterSepia = effectData.sepia;\n particle.filterUrl = effectData.url;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/filter/dist/browser/FilterDrawer.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_filter_dist_browser_index_js"],{
19
-
20
- /***/ "../../effects/filter/dist/browser/index.js"
21
- /*!**************************************************!*\
22
- !*** ../../effects/filter/dist/browser/index.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 */ loadFilterEffect: () => (/* binding */ loadFilterEffect)\n/* harmony export */ });\nasync function loadFilterEffect(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addEffect(\"filter\", async ()=>{\n const { FilterDrawer } = await __webpack_require__.e(/*! import() */ \"effects_filter_dist_browser_FilterDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./FilterDrawer.js */ \"../../effects/filter/dist/browser/FilterDrawer.js\"));\n return new FilterDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/filter/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_particles_dist_browser_ParticlesDrawer_js"],{
19
-
20
- /***/ "../../effects/particles/dist/browser/ParticlesDrawer.js"
21
- /*!***************************************************************!*\
22
- !*** ../../effects/particles/dist/browser/ParticlesDrawer.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 */ ParticlesDrawer: () => (/* binding */ ParticlesDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minSpawnRate = 0, defaultSpawnRate = 1, defaultSpawnQuantity = 1;\nclass ParticlesDrawer {\n _container;\n constructor(container){\n this._container = container;\n }\n drawAfter(data) {\n const { particle } = data, { _container: container } = this;\n if (!particle.particlesNextSpawn) {\n return;\n }\n const currentTime = performance.now();\n if (currentTime < particle.particlesNextSpawn) {\n return;\n }\n particle.particlesNextSpawn = currentTime + (particle.particlesSpawnRate ?? defaultSpawnRate * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds);\n const quantity = particle.particlesSpawnQuantity ?? defaultSpawnQuantity, pOptions = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, particle.particlesData?.spawn?.particles), pos = {\n ...particle.getPosition()\n };\n for(let i = 0; i < quantity; i++){\n container.particles.addParticle(pos, pOptions);\n }\n }\n particleInit(_container, particle) {\n const effectData = particle.effectData, spawnRate = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(effectData?.spawn?.rate?.delay ?? defaultSpawnRate);\n particle.particlesSpawnQuantity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(effectData?.spawn?.rate?.quantity ?? defaultSpawnQuantity);\n particle.particlesSpawnRate = (spawnRate > minSpawnRate ? spawnRate : defaultSpawnRate) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds;\n particle.particlesNextSpawn = performance.now() + particle.particlesSpawnRate;\n particle.particlesData = effectData;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/particles/dist/browser/ParticlesDrawer.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_particles_dist_browser_index_js"],{
19
-
20
- /***/ "../../effects/particles/dist/browser/index.js"
21
- /*!*****************************************************!*\
22
- !*** ../../effects/particles/dist/browser/index.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 */ loadParticlesEffect: () => (/* binding */ loadParticlesEffect)\n/* harmony export */ });\nasync function loadParticlesEffect(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addEffect(\"particles\", async (container)=>{\n const { ParticlesDrawer } = await __webpack_require__.e(/*! import() */ \"effects_particles_dist_browser_ParticlesDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ParticlesDrawer.js */ \"../../effects/particles/dist/browser/ParticlesDrawer.js\"));\n return new ParticlesDrawer(container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/particles/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_shadow_dist_browser_ShadowDrawer_js"],{
19
-
20
- /***/ "../../effects/shadow/dist/browser/ShadowDrawer.js"
21
- /*!*********************************************************!*\
22
- !*** ../../effects/shadow/dist/browser/ShadowDrawer.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 */ ShadowDrawer: () => (/* binding */ ShadowDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst defaultShadowBlur = 0, defaultShadowOffsetValue = 0;\nclass ShadowDrawer {\n _container;\n _pluginManager;\n constructor(pluginManager, container){\n this._pluginManager = pluginManager;\n this._container = container;\n }\n drawAfter(data) {\n const { context } = data;\n context.restore();\n }\n drawBefore(data) {\n const { particle, context } = data, { _container: container } = this, shadowParticle = particle, shadowColor = shadowParticle.shadowColor, shadowOffset = shadowParticle.shadowOffset;\n if (!shadowColor) {\n return;\n }\n context.save();\n context.shadowBlur = shadowParticle.shadowBlur ?? defaultShadowBlur;\n context.shadowColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getStyleFromRgb)(shadowColor, container.hdr);\n context.shadowOffsetX = shadowOffset?.x ?? defaultShadowOffsetValue;\n context.shadowOffsetY = shadowOffset?.y ?? defaultShadowOffsetValue;\n }\n particleInit(_container, particle) {\n const effectData = particle.effectData, shadowColor = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor(), effectData?.color);\n particle.shadowColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToRgb)(this._pluginManager, shadowColor);\n particle.shadowBlur = effectData?.blur ?? defaultShadowBlur;\n particle.shadowOffset = effectData?.offset ?? _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/shadow/dist/browser/ShadowDrawer.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_shadow_dist_browser_index_js"],{
19
-
20
- /***/ "../../effects/shadow/dist/browser/index.js"
21
- /*!**************************************************!*\
22
- !*** ../../effects/shadow/dist/browser/index.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 */ loadShadowEffect: () => (/* binding */ loadShadowEffect)\n/* harmony export */ });\nasync function loadShadowEffect(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addEffect(\"shadow\", async (container)=>{\n const { ShadowDrawer } = await __webpack_require__.e(/*! import() */ \"effects_shadow_dist_browser_ShadowDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ShadowDrawer.js */ \"../../effects/shadow/dist/browser/ShadowDrawer.js\"));\n return new ShadowDrawer(e.pluginManager, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/shadow/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_trail_dist_browser_TrailDrawer_js"],{
19
-
20
- /***/ "../../effects/trail/dist/browser/TrailDrawer.js"
21
- /*!*******************************************************!*\
22
- !*** ../../effects/trail/dist/browser/TrailDrawer.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 */ TrailDrawer: () => (/* binding */ TrailDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minTrailLength = 3, trailLengthOffset = 1, minWidth = -1, firstIndex = 0, defaultLength = 10, loopTrailLengthOffset = 2, loopTrailLengthMinIndex = 0;\nconst defaultTransform = {\n a: 1,\n b: 0,\n c: 0,\n d: 1\n};\nclass TrailDrawer {\n _container;\n constructor(container){\n this._container = container;\n }\n drawAfter(data) {\n const { context, drawPosition, drawRadius, drawScale, particle, transformData } = data, container = this._container, diameter = drawRadius * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double, pxRatio = container.retina.pixelRatio, trail = particle.trail;\n if (!trail || !particle.trailLength) {\n return;\n }\n const currentPos = drawPosition, pathLength = particle.trailLength * drawScale + drawRadius;\n trail.push({\n color: context.fillStyle || context.strokeStyle,\n position: {\n x: currentPos.x,\n y: currentPos.y\n },\n transformData\n });\n if (trail.length < minTrailLength) {\n return;\n }\n const pathLengthFloor = Math.floor(pathLength);\n if (trail.length > pathLengthFloor) {\n trail.splice(firstIndex, trail.length - pathLengthFloor);\n }\n const trailLength = Math.min(trail.length, pathLength), canvasSize = {\n width: container.canvas.size.width * drawScale + diameter,\n height: container.canvas.size.height * drawScale + diameter\n };\n context.save();\n context.lineCap = \"butt\";\n context.lineJoin = \"round\";\n for(let i = trailLength - loopTrailLengthOffset; i > loopTrailLengthMinIndex; i--){\n const previousStep = trail[i + trailLengthOffset], step = trail[i], nextStep = trail[i - trailLengthOffset];\n if (!previousStep || !step || !nextStep) {\n continue;\n }\n const previousPosition = previousStep.position, position = step.position, nextPosition = nextStep.position, stepTransformData = particle.trailTransform ? step.transformData ?? defaultTransform : defaultTransform, { distance: previousDistance } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(previousPosition, position), { distance: nextDistance } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(position, nextPosition);\n if (previousDistance > pathLength * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double || nextDistance > pathLength * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double) {\n continue;\n }\n if (Math.abs(previousPosition.x - position.x) > canvasSize.width * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half || Math.abs(previousPosition.y - position.y) > canvasSize.height * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half || Math.abs(position.x - nextPosition.x) > canvasSize.width * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half || Math.abs(position.y - nextPosition.y) > canvasSize.height * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half) {\n continue;\n }\n context.setTransform(stepTransformData.a, stepTransformData.b, stepTransformData.c, stepTransformData.d, position.x, position.y);\n const startX = (previousPosition.x + position.x) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - position.x, startY = (previousPosition.y + position.y) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - position.y, endX = (position.x + nextPosition.x) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - position.x, endY = (position.y + nextPosition.y) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - position.y;\n context.beginPath();\n context.moveTo(startX, startY);\n context.quadraticCurveTo(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint.x, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint.y, endX, endY);\n const width = Math.max(i / trailLength * diameter, pxRatio, (particle.trailMinWidth ?? minWidth) * drawScale), oldAlpha = context.globalAlpha;\n context.globalAlpha = particle.trailFade ? i / trailLength : _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.defaultAlpha;\n context.lineWidth = particle.trailMaxWidth ? Math.min(width, particle.trailMaxWidth * drawScale) : width;\n context.strokeStyle = step.color;\n context.stroke();\n context.globalAlpha = oldAlpha;\n }\n context.restore();\n }\n particleInit(container, particle) {\n particle.trail = [];\n const effectData = particle.effectData;\n particle.trailFade = effectData?.fade ?? true;\n particle.trailLength = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(effectData?.length ?? defaultLength) * container.retina.pixelRatio;\n particle.trailMaxWidth = effectData?.maxWidth ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(effectData.maxWidth) * container.retina.pixelRatio : undefined;\n particle.trailMinWidth = effectData?.minWidth ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(effectData.minWidth) * container.retina.pixelRatio : undefined;\n particle.trailTransform = effectData?.transform ?? false;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/trail/dist/browser/TrailDrawer.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- "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_all"] = this["webpackChunk_tsparticles_all"] || []).push([["effects_trail_dist_browser_index_js"],{
19
-
20
- /***/ "../../effects/trail/dist/browser/index.js"
21
- /*!*************************************************!*\
22
- !*** ../../effects/trail/dist/browser/index.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 */ loadTrailEffect: () => (/* binding */ loadTrailEffect)\n/* harmony export */ });\nasync function loadTrailEffect(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addEffect(\"trail\", async (container)=>{\n const { TrailDrawer } = await __webpack_require__.e(/*! import() */ \"effects_trail_dist_browser_TrailDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./TrailDrawer.js */ \"../../effects/trail/dist/browser/TrailDrawer.js\"));\n return new TrailDrawer(container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../effects/trail/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);