@tsparticles/preset-ambient 4.3.1 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
## Sample
|
|
14
14
|
|
|
15
|
-
[](https://particles.js.org/demos/recipes/ambient)
|
|
16
16
|
|
|
17
17
|
## Quick checklist
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-ambient",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "tsParticles ambient preset",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"./package.json": "./package.json"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@tsparticles/basic": "4.3.
|
|
110
|
-
"@tsparticles/engine": "4.3.
|
|
109
|
+
"@tsparticles/basic": "4.3.2",
|
|
110
|
+
"@tsparticles/engine": "4.3.2"
|
|
111
111
|
},
|
|
112
112
|
"publishConfig": {
|
|
113
113
|
"access": "public"
|
package/report.html
CHANGED
|
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
|
|
|
4930
4930
|
</script>
|
|
4931
4931
|
<script>
|
|
4932
4932
|
/*<!--*/
|
|
4933
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.preset.ambient.bundle.js","children":[{"name":"home/workflows/workspace","children":[{"name":"engine/dist/browser","children":[{"name":"Core","children":[{"name":"Utils","children":[{"uid":"54efb4d6-1","name":"Constants.js"},{"uid":"54efb4d6-5","name":"Vectors.js"},{"uid":"54efb4d6-21","name":"PluginManager.js"},{"uid":"54efb4d6-31","name":"Ranges.js"},{"uid":"54efb4d6-199","name":"EventListeners.js"},{"uid":"54efb4d6-203","name":"SpatialHashGrid.js"}]},{"uid":"54efb4d6-25","name":"Engine.js"},{"uid":"54efb4d6-195","name":"RenderManager.js"},{"uid":"54efb4d6-197","name":"CanvasManager.js"},{"uid":"54efb4d6-201","name":"Particle.js"},{"uid":"54efb4d6-205","name":"ParticlesManager.js"},{"uid":"54efb4d6-207","name":"Retina.js"},{"uid":"54efb4d6-209","name":"Container.js"}]},{"name":"Enums","children":[{"name":"Directions","children":[{"uid":"54efb4d6-3","name":"MoveDirection.js"},{"uid":"54efb4d6-11","name":"OutModeDirection.js"},{"uid":"54efb4d6-33","name":"RotateDirection.js"}]},{"name":"Modes","children":[{"uid":"54efb4d6-13","name":"PixelMode.js"},{"uid":"54efb4d6-35","name":"AnimationMode.js"},{"uid":"54efb4d6-37","name":"LimitMode.js"},{"uid":"54efb4d6-39","name":"OutMode.js"}]},{"name":"Types","children":[{"uid":"54efb4d6-19","name":"EventType.js"},{"uid":"54efb4d6-41","name":"AlterType.js"},{"uid":"54efb4d6-43","name":"DestroyType.js"},{"uid":"54efb4d6-45","name":"GradientType.js"},{"uid":"54efb4d6-47","name":"ParticleOutType.js"},{"uid":"54efb4d6-49","name":"StartValueType.js"}]},{"uid":"54efb4d6-29","name":"RangeType.js"},{"uid":"54efb4d6-51","name":"AnimationStatus.js"},{"uid":"54efb4d6-53","name":"DrawLayer.js"}]},{"name":"Utils","children":[{"uid":"54efb4d6-7","name":"TypeUtils.js"},{"uid":"54efb4d6-9","name":"MathUtils.js"},{"uid":"54efb4d6-15","name":"Utils.js"},{"uid":"54efb4d6-17","name":"EventDispatcher.js"},{"uid":"54efb4d6-23","name":"LogUtils.js"},{"uid":"54efb4d6-55","name":"OptionLoader.js"},{"uid":"54efb4d6-57","name":"OptionsUtils.js"},{"uid":"54efb4d6-115","name":"ParticlesOptionsLoader.js"},{"uid":"54efb4d6-119","name":"ColorUtils.js"}]},{"uid":"54efb4d6-27","name":"initEngine.js"},{"name":"Options/Classes","children":[{"uid":"54efb4d6-59","name":"AnimationOptions.js"},{"uid":"54efb4d6-61","name":"ColorAnimation.js"},{"uid":"54efb4d6-63","name":"HslAnimation.js"},{"uid":"54efb4d6-65","name":"OptionsColor.js"},{"uid":"54efb4d6-67","name":"AnimatableColor.js"},{"name":"Background/Background.js","uid":"54efb4d6-69"},{"name":"FullScreen/FullScreen.js","uid":"54efb4d6-71"},{"uid":"54efb4d6-73","name":"ResizeEvent.js"},{"name":"Particles","children":[{"name":"Effect/Effect.js","uid":"54efb4d6-75"},{"uid":"54efb4d6-77","name":"Fill.js"},{"name":"Move","children":[{"uid":"54efb4d6-79","name":"MoveAngle.js"},{"uid":"54efb4d6-81","name":"MoveCenter.js"},{"uid":"54efb4d6-83","name":"MoveGravity.js"},{"name":"Path/MovePath.js","uid":"54efb4d6-87"},{"uid":"54efb4d6-89","name":"OutModes.js"},{"uid":"54efb4d6-91","name":"Spin.js"},{"uid":"54efb4d6-93","name":"Move.js"}]},{"uid":"54efb4d6-95","name":"Stroke.js"},{"uid":"54efb4d6-97","name":"Paint.js"},{"name":"Bounce","children":[{"uid":"54efb4d6-99","name":"ParticlesBounceFactor.js"},{"uid":"54efb4d6-101","name":"ParticlesBounce.js"}]},{"name":"Number","children":[{"uid":"54efb4d6-103","name":"ParticlesDensity.js"},{"uid":"54efb4d6-105","name":"ParticlesNumberLimit.js"},{"uid":"54efb4d6-107","name":"ParticlesNumber.js"}]},{"name":"Shape/Shape.js","uid":"54efb4d6-109"},{"name":"ZIndex/ZIndex.js","uid":"54efb4d6-111"},{"uid":"54efb4d6-113","name":"ParticlesOptions.js"}]},{"uid":"54efb4d6-85","name":"ValueWithRandom.js"},{"uid":"54efb4d6-117","name":"Options.js"}]},{"uid":"54efb4d6-121","name":"index.js"}]},{"name":"plugins","children":[{"name":"blend/dist/browser","children":[{"name":"Options/Classes/Blend.js","uid":"54efb4d6-123"},{"uid":"54efb4d6-125","name":"BlendPlugin.js"},{"uid":"54efb4d6-127","name":"index.js"},{"uid":"54efb4d6-211","name":"BlendPluginInstance.js"}]},{"name":"colors","children":[{"name":"hex/dist/browser","children":[{"uid":"54efb4d6-135","name":"HexColorManager.js"},{"uid":"54efb4d6-137","name":"index.js"}]},{"name":"hsl/dist/browser","children":[{"uid":"54efb4d6-139","name":"HslColorManager.js"},{"uid":"54efb4d6-141","name":"index.js"}]},{"name":"rgb/dist/browser","children":[{"uid":"54efb4d6-175","name":"RgbColorManager.js"},{"uid":"54efb4d6-177","name":"index.js"}]}]},{"name":"move/dist/browser","children":[{"uid":"54efb4d6-143","name":"MovePlugin.js"},{"uid":"54efb4d6-145","name":"index.js"},{"uid":"54efb4d6-213","name":"Utils.js"},{"uid":"54efb4d6-215","name":"MovePluginInstance.js"}]}]},{"name":"shapes/circle/dist/browser","children":[{"uid":"54efb4d6-129","name":"Utils.js"},{"uid":"54efb4d6-131","name":"CircleDrawer.js"},{"uid":"54efb4d6-133","name":"index.js"}]},{"name":"utils/animationUtils/dist/browser/Utils.js","uid":"54efb4d6-147"},{"name":"updaters","children":[{"name":"opacity/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"54efb4d6-149","name":"OpacityAnimation.js"},{"uid":"54efb4d6-151","name":"Opacity.js"}]},{"uid":"54efb4d6-153","name":"OpacityUpdater.js"},{"uid":"54efb4d6-155","name":"index.js"}]},{"name":"outModes/dist/browser","children":[{"uid":"54efb4d6-157","name":"Utils.js"},{"uid":"54efb4d6-159","name":"BounceOutMode.js"},{"uid":"54efb4d6-161","name":"DestroyOutMode.js"},{"uid":"54efb4d6-163","name":"NoneOutMode.js"},{"uid":"54efb4d6-165","name":"OutOutMode.js"},{"uid":"54efb4d6-167","name":"OutOfCanvasUpdater.js"},{"uid":"54efb4d6-169","name":"index.js"}]},{"name":"paint/dist/browser","children":[{"uid":"54efb4d6-171","name":"PaintUpdater.js"},{"uid":"54efb4d6-173","name":"index.js"}]},{"name":"size/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"54efb4d6-179","name":"SizeAnimation.js"},{"uid":"54efb4d6-181","name":"Size.js"}]},{"uid":"54efb4d6-183","name":"SizeUpdater.js"},{"uid":"54efb4d6-185","name":"index.js"}]}]},{"name":"bundles/basic/dist/browser/index.js","uid":"54efb4d6-187"}]},{"name":"dist/browser","children":[{"uid":"54efb4d6-189","name":"options.js"},{"uid":"54efb4d6-191","name":"index.js"},{"uid":"54efb4d6-193","name":"bundle.js"}]}]}],"isRoot":true},"nodeParts":{"54efb4d6-1":{"renderedLength":1529,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-0"},"54efb4d6-3":{"renderedLength":599,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-2"},"54efb4d6-5":{"renderedLength":3212,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-4"},"54efb4d6-7":{"renderedLength":469,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-6"},"54efb4d6-9":{"renderedLength":4156,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-8"},"54efb4d6-11":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-10"},"54efb4d6-13":{"renderedLength":169,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-12"},"54efb4d6-15":{"renderedLength":7955,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-14"},"54efb4d6-17":{"renderedLength":1416,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-16"},"54efb4d6-19":{"renderedLength":771,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-18"},"54efb4d6-21":{"renderedLength":5067,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-20"},"54efb4d6-23":{"renderedLength":538,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-22"},"54efb4d6-25":{"renderedLength":6107,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-24"},"54efb4d6-27":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-26"},"54efb4d6-29":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-28"},"54efb4d6-31":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-30"},"54efb4d6-33":{"renderedLength":274,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-32"},"54efb4d6-35":{"renderedLength":281,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-34"},"54efb4d6-37":{"renderedLength":161,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-36"},"54efb4d6-39":{"renderedLength":257,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-38"},"54efb4d6-41":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-40"},"54efb4d6-43":{"renderedLength":203,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-42"},"54efb4d6-45":{"renderedLength":226,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-44"},"54efb4d6-47":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-46"},"54efb4d6-49":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-48"},"54efb4d6-51":{"renderedLength":217,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-50"},"54efb4d6-53":{"renderedLength":631,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-52"},"54efb4d6-55":{"renderedLength":332,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-54"},"54efb4d6-57":{"renderedLength":914,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-56"},"54efb4d6-59":{"renderedLength":872,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-58"},"54efb4d6-61":{"renderedLength":466,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-60"},"54efb4d6-63":{"renderedLength":315,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-62"},"54efb4d6-65":{"renderedLength":603,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-64"},"54efb4d6-67":{"renderedLength":914,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-66"},"54efb4d6-69":{"renderedLength":882,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-68"},"54efb4d6-71":{"renderedLength":235,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-70"},"54efb4d6-73":{"renderedLength":235,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-72"},"54efb4d6-75":{"renderedLength":605,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-74"},"54efb4d6-77":{"renderedLength":387,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-76"},"54efb4d6-79":{"renderedLength":239,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-78"},"54efb4d6-81":{"renderedLength":364,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-80"},"54efb4d6-83":{"renderedLength":432,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-82"},"54efb4d6-85":{"renderedLength":590,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-84"},"54efb4d6-87":{"renderedLength":517,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-86"},"54efb4d6-89":{"renderedLength":482,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-88"},"54efb4d6-91":{"renderedLength":381,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-90"},"54efb4d6-93":{"renderedLength":2020,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-92"},"54efb4d6-95":{"renderedLength":384,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-94"},"54efb4d6-97":{"renderedLength":409,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-96"},"54efb4d6-99":{"renderedLength":82,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-98"},"54efb4d6-101":{"renderedLength":283,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-100"},"54efb4d6-103":{"renderedLength":320,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-102"},"54efb4d6-105":{"renderedLength":248,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-104"},"54efb4d6-107":{"renderedLength":331,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-106"},"54efb4d6-109":{"renderedLength":606,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-108"},"54efb4d6-111":{"renderedLength":377,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-110"},"54efb4d6-113":{"renderedLength":5055,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-112"},"54efb4d6-115":{"renderedLength":235,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-114"},"54efb4d6-117":{"renderedLength":3365,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-116"},"54efb4d6-119":{"renderedLength":12954,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-118"},"54efb4d6-121":{"renderedLength":37,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-120"},"54efb4d6-123":{"renderedLength":288,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-122"},"54efb4d6-125":{"renderedLength":938,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-124"},"54efb4d6-127":{"renderedLength":209,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-126"},"54efb4d6-129":{"renderedLength":334,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-128"},"54efb4d6-131":{"renderedLength":657,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-130"},"54efb4d6-133":{"renderedLength":284,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-132"},"54efb4d6-135":{"renderedLength":1696,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-134"},"54efb4d6-137":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-136"},"54efb4d6-139":{"renderedLength":1870,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-138"},"54efb4d6-141":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-140"},"54efb4d6-143":{"renderedLength":503,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-142"},"54efb4d6-145":{"renderedLength":1076,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-144"},"54efb4d6-147":{"renderedLength":4672,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-146"},"54efb4d6-149":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-148"},"54efb4d6-151":{"renderedLength":409,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-150"},"54efb4d6-153":{"renderedLength":1886,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-152"},"54efb4d6-155":{"renderedLength":314,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-154"},"54efb4d6-157":{"renderedLength":3217,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-156"},"54efb4d6-159":{"renderedLength":1396,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-158"},"54efb4d6-161":{"renderedLength":1235,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-160"},"54efb4d6-163":{"renderedLength":1978,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-162"},"54efb4d6-165":{"renderedLength":6594,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-164"},"54efb4d6-167":{"renderedLength":2127,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-166"},"54efb4d6-169":{"renderedLength":320,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-168"},"54efb4d6-171":{"renderedLength":3490,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-170"},"54efb4d6-173":{"renderedLength":325,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-172"},"54efb4d6-175":{"renderedLength":1827,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-174"},"54efb4d6-177":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-176"},"54efb4d6-179":{"renderedLength":286,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-178"},"54efb4d6-181":{"renderedLength":403,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-180"},"54efb4d6-183":{"renderedLength":2045,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-182"},"54efb4d6-185":{"renderedLength":305,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-184"},"54efb4d6-187":{"renderedLength":577,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-186"},"54efb4d6-189":{"renderedLength":3854,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-188"},"54efb4d6-191":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-190"},"54efb4d6-193":{"renderedLength":136,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-192"},"54efb4d6-195":{"renderedLength":19099,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-194"},"54efb4d6-197":{"renderedLength":12591,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-196"},"54efb4d6-199":{"renderedLength":3127,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-198"},"54efb4d6-201":{"renderedLength":23379,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-200"},"54efb4d6-203":{"renderedLength":3896,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-202"},"54efb4d6-205":{"renderedLength":17436,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-204"},"54efb4d6-207":{"renderedLength":1506,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-206"},"54efb4d6-209":{"renderedLength":13382,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-208"},"54efb4d6-211":{"renderedLength":1340,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-210"},"54efb4d6-213":{"renderedLength":6778,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-212"},"54efb4d6-215":{"renderedLength":3759,"gzipLength":0,"brotliLength":0,"metaUid":"54efb4d6-214"}},"nodeMetas":{"54efb4d6-0":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Constants.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-1"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-24"},{"uid":"54efb4d6-30"},{"uid":"54efb4d6-4"},{"uid":"54efb4d6-62"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-16"},{"uid":"54efb4d6-208"},{"uid":"54efb4d6-196"},{"uid":"54efb4d6-198"},{"uid":"54efb4d6-204"},{"uid":"54efb4d6-206"},{"uid":"54efb4d6-194"},{"uid":"54efb4d6-200"}]},"54efb4d6-2":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/MoveDirection.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-3"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-200"}]},"54efb4d6-4":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Vectors.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-5"},"imported":[{"uid":"54efb4d6-0"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-200"}]},"54efb4d6-6":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/TypeUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-7"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-66"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-64"},{"uid":"54efb4d6-112"},{"uid":"54efb4d6-92"},{"uid":"54efb4d6-84"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-14"}]},"54efb4d6-8":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/MathUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-9"},"imported":[{"uid":"54efb4d6-2"},{"uid":"54efb4d6-0"},{"uid":"54efb4d6-4"},{"uid":"54efb4d6-6"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-24"},{"uid":"54efb4d6-30"},{"uid":"54efb4d6-84"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-208"},{"uid":"54efb4d6-206"},{"uid":"54efb4d6-200"}]},"54efb4d6-10":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/OutModeDirection.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-11"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-200"}]},"54efb4d6-12":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/PixelMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-13"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-80"},{"uid":"54efb4d6-14"}]},"54efb4d6-14":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-15"},"imported":[{"uid":"54efb4d6-8"},{"uid":"54efb4d6-6"},{"uid":"54efb4d6-10"},{"uid":"54efb4d6-12"},{"uid":"54efb4d6-4"},{"uid":"54efb4d6-0"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-24"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-112"},{"uid":"54efb4d6-86"},{"uid":"54efb4d6-90"},{"uid":"54efb4d6-108"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-20"},{"uid":"54efb4d6-74"},{"uid":"54efb4d6-196"},{"uid":"54efb4d6-198"},{"uid":"54efb4d6-200"}]},"54efb4d6-16":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/EventDispatcher.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-17"},"imported":[{"uid":"54efb4d6-0"}],"importedBy":[{"uid":"54efb4d6-24"}]},"54efb4d6-18":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EventType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-19"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-20"},{"uid":"54efb4d6-208"},{"uid":"54efb4d6-204"},{"uid":"54efb4d6-200"}]},"54efb4d6-20":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/PluginManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-21"},"imported":[{"uid":"54efb4d6-14"},{"uid":"54efb4d6-18"}],"importedBy":[{"uid":"54efb4d6-24"}]},"54efb4d6-22":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/LogUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-23"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-24"},{"uid":"54efb4d6-208"},{"uid":"54efb4d6-204"},{"uid":"54efb4d6-194"}]},"54efb4d6-24":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Engine.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-25"},"imported":[{"uid":"54efb4d6-0"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-16"},{"uid":"54efb4d6-20"},{"uid":"54efb4d6-22"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-208","dynamic":true}],"importedBy":[{"uid":"54efb4d6-26"}]},"54efb4d6-26":{"id":"/home/workflows/workspace/engine/dist/browser/initEngine.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-27"},"imported":[{"uid":"54efb4d6-24"}],"importedBy":[{"uid":"54efb4d6-120"}]},"54efb4d6-28":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/RangeType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-29"},"imported":[],"importedBy":[{"uid":"54efb4d6-30"}]},"54efb4d6-30":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Ranges.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-31"},"imported":[{"uid":"54efb4d6-28"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-0"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-202"}]},"54efb4d6-32":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/RotateDirection.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-33"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"}]},"54efb4d6-34":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/AnimationMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-35"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-58"}]},"54efb4d6-36":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/LimitMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-37"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-104"},{"uid":"54efb4d6-204"}]},"54efb4d6-38":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/OutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-39"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-88"},{"uid":"54efb4d6-200"}]},"54efb4d6-40":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/AlterType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-41"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-118"}]},"54efb4d6-42":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/DestroyType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-43"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"}]},"54efb4d6-44":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/GradientType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-45"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"}]},"54efb4d6-46":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/ParticleOutType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-47"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-200"}]},"54efb4d6-48":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/StartValueType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-49"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-58"}]},"54efb4d6-50":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/AnimationStatus.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-51"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-118"}]},"54efb4d6-52":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/DrawLayer.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-53"},"imported":[],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-194"}]},"54efb4d6-54":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionLoader.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-55"},"imported":[{"uid":"54efb4d6-6"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-58"},{"uid":"54efb4d6-62"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-64"},{"uid":"54efb4d6-100"},{"uid":"54efb4d6-112"},{"uid":"54efb4d6-76"},{"uid":"54efb4d6-96"},{"uid":"54efb4d6-94"},{"uid":"54efb4d6-92"},{"uid":"54efb4d6-78"},{"uid":"54efb4d6-80"},{"uid":"54efb4d6-82"},{"uid":"54efb4d6-88"},{"uid":"54efb4d6-86"},{"uid":"54efb4d6-90"},{"uid":"54efb4d6-106"},{"uid":"54efb4d6-104"},{"uid":"54efb4d6-102"},{"uid":"54efb4d6-108"},{"uid":"54efb4d6-84"},{"uid":"54efb4d6-114"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-74"}]},"54efb4d6-56":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionsUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-57"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-8"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-58"},{"uid":"54efb4d6-68"},{"uid":"54efb4d6-60"},{"uid":"54efb4d6-70"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-76"},{"uid":"54efb4d6-96"},{"uid":"54efb4d6-94"},{"uid":"54efb4d6-92"},{"uid":"54efb4d6-78"},{"uid":"54efb4d6-80"},{"uid":"54efb4d6-82"},{"uid":"54efb4d6-86"},{"uid":"54efb4d6-90"},{"uid":"54efb4d6-106"},{"uid":"54efb4d6-104"},{"uid":"54efb4d6-102"},{"uid":"54efb4d6-108"},{"uid":"54efb4d6-110"},{"uid":"54efb4d6-72"},{"uid":"54efb4d6-84"},{"uid":"54efb4d6-208"},{"uid":"54efb4d6-74"}]},"54efb4d6-58":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimationOptions.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-59"},"imported":[{"uid":"54efb4d6-56"},{"uid":"54efb4d6-34"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-48"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-60"},{"uid":"54efb4d6-84"}]},"54efb4d6-60":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ColorAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-61"},"imported":[{"uid":"54efb4d6-56"},{"uid":"54efb4d6-58"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-62"}]},"54efb4d6-62":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/HslAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-63"},"imported":[{"uid":"54efb4d6-0"},{"uid":"54efb4d6-60"},{"uid":"54efb4d6-54"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-66"}]},"54efb4d6-64":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/OptionsColor.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-65"},"imported":[{"uid":"54efb4d6-6"},{"uid":"54efb4d6-54"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-66"},{"uid":"54efb4d6-68"}]},"54efb4d6-66":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimatableColor.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-67"},"imported":[{"uid":"54efb4d6-6"},{"uid":"54efb4d6-62"},{"uid":"54efb4d6-64"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"},{"uid":"54efb4d6-76"},{"uid":"54efb4d6-96"},{"uid":"54efb4d6-94"}]},"54efb4d6-68":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Background/Background.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-69"},"imported":[{"uid":"54efb4d6-56"},{"uid":"54efb4d6-64"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-116"}]},"54efb4d6-70":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/FullScreen/FullScreen.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-71"},"imported":[{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-116"}]},"54efb4d6-72":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ResizeEvent.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-73"},"imported":[{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-116"}]},"54efb4d6-74":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Effect/Effect.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-75"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-112"}]},"54efb4d6-76":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Fill.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-77"},"imported":[{"uid":"54efb4d6-56"},{"uid":"54efb4d6-66"},{"uid":"54efb4d6-54"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"},{"uid":"54efb4d6-96"}]},"54efb4d6-78":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveAngle.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-79"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"}]},"54efb4d6-80":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveCenter.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-81"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-12"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"}]},"54efb4d6-82":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveGravity.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-83"},"imported":[{"uid":"54efb4d6-56"},{"uid":"54efb4d6-54"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"}]},"54efb4d6-84":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ValueWithRandom.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-85"},"imported":[{"uid":"54efb4d6-58"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-6"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-8"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-98"},{"uid":"54efb4d6-86"},{"uid":"54efb4d6-110"}]},"54efb4d6-86":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Path/MovePath.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-87"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-84"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"}]},"54efb4d6-88":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/OutModes.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-89"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-38"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"}]},"54efb4d6-90":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Spin.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-91"},"imported":[{"uid":"54efb4d6-56"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-14"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-92"}]},"54efb4d6-92":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Move.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-93"},"imported":[{"uid":"54efb4d6-2"},{"uid":"54efb4d6-6"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-78"},{"uid":"54efb4d6-80"},{"uid":"54efb4d6-82"},{"uid":"54efb4d6-86"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-88"},{"uid":"54efb4d6-90"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"}]},"54efb4d6-94":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Stroke.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-95"},"imported":[{"uid":"54efb4d6-66"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-96"}]},"54efb4d6-96":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Paint.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-97"},"imported":[{"uid":"54efb4d6-66"},{"uid":"54efb4d6-76"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-94"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"}]},"54efb4d6-98":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-99"},"imported":[{"uid":"54efb4d6-84"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-100"}]},"54efb4d6-100":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-101"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-98"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"}]},"54efb4d6-102":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesDensity.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-103"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-106"}]},"54efb4d6-104":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-105"},"imported":[{"uid":"54efb4d6-36"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-106"}]},"54efb4d6-106":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumber.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-107"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-102"},{"uid":"54efb4d6-104"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"}]},"54efb4d6-108":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Shape/Shape.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-109"},"imported":[{"uid":"54efb4d6-54"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"}]},"54efb4d6-110":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ZIndex/ZIndex.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-111"},"imported":[{"uid":"54efb4d6-84"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-112"}]},"54efb4d6-112":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ParticlesOptions.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-113"},"imported":[{"uid":"54efb4d6-14"},{"uid":"54efb4d6-66"},{"uid":"54efb4d6-74"},{"uid":"54efb4d6-76"},{"uid":"54efb4d6-92"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-96"},{"uid":"54efb4d6-100"},{"uid":"54efb4d6-106"},{"uid":"54efb4d6-108"},{"uid":"54efb4d6-110"},{"uid":"54efb4d6-6"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-114"}]},"54efb4d6-114":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ParticlesOptionsLoader.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-115"},"imported":[{"uid":"54efb4d6-112"},{"uid":"54efb4d6-54"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-204"},{"uid":"54efb4d6-200"}]},"54efb4d6-116":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Options.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-117"},"imported":[{"uid":"54efb4d6-14"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-68"},{"uid":"54efb4d6-70"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-72"},{"uid":"54efb4d6-6"},{"uid":"54efb4d6-114"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-208"}]},"54efb4d6-118":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ColorUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-119"},"imported":[{"uid":"54efb4d6-8"},{"uid":"54efb4d6-0"},{"uid":"54efb4d6-6"},{"uid":"54efb4d6-40"},{"uid":"54efb4d6-50"},{"uid":"54efb4d6-14"}],"importedBy":[{"uid":"54efb4d6-216"},{"uid":"54efb4d6-196"},{"uid":"54efb4d6-194"},{"uid":"54efb4d6-200"}]},"54efb4d6-120":{"id":"/home/workflows/workspace/engine/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-121"},"imported":[{"uid":"54efb4d6-26"},{"uid":"54efb4d6-216"}],"importedBy":[{"uid":"54efb4d6-192"},{"uid":"54efb4d6-188"},{"uid":"54efb4d6-144"},{"uid":"54efb4d6-130"},{"uid":"54efb4d6-138"},{"uid":"54efb4d6-152"},{"uid":"54efb4d6-166"},{"uid":"54efb4d6-170"},{"uid":"54efb4d6-174"},{"uid":"54efb4d6-182"},{"uid":"54efb4d6-122"},{"uid":"54efb4d6-210"},{"uid":"54efb4d6-128"},{"uid":"54efb4d6-214"},{"uid":"54efb4d6-150"},{"uid":"54efb4d6-158"},{"uid":"54efb4d6-160"},{"uid":"54efb4d6-162"},{"uid":"54efb4d6-164"},{"uid":"54efb4d6-180"},{"uid":"54efb4d6-212"},{"uid":"54efb4d6-146"},{"uid":"54efb4d6-148"},{"uid":"54efb4d6-156"},{"uid":"54efb4d6-178"}]},"54efb4d6-122":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/Options/Classes/Blend.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-123"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-124"}]},"54efb4d6-124":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/BlendPlugin.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-125"},"imported":[{"uid":"54efb4d6-122"},{"uid":"54efb4d6-210","dynamic":true}],"importedBy":[{"uid":"54efb4d6-126"}]},"54efb4d6-126":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-127"},"imported":[{"uid":"54efb4d6-124"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-128":{"id":"/home/workflows/workspace/shapes/circle/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-129"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-130"}]},"54efb4d6-130":{"id":"/home/workflows/workspace/shapes/circle/dist/browser/CircleDrawer.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-131"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-128"}],"importedBy":[{"uid":"54efb4d6-132"}]},"54efb4d6-132":{"id":"/home/workflows/workspace/shapes/circle/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-133"},"imported":[{"uid":"54efb4d6-130"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-134":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/HexColorManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-135"},"imported":[],"importedBy":[{"uid":"54efb4d6-136"}]},"54efb4d6-136":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-137"},"imported":[{"uid":"54efb4d6-134"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-138":{"id":"/home/workflows/workspace/plugins/colors/hsl/dist/browser/HslColorManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-139"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-140"}]},"54efb4d6-140":{"id":"/home/workflows/workspace/plugins/colors/hsl/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-141"},"imported":[{"uid":"54efb4d6-138"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-142":{"id":"/home/workflows/workspace/plugins/move/dist/browser/MovePlugin.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-143"},"imported":[{"uid":"54efb4d6-214","dynamic":true}],"importedBy":[{"uid":"54efb4d6-144"}]},"54efb4d6-144":{"id":"/home/workflows/workspace/plugins/move/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-145"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-142"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-146":{"id":"/home/workflows/workspace/utils/animationUtils/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-147"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-217"}]},"54efb4d6-148":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/Options/Classes/OpacityAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-149"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-150"}]},"54efb4d6-150":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/Options/Classes/Opacity.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-151"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-148"}],"importedBy":[{"uid":"54efb4d6-152"}]},"54efb4d6-152":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/OpacityUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-153"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-217"},{"uid":"54efb4d6-150"}],"importedBy":[{"uid":"54efb4d6-154"}]},"54efb4d6-154":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-155"},"imported":[{"uid":"54efb4d6-152"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-156":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-157"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-158"}]},"54efb4d6-158":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/BounceOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-159"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-156"}],"importedBy":[{"uid":"54efb4d6-166"}]},"54efb4d6-160":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/DestroyOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-161"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-166"}]},"54efb4d6-162":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/NoneOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-163"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-166"}]},"54efb4d6-164":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/OutOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-165"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-166"}]},"54efb4d6-166":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/OutOfCanvasUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-167"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-158"},{"uid":"54efb4d6-160"},{"uid":"54efb4d6-162"},{"uid":"54efb4d6-164"}],"importedBy":[{"uid":"54efb4d6-168"}]},"54efb4d6-168":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-169"},"imported":[{"uid":"54efb4d6-166"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-170":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/PaintUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-171"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-172"}]},"54efb4d6-172":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-173"},"imported":[{"uid":"54efb4d6-170"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-174":{"id":"/home/workflows/workspace/plugins/colors/rgb/dist/browser/RgbColorManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-175"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-176"}]},"54efb4d6-176":{"id":"/home/workflows/workspace/plugins/colors/rgb/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-177"},"imported":[{"uid":"54efb4d6-174"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-178":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/SizeAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-179"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-180"}]},"54efb4d6-180":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/Size.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-181"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-178"}],"importedBy":[{"uid":"54efb4d6-182"}]},"54efb4d6-182":{"id":"/home/workflows/workspace/updaters/size/dist/browser/SizeUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-183"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-217"},{"uid":"54efb4d6-180"}],"importedBy":[{"uid":"54efb4d6-184"}]},"54efb4d6-184":{"id":"/home/workflows/workspace/updaters/size/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-185"},"imported":[{"uid":"54efb4d6-182"}],"importedBy":[{"uid":"54efb4d6-186"}]},"54efb4d6-186":{"id":"/home/workflows/workspace/bundles/basic/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-187"},"imported":[{"uid":"54efb4d6-126"},{"uid":"54efb4d6-132"},{"uid":"54efb4d6-136"},{"uid":"54efb4d6-140"},{"uid":"54efb4d6-144"},{"uid":"54efb4d6-154"},{"uid":"54efb4d6-168"},{"uid":"54efb4d6-172"},{"uid":"54efb4d6-176"},{"uid":"54efb4d6-184"}],"importedBy":[{"uid":"54efb4d6-190"}]},"54efb4d6-188":{"id":"/dist/browser/options.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-189"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-190"}]},"54efb4d6-190":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-191"},"imported":[{"uid":"54efb4d6-186"},{"uid":"54efb4d6-188"}],"importedBy":[{"uid":"54efb4d6-192"}]},"54efb4d6-192":{"id":"/dist/browser/bundle.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-193"},"imported":[{"uid":"54efb4d6-190"},{"uid":"54efb4d6-120"}],"importedBy":[],"isEntry":true},"54efb4d6-194":{"id":"/home/workflows/workspace/engine/dist/browser/Core/RenderManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-195"},"imported":[{"uid":"54efb4d6-0"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-52"},{"uid":"54efb4d6-22"}],"importedBy":[{"uid":"54efb4d6-196"}]},"54efb4d6-196":{"id":"/home/workflows/workspace/engine/dist/browser/Core/CanvasManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-197"},"imported":[{"uid":"54efb4d6-14"},{"uid":"54efb4d6-0"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-194"}],"importedBy":[{"uid":"54efb4d6-208"}]},"54efb4d6-198":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/EventListeners.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-199"},"imported":[{"uid":"54efb4d6-14"},{"uid":"54efb4d6-0"}],"importedBy":[{"uid":"54efb4d6-208"}]},"54efb4d6-200":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Particle.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-201"},"imported":[{"uid":"54efb4d6-4"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-0"},{"uid":"54efb4d6-18"},{"uid":"54efb4d6-2"},{"uid":"54efb4d6-38"},{"uid":"54efb4d6-10"},{"uid":"54efb4d6-46"},{"uid":"54efb4d6-114"}],"importedBy":[{"uid":"54efb4d6-204"}]},"54efb4d6-202":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/SpatialHashGrid.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-203"},"imported":[{"uid":"54efb4d6-30"}],"importedBy":[{"uid":"54efb4d6-204"}]},"54efb4d6-204":{"id":"/home/workflows/workspace/engine/dist/browser/Core/ParticlesManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-205"},"imported":[{"uid":"54efb4d6-0"},{"uid":"54efb4d6-18"},{"uid":"54efb4d6-36"},{"uid":"54efb4d6-200"},{"uid":"54efb4d6-202"},{"uid":"54efb4d6-22"},{"uid":"54efb4d6-114"}],"importedBy":[{"uid":"54efb4d6-208"}]},"54efb4d6-206":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Retina.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-207"},"imported":[{"uid":"54efb4d6-0"},{"uid":"54efb4d6-8"}],"importedBy":[{"uid":"54efb4d6-208"}]},"54efb4d6-208":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Container.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-209"},"imported":[{"uid":"54efb4d6-8"},{"uid":"54efb4d6-0"},{"uid":"54efb4d6-196"},{"uid":"54efb4d6-198"},{"uid":"54efb4d6-18"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-204"},{"uid":"54efb4d6-206"},{"uid":"54efb4d6-22"},{"uid":"54efb4d6-56"}],"importedBy":[{"uid":"54efb4d6-24"}]},"54efb4d6-210":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/BlendPluginInstance.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-211"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-124"}]},"54efb4d6-212":{"id":"/home/workflows/workspace/plugins/move/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-213"},"imported":[{"uid":"54efb4d6-120"}],"importedBy":[{"uid":"54efb4d6-214"}]},"54efb4d6-214":{"id":"/home/workflows/workspace/plugins/move/dist/browser/MovePluginInstance.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"54efb4d6-215"},"imported":[{"uid":"54efb4d6-120"},{"uid":"54efb4d6-212"}],"importedBy":[{"uid":"54efb4d6-142"}]},"54efb4d6-216":{"id":"/home/workflows/workspace/engine/dist/browser/exports.js","moduleParts":{},"imported":[{"uid":"54efb4d6-0"},{"uid":"54efb4d6-30"},{"uid":"54efb4d6-4"},{"uid":"54efb4d6-2"},{"uid":"54efb4d6-32"},{"uid":"54efb4d6-10"},{"uid":"54efb4d6-34"},{"uid":"54efb4d6-36"},{"uid":"54efb4d6-38"},{"uid":"54efb4d6-12"},{"uid":"54efb4d6-40"},{"uid":"54efb4d6-42"},{"uid":"54efb4d6-44"},{"uid":"54efb4d6-46"},{"uid":"54efb4d6-48"},{"uid":"54efb4d6-18"},{"uid":"54efb4d6-50"},{"uid":"54efb4d6-52"},{"uid":"54efb4d6-66"},{"uid":"54efb4d6-58"},{"uid":"54efb4d6-68"},{"uid":"54efb4d6-60"},{"uid":"54efb4d6-70"},{"uid":"54efb4d6-62"},{"uid":"54efb4d6-116"},{"uid":"54efb4d6-64"},{"uid":"54efb4d6-100"},{"uid":"54efb4d6-98"},{"uid":"54efb4d6-112"},{"uid":"54efb4d6-76"},{"uid":"54efb4d6-96"},{"uid":"54efb4d6-94"},{"uid":"54efb4d6-92"},{"uid":"54efb4d6-78"},{"uid":"54efb4d6-80"},{"uid":"54efb4d6-82"},{"uid":"54efb4d6-88"},{"uid":"54efb4d6-86"},{"uid":"54efb4d6-90"},{"uid":"54efb4d6-106"},{"uid":"54efb4d6-104"},{"uid":"54efb4d6-102"},{"uid":"54efb4d6-108"},{"uid":"54efb4d6-110"},{"uid":"54efb4d6-72"},{"uid":"54efb4d6-84"},{"uid":"54efb4d6-118"},{"uid":"54efb4d6-22"},{"uid":"54efb4d6-8"},{"uid":"54efb4d6-54"},{"uid":"54efb4d6-114"},{"uid":"54efb4d6-56"},{"uid":"54efb4d6-14"},{"uid":"54efb4d6-6"}],"importedBy":[{"uid":"54efb4d6-120"}]},"54efb4d6-217":{"id":"/home/workflows/workspace/utils/animationUtils/dist/browser/index.js","moduleParts":{},"imported":[{"uid":"54efb4d6-146"}],"importedBy":[{"uid":"54efb4d6-152"},{"uid":"54efb4d6-182"}]}},"env":{"rollup":"4.62.2"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
4933
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.preset.ambient.bundle.js","children":[{"name":"home/workflows/workspace","children":[{"name":"engine/dist/browser","children":[{"name":"Core","children":[{"name":"Utils","children":[{"uid":"20b810a0-1","name":"Constants.js"},{"uid":"20b810a0-5","name":"Vectors.js"},{"uid":"20b810a0-21","name":"PluginManager.js"},{"uid":"20b810a0-31","name":"Ranges.js"},{"uid":"20b810a0-199","name":"EventListeners.js"},{"uid":"20b810a0-203","name":"SpatialHashGrid.js"}]},{"uid":"20b810a0-25","name":"Engine.js"},{"uid":"20b810a0-195","name":"RenderManager.js"},{"uid":"20b810a0-197","name":"CanvasManager.js"},{"uid":"20b810a0-201","name":"Particle.js"},{"uid":"20b810a0-205","name":"ParticlesManager.js"},{"uid":"20b810a0-207","name":"Retina.js"},{"uid":"20b810a0-209","name":"Container.js"}]},{"name":"Enums","children":[{"name":"Directions","children":[{"uid":"20b810a0-3","name":"MoveDirection.js"},{"uid":"20b810a0-11","name":"OutModeDirection.js"},{"uid":"20b810a0-33","name":"RotateDirection.js"}]},{"name":"Modes","children":[{"uid":"20b810a0-13","name":"PixelMode.js"},{"uid":"20b810a0-35","name":"AnimationMode.js"},{"uid":"20b810a0-37","name":"LimitMode.js"},{"uid":"20b810a0-39","name":"OutMode.js"}]},{"name":"Types","children":[{"uid":"20b810a0-19","name":"EventType.js"},{"uid":"20b810a0-41","name":"AlterType.js"},{"uid":"20b810a0-43","name":"DestroyType.js"},{"uid":"20b810a0-45","name":"GradientType.js"},{"uid":"20b810a0-47","name":"ParticleOutType.js"},{"uid":"20b810a0-49","name":"StartValueType.js"}]},{"uid":"20b810a0-29","name":"RangeType.js"},{"uid":"20b810a0-51","name":"AnimationStatus.js"},{"uid":"20b810a0-53","name":"DrawLayer.js"}]},{"name":"Utils","children":[{"uid":"20b810a0-7","name":"TypeUtils.js"},{"uid":"20b810a0-9","name":"MathUtils.js"},{"uid":"20b810a0-15","name":"Utils.js"},{"uid":"20b810a0-17","name":"EventDispatcher.js"},{"uid":"20b810a0-23","name":"LogUtils.js"},{"uid":"20b810a0-55","name":"OptionLoader.js"},{"uid":"20b810a0-57","name":"OptionsUtils.js"},{"uid":"20b810a0-115","name":"ParticlesOptionsLoader.js"},{"uid":"20b810a0-119","name":"ColorUtils.js"}]},{"uid":"20b810a0-27","name":"initEngine.js"},{"name":"Options/Classes","children":[{"uid":"20b810a0-59","name":"AnimationOptions.js"},{"uid":"20b810a0-61","name":"ColorAnimation.js"},{"uid":"20b810a0-63","name":"HslAnimation.js"},{"uid":"20b810a0-65","name":"OptionsColor.js"},{"uid":"20b810a0-67","name":"AnimatableColor.js"},{"name":"Background/Background.js","uid":"20b810a0-69"},{"name":"FullScreen/FullScreen.js","uid":"20b810a0-71"},{"uid":"20b810a0-73","name":"ResizeEvent.js"},{"name":"Particles","children":[{"name":"Effect/Effect.js","uid":"20b810a0-75"},{"uid":"20b810a0-77","name":"Fill.js"},{"name":"Move","children":[{"uid":"20b810a0-79","name":"MoveAngle.js"},{"uid":"20b810a0-81","name":"MoveCenter.js"},{"uid":"20b810a0-83","name":"MoveGravity.js"},{"name":"Path/MovePath.js","uid":"20b810a0-87"},{"uid":"20b810a0-89","name":"OutModes.js"},{"uid":"20b810a0-91","name":"Spin.js"},{"uid":"20b810a0-93","name":"Move.js"}]},{"uid":"20b810a0-95","name":"Stroke.js"},{"uid":"20b810a0-97","name":"Paint.js"},{"name":"Bounce","children":[{"uid":"20b810a0-99","name":"ParticlesBounceFactor.js"},{"uid":"20b810a0-101","name":"ParticlesBounce.js"}]},{"name":"Number","children":[{"uid":"20b810a0-103","name":"ParticlesDensity.js"},{"uid":"20b810a0-105","name":"ParticlesNumberLimit.js"},{"uid":"20b810a0-107","name":"ParticlesNumber.js"}]},{"name":"Shape/Shape.js","uid":"20b810a0-109"},{"name":"ZIndex/ZIndex.js","uid":"20b810a0-111"},{"uid":"20b810a0-113","name":"ParticlesOptions.js"}]},{"uid":"20b810a0-85","name":"ValueWithRandom.js"},{"uid":"20b810a0-117","name":"Options.js"}]},{"uid":"20b810a0-121","name":"index.js"}]},{"name":"plugins","children":[{"name":"blend/dist/browser","children":[{"name":"Options/Classes/Blend.js","uid":"20b810a0-123"},{"uid":"20b810a0-125","name":"BlendPlugin.js"},{"uid":"20b810a0-127","name":"index.js"},{"uid":"20b810a0-211","name":"BlendPluginInstance.js"}]},{"name":"colors","children":[{"name":"hex/dist/browser","children":[{"uid":"20b810a0-135","name":"HexColorManager.js"},{"uid":"20b810a0-137","name":"index.js"}]},{"name":"hsl/dist/browser","children":[{"uid":"20b810a0-139","name":"HslColorManager.js"},{"uid":"20b810a0-141","name":"index.js"}]},{"name":"rgb/dist/browser","children":[{"uid":"20b810a0-175","name":"RgbColorManager.js"},{"uid":"20b810a0-177","name":"index.js"}]}]},{"name":"move/dist/browser","children":[{"uid":"20b810a0-143","name":"MovePlugin.js"},{"uid":"20b810a0-145","name":"index.js"},{"uid":"20b810a0-213","name":"Utils.js"},{"uid":"20b810a0-215","name":"MovePluginInstance.js"}]}]},{"name":"shapes/circle/dist/browser","children":[{"uid":"20b810a0-129","name":"Utils.js"},{"uid":"20b810a0-131","name":"CircleDrawer.js"},{"uid":"20b810a0-133","name":"index.js"}]},{"name":"utils/animationUtils/dist/browser/Utils.js","uid":"20b810a0-147"},{"name":"updaters","children":[{"name":"opacity/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"20b810a0-149","name":"OpacityAnimation.js"},{"uid":"20b810a0-151","name":"Opacity.js"}]},{"uid":"20b810a0-153","name":"OpacityUpdater.js"},{"uid":"20b810a0-155","name":"index.js"}]},{"name":"outModes/dist/browser","children":[{"uid":"20b810a0-157","name":"Utils.js"},{"uid":"20b810a0-159","name":"BounceOutMode.js"},{"uid":"20b810a0-161","name":"DestroyOutMode.js"},{"uid":"20b810a0-163","name":"NoneOutMode.js"},{"uid":"20b810a0-165","name":"OutOutMode.js"},{"uid":"20b810a0-167","name":"OutOfCanvasUpdater.js"},{"uid":"20b810a0-169","name":"index.js"}]},{"name":"paint/dist/browser","children":[{"uid":"20b810a0-171","name":"PaintUpdater.js"},{"uid":"20b810a0-173","name":"index.js"}]},{"name":"size/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"20b810a0-179","name":"SizeAnimation.js"},{"uid":"20b810a0-181","name":"Size.js"}]},{"uid":"20b810a0-183","name":"SizeUpdater.js"},{"uid":"20b810a0-185","name":"index.js"}]}]},{"name":"bundles/basic/dist/browser/index.js","uid":"20b810a0-187"}]},{"name":"dist/browser","children":[{"uid":"20b810a0-189","name":"options.js"},{"uid":"20b810a0-191","name":"index.js"},{"uid":"20b810a0-193","name":"bundle.js"}]}]}],"isRoot":true},"nodeParts":{"20b810a0-1":{"renderedLength":1529,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-0"},"20b810a0-3":{"renderedLength":599,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-2"},"20b810a0-5":{"renderedLength":3212,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-4"},"20b810a0-7":{"renderedLength":469,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-6"},"20b810a0-9":{"renderedLength":4156,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-8"},"20b810a0-11":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-10"},"20b810a0-13":{"renderedLength":169,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-12"},"20b810a0-15":{"renderedLength":7984,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-14"},"20b810a0-17":{"renderedLength":1416,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-16"},"20b810a0-19":{"renderedLength":771,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-18"},"20b810a0-21":{"renderedLength":5067,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-20"},"20b810a0-23":{"renderedLength":538,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-22"},"20b810a0-25":{"renderedLength":6107,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-24"},"20b810a0-27":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-26"},"20b810a0-29":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-28"},"20b810a0-31":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-30"},"20b810a0-33":{"renderedLength":274,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-32"},"20b810a0-35":{"renderedLength":281,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-34"},"20b810a0-37":{"renderedLength":161,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-36"},"20b810a0-39":{"renderedLength":257,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-38"},"20b810a0-41":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-40"},"20b810a0-43":{"renderedLength":203,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-42"},"20b810a0-45":{"renderedLength":226,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-44"},"20b810a0-47":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-46"},"20b810a0-49":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-48"},"20b810a0-51":{"renderedLength":217,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-50"},"20b810a0-53":{"renderedLength":631,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-52"},"20b810a0-55":{"renderedLength":332,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-54"},"20b810a0-57":{"renderedLength":914,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-56"},"20b810a0-59":{"renderedLength":872,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-58"},"20b810a0-61":{"renderedLength":466,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-60"},"20b810a0-63":{"renderedLength":315,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-62"},"20b810a0-65":{"renderedLength":603,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-64"},"20b810a0-67":{"renderedLength":914,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-66"},"20b810a0-69":{"renderedLength":882,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-68"},"20b810a0-71":{"renderedLength":235,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-70"},"20b810a0-73":{"renderedLength":235,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-72"},"20b810a0-75":{"renderedLength":605,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-74"},"20b810a0-77":{"renderedLength":387,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-76"},"20b810a0-79":{"renderedLength":239,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-78"},"20b810a0-81":{"renderedLength":364,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-80"},"20b810a0-83":{"renderedLength":432,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-82"},"20b810a0-85":{"renderedLength":590,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-84"},"20b810a0-87":{"renderedLength":517,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-86"},"20b810a0-89":{"renderedLength":482,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-88"},"20b810a0-91":{"renderedLength":381,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-90"},"20b810a0-93":{"renderedLength":2020,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-92"},"20b810a0-95":{"renderedLength":384,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-94"},"20b810a0-97":{"renderedLength":409,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-96"},"20b810a0-99":{"renderedLength":82,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-98"},"20b810a0-101":{"renderedLength":283,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-100"},"20b810a0-103":{"renderedLength":320,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-102"},"20b810a0-105":{"renderedLength":248,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-104"},"20b810a0-107":{"renderedLength":331,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-106"},"20b810a0-109":{"renderedLength":606,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-108"},"20b810a0-111":{"renderedLength":377,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-110"},"20b810a0-113":{"renderedLength":5055,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-112"},"20b810a0-115":{"renderedLength":235,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-114"},"20b810a0-117":{"renderedLength":3365,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-116"},"20b810a0-119":{"renderedLength":12954,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-118"},"20b810a0-121":{"renderedLength":37,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-120"},"20b810a0-123":{"renderedLength":288,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-122"},"20b810a0-125":{"renderedLength":938,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-124"},"20b810a0-127":{"renderedLength":209,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-126"},"20b810a0-129":{"renderedLength":334,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-128"},"20b810a0-131":{"renderedLength":657,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-130"},"20b810a0-133":{"renderedLength":284,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-132"},"20b810a0-135":{"renderedLength":1696,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-134"},"20b810a0-137":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-136"},"20b810a0-139":{"renderedLength":1870,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-138"},"20b810a0-141":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-140"},"20b810a0-143":{"renderedLength":503,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-142"},"20b810a0-145":{"renderedLength":1076,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-144"},"20b810a0-147":{"renderedLength":4672,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-146"},"20b810a0-149":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-148"},"20b810a0-151":{"renderedLength":409,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-150"},"20b810a0-153":{"renderedLength":1886,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-152"},"20b810a0-155":{"renderedLength":314,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-154"},"20b810a0-157":{"renderedLength":3217,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-156"},"20b810a0-159":{"renderedLength":1396,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-158"},"20b810a0-161":{"renderedLength":1235,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-160"},"20b810a0-163":{"renderedLength":1978,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-162"},"20b810a0-165":{"renderedLength":6594,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-164"},"20b810a0-167":{"renderedLength":2127,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-166"},"20b810a0-169":{"renderedLength":320,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-168"},"20b810a0-171":{"renderedLength":3490,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-170"},"20b810a0-173":{"renderedLength":325,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-172"},"20b810a0-175":{"renderedLength":1827,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-174"},"20b810a0-177":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-176"},"20b810a0-179":{"renderedLength":286,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-178"},"20b810a0-181":{"renderedLength":403,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-180"},"20b810a0-183":{"renderedLength":2045,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-182"},"20b810a0-185":{"renderedLength":305,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-184"},"20b810a0-187":{"renderedLength":577,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-186"},"20b810a0-189":{"renderedLength":3854,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-188"},"20b810a0-191":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-190"},"20b810a0-193":{"renderedLength":136,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-192"},"20b810a0-195":{"renderedLength":19099,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-194"},"20b810a0-197":{"renderedLength":12591,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-196"},"20b810a0-199":{"renderedLength":3127,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-198"},"20b810a0-201":{"renderedLength":23379,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-200"},"20b810a0-203":{"renderedLength":3896,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-202"},"20b810a0-205":{"renderedLength":17436,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-204"},"20b810a0-207":{"renderedLength":1506,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-206"},"20b810a0-209":{"renderedLength":13382,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-208"},"20b810a0-211":{"renderedLength":1340,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-210"},"20b810a0-213":{"renderedLength":6778,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-212"},"20b810a0-215":{"renderedLength":3759,"gzipLength":0,"brotliLength":0,"metaUid":"20b810a0-214"}},"nodeMetas":{"20b810a0-0":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Constants.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-1"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-24"},{"uid":"20b810a0-30"},{"uid":"20b810a0-4"},{"uid":"20b810a0-62"},{"uid":"20b810a0-118"},{"uid":"20b810a0-8"},{"uid":"20b810a0-14"},{"uid":"20b810a0-16"},{"uid":"20b810a0-208"},{"uid":"20b810a0-196"},{"uid":"20b810a0-198"},{"uid":"20b810a0-204"},{"uid":"20b810a0-206"},{"uid":"20b810a0-194"},{"uid":"20b810a0-200"}]},"20b810a0-2":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/MoveDirection.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-3"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"},{"uid":"20b810a0-8"},{"uid":"20b810a0-200"}]},"20b810a0-4":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Vectors.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-5"},"imported":[{"uid":"20b810a0-0"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-8"},{"uid":"20b810a0-14"},{"uid":"20b810a0-200"}]},"20b810a0-6":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/TypeUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-7"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-66"},{"uid":"20b810a0-116"},{"uid":"20b810a0-64"},{"uid":"20b810a0-112"},{"uid":"20b810a0-92"},{"uid":"20b810a0-84"},{"uid":"20b810a0-118"},{"uid":"20b810a0-8"},{"uid":"20b810a0-54"},{"uid":"20b810a0-14"}]},"20b810a0-8":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/MathUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-9"},"imported":[{"uid":"20b810a0-2"},{"uid":"20b810a0-0"},{"uid":"20b810a0-4"},{"uid":"20b810a0-6"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-24"},{"uid":"20b810a0-30"},{"uid":"20b810a0-84"},{"uid":"20b810a0-118"},{"uid":"20b810a0-56"},{"uid":"20b810a0-14"},{"uid":"20b810a0-208"},{"uid":"20b810a0-206"},{"uid":"20b810a0-200"}]},"20b810a0-10":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/OutModeDirection.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-11"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-14"},{"uid":"20b810a0-200"}]},"20b810a0-12":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/PixelMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-13"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-80"},{"uid":"20b810a0-14"}]},"20b810a0-14":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-15"},"imported":[{"uid":"20b810a0-8"},{"uid":"20b810a0-6"},{"uid":"20b810a0-10"},{"uid":"20b810a0-12"},{"uid":"20b810a0-4"},{"uid":"20b810a0-0"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-24"},{"uid":"20b810a0-116"},{"uid":"20b810a0-112"},{"uid":"20b810a0-86"},{"uid":"20b810a0-90"},{"uid":"20b810a0-108"},{"uid":"20b810a0-118"},{"uid":"20b810a0-56"},{"uid":"20b810a0-20"},{"uid":"20b810a0-74"},{"uid":"20b810a0-196"},{"uid":"20b810a0-198"},{"uid":"20b810a0-200"}]},"20b810a0-16":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/EventDispatcher.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-17"},"imported":[{"uid":"20b810a0-0"}],"importedBy":[{"uid":"20b810a0-24"}]},"20b810a0-18":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EventType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-19"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-20"},{"uid":"20b810a0-208"},{"uid":"20b810a0-204"},{"uid":"20b810a0-200"}]},"20b810a0-20":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/PluginManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-21"},"imported":[{"uid":"20b810a0-14"},{"uid":"20b810a0-18"}],"importedBy":[{"uid":"20b810a0-24"}]},"20b810a0-22":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/LogUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-23"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-24"},{"uid":"20b810a0-208"},{"uid":"20b810a0-204"},{"uid":"20b810a0-194"}]},"20b810a0-24":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Engine.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-25"},"imported":[{"uid":"20b810a0-0"},{"uid":"20b810a0-14"},{"uid":"20b810a0-16"},{"uid":"20b810a0-20"},{"uid":"20b810a0-22"},{"uid":"20b810a0-8"},{"uid":"20b810a0-208","dynamic":true}],"importedBy":[{"uid":"20b810a0-26"}]},"20b810a0-26":{"id":"/home/workflows/workspace/engine/dist/browser/initEngine.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-27"},"imported":[{"uid":"20b810a0-24"}],"importedBy":[{"uid":"20b810a0-120"}]},"20b810a0-28":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/RangeType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-29"},"imported":[],"importedBy":[{"uid":"20b810a0-30"}]},"20b810a0-30":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Ranges.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-31"},"imported":[{"uid":"20b810a0-28"},{"uid":"20b810a0-8"},{"uid":"20b810a0-0"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-202"}]},"20b810a0-32":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/RotateDirection.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-33"},"imported":[],"importedBy":[{"uid":"20b810a0-216"}]},"20b810a0-34":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/AnimationMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-35"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-58"}]},"20b810a0-36":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/LimitMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-37"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-104"},{"uid":"20b810a0-204"}]},"20b810a0-38":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/OutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-39"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-88"},{"uid":"20b810a0-200"}]},"20b810a0-40":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/AlterType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-41"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-118"}]},"20b810a0-42":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/DestroyType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-43"},"imported":[],"importedBy":[{"uid":"20b810a0-216"}]},"20b810a0-44":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/GradientType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-45"},"imported":[],"importedBy":[{"uid":"20b810a0-216"}]},"20b810a0-46":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/ParticleOutType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-47"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-200"}]},"20b810a0-48":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/StartValueType.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-49"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-58"}]},"20b810a0-50":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/AnimationStatus.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-51"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-118"}]},"20b810a0-52":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/DrawLayer.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-53"},"imported":[],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-194"}]},"20b810a0-54":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionLoader.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-55"},"imported":[{"uid":"20b810a0-6"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-58"},{"uid":"20b810a0-62"},{"uid":"20b810a0-116"},{"uid":"20b810a0-64"},{"uid":"20b810a0-100"},{"uid":"20b810a0-112"},{"uid":"20b810a0-76"},{"uid":"20b810a0-96"},{"uid":"20b810a0-94"},{"uid":"20b810a0-92"},{"uid":"20b810a0-78"},{"uid":"20b810a0-80"},{"uid":"20b810a0-82"},{"uid":"20b810a0-88"},{"uid":"20b810a0-86"},{"uid":"20b810a0-90"},{"uid":"20b810a0-106"},{"uid":"20b810a0-104"},{"uid":"20b810a0-102"},{"uid":"20b810a0-108"},{"uid":"20b810a0-84"},{"uid":"20b810a0-114"},{"uid":"20b810a0-56"},{"uid":"20b810a0-74"}]},"20b810a0-56":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionsUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-57"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-14"},{"uid":"20b810a0-8"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-58"},{"uid":"20b810a0-68"},{"uid":"20b810a0-60"},{"uid":"20b810a0-70"},{"uid":"20b810a0-116"},{"uid":"20b810a0-76"},{"uid":"20b810a0-96"},{"uid":"20b810a0-94"},{"uid":"20b810a0-92"},{"uid":"20b810a0-78"},{"uid":"20b810a0-80"},{"uid":"20b810a0-82"},{"uid":"20b810a0-86"},{"uid":"20b810a0-90"},{"uid":"20b810a0-106"},{"uid":"20b810a0-104"},{"uid":"20b810a0-102"},{"uid":"20b810a0-108"},{"uid":"20b810a0-110"},{"uid":"20b810a0-72"},{"uid":"20b810a0-84"},{"uid":"20b810a0-208"},{"uid":"20b810a0-74"}]},"20b810a0-58":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimationOptions.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-59"},"imported":[{"uid":"20b810a0-56"},{"uid":"20b810a0-34"},{"uid":"20b810a0-54"},{"uid":"20b810a0-48"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-60"},{"uid":"20b810a0-84"}]},"20b810a0-60":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ColorAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-61"},"imported":[{"uid":"20b810a0-56"},{"uid":"20b810a0-58"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-62"}]},"20b810a0-62":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/HslAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-63"},"imported":[{"uid":"20b810a0-0"},{"uid":"20b810a0-60"},{"uid":"20b810a0-54"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-66"}]},"20b810a0-64":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/OptionsColor.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-65"},"imported":[{"uid":"20b810a0-6"},{"uid":"20b810a0-54"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-66"},{"uid":"20b810a0-68"}]},"20b810a0-66":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimatableColor.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-67"},"imported":[{"uid":"20b810a0-6"},{"uid":"20b810a0-62"},{"uid":"20b810a0-64"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"},{"uid":"20b810a0-76"},{"uid":"20b810a0-96"},{"uid":"20b810a0-94"}]},"20b810a0-68":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Background/Background.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-69"},"imported":[{"uid":"20b810a0-56"},{"uid":"20b810a0-64"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-116"}]},"20b810a0-70":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/FullScreen/FullScreen.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-71"},"imported":[{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-116"}]},"20b810a0-72":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ResizeEvent.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-73"},"imported":[{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-116"}]},"20b810a0-74":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Effect/Effect.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-75"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-14"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-112"}]},"20b810a0-76":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Fill.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-77"},"imported":[{"uid":"20b810a0-56"},{"uid":"20b810a0-66"},{"uid":"20b810a0-54"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"},{"uid":"20b810a0-96"}]},"20b810a0-78":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveAngle.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-79"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"}]},"20b810a0-80":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveCenter.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-81"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-12"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"}]},"20b810a0-82":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveGravity.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-83"},"imported":[{"uid":"20b810a0-56"},{"uid":"20b810a0-54"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"}]},"20b810a0-84":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ValueWithRandom.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-85"},"imported":[{"uid":"20b810a0-58"},{"uid":"20b810a0-54"},{"uid":"20b810a0-6"},{"uid":"20b810a0-56"},{"uid":"20b810a0-8"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-98"},{"uid":"20b810a0-86"},{"uid":"20b810a0-110"}]},"20b810a0-86":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Path/MovePath.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-87"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-84"},{"uid":"20b810a0-14"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"}]},"20b810a0-88":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/OutModes.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-89"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-38"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"}]},"20b810a0-90":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Spin.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-91"},"imported":[{"uid":"20b810a0-56"},{"uid":"20b810a0-54"},{"uid":"20b810a0-14"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-92"}]},"20b810a0-92":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Move.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-93"},"imported":[{"uid":"20b810a0-2"},{"uid":"20b810a0-6"},{"uid":"20b810a0-56"},{"uid":"20b810a0-78"},{"uid":"20b810a0-80"},{"uid":"20b810a0-82"},{"uid":"20b810a0-86"},{"uid":"20b810a0-54"},{"uid":"20b810a0-88"},{"uid":"20b810a0-90"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"}]},"20b810a0-94":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Stroke.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-95"},"imported":[{"uid":"20b810a0-66"},{"uid":"20b810a0-54"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-96"}]},"20b810a0-96":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Paint.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-97"},"imported":[{"uid":"20b810a0-66"},{"uid":"20b810a0-76"},{"uid":"20b810a0-54"},{"uid":"20b810a0-94"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"}]},"20b810a0-98":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-99"},"imported":[{"uid":"20b810a0-84"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-100"}]},"20b810a0-100":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-101"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-98"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"}]},"20b810a0-102":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesDensity.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-103"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-106"}]},"20b810a0-104":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-105"},"imported":[{"uid":"20b810a0-36"},{"uid":"20b810a0-54"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-106"}]},"20b810a0-106":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumber.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-107"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-102"},{"uid":"20b810a0-104"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"}]},"20b810a0-108":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Shape/Shape.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-109"},"imported":[{"uid":"20b810a0-54"},{"uid":"20b810a0-14"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"}]},"20b810a0-110":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ZIndex/ZIndex.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-111"},"imported":[{"uid":"20b810a0-84"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-112"}]},"20b810a0-112":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ParticlesOptions.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-113"},"imported":[{"uid":"20b810a0-14"},{"uid":"20b810a0-66"},{"uid":"20b810a0-74"},{"uid":"20b810a0-76"},{"uid":"20b810a0-92"},{"uid":"20b810a0-54"},{"uid":"20b810a0-96"},{"uid":"20b810a0-100"},{"uid":"20b810a0-106"},{"uid":"20b810a0-108"},{"uid":"20b810a0-110"},{"uid":"20b810a0-6"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-114"}]},"20b810a0-114":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ParticlesOptionsLoader.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-115"},"imported":[{"uid":"20b810a0-112"},{"uid":"20b810a0-54"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-116"},{"uid":"20b810a0-204"},{"uid":"20b810a0-200"}]},"20b810a0-116":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Options.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-117"},"imported":[{"uid":"20b810a0-14"},{"uid":"20b810a0-56"},{"uid":"20b810a0-68"},{"uid":"20b810a0-70"},{"uid":"20b810a0-54"},{"uid":"20b810a0-72"},{"uid":"20b810a0-6"},{"uid":"20b810a0-114"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-208"}]},"20b810a0-118":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ColorUtils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-119"},"imported":[{"uid":"20b810a0-8"},{"uid":"20b810a0-0"},{"uid":"20b810a0-6"},{"uid":"20b810a0-40"},{"uid":"20b810a0-50"},{"uid":"20b810a0-14"}],"importedBy":[{"uid":"20b810a0-216"},{"uid":"20b810a0-196"},{"uid":"20b810a0-194"},{"uid":"20b810a0-200"}]},"20b810a0-120":{"id":"/home/workflows/workspace/engine/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-121"},"imported":[{"uid":"20b810a0-26"},{"uid":"20b810a0-216"}],"importedBy":[{"uid":"20b810a0-192"},{"uid":"20b810a0-188"},{"uid":"20b810a0-144"},{"uid":"20b810a0-130"},{"uid":"20b810a0-138"},{"uid":"20b810a0-152"},{"uid":"20b810a0-166"},{"uid":"20b810a0-170"},{"uid":"20b810a0-174"},{"uid":"20b810a0-182"},{"uid":"20b810a0-122"},{"uid":"20b810a0-210"},{"uid":"20b810a0-128"},{"uid":"20b810a0-214"},{"uid":"20b810a0-150"},{"uid":"20b810a0-158"},{"uid":"20b810a0-160"},{"uid":"20b810a0-162"},{"uid":"20b810a0-164"},{"uid":"20b810a0-180"},{"uid":"20b810a0-212"},{"uid":"20b810a0-146"},{"uid":"20b810a0-148"},{"uid":"20b810a0-156"},{"uid":"20b810a0-178"}]},"20b810a0-122":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/Options/Classes/Blend.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-123"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-124"}]},"20b810a0-124":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/BlendPlugin.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-125"},"imported":[{"uid":"20b810a0-122"},{"uid":"20b810a0-210","dynamic":true}],"importedBy":[{"uid":"20b810a0-126"}]},"20b810a0-126":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-127"},"imported":[{"uid":"20b810a0-124"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-128":{"id":"/home/workflows/workspace/shapes/circle/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-129"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-130"}]},"20b810a0-130":{"id":"/home/workflows/workspace/shapes/circle/dist/browser/CircleDrawer.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-131"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-128"}],"importedBy":[{"uid":"20b810a0-132"}]},"20b810a0-132":{"id":"/home/workflows/workspace/shapes/circle/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-133"},"imported":[{"uid":"20b810a0-130"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-134":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/HexColorManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-135"},"imported":[],"importedBy":[{"uid":"20b810a0-136"}]},"20b810a0-136":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-137"},"imported":[{"uid":"20b810a0-134"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-138":{"id":"/home/workflows/workspace/plugins/colors/hsl/dist/browser/HslColorManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-139"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-140"}]},"20b810a0-140":{"id":"/home/workflows/workspace/plugins/colors/hsl/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-141"},"imported":[{"uid":"20b810a0-138"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-142":{"id":"/home/workflows/workspace/plugins/move/dist/browser/MovePlugin.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-143"},"imported":[{"uid":"20b810a0-214","dynamic":true}],"importedBy":[{"uid":"20b810a0-144"}]},"20b810a0-144":{"id":"/home/workflows/workspace/plugins/move/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-145"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-142"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-146":{"id":"/home/workflows/workspace/utils/animationUtils/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-147"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-217"}]},"20b810a0-148":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/Options/Classes/OpacityAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-149"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-150"}]},"20b810a0-150":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/Options/Classes/Opacity.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-151"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-148"}],"importedBy":[{"uid":"20b810a0-152"}]},"20b810a0-152":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/OpacityUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-153"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-217"},{"uid":"20b810a0-150"}],"importedBy":[{"uid":"20b810a0-154"}]},"20b810a0-154":{"id":"/home/workflows/workspace/updaters/opacity/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-155"},"imported":[{"uid":"20b810a0-152"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-156":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-157"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-158"}]},"20b810a0-158":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/BounceOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-159"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-156"}],"importedBy":[{"uid":"20b810a0-166"}]},"20b810a0-160":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/DestroyOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-161"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-166"}]},"20b810a0-162":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/NoneOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-163"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-166"}]},"20b810a0-164":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/OutOutMode.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-165"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-166"}]},"20b810a0-166":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/OutOfCanvasUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-167"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-158"},{"uid":"20b810a0-160"},{"uid":"20b810a0-162"},{"uid":"20b810a0-164"}],"importedBy":[{"uid":"20b810a0-168"}]},"20b810a0-168":{"id":"/home/workflows/workspace/updaters/outModes/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-169"},"imported":[{"uid":"20b810a0-166"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-170":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/PaintUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-171"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-172"}]},"20b810a0-172":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-173"},"imported":[{"uid":"20b810a0-170"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-174":{"id":"/home/workflows/workspace/plugins/colors/rgb/dist/browser/RgbColorManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-175"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-176"}]},"20b810a0-176":{"id":"/home/workflows/workspace/plugins/colors/rgb/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-177"},"imported":[{"uid":"20b810a0-174"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-178":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/SizeAnimation.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-179"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-180"}]},"20b810a0-180":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/Size.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-181"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-178"}],"importedBy":[{"uid":"20b810a0-182"}]},"20b810a0-182":{"id":"/home/workflows/workspace/updaters/size/dist/browser/SizeUpdater.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-183"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-217"},{"uid":"20b810a0-180"}],"importedBy":[{"uid":"20b810a0-184"}]},"20b810a0-184":{"id":"/home/workflows/workspace/updaters/size/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-185"},"imported":[{"uid":"20b810a0-182"}],"importedBy":[{"uid":"20b810a0-186"}]},"20b810a0-186":{"id":"/home/workflows/workspace/bundles/basic/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-187"},"imported":[{"uid":"20b810a0-126"},{"uid":"20b810a0-132"},{"uid":"20b810a0-136"},{"uid":"20b810a0-140"},{"uid":"20b810a0-144"},{"uid":"20b810a0-154"},{"uid":"20b810a0-168"},{"uid":"20b810a0-172"},{"uid":"20b810a0-176"},{"uid":"20b810a0-184"}],"importedBy":[{"uid":"20b810a0-190"}]},"20b810a0-188":{"id":"/dist/browser/options.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-189"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-190"}]},"20b810a0-190":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-191"},"imported":[{"uid":"20b810a0-186"},{"uid":"20b810a0-188"}],"importedBy":[{"uid":"20b810a0-192"}]},"20b810a0-192":{"id":"/dist/browser/bundle.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-193"},"imported":[{"uid":"20b810a0-190"},{"uid":"20b810a0-120"}],"importedBy":[],"isEntry":true},"20b810a0-194":{"id":"/home/workflows/workspace/engine/dist/browser/Core/RenderManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-195"},"imported":[{"uid":"20b810a0-0"},{"uid":"20b810a0-118"},{"uid":"20b810a0-52"},{"uid":"20b810a0-22"}],"importedBy":[{"uid":"20b810a0-196"}]},"20b810a0-196":{"id":"/home/workflows/workspace/engine/dist/browser/Core/CanvasManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-197"},"imported":[{"uid":"20b810a0-14"},{"uid":"20b810a0-0"},{"uid":"20b810a0-118"},{"uid":"20b810a0-194"}],"importedBy":[{"uid":"20b810a0-208"}]},"20b810a0-198":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/EventListeners.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-199"},"imported":[{"uid":"20b810a0-14"},{"uid":"20b810a0-0"}],"importedBy":[{"uid":"20b810a0-208"}]},"20b810a0-200":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Particle.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-201"},"imported":[{"uid":"20b810a0-4"},{"uid":"20b810a0-118"},{"uid":"20b810a0-8"},{"uid":"20b810a0-14"},{"uid":"20b810a0-0"},{"uid":"20b810a0-18"},{"uid":"20b810a0-2"},{"uid":"20b810a0-38"},{"uid":"20b810a0-10"},{"uid":"20b810a0-46"},{"uid":"20b810a0-114"}],"importedBy":[{"uid":"20b810a0-204"}]},"20b810a0-202":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/SpatialHashGrid.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-203"},"imported":[{"uid":"20b810a0-30"}],"importedBy":[{"uid":"20b810a0-204"}]},"20b810a0-204":{"id":"/home/workflows/workspace/engine/dist/browser/Core/ParticlesManager.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-205"},"imported":[{"uid":"20b810a0-0"},{"uid":"20b810a0-18"},{"uid":"20b810a0-36"},{"uid":"20b810a0-200"},{"uid":"20b810a0-202"},{"uid":"20b810a0-22"},{"uid":"20b810a0-114"}],"importedBy":[{"uid":"20b810a0-208"}]},"20b810a0-206":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Retina.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-207"},"imported":[{"uid":"20b810a0-0"},{"uid":"20b810a0-8"}],"importedBy":[{"uid":"20b810a0-208"}]},"20b810a0-208":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Container.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-209"},"imported":[{"uid":"20b810a0-8"},{"uid":"20b810a0-0"},{"uid":"20b810a0-196"},{"uid":"20b810a0-198"},{"uid":"20b810a0-18"},{"uid":"20b810a0-116"},{"uid":"20b810a0-204"},{"uid":"20b810a0-206"},{"uid":"20b810a0-22"},{"uid":"20b810a0-56"}],"importedBy":[{"uid":"20b810a0-24"}]},"20b810a0-210":{"id":"/home/workflows/workspace/plugins/blend/dist/browser/BlendPluginInstance.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-211"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-124"}]},"20b810a0-212":{"id":"/home/workflows/workspace/plugins/move/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-213"},"imported":[{"uid":"20b810a0-120"}],"importedBy":[{"uid":"20b810a0-214"}]},"20b810a0-214":{"id":"/home/workflows/workspace/plugins/move/dist/browser/MovePluginInstance.js","moduleParts":{"tsparticles.preset.ambient.bundle.js":"20b810a0-215"},"imported":[{"uid":"20b810a0-120"},{"uid":"20b810a0-212"}],"importedBy":[{"uid":"20b810a0-142"}]},"20b810a0-216":{"id":"/home/workflows/workspace/engine/dist/browser/exports.js","moduleParts":{},"imported":[{"uid":"20b810a0-0"},{"uid":"20b810a0-30"},{"uid":"20b810a0-4"},{"uid":"20b810a0-2"},{"uid":"20b810a0-32"},{"uid":"20b810a0-10"},{"uid":"20b810a0-34"},{"uid":"20b810a0-36"},{"uid":"20b810a0-38"},{"uid":"20b810a0-12"},{"uid":"20b810a0-40"},{"uid":"20b810a0-42"},{"uid":"20b810a0-44"},{"uid":"20b810a0-46"},{"uid":"20b810a0-48"},{"uid":"20b810a0-18"},{"uid":"20b810a0-50"},{"uid":"20b810a0-52"},{"uid":"20b810a0-66"},{"uid":"20b810a0-58"},{"uid":"20b810a0-68"},{"uid":"20b810a0-60"},{"uid":"20b810a0-70"},{"uid":"20b810a0-62"},{"uid":"20b810a0-116"},{"uid":"20b810a0-64"},{"uid":"20b810a0-100"},{"uid":"20b810a0-98"},{"uid":"20b810a0-112"},{"uid":"20b810a0-76"},{"uid":"20b810a0-96"},{"uid":"20b810a0-94"},{"uid":"20b810a0-92"},{"uid":"20b810a0-78"},{"uid":"20b810a0-80"},{"uid":"20b810a0-82"},{"uid":"20b810a0-88"},{"uid":"20b810a0-86"},{"uid":"20b810a0-90"},{"uid":"20b810a0-106"},{"uid":"20b810a0-104"},{"uid":"20b810a0-102"},{"uid":"20b810a0-108"},{"uid":"20b810a0-110"},{"uid":"20b810a0-72"},{"uid":"20b810a0-84"},{"uid":"20b810a0-118"},{"uid":"20b810a0-22"},{"uid":"20b810a0-8"},{"uid":"20b810a0-54"},{"uid":"20b810a0-114"},{"uid":"20b810a0-56"},{"uid":"20b810a0-14"},{"uid":"20b810a0-6"}],"importedBy":[{"uid":"20b810a0-120"}]},"20b810a0-217":{"id":"/home/workflows/workspace/utils/animationUtils/dist/browser/index.js","moduleParts":{},"imported":[{"uid":"20b810a0-146"}],"importedBy":[{"uid":"20b810a0-152"},{"uid":"20b810a0-182"}]}},"env":{"rollup":"4.62.2"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
4934
4934
|
|
|
4935
4935
|
const run = () => {
|
|
4936
4936
|
const width = window.innerWidth;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
-
/* Preset v4.3.
|
|
2
|
+
/* Preset v4.3.2 */
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -292,6 +292,9 @@
|
|
|
292
292
|
})(PixelMode || (PixelMode = {}));
|
|
293
293
|
|
|
294
294
|
const minRadius = 0;
|
|
295
|
+
function isForbiddenKey(key) {
|
|
296
|
+
return key === "__proto__" || key === "constructor" || key === "prototype";
|
|
297
|
+
}
|
|
295
298
|
function hasMatchMedia() {
|
|
296
299
|
return typeof matchMedia !== "undefined";
|
|
297
300
|
}
|
|
@@ -367,7 +370,7 @@
|
|
|
367
370
|
if (!hasNested) {
|
|
368
371
|
const sourceDict = source, destDict = destination;
|
|
369
372
|
for (const key of sourceKeys) {
|
|
370
|
-
if (key
|
|
373
|
+
if (isForbiddenKey(key)) {
|
|
371
374
|
continue;
|
|
372
375
|
}
|
|
373
376
|
const v = sourceDict[key];
|
|
@@ -378,7 +381,7 @@
|
|
|
378
381
|
continue;
|
|
379
382
|
}
|
|
380
383
|
for (const key of sourceKeys) {
|
|
381
|
-
if (key
|
|
384
|
+
if (isForbiddenKey(key)) {
|
|
382
385
|
continue;
|
|
383
386
|
}
|
|
384
387
|
const sourceDict = source, destDict = destination, value = sourceDict[key];
|
|
@@ -794,7 +797,7 @@
|
|
|
794
797
|
return this.#domArray;
|
|
795
798
|
}
|
|
796
799
|
get version() {
|
|
797
|
-
return "4.3.
|
|
800
|
+
return "4.3.2";
|
|
798
801
|
}
|
|
799
802
|
addEventListener(type, listener) {
|
|
800
803
|
this.#eventDispatcher.addEventListener(type, listener);
|
|
@@ -2098,7 +2101,7 @@
|
|
|
2098
2101
|
}
|
|
2099
2102
|
|
|
2100
2103
|
async function loadBlendPlugin(engine) {
|
|
2101
|
-
engine.checkVersion("4.3.
|
|
2104
|
+
engine.checkVersion("4.3.2");
|
|
2102
2105
|
await engine.pluginManager.register(e => {
|
|
2103
2106
|
e.pluginManager.addPlugin(new BlendPlugin());
|
|
2104
2107
|
});
|
|
@@ -2135,7 +2138,7 @@
|
|
|
2135
2138
|
}
|
|
2136
2139
|
|
|
2137
2140
|
async function loadCircleShape(engine) {
|
|
2138
|
-
engine.checkVersion("4.3.
|
|
2141
|
+
engine.checkVersion("4.3.2");
|
|
2139
2142
|
await engine.pluginManager.register(e => {
|
|
2140
2143
|
e.pluginManager.addShape(["circle"], () => {
|
|
2141
2144
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -2183,7 +2186,7 @@
|
|
|
2183
2186
|
}
|
|
2184
2187
|
|
|
2185
2188
|
async function loadHexColorPlugin(engine) {
|
|
2186
|
-
engine.checkVersion("4.3.
|
|
2189
|
+
engine.checkVersion("4.3.2");
|
|
2187
2190
|
await engine.pluginManager.register(e => {
|
|
2188
2191
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
2189
2192
|
});
|
|
@@ -2236,7 +2239,7 @@
|
|
|
2236
2239
|
}
|
|
2237
2240
|
|
|
2238
2241
|
async function loadHslColorPlugin(engine) {
|
|
2239
|
-
engine.checkVersion("4.3.
|
|
2242
|
+
engine.checkVersion("4.3.2");
|
|
2240
2243
|
await engine.pluginManager.register(e => {
|
|
2241
2244
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
2242
2245
|
});
|
|
@@ -2260,7 +2263,7 @@
|
|
|
2260
2263
|
}
|
|
2261
2264
|
|
|
2262
2265
|
async function loadMovePlugin(engine) {
|
|
2263
|
-
engine.checkVersion("4.3.
|
|
2266
|
+
engine.checkVersion("4.3.2");
|
|
2264
2267
|
await engine.pluginManager.register(e => {
|
|
2265
2268
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
2266
2269
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -2470,7 +2473,7 @@
|
|
|
2470
2473
|
}
|
|
2471
2474
|
|
|
2472
2475
|
async function loadOpacityUpdater(engine) {
|
|
2473
|
-
engine.checkVersion("4.3.
|
|
2476
|
+
engine.checkVersion("4.3.2");
|
|
2474
2477
|
await engine.pluginManager.register(e => {
|
|
2475
2478
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
2476
2479
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -2815,7 +2818,7 @@
|
|
|
2815
2818
|
}
|
|
2816
2819
|
|
|
2817
2820
|
async function loadOutModesUpdater(engine) {
|
|
2818
|
-
engine.checkVersion("4.3.
|
|
2821
|
+
engine.checkVersion("4.3.2");
|
|
2819
2822
|
await engine.pluginManager.register(e => {
|
|
2820
2823
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
2821
2824
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -2886,7 +2889,7 @@
|
|
|
2886
2889
|
}
|
|
2887
2890
|
|
|
2888
2891
|
async function loadPaintUpdater(engine) {
|
|
2889
|
-
engine.checkVersion("4.3.
|
|
2892
|
+
engine.checkVersion("4.3.2");
|
|
2890
2893
|
await engine.pluginManager.register(e => {
|
|
2891
2894
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
2892
2895
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -2941,7 +2944,7 @@
|
|
|
2941
2944
|
}
|
|
2942
2945
|
|
|
2943
2946
|
async function loadRgbColorPlugin(engine) {
|
|
2944
|
-
engine.checkVersion("4.3.
|
|
2947
|
+
engine.checkVersion("4.3.2");
|
|
2945
2948
|
await engine.pluginManager.register(e => {
|
|
2946
2949
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
2947
2950
|
});
|
|
@@ -3026,7 +3029,7 @@
|
|
|
3026
3029
|
}
|
|
3027
3030
|
|
|
3028
3031
|
async function loadSizeUpdater(engine) {
|
|
3029
|
-
engine.checkVersion("4.3.
|
|
3032
|
+
engine.checkVersion("4.3.2");
|
|
3030
3033
|
await engine.pluginManager.register(e => {
|
|
3031
3034
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3032
3035
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3035,7 +3038,7 @@
|
|
|
3035
3038
|
}
|
|
3036
3039
|
|
|
3037
3040
|
async function loadBasic(engine) {
|
|
3038
|
-
engine.checkVersion("4.3.
|
|
3041
|
+
engine.checkVersion("4.3.2");
|
|
3039
3042
|
await engine.pluginManager.register(async (e) => {
|
|
3040
3043
|
await Promise.all([
|
|
3041
3044
|
loadBlendPlugin(e),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var e="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,e){return e in t||(t[e]={}),t[e]}})}:function(t){return t};t.__tsParticlesInternals.bundles=e(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=e(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=e(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=e(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=e(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=e(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=e(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=e(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=e(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=e(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=e(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=e(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=e(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.ambient=t.__tsParticlesInternals.presets.ambient||{}))}(this,function(t){"use strict";const e="generated",i="source-over",s=100,n=.5,a=1e3,o={x:0,y:0,z:0},r=1,l=0,c=0,h=1,d="random",u=2*Math.PI,p="true",f="false",g="canvas",m=255,y=360,v=100,w=100,P=.25;var b;function x(t){return"z"in t?t.z:o.z}!function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(b||(b={}));class M{x;y;z;constructor(t=o.x,e=o.y,i=o.z){this.x=t,this.y=e,this.z=i}static get origin(){return M.create(o.x,o.y,o.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.#t(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this.#t(this.angle,t)}static clone(t){return M.create(t.x,t.y,x(t))}static create(t,e,i){return"number"==typeof t?new M(t,e??o.y,i??o.z):new M(t.x,t.y,x(t))}add(t){return M.create(this.x+t.x,this.y+t.y,this.z+x(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=x(t)}copy(){return M.clone(this)}div(t){return M.create(this.x/t,this.y/t,this.z/t)}getLengthSq(){return this.x**2+this.y**2}mult(t){return M.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return M.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),o.z)}setTo(t){this.x=t.x,this.y=t.y,this.z=x(t)}sub(t){return M.create(this.x-t.x,this.y-t.y,this.z-x(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=x(t)}#t(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class z extends M{constructor(t=o.x,e=o.y){super(t,e,o.z)}static get origin(){return z.create(o.x,o.y)}static clone(t){return z.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new z(t,e??o.y):new z(t.x,t.y)}}function C(t){return"boolean"==typeof t}function k(t){return"string"==typeof t}function S(t){return"number"==typeof t}function I(t){return"object"==typeof t&&null!==t}function _(t){return Array.isArray(t)}function O(t){return null==t}const D=Math.PI/180;let L=Math.random;const R=t=>requestAnimationFrame(t),E=t=>{cancelAnimationFrame(t)};function T(){return F(L(),0,1-Number.EPSILON)}function B(t,e){return T()*(e-t)+t}function F(t,e,i){return Math.min(Math.max(t,e),i)}function A(t){const e=$(t);let i=V(t);return e===i&&(i=0),B(i,e)}function U(t){return S(t)?t:A(t)}function V(t){return S(t)?t:t.min}function $(t){return S(t)?t:t.max}function W(t,e){if(t===e||void 0===e&&S(t))return t;const i=V(t),s=$(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:W(i,s)}function G(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.hypot(i,s)}}function H(t,e){const i=t.x-e.x,s=t.y-e.y;return i*i+s*s}function j(t){return t*D}function q(t){const{position:e,size:i}=t;return{x:e?.x??T()*i.width,y:e?.y??T()*i.height}}function N(t){return t?t.endsWith("%")?parseFloat(t)/s:parseFloat(t):1}var X,Y;!function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(X||(X={})),function(t){t.precise="precise",t.percent="percent"}(Y||(Y={}));function Q(){return globalThis.document}function K(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function Z(t,e,i=!0){return t[void 0!==e&&i?e%t.length:Math.floor(T()*t.length)]}function J(t,e,i,s,n){return function(t,e,i,s){let n=!0;s&&s!==X.bottom||(n=t.top<e.height+i.x);!n||s&&s!==X.left||(n=t.right>i.x);!n||s&&s!==X.right||(n=t.left<e.width+i.y);!n||s&&s!==X.top||(n=t.bottom>i.y);return n}(tt(t,s??0),e,i,n)}function tt(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function et(t,...e){for(const i of e){if(O(i))continue;if(!I(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):I(t)&&!Array.isArray(t)||(t=Object.create(null));const e=Object.keys(i);if(!e.some(t=>{const e=i[t];return I(e)||Array.isArray(e)})){const s=i,n=t;for(const t of e){if("__proto__"===t||"constructor"===t||"prototype"===t)continue;const e=s[t];void 0!==e&&(n[t]=e)}continue}for(const s of e){if("__proto__"===s||"constructor"===s||"prototype"===s)continue;const e=t,n=i[s];e[s]=Array.isArray(n)?n.map(t=>et(void 0,t)):et(e[s],n)}}return t}function it(t,e){return _(t)?t.map((t,i)=>e(t,i)):e(t,0)}function st(t,e,i){return _(t)?Z(t,e,i):t}function nt(t,e){return function(t,e){if(t.mode!==Y.percent){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/s*e.width,y:t.y/s*e.height}:{width:t.width/s*e.width,height:t.height/s*e.height}}(t,e)}let at,ot;function rt(t,e,i,s,n){if(s){let s={passive:!0};C(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else{const s=n;t.removeEventListener(e,i,s)}}async function lt(t,e,i,s=!1){let n=e.get(t);if(!n||s){const s=await Promise.all([...i.entries()].map(([e,i])=>i(t).then(t=>[e,t])));n=new Map(s),e.set(t,n)}return n}class ct{#e;constructor(){this.#e=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this.#e.get(t);i||(i=[],this.#e.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this.#e.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this.#e.get(t)}removeAllEventListeners(t){t?this.#e.delete(t):this.#e=new Map}removeEventListener(t,e){const i=this.#e.get(t);if(!i)return;const s=i.length,n=i.indexOf(e);n<0||(1===s?this.#e.delete(t):i.splice(n,1))}}var ht;!function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(ht||(ht={}));class dt{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;#i=new Set;#s=new Map;#n;#a=new Set;#o=!1;#r=!1;#l=new Set;constructor(t){this.#n=t}get configs(){const t={};for(const[e,i]of this.#s)t[e]=i;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){const e=t.key??t.name??"default";this.#s.set(e,t),this.#n.dispatchEvent(ht.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.initializers.effects.set(t,e)}addPalette(t,e){this.palettes.set(t,e)}addParticleUpdater(t,e){this.initializers.updaters.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t,e){for(const i of t)this.initializers.shapes.set(i,e)}clearPlugins(t){this.effectDrawers.delete(t),this.shapeDrawers.delete(t),this.updaters.delete(t)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawers(t,e=!1){return lt(t,this.effectDrawers,this.initializers.effects,e)}getPalette(t){return this.palettes.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}async getShapeDrawers(t,e=!1){return lt(t,this.shapeDrawers,this.initializers.shapes,e)}async getUpdaters(t,e=!1){return async function(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}(t,this.updaters,this.initializers.updaters,e)}async init(){if(!this.#o&&!this.#r){this.#r=!0,this.#a=new Set,this.#i=new Set(this.#l);try{for(const t of this.#i)await this.#c(t,this.#a,this.#i)}finally{this.#l.clear(),this.#r=!1,this.#o=!0}}}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async register(...t){if(this.#o)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this.#r?await this.#c(e,this.#a,this.#i):this.#l.add(e)}async#c(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this.#n))}}const ut=t=>(...e)=>{t(...e)},pt={debug:ut(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:ut(console.info),log:ut(console.log),trace:ut(console.trace),verbose:ut(console.log),warning:ut(console.warn)};function ft(){return pt}const gt="100%";class mt{pluginManager=new dt(this);#h=[];#d=new ct;#o=!1;get items(){return this.#h}get version(){return"4.3.1"}addEventListener(t,e){this.#d.addEventListener(t,e)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}dispatchEvent(t,e){this.#d.dispatchEvent(t,e)}async init(){this.#o||(await this.pluginManager.init(),this.#o=!0)}item(t){const e=this.items,i=e[t];if(!i?.destroyed)return i;e.splice(t,1)}async load(t){let i;await this.init(),"undefined"!=typeof HTMLElement&&t.element instanceof HTMLElement&&(i=t.element);const{Container:s}=await Promise.resolve().then(function(){return Ti}),n=t.id??i?.id??`tsparticles${Math.floor(1e4*T()).toString()}`,{index:a,url:o}=t,r=o?await async function(t){const e=st(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():(ft().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:o,index:a}):t.options,l=st(r,a),{items:c}=this,h=c.findIndex(t=>t.id.description===n),d=new s({dispatchCallback:(t,e)=>{this.dispatchEvent(t,e)},id:n,onDestroy:t=>{if(!t)return;const e=this.items,i=e.indexOf(d);i>=0&&e.splice(i,1)},pluginManager:this.pluginManager,sourceOptions:l});if(h>=0){const t=this.item(h),e=t?1:0;t&&!t.destroyed&&t.destroy(!1),c.splice(h,e,d)}else c.push(d);const u="undefined"!=typeof OffscreenCanvas&&t.element instanceof OffscreenCanvas?t.element:(t=>{const i=Q();let s;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===g)s=t,s.dataset[e]??=f,s.dataset[e]===p&&(s.style.width||=gt,s.style.height||=gt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none"));else{const n=t.getElementsByTagName(g).item(0);n?(s=n,s.dataset[e]=f):(s=i.createElement(g),s.dataset[e]=p,t.appendChild(s)),s.style.width||=gt,s.style.height||=gt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none")}return s})(((t,i)=>{const s=Q();let n=i??s.getElementById(t);return n||(n=s.createElement("canvas"),n.id=t,n.dataset[e]=p,s.body.append(n),n)})(n,i));return d.canvas.loadCanvas(u),await d.start(),d}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}removeEventListener(t,e){this.#d.removeEventListener(t,e)}}var yt,vt,wt,Pt,bt,xt,Mt,zt,Ct,kt,St,It;!function(t){t.circle="circle",t.rectangle="rectangle"}(yt||(yt={}));class _t{position;type;constructor(t,e,i){this.position={x:t,y:e},this.type=i}_resetPosition(t,e){this.position.x=t,this.position.y=e}}class Ot extends _t{radius;constructor(t,e,i){super(t,e,yt.circle),this.radius=i}contains(t){return e=t,i=this.position,s=this.radius,H(e,i)<=s*s;var e,i,s}intersects(t){const e=this.position,i=t.position,s=this.radius,n=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y);if(t instanceof Ot||t.type===yt.circle){return s+t.radius>Math.hypot(n,a)}if(t instanceof Dt||t.type===yt.rectangle){const e=t,{width:i,height:o}=e.size;return Math.pow(n-i,2)+Math.pow(a-o,2)<=s**2||n<=s+i&&a<=s+o||n<=i||a<=o}return!1}reset(t,e,i){return this._resetPosition(t,e),this.radius=i,this}}class Dt extends _t{size;constructor(t,e,i,s){super(t,e,yt.rectangle),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof Ot)return t.intersects(this);if(!(t instanceof Dt))return!1;const e=this.size.width,i=this.size.height,s=this.position,n=t.position,a=t.size,o=a.width,r=a.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+r>s.y}reset(t,e,i,s){return this._resetPosition(t,e),this.size.width=i,this.size.height=s,this}}!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(vt||(vt={})),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(wt||(wt={})),function(t){t.delete="delete",t.wait="wait"}(Pt||(Pt={})),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(bt||(bt={})),function(t){t.darken="darken",t.enlighten="enlighten"}(xt||(xt={})),function(t){t.none="none",t.max="max",t.min="min"}(Mt||(Mt={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(zt||(zt={})),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(Ct||(Ct={})),function(t){t.max="max",t.min="min",t.random="random"}(kt||(kt={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(St||(St={})),function(t){t[t.BackgroundElement=0]="BackgroundElement",t[t.BackgroundDraw=1]="BackgroundDraw",t[t.BackgroundMask=2]="BackgroundMask",t[t.CanvasSetup=3]="CanvasSetup",t[t.PluginContent=4]="PluginContent",t[t.Particles=5]="Particles",t[t.CanvasCleanup=6]="CanvasCleanup",t[t.Foreground=7]="Foreground"}(It||(It={}));class Lt{load(t){O(t)||this.doLoad(t)}}function Rt(t,...e){for(const i of e)t.load(i)}function Et(t,e,i){void 0!==i&&(t[e]=i)}function Tt(t,e,i){void 0!==i&&(t[e]=W(i))}function Bt(t,e,i,s){if(void 0!==i){const n=t;n[e]??=s(),n[e].load(i)}}function Ft(t,e,i,...s){const n=t;n[e]??=new i;const a=n[e];for(const t of s)a.load(t?.[e])}class At extends Lt{count=0;decay=0;delay=0;enable=!1;speed=1;sync=!1;doLoad(t){Tt(this,"count",t.count),Et(this,"enable",t.enable),Tt(this,"speed",t.speed),Tt(this,"decay",t.decay),Tt(this,"delay",t.delay),Et(this,"sync",t.sync)}}class Ut extends At{mode=wt.auto;startValue=kt.random;doLoad(t){super.doLoad(t),Et(this,"mode",t.mode),Et(this,"startValue",t.startValue)}}class Vt extends At{max;min;offset=0;sync=!0;constructor(t,e){super(),this.min=t,this.max=e}doLoad(t){super.doLoad(t),Et(this,"max",t.max),Et(this,"min",t.min),Tt(this,"offset",t.offset)}}class $t extends Lt{h=new Vt(0,y);l=new Vt(0,w);s=new Vt(0,v);doLoad(t){this.h.load(t.h),this.s.load(t.s),this.l.load(t.l)}}class Wt extends Lt{value="";static create(t,e){const i=new Wt;return i.load(t),void 0!==e&&(k(e)||_(e)?i.load({value:e}):i.load(e)),i}doLoad(t){O(t.value)||(this.value=t.value)}}class Gt extends Wt{animation=new $t;static create(t,e){const i=new Gt;return i.load(t),void 0!==e&&(k(e)||_(e)?i.load({value:e}):i.load(e)),i}doLoad(t){super.doLoad(t);const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}class Ht extends Lt{color;draw;element;image="";opacity=1;position="";repeat="";size="";constructor(){super(),this.color=new Wt,this.color.value=""}doLoad(t){void 0!==t.color&&(this.color=Wt.create(this.color,t.color)),Et(this,"element",t.element),Et(this,"draw",t.draw),Et(this,"image",t.image),Et(this,"position",t.position),Et(this,"repeat",t.repeat),Et(this,"size",t.size),Et(this,"opacity",t.opacity)}}class jt extends Lt{enable=!0;zIndex=0;doLoad(t){Et(this,"enable",t.enable),Et(this,"zIndex",t.zIndex)}}class qt extends Lt{delay=.5;enable=!0;doLoad(t){Et(this,"delay",t.delay),Et(this,"enable",t.enable)}}class Nt extends Lt{close=!0;options={};type=[];doLoad(t){const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=et(this.options[t]??{},i))}Et(this,"close",t.close),Et(this,"type",t.type)}}class Xt extends Lt{color;enable=!0;opacity=1;doLoad(t){void 0!==t.color&&(this.color=Gt.create(this.color,t.color)),Et(this,"enable",t.enable),Tt(this,"opacity",t.opacity)}}class Yt extends Lt{offset=0;value=90;doLoad(t){Tt(this,"offset",t.offset),Tt(this,"value",t.value)}}class Qt extends Lt{mode=Y.percent;radius=0;x=50;y=50;doLoad(t){Et(this,"x",t.x),Et(this,"y",t.y),Et(this,"mode",t.mode),Et(this,"radius",t.radius)}}class Kt extends Lt{acceleration=9.81;enable=!1;inverse=!1;maxSpeed=50;doLoad(t){Tt(this,"acceleration",t.acceleration),Et(this,"enable",t.enable),Et(this,"inverse",t.inverse),Tt(this,"maxSpeed",t.maxSpeed)}}class Zt extends Lt{value=0;doLoad(t){O(t.value)||(this.value=W(t.value))}}class Jt extends Zt{animation=new At;doLoad(t){var e,i,s;super.doLoad(t),e=this,i="animation",void 0!==(s=t.animation)&&e[i].load(s)}}class te extends Jt{animation=new Ut}class ee extends Lt{clamp=!0;delay=new Zt;enable=!1;generator;options={};doLoad(t){Et(this,"clamp",t.clamp),this.delay.load(t.delay),Et(this,"enable",t.enable),this.generator=t.generator,t.options&&(this.options=et(this.options,t.options))}}class ie extends Lt{bottom;default=bt.out;left;right;top;doLoad(t){void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default}}class se extends Lt{acceleration=0;enable=!1;position;doLoad(t){Tt(this,"acceleration",t.acceleration),Et(this,"enable",t.enable),t.position&&(this.position=et({},t.position))}}class ne extends Lt{angle=new Yt;center=new Qt;decay=0;direction=b.none;distance={};drift=0;enable=!1;gravity=new Kt;outModes=new ie;path=new ee;random=!1;size=!1;speed=2;spin=new se;straight=!1;vibrate=!1;warp=!1;doLoad(t){this.angle.load(S(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),Tt(this,"decay",t.decay),Et(this,"direction",t.direction),void 0!==t.distance&&(this.distance=S(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),Tt(this,"drift",t.drift),Et(this,"enable",t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&(I(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),Et(this,"random",t.random),Et(this,"size",t.size),Tt(this,"speed",t.speed),this.spin.load(t.spin),Et(this,"straight",t.straight),Et(this,"vibrate",t.vibrate),Et(this,"warp",t.warp)}}class ae extends Lt{color;opacity;width=0;doLoad(t){void 0!==t.color&&(this.color=Gt.create(this.color,t.color)),Tt(this,"width",t.width),Tt(this,"opacity",t.opacity)}}class oe extends Lt{color;fill;stroke;doLoad(t){void 0!==t.color&&(this.color=Gt.create(this.color,t.color)),Bt(this,"fill",t.fill,()=>new Xt),Bt(this,"stroke",t.stroke,()=>new ae)}}class re extends Zt{value=1}class le extends Lt{horizontal=new re;vertical=new re;doLoad(t){this.horizontal.load(t.horizontal),this.vertical.load(t.vertical)}}class ce extends Lt{enable=!1;height=1080;width=1920;doLoad(t){Et(this,"enable",t.enable),Et(this,"width",t.width),Et(this,"height",t.height)}}class he extends Lt{mode=Pt.delete;value=0;doLoad(t){Et(this,"mode",t.mode),Et(this,"value",t.value)}}class de extends Lt{density=new ce;limit=new he;value=0;doLoad(t){this.density.load(t.density),this.limit.load(t.limit),Et(this,"value",t.value)}}class ue extends Lt{close=!0;options={};type="circle";doLoad(t){const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=et(this.options[t]??{},i))}Et(this,"close",t.close),Et(this,"type",t.type)}}class pe extends Zt{opacityRate=1;sizeRate=1;velocityRate=1;doLoad(t){super.doLoad(t),Et(this,"opacityRate",t.opacityRate),Et(this,"sizeRate",t.sizeRate),Et(this,"velocityRate",t.velocityRate)}}class fe extends Lt{bounce=new le;effect=new Nt;groups={};move=new ne;number=new de;paint;palette;reduceDuplicates=!1;shape=new ue;zIndex=new pe;#u;#p;constructor(t,e){super(),this.#p=t,this.#u=e,this.paint=new oe,this.paint.color=new Gt,this.paint.color.value="#fff",this.paint.fill=new Xt,this.paint.fill.enable=!0}doLoad(t){if(t.palette&&(this.palette=t.palette,this.#f(this.palette)),void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!(e in t.groups))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=et(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number);const e=t.paint;if(e&&(_(e)?this.paint=it(e,t=>{const e=new oe;return e.load(t),e}):_(this.paint)?(this.paint=new oe,this.paint.load(e)):this.paint.load(e)),this.shape.load(t.shape),this.zIndex.load(t.zIndex),this.#u){for(const e of this.#p.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this.#u,this,t);const e=this.#p.updaters.get(this.#u);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}#f(t){const e=this.#p.getPalette(t);if(!e)return;const i=e.colors,s=(_(i)?i:[i]).flatMap(t=>{const e=t.fill,i=t.stroke,s=e?{color:{value:e.value},enable:e.enable,opacity:e.opacity}:void 0;return i?[{fill:s,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:s}]}),n=s.length>1?s:s[0]??{};this.load({paint:n,blend:{enable:!0,mode:e.blendMode}})}}function ge(t,e,...i){const s=new fe(t,e);return Rt(s,...i),s}class me extends Lt{autoPlay=!0;background;clear=!0;defaultThemes={};delay=0;detectRetina=!0;duration=0;fpsLimit=120;fullScreen;hdr=!0;key;name;palette;particles;pauseOnBlur=!0;pauseOnOutsideViewport=!0;preset;resize;smooth=!1;style={};zLayers=100;#u;#p;constructor(t,e){super(),this.#p=t,this.#u=e,this.background=new Ht,this.fullScreen=new jt,this.particles=ge(this.#p,this.#u),this.resize=new qt}doLoad(t){void 0!==t.preset&&(this.preset=t.preset,it(this.preset,t=>{this.#g(t)})),void 0!==t.palette&&(this.palette=t.palette,this.#f(this.palette)),Et(this,"autoPlay",t.autoPlay),Et(this,"clear",t.clear),Et(this,"key",t.key),Et(this,"name",t.name),Tt(this,"delay",t.delay),Et(this,"detectRetina",t.detectRetina),Tt(this,"duration",t.duration),Et(this,"fpsLimit",t.fpsLimit),Et(this,"hdr",t.hdr),Et(this,"pauseOnBlur",t.pauseOnBlur),Et(this,"pauseOnOutsideViewport",t.pauseOnOutsideViewport),Et(this,"zLayers",t.zLayers),this.background.load(t.background);const e=t.fullScreen;C(e)?this.fullScreen.enable=e:this.fullScreen.load(e),this.particles.load(t.particles),this.resize.load(t.resize),this.style=et(this.style,t.style),Et(this,"smooth",t.smooth),this.#p.plugins.forEach(e=>{e.loadOptions(this.#u,this,t)})}#f(t){const e=this.#p.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})}#g(t){this.load(this.#p.getPreset(t))}}const ye=new Map;function ve(t,e){let i=ye.get(t);return i||(i=e(),ye.size>2e3&&ye.clear(),ye.set(t,i)),i}function we(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return Pe(t,n.value,i,s);if(_(n.value)){const e=Z(n.value,i,s);if(!e)return;return we(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function Pe(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return n.value===d?function(){const t=0,e=256,i=()=>Math.floor(B(t,e));return{b:i(),g:i(),r:i()}}():function(t,e){return function(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}(t,e)}(t,n.value);if(_(n.value)){const e=Z(n.value,i,s);if(!e)return;return Pe(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(n);if(t)return t}}function be(t,e,i,s=!0){const a=we(t,e,i,s);return a?function(t){const e=t.r/m,i=t.g/m,s=t.b/m,a=Math.max(e,i,s),o=Math.min(e,i,s),r={h:0,l:(a+o)*n,s:0};a!==o&&(r.s=r.l<n?(a-o)/(a+o):(a-o)/(2-a-o),r.h=e===a?(i-s)/(a-o):i===a?2+(s-e)/(a-o):4+(e-i)/(a-o));r.l*=w,r.s*=v,r.h*=60,r.h<0&&(r.h+=y);r.h>=y&&(r.h-=y);return r}(a):void 0}function xe(t,e,i){if(i<0&&i++,i>1&&i--,6*i<1)return t+6*(e-t)*i;if(2*i<1)return e;if(3*i<2){return t+(e-t)*(2/3-i)*6}return t}function Me(t){const e=(t.h%y+y)%y,i=Math.max(0,Math.min(v,t.s)),s=Math.max(0,Math.min(w,t.l)),a=e/y,o=i/v,r=s/w;if(0===i){const t=Math.round(r*m);return{r:t,g:t,b:t}}const l=r<n?r*(1+o):r+o-r*o,c=2*r-l,h=1/3,d=Math.min(m,m*xe(c,l,a+h)),u=Math.min(m,m*xe(c,l,a)),p=Math.min(m,m*xe(c,l,a-h));return{r:Math.round(d),g:Math.round(u),b:Math.round(p)}}function ze(t,e,i){const s=e?4:2,n=i??1;return ve(`rgb-${t.r.toFixed(s)}-${t.g.toFixed(s)}-${t.b.toFixed(s)}-${e?"hdr":"sdr"}-${n.toString()}`,()=>e?function(t,e,i=400){const s=i/203;return`color(display-p3 ${(t.r/m*s).toString()} ${(t.g/m*s).toString()} ${(t.b/m*s).toString()} / ${(e??1).toString()})`}(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??1).toString()})`}(t,i))}function Ce(t,e,i){const s=e?4:2,a=i??1;return ve(`hsl-${t.h.toFixed(s)}-${t.s.toFixed(s)}-${t.l.toFixed(s)}-${e?"hdr":"sdr"}-${a.toString()}`,()=>e?ze(function(t){const e=(t.h%y+y)%y,i=Math.max(0,Math.min(v,t.s)),s=Math.max(0,Math.min(w,t.l)),a=e/y,o=i/v,r=s/w;if(0===i){const t=r*m;return{r:t,g:t,b:t}}const l=r<n?r*(1+o):r+o-r*o,c=2*r-l,h=1/3;return{r:Math.min(m,m*xe(c,l,a+h)),g:Math.min(m,m*xe(c,l,a)),b:Math.min(m,m*xe(c,l,a-h))}}(t),!0,i):`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${a.toString()})`)}function ke(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function Se(t,e,i){const s={h:{enable:!1,value:t.h,min:0,max:y},s:{enable:!1,value:t.s,min:0,max:v},l:{enable:!1,value:t.l,min:0,max:w}};return e&&(Ie(s.h,e.h,i),Ie(s.s,e.s,i),Ie(s.l,e.l,i)),s}function Ie(t,e,i){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=U(e.speed)/s*i,t.decay=1-U(e.decay),t.status=St.increasing,t.loops=0,t.maxLoops=U(e.count),t.time=0,t.delayTime=U(e.delay)*a,e.sync||(t.velocity*=T(),t.value*=T()),t.initialValue=t.value,t.offset=W(e.offset)):t.velocity=0}function _e(t,e,i,s){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const n=t.offset?A(t.offset):0,a=((t.velocity??0)*i.factor+3.6*n)*(s?.5075:1),o=t.decay??1,r=t.max,l=t.min;e&&t.status!==St.increasing?(t.value-=a,t.value<l&&(t.loops??=0,t.loops++,t.status=St.increasing)):(t.value+=a,t.value>r&&(t.loops??=0,t.loops++,e?t.status=St.decreasing:t.value-=r)),t.velocity&&1!==o&&(t.velocity*=o),t.value=F(t.value,l,r)}function Oe(t,e,i){if(!t)return;const{h:s,s:n,l:a}=t;_e(s,!1,e,i),_e(n,!0,e,i),_e(a,!0,e,i)}const De=new mt;class Le{enable=!1;mode="destination-out";load(t){O(t)||(Et(this,"mode",t.mode),Et(this,"enable",t.enable))}}class Re{id="blend";async getPlugin(t){const{BlendPluginInstance:e}=await Promise.resolve().then(function(){return Bi});return new e(t)}loadOptions(t,e,i){if(!this.needsPlugin(e)&&!this.needsPlugin(i))return;let s=e.blend;s?.load||(e.blend=s=new Le),s.load(i?.blend)}loadParticlesOptions(t,e,i){e.blend??=new Le,e.blend.load(i?.blend)}needsPlugin(t){return!!t?.blend?.enable||!!t?.particles?.blend?.enable}}async function Ee(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addPlugin(new Re)})}class Te{draw(t){!function(t){const{context:e,particle:i,radius:s}=t;i.circleRange??={min:0,max:u};const n=i.circleRange;e.arc(o.x,o.y,s,n.min,n.max,!1)}(t)}getSidesCount(){return 12}particleInit(t,e){const i=e.shapeData,s=i?.angle??{max:360,min:0};e.circleRange=I(s)?{min:j(s.min),max:j(s.max)}:{min:0,max:j(s)}}}async function Be(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["circle"],()=>Promise.resolve(new Te))})}var Fe;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}(Fe||(Fe={}));const Ae=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Ue=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class Ve{accepts(t){return t.startsWith("#")}handleColor(t){return this.#m(t.value)}handleRangeColor(t){return this.#m(t.value)}parseString(t){return this.#m(t)}#m(t){if("string"!=typeof t||!this.accepts(t))return;const e=t.replace(Ae,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0===n?"":n+n)),i=Ue.exec(e);return i?{a:i[Fe.a]?Number.parseInt(i[Fe.a],16)/255:1,b:Number.parseInt(i[Fe.b]??"0",16),g:Number.parseInt(i[Fe.g]??"0",16),r:Number.parseInt(i[Fe.r]??"0",16)}:void 0}}async function $e(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new Ve)})}var We;!function(t){t[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a"}(We||(We={}));const Ge=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class He{accepts(t){return t.startsWith("hsl")}handleColor(t){const e=t.value.hsl??t.value;if("h"in e&&"s"in e&&"l"in e)return Me(e)}handleRangeColor(t){const e=t.value.hsl??t.value;if("h"in e&&"s"in e&&"l"in e)return Me({h:U(e.h),l:U(e.l),s:U(e.s)})}parseString(t){if(!this.accepts(t))return;const e=Ge.exec(t);return e?function(t){const e=Me(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}({a:e.length>4?N(e[We.a]):1,h:Number.parseInt(e[We.h]??"0",10),l:Number.parseInt(e[We.l]??"0",10),s:Number.parseInt(e[We.s]??"0",10)}):void 0}}async function je(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hsl",new He)})}class qe{id="move";#p;constructor(t){this.#p=t}async getPlugin(t){const{MovePluginInstance:e}=await Promise.resolve().then(function(){return Ui});return new e(this.#p,t)}loadOptions(){}needsPlugin(){return!0}}async function Ne(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{const e=t.pluginManager;e.initializers.pathGenerators??=new Map,e.pathGenerators??=new Map,e.addPathGenerator=(t,i)=>{e.initializers.pathGenerators??=new Map,e.initializers.pathGenerators.set(t,i)},e.getPathGenerators=async(t,i=!1)=>(e.initializers.pathGenerators??=new Map,e.pathGenerators??=new Map,lt(t,e.pathGenerators,e.initializers.pathGenerators,i)),t.pluginManager.addPlugin(new qe(t.pluginManager))})}function Xe(t,e){const i=t.value,s=t.animation,o={delayTime:U(s.delay)*a,enable:s.enable,value:U(t.value)*e,max:$(i)*e,min:V(i)*e,loops:0,maxLoops:U(s.count),time:0};if(s.enable){switch(o.decay=1-U(s.decay),s.mode){case wt.increase:o.status=St.increasing;break;case wt.decrease:o.status=St.decreasing;break;case wt.random:o.status=T()>=n?St.increasing:St.decreasing}const t=s.mode===wt.auto;switch(s.startValue){case kt.min:o.value=o.min,t&&(o.status=St.increasing);break;case kt.max:o.value=o.max,t&&(o.status=St.decreasing);break;case kt.random:default:o.value=A(o),t&&(o.status=T()>=n?St.increasing:St.decreasing)}}return o.initialValue=o.value,o}function Ye(t,e,i,s,n){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*n.factor,o=e.min,r=e.max,l=e.decay??1;e.time??=0;const c=e.delayTime??0;if(!(c>0&&e.time<c&&(e.time+=n.value,e.time<c))){switch(e.status){case St.increasing:e.value+=a;break;case St.decreasing:e.value-=a}switch(e.velocity&&1!==l&&(e.velocity*=l),e.status){case St.increasing:e.value>=r&&(e.status=St.decreasing,e.loops??=0,e.loops++);break;case St.decreasing:e.value<=o&&(e.status=St.increasing,e.loops??=0,e.loops++)}!function(t,e,i,s,n){switch(e){case Mt.max:i>=n&&t.destroy();break;case Mt.min:i<=s&&t.destroy()}}(t,s,e.value,o,r),t.destroyed||(e.value=F(e.value,o,r))}}class Qe extends Ut{destroy=Mt.none;load(t){super.load(t),O(t)||Et(this,"destroy",t.destroy)}}class Ke extends te{animation=new Qe;value=1;load(t){if(O(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}class Ze{#u;constructor(t){this.#u=t}init(t){const e=t.options.opacity;if(!e)return;t.opacity=Xe(e,1);const i=e.animation;i.enable&&(t.opacity.velocity=U(i.speed)/s*this.#u.retina.reduceFactor,i.sync||(t.opacity.velocity*=T()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}loadOptions(t,...e){Ft(t,"opacity",Ke,...e)}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,e){this.isEnabled(t)&&t.opacity&&t.options.opacity&&Ye(t,t.opacity,0,t.options.opacity.animation.destroy,e)}}async function Je(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("opacity",t=>Promise.resolve(new Ze(t)))})}class ti{modes;#u;#y;constructor(t){this.#u=t,this.modes=[bt.bounce,bt.split],this.#y=t.plugins.filter(t=>void 0!==t.particleBounce)}update(t,e,i,s){if(!this.modes.includes(s))return;const n=this.#u;let a=!1;for(const s of this.#y)if(a=s.particleBounce?.(t,i,e)??!1,a)break;if(a)return;const o=t.getPosition(),r=t.offset,l=t.getRadius(),c=tt(o,l),h=n.canvas.size,d=!t.isInsideCanvasForOutMode(s,e);!function(t){if(t.outMode!==bt.bounce&&t.outMode!==bt.split||t.direction!==X.left&&t.direction!==X.right)return;t.bounds.right<0&&t.direction===X.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===X.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let i=!1;if(t.outOfCanvas&&(t.direction===X.right&&e>0||t.direction===X.left&&e<0)){const e=U(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-e,i=!0}if(!i)return;const s=t.offset.x+t.size;t.outOfCanvas&&t.direction===X.right?t.particle.position.x=t.canvasSize.width-s:t.outOfCanvas&&t.direction===X.left&&(t.particle.position.x=s),t.outMode===bt.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:c,canvasSize:h,offset:r,outOfCanvas:d,size:l}),function(t){if(t.outMode!==bt.bounce&&t.outMode!==bt.split||t.direction!==X.bottom&&t.direction!==X.top)return;t.bounds.bottom<0&&t.direction===X.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===X.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let i=!1;if(t.outOfCanvas&&(t.direction===X.bottom&&e>0||t.direction===X.top&&e<0)){const e=U(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-e,i=!0}if(!i)return;const s=t.offset.y+t.size;t.outOfCanvas&&t.direction===X.bottom?t.particle.position.y=t.canvasSize.height-s:t.outOfCanvas&&t.direction===X.top&&(t.particle.position.y=s),t.outMode===bt.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:c,canvasSize:h,offset:r,outOfCanvas:d,size:l})}}class ei{modes;constructor(t){this.modes=[bt.destroy]}update(t,e,i,s){if(this.modes.includes(s)){switch(t.outType){case Ct.normal:case Ct.outside:if(t.isInsideCanvasForOutMode(s,e))return;break;case Ct.inside:{const{dx:e,dy:i}=G(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&e>t.moveCenter.radius||n<0&&i>t.moveCenter.radius||s>=0&&e<-t.moveCenter.radius||n>=0&&i<-t.moveCenter.radius)return;break}}t.destroy(!0)}}}class ii{modes;#u;constructor(t){this.#u=t,this.modes=[bt.none]}update(t,e,i,s){if(!this.modes.includes(s))return;if((t.options.move.distance.horizontal&&(e===X.left||e===X.right))??(t.options.move.distance.vertical&&(e===X.top||e===X.bottom)))return;const n=t.options.move.gravity,a=this.#u,r=a.canvas.size,l=t.getRadius();if(n.enable){const i=t.position;(!n.inverse&&i.y>r.height+l&&e===X.bottom||n.inverse&&i.y<-l&&e===X.top)&&t.destroy()}else{if(t.velocity.y>0&&t.position.y<=r.height+l||t.velocity.y<0&&t.position.y>=-l||t.velocity.x>0&&t.position.x<=r.width+l||t.velocity.x<0&&t.position.x>=-l)return;J(t.position,a.canvas.size,o,l,e)||t.destroy()}}}const si=z.origin;class ni{modes;#u;constructor(t){this.#u=t,this.modes=[bt.out]}update(t,e,i,s){if(!this.modes.includes(s))return;const n=this.#u;switch(t.outType){case Ct.inside:{const{x:e,y:i}=t.velocity;si.setTo(o),si.length=t.moveCenter.radius,si.angle=t.velocity.angle+Math.PI,si.addTo(t.moveCenter);const{dx:s,dy:a}=G(t.position,si);if(e<=0&&s>=0||i<=0&&a>=0||e>=0&&s<=0||i>=0&&a<=0)return;t.position.x=Math.floor(A({min:0,max:n.canvas.size.width})),t.position.y=Math.floor(A({min:0,max:n.canvas.size.height}));const{dx:r,dy:l}=G(t.position,t.moveCenter);t.direction=Math.atan2(-l,-r),t.velocity.angle=t.direction,t.justWarped=!0;break}default:if(t.isInsideCanvasForOutMode(s,e))return;switch(t.outType){case Ct.outside:{t.position.x=Math.floor(A({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor(A({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:e,dy:i}=G(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(i,e),t.velocity.angle=t.direction),t.justWarped=!0;break}case Ct.normal:{const i=t.options.move.warp,s=n.canvas.size,a={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},o=t.getRadius(),r=tt(t.position,o);e===X.right&&r.left>s.width+t.offset.x?(t.position.x=a.left,t.initialPosition.x=t.position.x,i||(t.position.y=T()*s.height,t.initialPosition.y=t.position.y),t.justWarped=!0):e===X.left&&r.right<-t.offset.x&&(t.position.x=a.right,t.initialPosition.x=t.position.x,i||(t.position.y=T()*s.height,t.initialPosition.y=t.position.y),t.justWarped=!0),e===X.bottom&&r.top>s.height+t.offset.y?(i||(t.position.x=T()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.top,t.initialPosition.y=t.position.y,t.justWarped=!0):e===X.top&&r.bottom<-t.offset.y&&(i||(t.position.x=T()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.bottom,t.initialPosition.y=t.position.y,t.justWarped=!0);break}}}}}class ai{updaters;#u;constructor(t){this.#u=t,this.updaters=new Map}init(t){this.#v(t,bt.bounce,t=>new ti(t)),this.#v(t,bt.out,t=>new ni(t)),this.#v(t,bt.destroy,t=>new ei(t)),this.#v(t,bt.none,t=>new ii(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,e){const i=t.options.move.outModes;t.justWarped=!1,this.#w(t,e,i.bottom??i.default,X.bottom),this.#w(t,e,i.left??i.default,X.left),this.#w(t,e,i.right??i.default,X.right),this.#w(t,e,i.top??i.default,X.top)}#v(t,e,i){const s=t.options.move.outModes;!this.updaters.has(e)&&((t,e)=>t.default===e||t.bottom===e||t.left===e||t.right===e||t.top===e)(s,e)&&this.updaters.set(e,i(this.#u))}#w(t,e,i,s){for(const n of this.updaters.values())n.update(t,s,e,i)}}async function oi(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("outModes",t=>Promise.resolve(new ai(t)))})}class ri{#u;#p;constructor(t,e){this.#u=e,this.#p=t}init(t){const e=this.#u,i=t.options,s=st(i.paint,t.id,i.reduceDuplicates),n=s?.color,a=n??void 0,o=s?.fill,r=s?.stroke;if(o){const i=Gt.create(void 0===a?void 0:Gt.create(void 0,a),o.color);t.fillEnabled=o.enable,t.fillOpacity=U(o.opacity),t.fillAnimation=i.animation;const s=be(this.#p,i);s&&(t.fillColor=Se(s,t.fillAnimation,e.retina.reduceFactor))}else t.fillEnabled=!1,t.fillAnimation=void 0,t.fillColor=void 0,t.fillOpacity=1;if(r){const i=Gt.create(void 0===a?void 0:Gt.create(void 0,a),r.color);t.strokeWidth=U(r.width)*e.retina.pixelRatio,t.strokeOpacity=U(r.opacity??1),t.strokeAnimation=i.animation;const s=be(this.#p,i)??t.getFillColor();s&&(t.strokeColor=Se(s,t.strokeAnimation,e.retina.reduceFactor))}else t.strokeAnimation=void 0,t.strokeColor=void 0,t.strokeOpacity=1,t.strokeWidth=0}isEnabled(t){const{fillAnimation:e,fillColor:i,strokeAnimation:s,strokeColor:n}=t,a=!!e&&(void 0!==i?.h.value&&i.h.enable||void 0!==i?.s.value&&i.s.enable||void 0!==i?.l.value&&i.l.enable),o=!!s&&(void 0!==n?.h.value&&n.h.enable||void 0!==n?.s.value&&n.s.enable||void 0!==n?.l.value&&n.l.enable);return!t.destroyed&&!t.spawning&&(a||o)}update(t,e){this.isEnabled(t)&&(Oe(t.fillColor,e,this.#u.hdr),Oe(t.strokeColor,e,this.#u.hdr))}}async function li(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new ri(t.pluginManager,e)))})}var ci;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"}(ci||(ci={}));const hi=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class di{accepts(t){return t.startsWith("rgb")}handleColor(t){const e=t.value.rgb??t.value;if("r"in e&&"g"in e&&"b"in e)return e}handleRangeColor(t){const e=t.value.rgb??t.value;if("r"in e&&"g"in e&&"b"in e)return{r:U(e.r),g:U(e.g),b:U(e.b)}}parseString(t){if(!this.accepts(t))return;const e=hi.exec(t);return e?{a:e.length>4?N(e[ci.a]):1,b:parseInt(e[ci.b]??"0",10),g:parseInt(e[ci.g]??"0",10),r:parseInt(e[ci.r]??"0",10)}:void 0}}async function ui(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("rgb",new di)})}class pi extends Ut{destroy=Mt.none;load(t){super.load(t),O(t)||Et(this,"destroy",t.destroy)}}class fi extends te{animation=new pi;value=3;load(t){if(super.load(t),O(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class gi{#u;constructor(t){this.#u=t}init(t){const e=this.#u,i=t.options.size;if(!i)return;const n=i.animation;n.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/s*e.retina.reduceFactor,n.sync||(t.size.velocity*=T()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??0)<=0||(t.size.maxLoops??0)>0&&(t.size.loops??0)<(t.size.maxLoops??0))}loadOptions(t,...e){Ft(t,"size",fi,...e)}preInit(t){const e=this.#u.retina.pixelRatio,i=t.options.size;i&&(t.size=Xe(i,e),t.retina.sizeAnimationSpeed=U(i.animation.speed)*e)}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&t.options.size&&Ye(t,t.size,0,t.options.size.animation.destroy,e)}}async function mi(t){t.checkVersion("4.3.1"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new gi(t)))})}const yi={fpsLimit:120,background:{color:"#191d1e",image:"linear-gradient(0deg, #191d1e 50%,#283139 100%)"},particles:{number:{value:200,density:{enable:!0}},shape:{type:"circle",options:{circle:[{particles:{paint:{fill:{enable:!1},stroke:{width:1,color:{value:"#0cdbf3"}}},opacity:{value:{min:0,max:.8},animation:{enable:!0,speed:.1}},size:{value:{min:3,max:5}}}},{particles:{paint:{fill:{color:{value:"#6fd2f3"},enable:!0}},opacity:{value:{min:0,max:.6},animation:{enable:!0,speed:.1}},size:{value:{min:5,max:7}}}},{particles:{paint:{fill:{color:{value:"#93e9f3"},enable:!0}},opacity:{value:{min:0,max:.4},animation:{enable:!0,speed:.1}},size:{value:{min:10,max:20}}}}]}},move:{enable:!0,speed:{min:.1,max:.5},direction:b.none,outModes:bt.bounce}},detectRetina:!0};async function vi(t){await t.pluginManager.register(async t=>{await async function(t){t.checkVersion("4.3.1"),await t.pluginManager.register(async t=>{await Promise.all([Ee(t),$e(t),je(t),ui(t),Ne(t),Be(t),li(t),Je(t),oi(t),mi(t)])})}(t),t.pluginManager.addPreset("ambient",yi)})}const wi=globalThis;wi.loadAmbientPreset=vi,wi.tsParticles=De;function Pi(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}class bi{#P;#b;#x;#M;#z;#u;#C;#k;#S;#I;#_;#O;#p;#D;#L;#R={};#E=[void 0,void 0];#T={};constructor(t,e,i){this.#p=t,this.#u=e,this.#M=i,this.#C=null,this.#P=null,this.#b=new Set,this.#L=[],this.#D=[],this.#x=[],this.#z=[],this.#S=[],this.#I=[],this.#_=[],this.#O={0:[],1:[],2:[],3:[],4:[],5:[],6:[],7:[]}}get settings(){return this.#k}canvasClear(){this.#u.actualOptions.clear&&this.draw(t=>{t.clearRect(o.x,o.y,this.#M.size.width,this.#M.size.height)})}clear(){for(const t of this.#x)if(t.canvasClear?.())return;for(const t of Object.values(It))if("number"==typeof t)for(const e of this.#B(t))if(e.canvasClear?.())return;this.canvasClear()}destroy(){this.stop(),this.#P=null,this.#b.clear(),this.#L=[],this.#D=[],this.#x=[],this.#z=[],this.#S=[],this.#I=[],this.#_=[];for(const t of Object.values(It))"number"==typeof t&&(this.#O[t]=[])}draw(t){const e=this.#C;if(e)return t(e)}drawParticle(t,e){if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=0)return;const s=t.getFillColor(),n=t.getStrokeColor();let[a,o]=this.#F(t);if(a??=s,o??=n,!a&&!o)return;const r=this.#u,l=t.options.zIndex,c=1-t.zIndexFactor,{fillOpacity:h,opacity:d,strokeOpacity:u}=t.getOpacity(),p=this.#T,f=this.#R,g=a?Ce(a,r.hdr,h*d):void 0,m=o?Ce(o,r.hdr,u*d):g;p.a=p.b=p.c=p.d=void 0,f.fill=g,f.stroke=m,this.draw(s=>{for(const i of this.#_)i.drawParticleSetup?.(s,t,e);this.#A(s,t,i,d,f,p),this.#U({container:r,context:s,particle:t,delta:e,colorStyles:f,radius:i*c**l.sizeRate,opacity:d,transform:p}),this.#V(t);for(const i of this.#I)i.drawParticleCleanup?.(s,t,e)})}drawParticlePlugins(t,e){this.draw(i=>{for(const s of this.#S)this.#$(i,s,t,e)})}drawParticles(t){const{particles:e,actualOptions:i}=this.#u;this.clear(),e.update(t),this.draw(s=>{const n=this.#M.size.width,a=this.#M.size.height;if(this.#P)try{s.drawImage(this.#P,o.x,o.y,n,a)}catch{this.#W("background-element-draw-error","Error drawing background element onto canvas")}const r=i.background;if(r.draw)try{r.draw(s,t)}catch{this.#W("background-draw-error","Error in background.draw callback")}for(const t of this.#B(It.BackgroundMask))t.canvasPaint?.();for(const e of this.#B(It.CanvasSetup))e.drawSettingsSetup?.(s,t);for(const e of this.#B(It.PluginContent))e.draw?.(s,t);e.drawParticles(t);for(const e of this.#B(It.CanvasCleanup))e.clearDraw?.(s,t),e.drawSettingsCleanup?.(s,t)})}init(){this.initUpdaters(),this.initPlugins(),this.#G(),this.paint()}initPlugins(){this.#x=[],this.#z=[],this.#S=[],this.#_=[],this.#I=[];for(const t of Object.values(It))"number"==typeof t&&(this.#O[t]=[]);for(const t of this.#u.plugins)(t.particleFillColor??t.particleStrokeColor)&&this.#z.push(t),t.drawParticle&&this.#S.push(t),t.drawParticleSetup&&this.#_.push(t),t.drawParticleCleanup&&this.#I.push(t),t.canvasClear&&this.#x.push(t),t.canvasPaint&&this.#B(It.BackgroundMask).push(t),t.drawSettingsSetup&&this.#B(It.CanvasSetup).push(t),t.draw&&this.#B(It.PluginContent).push(t),(t.clearDraw??t.drawSettingsCleanup)&&this.#B(It.CanvasCleanup).push(t)}initUpdaters(){this.#L=[],this.#D=[];for(const t of this.#u.particleUpdaters)t.afterDraw&&this.#D.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this.#L.push(t)}paint(){let t=!1;for(const e of this.#B(It.BackgroundMask))if(t=e.canvasPaint?.()??!1,t)break;t||this.paintBase()}paintBase(t){this.draw(e=>{e.fillStyle=t??"rgba(0,0,0,0)",e.fillRect(o.x,o.y,this.#M.size.width,this.#M.size.height)})}paintImage(t,e){this.draw(i=>{if(!t)return;const s=i.globalAlpha;i.globalAlpha=e,i.drawImage(t,o.x,o.y,this.#M.size.width,this.#M.size.height),i.globalAlpha=s})}setContext(t){this.#C=t,this.#C&&(this.#C.globalCompositeOperation=i)}setContextSettings(t){this.#k=t}stop(){this.draw(t=>{t.clearRect(o.x,o.y,this.#M.size.width,this.#M.size.height)})}#V(t){for(const e of this.#D)e.afterDraw?.(t)}#A(t,e,i,s,n,a){for(const o of this.#L){if(o.getColorStyles){const{fill:a,stroke:r}=o.getColorStyles(e,t,i,s);a&&(n.fill=a),r&&(n.stroke=r)}if(o.getTransformValues){const t=o.getTransformValues(e);for(const e in t)Pi(a,t,e)}o.beforeDraw?.(e)}}#H(t,e){if(!t?.drawAfter)return;const{particle:i}=e;i.effect&&t.drawAfter(e)}#j(t,e){if(!t?.drawBefore)return;const{particle:i}=e;i.effect&&t.drawBefore(e)}#U(t){const{container:e,context:i,particle:s,delta:n,colorStyles:a,radius:o,opacity:r,transform:l}=t,{effectDrawers:c,shapeDrawers:h}=e,d=s.getPosition(),u=s.getTransformData(l),p={x:d.x,y:d.y};i.setTransform(u.a,u.b,u.c,u.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const f=!!s.fillEnabled,g=s.strokeWidth??0;i.lineWidth=g,a.stroke&&(i.strokeStyle=a.stroke);const m={context:i,particle:s,radius:o,drawRadius:1*o,opacity:r,delta:n,pixelRatio:e.retina.pixelRatio,fill:f,stroke:g>0,transformData:u,position:{...d},drawPosition:p,drawScale:1};for(const t of e.plugins)t.drawParticleTransform?.(m);const y=s.effect?c.get(s.effect):void 0,v=s.shape?h.get(s.shape):void 0;this.#j(y,m),this.#q(v,m),this.#N(v,m),this.#X(v,m),this.#H(y,m),i.resetTransform()}#$(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}#N(t,e){if(!t)return;const{context:i,fill:s,particle:n,stroke:a}=e;n.shape&&(i.beginPath(),t.draw(e),n.shapeClose&&i.closePath(),s&&i.fill(),a&&i.stroke())}#X(t,e){if(!t?.afterDraw)return;const{particle:i}=e;i.shape&&t.afterDraw(e)}#q(t,e){if(!t?.beforeDraw)return;const{particle:i}=e;i.shape&&t.beforeDraw(e)}#B(t){return this.#O[t]}#F(t){let e,i;for(const s of this.#z)if(!e&&s.particleFillColor&&(e=be(this.#p,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=be(this.#p,s.particleStrokeColor(t))),e&&i)break;return this.#E[0]=e,this.#E[1]=i,this.#E}#G(){const t=this.#u.actualOptions.background;if(this.#P=null,t.element)if("string"==typeof t.element){if("undefined"!=typeof document){const e=document.querySelector(t.element);e instanceof HTMLCanvasElement||e instanceof HTMLVideoElement||e instanceof HTMLImageElement?this.#P=e:e?this.#W("background-element-not-supported",`Background element "${t.element}" is not a supported drawable element (canvas, video, or img)`):this.#W("background-element-not-found",`Background element selector "${t.element}" not found`)}}else(t.element instanceof HTMLCanvasElement||t.element instanceof OffscreenCanvas||t.element instanceof HTMLVideoElement||t.element instanceof HTMLImageElement)&&(this.#P=t.element)}#W(t,e){this.#b.has(t)||(this.#b.add(t),ft().warning(e))}}const xi=new WeakMap;function Mi(t,e,i=!1){if(!e)return;const s=t.style,n=new Set;for(let t=0;t<s.length;t++){const e=s.item(t);e&&n.add(e)}for(let t=0;t<e.length;t++){const i=e.item(t);i&&n.add(i)}for(const t of n){const n=e.getPropertyValue(t);n?s.setProperty(t,n,i?"important":""):s.removeProperty(t)}}class zi{domElement;render;renderCanvas;size;zoom=1;#u;#Y;#Q;#K;#p;#Z;#J;#tt;#et;constructor(t,e){this.#p=t,this.#u=e,this.render=new bi(t,e,this),this.#tt={height:0,width:0};const i=e.retina.pixelRatio,s=this.#tt;this.size={height:s.height*i,width:s.width*i},this.#Y=!1,this.#J=[],this.#Z="none"}get#it(){return this.#u.actualOptions.fullScreen.enable}destroy(){if(this.stop(),this.#Y){const t=this.domElement;t?.remove(),this.domElement=void 0,this.renderCanvas=void 0}else this.#st();this.render.destroy(),this.#J=[]}getZoomCenter(){const t=this.#u.retina.pixelRatio,{width:e,height:i}=this.size;return this.#et?this.#et:{x:e*n/t,y:i*n/t}}init(){this.#nt(t=>{t.disconnect()}),this.#Q=function(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this.#at()}),this.resize(),this.#ot(),this.initBackground(),this.#nt(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})}),this.initPlugins(),this.#rt(),this.render.init()}initBackground(){const t=this.#u,e=t.actualOptions.background,i=this.domElement;if(!i)return;const s=i.style,n=we(this.#p,e.color);s.backgroundColor=n?ze(n,t.actualOptions.hdr,e.opacity):"",s.backgroundImage=e.image||"",s.backgroundPosition=e.position||"",s.backgroundRepeat=e.repeat||"",s.backgroundSize=e.size||""}initPlugins(){this.#J=[];for(const t of this.#u.plugins)t.resize&&this.#J.push(t)}loadCanvas(t){this.#Y&&this.domElement&&this.domElement.remove();const i=(t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)(t)?t:void 0;this.domElement=i,this.#Y=!!i&&"true"===i.dataset[e],this.renderCanvas=i?(t=>{const e=xi.get(t);if(e)return e;if("function"!=typeof t.transferControlToOffscreen)throw new TypeError("OffscreenCanvas is required but not supported by this browser");try{const e=t.transferControlToOffscreen();return xi.set(t,e),e}catch{throw new TypeError("OffscreenCanvas transfer failed")}})(i):t;const s=this.domElement;s&&(s.ariaHidden="true",this.#K=function(t){const e=Q().createElement("div").style;for(const i in t){const s=t[i];if(!(i in t)||O(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const a=t.getPropertyPriority?.(s);a?e.setProperty(s,n,a):e.setProperty(s,n)}return e}(s.style));const n=this.#tt,a=this.renderCanvas;s?(n.height=s.offsetHeight,n.width=s.offsetWidth):(n.height=a.height,n.width=a.width);const o=this.#u.retina.pixelRatio,r=this.size;a.height=r.height=n.height*o,a.width=r.width=n.width*o}resize(){const t=this.domElement;if(!t)return!1;const e=this.#u,i=this.renderCanvas;if(void 0===i)return!1;const s=e.canvas.#tt,n={width:t.offsetWidth,height:t.offsetHeight},a=e.retina.pixelRatio,o={width:n.width*a,height:n.height*a};if(n.height===s.height&&n.width===s.width&&o.height===i.height&&o.width===i.width)return!1;const r={...s};s.height=n.height,s.width=n.width;const l=this.size;return i.width=l.width=o.width,i.height=l.height=o.height,this.#u.started&&e.particles.setResizeFactor({width:s.width/r.width,height:s.height/r.height}),!0}setPointerEvents(t){this.domElement&&(this.#Z=t,this.#at())}setZoom(t,e){this.zoom=t,this.#et=e}stop(){this.#nt(t=>{t.disconnect()}),this.#Q=void 0,this.render.stop()}async windowResize(){if(!this.domElement||!this.resize())return;const t=this.#u,e=t.updateActualOptions();t.particles.setDensity(),this.#lt(),e&&await t.refresh()}#lt(){for(const t of this.#J)t.resize?.()}#rt(){const t=this.#u.actualOptions.hdr&&K("(color-gamut: p3)")?.matches&&K("(dynamic-range: high)")?.matches;this.render.setContextSettings({alpha:!0,desynchronized:!0,willReadFrequently:!1,...t?{colorSpace:"display-p3",colorType:"float16"}:{colorSpace:"srgb"}});const e=this.renderCanvas;e&&this.render.setContext(e.getContext("2d",this.render.settings))}#ot(){const t=this.domElement,e=this.#u.actualOptions;if(t){this.#it?this.#ct():this.#st();for(const i in e.style){if(!i||!(i in e.style))continue;const s=e.style[i];s&&t.style.setProperty(i,s,"important")}}}#at(){const t=this.domElement;if(!t)return;this.#nt(t=>{t.disconnect()}),this.#ot(),this.initBackground();const e=this.#Z;t.style.pointerEvents=e,t.style.setProperty("pointer-events",e),this.#nt(e=>{t instanceof Node&&e.observe(t,{attributes:!0})})}#st(){const t=this.domElement,e=this.#K;t&&e&&Mi(t,e,!0)}#nt(t){this.#Q&&t(this.#Q)}#ct(){const t=this.domElement;t&&Mi(t,function(t){if(at!==t||!ot){at=t;const e=Q().createElement("div").style,i=10,s={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(i),"z-index":t.toString(i),top:"0",left:"0","pointer-events":"none"};for(const t in s){const i=s[t];void 0!==i&&e.setProperty(t,i)}ot=e}return ot}(this.#u.actualOptions.fullScreen.zIndex),!0)}}class Ci{#u;#ht;#dt;#ut;constructor(t){this.#u=t,this.#ht={visibilityChange:()=>{this.#pt()},resize:()=>{this.#ft()}}}addListeners(){this.#gt(!0)}removeListeners(){this.#gt(!1)}#pt(){const t=this.#u;t.actualOptions.pauseOnBlur&&(Q().hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))}#ft(){this.#ut&&(clearTimeout(this.#ut),this.#ut=void 0);const t=async()=>{const t=this.#u.canvas;await t.windowResize()};this.#ut=setTimeout(()=>{t()},this.#u.actualOptions.resize.delay*a)}#gt(t){const e=this.#ht;this.#mt(t),rt(document,"visibilitychange",e.visibilityChange,t,!1)}#mt(t){const e=this.#ht,i=this.#u;if(!i.actualOptions.resize.enable)return;if("undefined"==typeof ResizeObserver)return void rt(globalThis,"resize",e.resize,t);const s=i.canvas.domElement;this.#dt&&!t?(s&&this.#dt.unobserve(s),this.#dt.disconnect(),this.#dt=void 0):!this.#dt&&t&&s&&(this.#dt=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this.#ft()}),this.#dt.observe(s))}}function ki(t){if(e=t.outMode,i=t.checkModes,!(e===i||_(i)&&i.includes(e)))return;var e,i;const s=2*t.radius;t.coord>t.maxCoord-s?t.setCb(-t.radius):t.coord<s&&t.setCb(t.radius)}function Si(t,e){const i=t%e;return i<0?i+e:i}function Ii(t,e,i,s){const n=ge(i,e,e.actualOptions.particles),a=n.reduceDuplicates;t.effect=st(n.effect.type,t.id,a),t.shape=st(n.shape.type,t.id,a);const o=n.effect,r=n.shape;if(s){if(s.effect){const e=s.effect.type;if(e&&e!==t.effect){const i=st(e,t.id,a);i&&(t.effect=i)}o.load(s.effect)}if(s.shape){const e=s.shape.type;if(e&&e!==t.shape){const i=st(e,t.id,a);i&&(t.shape=i)}r.load(s.shape)}}if(t.effect===d){const i=[...e.effectDrawers.keys()];t.effect=i[Math.floor(T()*i.length)]}if(t.shape===d){const i=[...e.shapeDrawers.keys()];t.shape=i[Math.floor(T()*i.length)]}t.effectData=t.effect?function(t,e,i,s){const n=e.options[t];return et({close:e.close},st(n,i,s))}(t.effect,o,t.id,a):void 0,t.shapeData=t.shape?function(t,e,i,s){const n=e.options[t];return et({close:e.close},st(n,i,s))}(t.shape,r,t.id,a):void 0,n.load(s);const l=t.effectData,c=t.shapeData;return l&&n.load(l.particles),c&&n.load(c.particles),t.effectClose=l?.close??n.effect.close,t.shapeClose=c?.close??n.shape.close,n}class _i{backColor;destroyed;direction;effect;effectClose;effectData;fillColor;fillEnabled;fillOpacity;group;id;ignoresResizeRatio;initialPosition;initialVelocity;isRotating;justWarped;lastPathTime;misplaced;moveCenter;offset;opacity;options;outType;pathRotation;position;randomIndexData;retina;roll;rotation;shape;shapeClose;shapeData;sides;size;spawning;strokeColor;strokeOpacity;strokeWidth;unbreakable;velocity;zIndexFactor;#yt={fillOpacity:1,opacity:1,strokeOpacity:1};#vt=M.origin;#wt={sin:0,cos:0};#Pt={a:1,b:0,c:0,d:1};#u;#bt=[];#p;constructor(t,e){this.#p=t,this.#u=e}addModifier(t){this.#bt.push(t),this.#bt.sort((t,e)=>t.priority-e.priority)}clearModifiers(){this.#bt.length=0}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.clearModifiers();const e=this.#u,i=this.shape?e.shapeDrawers.get(this.shape):void 0;i?.particleDestroy?.(this);for(const i of e.particleDestroyedPlugins)i.particleDestroyed?.(this,t);for(const i of e.particleUpdaters)i.particleDestroyed?.(this,t);this.#u.dispatchEvent(ht.particleDestroyed,{particle:this})}draw(t){const e=this.#u.canvas.render;e.drawParticlePlugins(this,t),e.drawParticle(this,t)}getAngle(){return this.rotation+(this.pathRotation?this.velocity.angle:0)}getFillColor(){return this.#xt(this.#Mt(ke(this.fillColor),t=>t.fillColor))}getMass(){return this.getRadius()**2*Math.PI*n}getModifier(t){return this.#bt.find(e=>e.id===t)}getOpacity(){const t=this.options.zIndex,e=(1-this.zIndexFactor)**t.opacityRate,i=U(this.opacity?.value??1),s=this.#Mt(void 0,t=>t.opacity)??i,n=this.fillOpacity??1,a=this.strokeOpacity??1;return this.#yt.fillOpacity=s*n*e,this.#yt.opacity=s*e,this.#yt.strokeOpacity=s*a*e,this.#yt}getPosition(){return this.#vt.x=this.position.x+this.offset.x,this.#vt.y=this.position.y+this.offset.y,this.#vt.z=this.position.z,this.#vt}getRadius(){return this.#Mt(this.size.value,t=>t.radius)}getRotateData(){const t=this.getAngle();return this.#wt.sin=Math.sin(t),this.#wt.cos=Math.cos(t),this.#wt}getStrokeColor(){return this.#xt(this.#Mt(ke(this.strokeColor),t=>t.strokeColor))}getTransformData(t){const e=this.getRotateData(),i=this.isRotating;return this.#Pt.a=e.cos*(t.a??r),this.#Pt.b=i?e.sin*(t.b??1):t.b??l,this.#Pt.c=i?-e.sin*(t.c??1):t.c??c,this.#Pt.d=e.cos*(t.d??h),this.#Pt}init(t,e,i,s){const n=this.#u;!function(t,e,i){t.id=e,t.group=i,t.justWarped=!1,t.effectClose=!0,t.shapeClose=!0,t.pathRotation=!1,t.lastPathTime=0,t.destroyed=!1,t.unbreakable=!1,t.isRotating=!1,t.rotation=0,t.misplaced=!1,t.retina={maxDistance:{},maxSpeed:0,moveDrift:0,moveSpeed:0,sizeAnimationSpeed:0},t.size={value:1,max:1,min:1,enable:!1},t.outType=Ct.normal,t.ignoresResizeRatio=!0}(this,t,s),this.options=Ii(this,n,this.#p,i),n.retina.initParticle(this),function(t,e){for(const i of t)i.preInit?.(e)}(n.particleUpdaters,this),this.#zt(e),this.initialVelocity=this.#Ct(),this.velocity=this.initialVelocity.copy(),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24,function(t,e){let i,s;t.effect&&(i=e.effectDrawers.get(t.effect)),i?.loadEffect&&i.loadEffect(t),t.shape&&(s=e.shapeDrawers.get(t.shape)),s?.loadShape&&s.loadShape(t);const n=s?.getSidesCount;n&&(t.sides=n(t))}(this,n),this.spawning=!1,function(t,e){for(const i of t)i.init(e)}(n.particleUpdaters,this),function(t,e){const i=e.shape?t.shapeDrawers.get(e.shape):void 0,s=e.effect?t.effectDrawers.get(e.effect):void 0;s?.particleInit?.(t,e),i?.particleInit?.(t,e)}(n,this),function(t,e){for(const i of t.particleCreatedPlugins)i.particleCreated?.(e)}(n,this)}isInsideCanvas(t){return this.#kt({direction:t}).inside}isInsideCanvasForOutMode(t,e){return this.#kt({direction:e,outMode:t}).inside}isShowingBack(){if(!this.roll)return!1;const t=this.roll.angle;if(this.roll.horizontal&&this.roll.vertical){const e=Si(t,u);return e>=Math.PI*n&&e<3*Math.PI*n}if(this.roll.horizontal){const e=Si(t+Math.PI*n,u);return e>=Math.PI&&e<2*Math.PI}if(this.roll.vertical){const e=Si(t,u);return e>=Math.PI&&e<2*Math.PI}return!1}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}removeModifier(t){const e=this.#bt.findIndex(e=>e.id===t);e>=0&&this.#bt.splice(e,1)}reset(){for(const t of this.#u.particleUpdaters)t.reset?.(this)}#Mt(t,e){let i=t;for(const t of this.#bt)if(t.enabled){const s=e(t);void 0!==s&&(i=s)}return i}#St(t,e){let i=0,s=t?M.create(t.x,t.y,e):void 0;const n=this.#u,a=n.particlePositionPlugins,o=this.options.move.outModes,r=this.getRadius(),l=n.canvas.size;for(;;){for(const t of a){const i=t.particlePosition?.(s,this);if(i)return M.create(i.x,i.y,e)}const t=q({size:l,position:s}),c=M.create(t.x,t.y,e);this.#It(c,r,o.left??o.default),this.#It(c,r,o.right??o.default),this.#_t(c,r,o.top??o.default),this.#_t(c,r,o.bottom??o.default);let h=!0;for(const t of n.particles.checkParticlePositionPlugins)if(h=t.checkParticlePosition?.(this,c,i)??!0,!h)break;if(h)return c;i+=1,s=void 0}}#Ct(){const t=this.options.move,e=function(t){const e=z.origin;return e.length=1,e.angle=t,e}(this.direction).copy();if(t.direction===b.inside||t.direction===b.outside)return e;const i=j(U(t.angle.value)),s=j(U(t.angle.offset)),a={left:s-i*n,right:s+i*n};return t.straight||(e.angle+=A(W(a.left,a.right))),t.random&&"number"==typeof t.speed&&(e.length*=T()),e}#It(t,e,i){ki({outMode:i,checkModes:[bt.bounce],coord:t.x,maxCoord:this.#u.canvas.size.width,setCb:e=>t.x+=e,radius:e})}#_t(t,e,i){ki({outMode:i,checkModes:[bt.bounce],coord:t.y,maxCoord:this.#u.canvas.size.height,setCb:e=>t.y+=e,radius:e})}#Ot(t,e){const i=this.getRadius(),s=this.#u.canvas.size,n=this.position,a=e===bt.bounce;return t===X.bottom?{inside:a?n.y+i<s.height:n.y-i<s.height,reason:"default"}:t===X.left?{inside:a?n.x-i>0:n.x+i>0,reason:"default"}:t===X.right?{inside:a?n.x+i<s.width:n.x-i<s.width,reason:"default"}:t===X.top?{inside:a?n.y-i>0:n.y+i>0,reason:"default"}:{inside:n.x>=-i&&n.y>=-i&&n.y<=s.height+i&&n.x<=s.width+i,reason:"default"}}#Dt(t,e){return{canvasSize:this.#u.canvas.size,direction:t,outMode:e,particle:this,radius:this.getRadius()}}#kt(t){const e=this.#Ot(t.direction,t.outMode),i=this.#u,s=this.shape?i.shapeDrawers.get(this.shape):void 0,n=this.effect?i.effectDrawers.get(this.effect):void 0,a=s?.isInsideCanvas,o=n?.isInsideCanvas;if(!a&&!o)return e;const r=this.#Dt(t.direction,t.outMode),l=a?this.#Lt(a(r),"shape"):void 0,c=o?this.#Lt(o(r),"effect"):void 0;if(l&&c){const t=Math.max(l.margin??0,c.margin??0);return{inside:l.inside&&c.inside,margin:t>0?t:void 0,reason:"combined"}}return l??c??e}#xt(t){return t&&this.roll&&(this.backColor||this.roll.alter)&&this.isShowingBack()?this.backColor?this.backColor:this.roll.alter?function(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===xt.darken?-1:1)*i}}(t,this.roll.alter.type,this.roll.alter.value):t:t}#zt(t){const e=this.#u,i=Math.floor(U(this.options.zIndex.value)),s=this.#St(t,F(i,0,e.zLayers));if(!s)throw new Error("a valid position cannot be found for particle");this.position=s,this.initialPosition=this.position.copy();const a=e.canvas.size;switch(this.moveCenter={...nt(this.options.move.center,a),radius:this.options.move.center.radius,mode:this.options.move.center.mode},this.direction=function(t,e,i){if(S(t))return j(t);switch(t){case b.top:return-Math.PI*n;case b.topRight:return-Math.PI*P;case b.right:return 0;case b.bottomRight:return Math.PI*P;case b.bottom:return Math.PI*n;case b.bottomLeft:return.75*Math.PI;case b.left:return Math.PI;case b.topLeft:return.75*-Math.PI;case b.inside:return Math.atan2(i.y-e.y,i.x-e.x);case b.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return T()*u}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case b.inside:this.outType=Ct.inside;break;case b.outside:this.outType=Ct.outside}this.offset=z.origin}#Lt(t,e){return"boolean"==typeof t?{inside:t,reason:e}:{inside:t.inside,margin:t.margin,reason:t.reason??e}}}class Oi{#Rt;#Et=new Map;#Tt=[];#Bt;#Ft;#At=[];#Ut;constructor(t){this.#Rt=t,this.#Bt=0,this.#Ut=0}clear(){this.#Et.clear();const t=this.#Ft;t&&(this.#Rt=t),this.#Ft=void 0}insert(t){const{x:e,y:i}=t.getPosition(),s=this.#Vt(e,i);this.#Et.has(s)||this.#Et.set(s,[]),this.#Et.get(s)?.push(t)}query(t,e,i=[]){const s=this.#$t(t);if(!s)return i;const n=Math.floor(s.minX/this.#Rt),a=Math.floor(s.maxX/this.#Rt),o=Math.floor(s.minY/this.#Rt),r=Math.floor(s.maxY/this.#Rt);for(let s=n;s<=a;s++)for(let n=o;n<=r;n++){const a=`${s}_${n}`,o=this.#Et.get(a);if(o)for(const s of o)e&&!e(s)||t.contains(s.getPosition())&&i.push(s)}return i}queryCircle(t,e,i,s=[]){const n=this.#Wt(t.x,t.y,e),a=this.query(n,i,s);return this.#Gt(),a}queryRectangle(t,e,i,s=[]){const n=this.#Ht(t.x,t.y,e.width,e.height),a=this.query(n,i,s);return this.#Gt(),a}setCellSize(t){this.#Ft=t}#Wt(t,e,i){return(this.#Tt[this.#Bt++]??=new Ot(t,e,i)).reset(t,e,i)}#Ht(t,e,i,s){return(this.#At[this.#Ut++]??=new Dt(t,e,i,s)).reset(t,e,i,s)}#Vt(t,e){return`${Math.floor(t/this.#Rt)}_${Math.floor(e/this.#Rt)}`}#$t(t){if(t instanceof Ot){const e=t.radius,{x:i,y:s}=t.position;return{minX:i-e,maxX:i+e,minY:s-e,maxY:s+e}}if(t instanceof Dt){const{x:e,y:i}=t.position,{width:s,height:n}=t.size;return{minX:e,maxX:e+s,minY:i,maxY:i+n}}return null}#Gt(){this.#Bt=0,this.#Ut=0}}class Di{checkParticlePositionPlugins;grid;#jt;#u;#qt;#Nt;#Xt;#Yt;#Qt;#Kt;#p;#Zt;#Jt;#te;#ee;#ie;#se;constructor(t,e){this.#p=t,this.#u=e,this.#Xt=0,this.#jt=[],this.#Zt=[],this.#Nt=0,this.#qt=new Map,this.#Yt=new Map,this.#se=this.#ne(this.#u.zLayers),this.grid=new Oi(100),this.checkParticlePositionPlugins=[],this.#Qt=[],this.#Kt=[],this.#te=[],this.#Jt=[],this.#ie=[]}get count(){return this.#jt.length}addParticle(t,e,i,s){const n=this.#u.actualOptions.particles.number.limit.mode,a=void 0===i?this.#Nt:this.#qt.get(i)??this.#Nt,o=this.count;if(a>0)switch(n){case Pt.delete:{const t=o+1-a;t>0&&this.removeQuantity(t);break}case Pt.wait:if(o>=a)return}try{const n=this.#Zt.pop()??new _i(this.#p,this.#u);n.init(this.#Xt,t,e,i);let a=!0;return s&&(a=s(n)),a?(this.#jt.push(n),this.#ae(n),this.#Xt++,this.#u.dispatchEvent(ht.particleAdded,{particle:n}),n):void this.#Zt.push(n)}catch(t){ft().warning(`error adding particle: ${t}`)}}clear(){this.#jt=[],this.#Yt.clear(),this.#oe(this.#u.zLayers)}destroy(){this.#jt=[],this.#Zt.length=0,this.#Yt.clear(),this.#se=[],this.checkParticlePositionPlugins=[],this.#Qt=[],this.#Kt=[],this.#te=[],this.#Jt=[],this.#ie=[]}drawParticles(t){for(let e=this.#se.length-1;e>=0;e--){const i=this.#se[e];if(i)for(const e of i)e.draw(t)}}filter(t){return this.#jt.filter(t)}find(t){return this.#jt.find(t)}get(t){return this.#jt[t]}async init(){const t=this.#u,e=t.actualOptions;this.checkParticlePositionPlugins=[],this.#ie=[],this.#Kt=[],this.#te=[],this.#Qt=[],this.#Jt=[],this.#Yt.clear(),this.#oe(t.zLayers),this.grid=new Oi(100*t.retina.pixelRatio);for(const e of t.plugins)e.redrawInit&&await e.redrawInit(),e.checkParticlePosition&&this.checkParticlePositionPlugins.push(e),e.update&&this.#ie.push(e),e.particleUpdate&&this.#Kt.push(e),e.postUpdate&&this.#te.push(e),e.particleReset&&this.#Qt.push(e),e.postParticleUpdate&&this.#Jt.push(e);await this.#u.initDrawersAndUpdaters();for(const e of this.#u.effectDrawers.values())await(e.init?.(t));for(const e of this.#u.shapeDrawers.values())await(e.init?.(t));let i=!1;for(const e of t.plugins)if(i=e.particlesInitialization?.()??i,i)break;if(!i){const t=e.particles,i=t.groups;for(const e in i){const s=i[e];if(s)for(let i=this.count,n=0;n<s.number.value&&i<t.number.value;i++,n++)this.addParticle(void 0,s,e)}for(let e=this.count;e<t.number.value;e++)this.addParticle()}}push(t,e,i,s){for(let n=0;n<t;n++)this.addParticle(e,i,s)}async redraw(){this.clear(),await this.init(),this.#u.canvas.render.drawParticles({value:0,factor:0})}remove(t,e,i){this.removeAt(this.#jt.indexOf(t),void 0,e,i)}removeAt(t,e=1,i,s){if(t<0||t>this.count)return;let n=0;for(let a=t;n<e&&a<this.count;a++)this.#re(a,i,s)&&(a--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this.#u.actualOptions,e=t.particles.groups;let i=0;for(const t of this.#u.plugins)t.particlesDensityCount&&(i+=t.particlesDensityCount());for(const t in e){const s=e[t];if(!s)continue;const n=ge(this.#p,this.#u,s);this.#le(n,i,t)}this.#le(t.particles,i)}setResizeFactor(t){this.#ee=t}update(t){this.grid.clear();for(const e of this.#ie)e.update?.(t);const e=this.#ce(t);for(const e of this.#te)e.postUpdate?.(t);if(this.#he(t,e),e.size)for(const t of e)this.remove(t);this.#ee=void 0}#de(...t){this.#Zt.push(...t)}#le(t,e,i,s){const n=t.number;if(!n.density.enable)return void(void 0===i?this.#Nt=n.limit.value:(s?.number.limit.value??n.limit.value)&&this.#qt.set(i,s?.number.limit.value??n.limit.value));const a=this.#ue(n.density),o=n.value,r=n.limit.value>0?n.limit.value:o,l=Math.min(o,r)*a+e,c=Math.min(this.count,this.filter(t=>t.group===i).length);void 0===i?this.#Nt=n.limit.value*a:this.#qt.set(i,n.limit.value*a),c<l?this.push(Math.abs(l-c),void 0,t,i):c>l&&this.removeQuantity(c-l,i)}#ne(t){const e=Math.max(Math.floor(t),1);return Array.from({length:e},()=>[])}#pe(t){const e=this.#se.length-1;return e<=0?0:Math.min(Math.max(Math.floor(t),0),e)}#ue(t){const e=this.#u;if(!t.enable)return 1;const i=e.canvas.size,s=e.retina.pixelRatio;return i.width&&i.height?i.width*i.height/(t.height*t.width*s**2):1}#ae(t){const e=this.#pe(t.position.z),i=this.#se[e];i&&(i.push(t),this.#Yt.set(t.id,e))}#re(t,e,i){const s=this.#jt[t];return!!s&&(s.group===e&&(this.#jt.splice(t,1),this.#fe(s),s.destroy(i),this.#u.dispatchEvent(ht.particleRemoved,{particle:s}),this.#de(s),!0))}#fe(t){const e=this.#Yt.get(t.id)??this.#pe(t.position.z),i=this.#se[e];if(!i)return void this.#Yt.delete(t.id);const s=i.findIndex(e=>e.id===t.id);s>=0&&i.splice(s,1),this.#Yt.delete(t.id)}#oe(t){const e=Math.max(Math.floor(t),1);if(this.#se.length===e)for(const t of this.#se)t.length=0;else this.#se=this.#ne(e)}#ge(t){const e=this.#pe(t.position.z),i=this.#Yt.get(t.id);if(void 0===i)return void this.#ae(t);if(i===e)return;const s=this.#se[i];if(s){const e=s.findIndex(e=>e.id===t.id);e>=0&&s.splice(e,1)}const n=this.#se[e];if(n){if(n.push(t),n.length>=2){const e=n[n.length-2];e&&t.id<e.id&&n.sort((t,e)=>t.id-e.id)}this.#Yt.set(t.id,e)}else this.#Yt.set(t.id,e)}#ce(t){const e=new Set,i=this.#ee;for(const s of this.#jt){i&&!s.ignoresResizeRatio&&(s.position.x*=i.width,s.position.y*=i.height,s.initialPosition.x*=i.width,s.initialPosition.y*=i.height),s.ignoresResizeRatio=!1;for(const t of this.#Qt)t.particleReset?.(s);for(const e of this.#Kt){if(s.destroyed)break;e.particleUpdate?.(s,t)}s.destroyed?e.add(s):this.grid.insert(s)}return e}#he(t,e){for(const i of this.#jt)if(i.destroyed)e.add(i);else{for(const e of this.#u.particleUpdaters)e.update(i,t);if(!i.spawning)for(const e of this.#Jt)e.postParticleUpdate?.(i,t);this.#ge(i)}}}class Li{pixelRatio;reduceFactor;#u;constructor(t){this.#u=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.#u,e=t.actualOptions;this.pixelRatio=e.detectRetina?devicePixelRatio:1,this.reduceFactor=1;const i=this.pixelRatio,s=t.canvas,n=s.domElement;n&&(s.size.width=n.offsetWidth*i,s.size.height=n.offsetHeight*i)}initParticle(t){const e=t.options,i=this.pixelRatio,s=e.move,n=s.distance,a=t.retina;a.maxSpeed=U(s.gravity.maxSpeed)*i,a.moveDrift=U(s.drift)*i,a.moveSpeed=U(s.speed)*i;const o=a.maxDistance;o.horizontal=void 0===n.horizontal?void 0:n.horizontal*i,o.vertical=void 0===n.vertical?void 0:n.vertical*i}}function Ri(t){return!t.destroyed}function Ei(t,e,...i){const s=new me(t,e);return Rt(s,...i),s}var Ti=Object.freeze({__proto__:null,Container:class{actualOptions;canvas;destroyed;effectDrawers;fpsLimit;hdr;id;pageHidden;particleCreatedPlugins;particleDestroyedPlugins;particlePositionPlugins;particleUpdaters;particles;plugins;retina;shapeDrawers;started;zLayers;#me;#ye;#ve={value:0,factor:0};#we;#Pe;#be;#xe;#Me;#ze;#Ce;#ke;#Se;#Ie;#_e;#p;#Oe;#De;constructor(t){const{dispatchCallback:e,pluginManager:i,id:s,onDestroy:n,sourceOptions:a}=t;this.#p=i,this.#we=e,this.#Se=n,this.id=Symbol(s),this.fpsLimit=120,this.hdr=!1,this.#Oe=!1,this.#me=0,this.#be=0,this.#ke=0,this.#Me=!0,this.started=!1,this.destroyed=!1,this.#_e=!0,this.#Ce=0,this.zLayers=100,this.pageHidden=!1,this.#De=a,this.#ze=a,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.retina=new Li(this),this.canvas=new zi(this.#p,this),this.particles=new Di(this.#p,this),this.plugins=[],this.particleDestroyedPlugins=[],this.particleCreatedPlugins=[],this.particlePositionPlugins=[],this.#Ie=Ei(this.#p,this),this.actualOptions=Ei(this.#p,this),this.#xe=new Ci(this),this.dispatchEvent(ht.containerBuilt)}get animationStatus(){return!this.#_e&&!this.pageHidden&&Ri(this)}get options(){return this.#Ie}get sourceOptions(){return this.#De}addLifeTime(t){this.#ke+=t}alive(){return!this.#be||this.#ke<=this.#be}destroy(t=!0){if(Ri(this)){this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,t]of this.effectDrawers)t.destroy?.(this);for(const[,t]of this.shapeDrawers)t.destroy?.(this);for(const t of this.plugins)t.destroy?.();this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.plugins.length=0,this.#p.clearPlugins(this),this.destroyed=!0,this.#Se(t),this.dispatchEvent(ht.containerDestroyed)}}dispatchEvent(t,e){this.#we(t,{container:this,data:e})}draw(t){if(!Ri(this))return;let e=t;this.#Pe=R(t=>{e&&(this.#Ce=void 0,e=!1),this.#Le(t)})}async export(t,e={}){for(const i of this.plugins){if(!i.export)continue;const s=await i.export(t,e);if(s.supported)return s.blob}ft().error(`Export plugin with type ${t} not found`)}async init(){if(!Ri(this))return;const t=new Map;for(const e of this.#p.plugins){const i=await e.getPlugin(this);i.preInit&&await i.preInit(),t.set(e,i)}await this.initDrawersAndUpdaters(),this.#Ie=Ei(this.#p,this,this.#ze,this.sourceOptions),this.actualOptions=Ei(this.#p,this,this.#Ie),this.plugins.length=0,this.particleDestroyedPlugins.length=0,this.particleCreatedPlugins.length=0,this.particlePositionPlugins.length=0;for(const[e,i]of t)e.needsPlugin(this.actualOptions)&&(this.plugins.push(i),i.particleCreated&&this.particleCreatedPlugins.push(i),i.particleDestroyed&&this.particleDestroyedPlugins.push(i),i.particlePosition&&this.particlePositionPlugins.push(i));this.retina.init(),this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{delay:e,duration:i,fpsLimit:s,hdr:n,smooth:o,zLayers:r}=this.actualOptions;this.hdr=n,this.zLayers=r,this.#be=U(i)*a,this.#me=U(e)*a,this.#ke=0,this.fpsLimit=s>0?s:120,this.#Oe=o;for(const t of this.plugins)await(t.init?.());await this.particles.init(),this.dispatchEvent(ht.containerInit),this.particles.setDensity();for(const t of this.plugins)t.particlesSetup?.();this.dispatchEvent(ht.particlesSetup)}async initDrawersAndUpdaters(){const t=this.#p;this.effectDrawers=await t.getEffectDrawers(this,!0),this.shapeDrawers=await t.getShapeDrawers(this,!0),this.particleUpdaters=await t.getUpdaters(this,!0)}pause(){var t;if(Ri(this)&&(void 0!==this.#Pe&&(t=this.#Pe,E(t),this.#Pe=void 0),!this.#_e)){for(const t of this.plugins)t.pause?.();this.pageHidden||(this.#_e=!0),this.dispatchEvent(ht.containerPaused)}}play(t){if(!Ri(this))return;const e=this.#_e||t;if(!this.#Me||this.actualOptions.autoPlay){if(this.#_e&&(this.#_e=!1),e)for(const t of this.plugins)t.play&&t.play();this.dispatchEvent(ht.containerPlay),this.draw(e??!1)}else this.#Me=!1}async refresh(){if(Ri(this))return this.stop(),this.start()}async reset(t){if(Ri(this))return this.#ze=t,this.#De=t,this.#Ie=Ei(this.#p,this,this.#ze,this.sourceOptions),this.actualOptions=Ei(this.#p,this,this.#Ie),this.refresh()}async start(){Ri(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{const e=async()=>{this.#xe.addListeners();for(const t of this.plugins)await(t.start?.());this.dispatchEvent(ht.containerStarted),this.play(),t()};this.#ye=setTimeout(()=>{e()},this.#me)}))}stop(){if(Ri(this)&&this.started){this.#ye&&(clearTimeout(this.#ye),this.#ye=void 0),this.#Me=!0,this.started=!1,this.#xe.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop();for(const t of this.plugins)t.stop?.();this.particleCreatedPlugins.length=0,this.particleDestroyedPlugins.length=0,this.particlePositionPlugins.length=0,this.#De=this.#Ie,this.dispatchEvent(ht.containerStopped)}}updateActualOptions(){let t=!1;for(const e of this.plugins)e.updateActualOptions&&(t=e.updateActualOptions()||t);return t}#Le(t){try{if(!this.#Oe&&void 0!==this.#Ce&&t<this.#Ce+a/this.fpsLimit)return void this.draw(!1);if(this.#Ce??=t,function(t,e,i=60,s=!1){t.value=e,t.factor=s?60/i:60*e/a}(this.#ve,t-this.#Ce,this.fpsLimit,this.#Oe),this.addLifeTime(this.#ve.value),this.#Ce=t,this.#ve.value>a)return void this.draw(!1);if(this.canvas.render.drawParticles(this.#ve),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){ft().error("error in animation loop",t)}}}});var Bi=Object.freeze({__proto__:null,BlendPluginInstance:class{layer=It.CanvasSetup;#u;#Re;constructor(t){this.#u=t}drawParticleCleanup(t,e){e.options.blend?.enable&&(t.globalCompositeOperation=e.originalBlendMode??i,e.originalBlendMode=void 0)}drawParticleSetup(t,e){e.options.blend?.enable&&(e.originalBlendMode=t.globalCompositeOperation,t.globalCompositeOperation=e.options.blend.mode)}drawSettingsCleanup(t){this.#Re&&(t.globalCompositeOperation=this.#Re)}drawSettingsSetup(t){const e=t.globalCompositeOperation,i=this.#u.actualOptions.blend;this.#Re=e,t.globalCompositeOperation=i?.enable?i.mode:e}}});function Fi(t,e,i,s,n,a,o){!function(t,e){const i=t.options,s=i.move.path;if(!s.enable)return;const n=t.pathDelay??0;if(t.lastPathTime<=n)return void(t.lastPathTime+=e.value);const a=t.pathGenerator?.generate(t,e);a&&t.velocity.addTo(a);s.clamp&&(t.velocity.x=F(t.velocity.x,-1,1),t.velocity.y=F(t.velocity.y,-1,1));t.lastPathTime-=n}(t,o);const r=t.gravity,l=r?.enable&&r.inverse?-1:1;n&&i&&(t.velocity.x+=n*o.factor/(60*i)),r?.enable&&i&&(t.velocity.y+=l*(r.acceleration*o.factor)/(60*i));const c=t.moveDecay;t.velocity.multTo(c??1);const h=t.velocity.mult(i);r?.enable&&s>0&&(!r.inverse&&h.y>=0&&h.y>=s||r.inverse&&h.y<=0&&h.y<=-s)&&(h.y=l*s,i&&(t.velocity.y=h.y/i));const d=t.options.zIndex,u=(1-t.zIndexFactor)**d.velocityRate;h.multTo(u),h.multTo(a);const{position:p}=t;p.addTo(h),e.vibrate&&(p.x+=Math.sin(p.x*Math.cos(p.y))*a,p.y+=Math.cos(p.y*Math.sin(p.x))*a)}function Ai(t,e){const i=e.options.move.spin;if(!i.enable)return;const s=i.position??{x:50,y:50},n={x:.01*s.x*t.canvas.size.width,y:.01*s.y*t.canvas.size.height},a=e.getPosition(),o=(l=a,c=n,Math.sqrt(H(l,c))),r=U(i.acceleration);var l,c;e.retina.spinAcceleration=r*t.retina.pixelRatio,e.spin={center:n,direction:e.velocity.x>=0?vt.clockwise:vt.counterClockwise,angle:T()*u,radius:o,acceleration:e.retina.spinAcceleration}}var Ui=Object.freeze({__proto__:null,MovePluginInstance:class{availablePathGenerators;pathGenerators;#u;#p;constructor(t,e){this.#p=t,this.#u=e,this.availablePathGenerators=new Map,this.pathGenerators=new Map}destroy(){this.availablePathGenerators=new Map,this.pathGenerators=new Map}isEnabled(t){return!t.destroyed&&t.options.move.enable}particleCreated(t){const e=t.options.move,i=e.gravity,s=e.path;if(t.moveDecay=1-U(e.decay),t.pathDelay=U(s.delay.value)*a,s.generator){let e=this.pathGenerators.get(s.generator);e||(e=this.availablePathGenerators.get(s.generator),e&&(this.pathGenerators.set(s.generator,e),e.init())),t.pathGenerator=e}t.gravity={enable:i.enable,acceleration:U(i.acceleration),inverse:i.inverse},Ai(this.#u,t)}particleDestroyed(t){const e=t.pathGenerator;e?.reset(t)}particleUpdate(t,e){const i=t.options.move;if(!i.enable)return;const s=this.#u,a=function(t){const e=t.getModifier("slow");return e?.enabled?e.speedFactor??1:1}(t),o=s.retina.reduceFactor,r=t.retina.moveSpeed,l=t.retina.moveDrift,c=t.size.max,h=r*(i.size?t.getRadius()/c:1)*a*(e.factor||1)*n,d=t.retina.maxSpeed;i.spin.enable?function(t,e,i,s){if(!e.spin)return;const a=e.spin.direction===vt.clockwise,o={x:a?Math.cos:Math.sin,y:a?Math.sin:Math.cos};e.position.x=e.spin.center.x+e.spin.radius*o.x(e.spin.angle)*s,e.position.y=e.spin.center.y+e.spin.radius*o.y(e.spin.angle)*s,e.spin.radius+=e.spin.acceleration*s;const r=Math.max(t.canvas.size.width,t.canvas.size.height),l=r*n;e.spin.radius>l?(e.spin.radius=l,e.spin.acceleration*=-1):e.spin.radius<0&&(e.spin.radius=0,e.spin.acceleration*=-1),e.spin.angle+=.01*i*(1-e.spin.radius/r)}(s,t,h,o):Fi(t,i,h,d,l,o,e),function(t){const e=t.initialPosition,{dx:i,dy:s}=G(e,t.position),a=Math.abs(i),o=Math.abs(s),{maxDistance:r}=t.retina,l=r.horizontal,c=r.vertical;if(!l&&!c)return;if((l&&a>=l||c&&o>=c)&&!t.misplaced)t.misplaced=!!l&&a>l||!!c&&o>c,l&&(t.velocity.x=t.velocity.y*n-t.velocity.x),c&&(t.velocity.y=t.velocity.x*n-t.velocity.y);else if((!l||a<l)&&(!c||o<c)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){const i=t.position,s=t.velocity;l&&(i.x<e.x&&s.x<0||i.x>e.x&&s.x>0)&&(s.x*=-T()),c&&(i.y<e.y&&s.y<0||i.y>e.y&&s.y>0)&&(s.y*=-T())}}(t)}preInit(){return this.#Ee()}redrawInit(){return this.#Ee()}update(){for(const t of this.pathGenerators.values())t.update()}async#Ee(){const t=await(this.#p.getPathGenerators?.(this.#u,!0));if(t){this.availablePathGenerators=t,this.pathGenerators=new Map;for(const t of this.pathGenerators.values())t.init()}}}});t.loadAmbientPreset=vi,t.tsParticles=De}),Object.assign(globalThis.window||globalThis,{loadAmbientPreset:(globalThis.__tsParticlesInternals.presets.ambient||{}).loadAmbientPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
|
|
1
|
+
!function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var e="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,e){return e in t||(t[e]={}),t[e]}})}:function(t){return t};t.__tsParticlesInternals.bundles=e(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=e(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=e(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=e(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=e(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=e(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=e(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=e(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=e(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=e(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=e(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=e(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=e(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.ambient=t.__tsParticlesInternals.presets.ambient||{}))}(this,function(t){"use strict";const e="generated",i="source-over",s=100,n=.5,a=1e3,o={x:0,y:0,z:0},r=1,l=0,c=0,h=1,d="random",u=2*Math.PI,p="true",f="false",g="canvas",m=255,y=360,v=100,w=100,P=.25;var b;function x(t){return"z"in t?t.z:o.z}!function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(b||(b={}));class M{x;y;z;constructor(t=o.x,e=o.y,i=o.z){this.x=t,this.y=e,this.z=i}static get origin(){return M.create(o.x,o.y,o.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.#t(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this.#t(this.angle,t)}static clone(t){return M.create(t.x,t.y,x(t))}static create(t,e,i){return"number"==typeof t?new M(t,e??o.y,i??o.z):new M(t.x,t.y,x(t))}add(t){return M.create(this.x+t.x,this.y+t.y,this.z+x(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=x(t)}copy(){return M.clone(this)}div(t){return M.create(this.x/t,this.y/t,this.z/t)}getLengthSq(){return this.x**2+this.y**2}mult(t){return M.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return M.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),o.z)}setTo(t){this.x=t.x,this.y=t.y,this.z=x(t)}sub(t){return M.create(this.x-t.x,this.y-t.y,this.z-x(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=x(t)}#t(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class z extends M{constructor(t=o.x,e=o.y){super(t,e,o.z)}static get origin(){return z.create(o.x,o.y)}static clone(t){return z.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new z(t,e??o.y):new z(t.x,t.y)}}function C(t){return"boolean"==typeof t}function k(t){return"string"==typeof t}function S(t){return"number"==typeof t}function I(t){return"object"==typeof t&&null!==t}function _(t){return Array.isArray(t)}function O(t){return null==t}const D=Math.PI/180;let L=Math.random;const R=t=>requestAnimationFrame(t),E=t=>{cancelAnimationFrame(t)};function T(){return F(L(),0,1-Number.EPSILON)}function B(t,e){return T()*(e-t)+t}function F(t,e,i){return Math.min(Math.max(t,e),i)}function A(t){const e=$(t);let i=V(t);return e===i&&(i=0),B(i,e)}function U(t){return S(t)?t:A(t)}function V(t){return S(t)?t:t.min}function $(t){return S(t)?t:t.max}function W(t,e){if(t===e||void 0===e&&S(t))return t;const i=V(t),s=$(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:W(i,s)}function G(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.hypot(i,s)}}function H(t,e){const i=t.x-e.x,s=t.y-e.y;return i*i+s*s}function j(t){return t*D}function q(t){const{position:e,size:i}=t;return{x:e?.x??T()*i.width,y:e?.y??T()*i.height}}function N(t){return t?t.endsWith("%")?parseFloat(t)/s:parseFloat(t):1}var X,Y;!function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(X||(X={})),function(t){t.precise="precise",t.percent="percent"}(Y||(Y={}));function Q(t){return"__proto__"===t||"constructor"===t||"prototype"===t}function K(){return globalThis.document}function Z(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function J(t,e,i=!0){return t[void 0!==e&&i?e%t.length:Math.floor(T()*t.length)]}function tt(t,e,i,s,n){return function(t,e,i,s){let n=!0;s&&s!==X.bottom||(n=t.top<e.height+i.x);!n||s&&s!==X.left||(n=t.right>i.x);!n||s&&s!==X.right||(n=t.left<e.width+i.y);!n||s&&s!==X.top||(n=t.bottom>i.y);return n}(et(t,s??0),e,i,n)}function et(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function it(t,...e){for(const i of e){if(O(i))continue;if(!I(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):I(t)&&!Array.isArray(t)||(t=Object.create(null));const e=Object.keys(i);if(!e.some(t=>{const e=i[t];return I(e)||Array.isArray(e)})){const s=i,n=t;for(const t of e){if(Q(t))continue;const e=s[t];void 0!==e&&(n[t]=e)}continue}for(const s of e){if(Q(s))continue;const e=t,n=i[s];e[s]=Array.isArray(n)?n.map(t=>it(void 0,t)):it(e[s],n)}}return t}function st(t,e){return _(t)?t.map((t,i)=>e(t,i)):e(t,0)}function nt(t,e,i){return _(t)?J(t,e,i):t}function at(t,e){return function(t,e){if(t.mode!==Y.percent){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/s*e.width,y:t.y/s*e.height}:{width:t.width/s*e.width,height:t.height/s*e.height}}(t,e)}let ot,rt;function lt(t,e,i,s,n){if(s){let s={passive:!0};C(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else{const s=n;t.removeEventListener(e,i,s)}}async function ct(t,e,i,s=!1){let n=e.get(t);if(!n||s){const s=await Promise.all([...i.entries()].map(([e,i])=>i(t).then(t=>[e,t])));n=new Map(s),e.set(t,n)}return n}class ht{#e;constructor(){this.#e=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this.#e.get(t);i||(i=[],this.#e.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this.#e.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this.#e.get(t)}removeAllEventListeners(t){t?this.#e.delete(t):this.#e=new Map}removeEventListener(t,e){const i=this.#e.get(t);if(!i)return;const s=i.length,n=i.indexOf(e);n<0||(1===s?this.#e.delete(t):i.splice(n,1))}}var dt;!function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(dt||(dt={}));class ut{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;#i=new Set;#s=new Map;#n;#a=new Set;#o=!1;#r=!1;#l=new Set;constructor(t){this.#n=t}get configs(){const t={};for(const[e,i]of this.#s)t[e]=i;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){const e=t.key??t.name??"default";this.#s.set(e,t),this.#n.dispatchEvent(dt.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.initializers.effects.set(t,e)}addPalette(t,e){this.palettes.set(t,e)}addParticleUpdater(t,e){this.initializers.updaters.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t,e){for(const i of t)this.initializers.shapes.set(i,e)}clearPlugins(t){this.effectDrawers.delete(t),this.shapeDrawers.delete(t),this.updaters.delete(t)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawers(t,e=!1){return ct(t,this.effectDrawers,this.initializers.effects,e)}getPalette(t){return this.palettes.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}async getShapeDrawers(t,e=!1){return ct(t,this.shapeDrawers,this.initializers.shapes,e)}async getUpdaters(t,e=!1){return async function(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}(t,this.updaters,this.initializers.updaters,e)}async init(){if(!this.#o&&!this.#r){this.#r=!0,this.#a=new Set,this.#i=new Set(this.#l);try{for(const t of this.#i)await this.#c(t,this.#a,this.#i)}finally{this.#l.clear(),this.#r=!1,this.#o=!0}}}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async register(...t){if(this.#o)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this.#r?await this.#c(e,this.#a,this.#i):this.#l.add(e)}async#c(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this.#n))}}const pt=t=>(...e)=>{t(...e)},ft={debug:pt(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:pt(console.info),log:pt(console.log),trace:pt(console.trace),verbose:pt(console.log),warning:pt(console.warn)};function gt(){return ft}const mt="100%";class yt{pluginManager=new ut(this);#h=[];#d=new ht;#o=!1;get items(){return this.#h}get version(){return"4.3.2"}addEventListener(t,e){this.#d.addEventListener(t,e)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}dispatchEvent(t,e){this.#d.dispatchEvent(t,e)}async init(){this.#o||(await this.pluginManager.init(),this.#o=!0)}item(t){const e=this.items,i=e[t];if(!i?.destroyed)return i;e.splice(t,1)}async load(t){let i;await this.init(),"undefined"!=typeof HTMLElement&&t.element instanceof HTMLElement&&(i=t.element);const{Container:s}=await Promise.resolve().then(function(){return Bi}),n=t.id??i?.id??`tsparticles${Math.floor(1e4*T()).toString()}`,{index:a,url:o}=t,r=o?await async function(t){const e=nt(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():(gt().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:o,index:a}):t.options,l=nt(r,a),{items:c}=this,h=c.findIndex(t=>t.id.description===n),d=new s({dispatchCallback:(t,e)=>{this.dispatchEvent(t,e)},id:n,onDestroy:t=>{if(!t)return;const e=this.items,i=e.indexOf(d);i>=0&&e.splice(i,1)},pluginManager:this.pluginManager,sourceOptions:l});if(h>=0){const t=this.item(h),e=t?1:0;t&&!t.destroyed&&t.destroy(!1),c.splice(h,e,d)}else c.push(d);const u="undefined"!=typeof OffscreenCanvas&&t.element instanceof OffscreenCanvas?t.element:(t=>{const i=K();let s;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===g)s=t,s.dataset[e]??=f,s.dataset[e]===p&&(s.style.width||=mt,s.style.height||=mt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none"));else{const n=t.getElementsByTagName(g).item(0);n?(s=n,s.dataset[e]=f):(s=i.createElement(g),s.dataset[e]=p,t.appendChild(s)),s.style.width||=mt,s.style.height||=mt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none")}return s})(((t,i)=>{const s=K();let n=i??s.getElementById(t);return n||(n=s.createElement("canvas"),n.id=t,n.dataset[e]=p,s.body.append(n),n)})(n,i));return d.canvas.loadCanvas(u),await d.start(),d}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}removeEventListener(t,e){this.#d.removeEventListener(t,e)}}var vt,wt,Pt,bt,xt,Mt,zt,Ct,kt,St,It,_t;!function(t){t.circle="circle",t.rectangle="rectangle"}(vt||(vt={}));class Ot{position;type;constructor(t,e,i){this.position={x:t,y:e},this.type=i}_resetPosition(t,e){this.position.x=t,this.position.y=e}}class Dt extends Ot{radius;constructor(t,e,i){super(t,e,vt.circle),this.radius=i}contains(t){return e=t,i=this.position,s=this.radius,H(e,i)<=s*s;var e,i,s}intersects(t){const e=this.position,i=t.position,s=this.radius,n=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y);if(t instanceof Dt||t.type===vt.circle){return s+t.radius>Math.hypot(n,a)}if(t instanceof Lt||t.type===vt.rectangle){const e=t,{width:i,height:o}=e.size;return Math.pow(n-i,2)+Math.pow(a-o,2)<=s**2||n<=s+i&&a<=s+o||n<=i||a<=o}return!1}reset(t,e,i){return this._resetPosition(t,e),this.radius=i,this}}class Lt extends Ot{size;constructor(t,e,i,s){super(t,e,vt.rectangle),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof Dt)return t.intersects(this);if(!(t instanceof Lt))return!1;const e=this.size.width,i=this.size.height,s=this.position,n=t.position,a=t.size,o=a.width,r=a.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+r>s.y}reset(t,e,i,s){return this._resetPosition(t,e),this.size.width=i,this.size.height=s,this}}!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(wt||(wt={})),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(Pt||(Pt={})),function(t){t.delete="delete",t.wait="wait"}(bt||(bt={})),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(xt||(xt={})),function(t){t.darken="darken",t.enlighten="enlighten"}(Mt||(Mt={})),function(t){t.none="none",t.max="max",t.min="min"}(zt||(zt={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(Ct||(Ct={})),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(kt||(kt={})),function(t){t.max="max",t.min="min",t.random="random"}(St||(St={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(It||(It={})),function(t){t[t.BackgroundElement=0]="BackgroundElement",t[t.BackgroundDraw=1]="BackgroundDraw",t[t.BackgroundMask=2]="BackgroundMask",t[t.CanvasSetup=3]="CanvasSetup",t[t.PluginContent=4]="PluginContent",t[t.Particles=5]="Particles",t[t.CanvasCleanup=6]="CanvasCleanup",t[t.Foreground=7]="Foreground"}(_t||(_t={}));class Rt{load(t){O(t)||this.doLoad(t)}}function Et(t,...e){for(const i of e)t.load(i)}function Tt(t,e,i){void 0!==i&&(t[e]=i)}function Bt(t,e,i){void 0!==i&&(t[e]=W(i))}function Ft(t,e,i,s){if(void 0!==i){const n=t;n[e]??=s(),n[e].load(i)}}function At(t,e,i,...s){const n=t;n[e]??=new i;const a=n[e];for(const t of s)a.load(t?.[e])}class Ut extends Rt{count=0;decay=0;delay=0;enable=!1;speed=1;sync=!1;doLoad(t){Bt(this,"count",t.count),Tt(this,"enable",t.enable),Bt(this,"speed",t.speed),Bt(this,"decay",t.decay),Bt(this,"delay",t.delay),Tt(this,"sync",t.sync)}}class Vt extends Ut{mode=Pt.auto;startValue=St.random;doLoad(t){super.doLoad(t),Tt(this,"mode",t.mode),Tt(this,"startValue",t.startValue)}}class $t extends Ut{max;min;offset=0;sync=!0;constructor(t,e){super(),this.min=t,this.max=e}doLoad(t){super.doLoad(t),Tt(this,"max",t.max),Tt(this,"min",t.min),Bt(this,"offset",t.offset)}}class Wt extends Rt{h=new $t(0,y);l=new $t(0,w);s=new $t(0,v);doLoad(t){this.h.load(t.h),this.s.load(t.s),this.l.load(t.l)}}class Gt extends Rt{value="";static create(t,e){const i=new Gt;return i.load(t),void 0!==e&&(k(e)||_(e)?i.load({value:e}):i.load(e)),i}doLoad(t){O(t.value)||(this.value=t.value)}}class Ht extends Gt{animation=new Wt;static create(t,e){const i=new Ht;return i.load(t),void 0!==e&&(k(e)||_(e)?i.load({value:e}):i.load(e)),i}doLoad(t){super.doLoad(t);const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}class jt extends Rt{color;draw;element;image="";opacity=1;position="";repeat="";size="";constructor(){super(),this.color=new Gt,this.color.value=""}doLoad(t){void 0!==t.color&&(this.color=Gt.create(this.color,t.color)),Tt(this,"element",t.element),Tt(this,"draw",t.draw),Tt(this,"image",t.image),Tt(this,"position",t.position),Tt(this,"repeat",t.repeat),Tt(this,"size",t.size),Tt(this,"opacity",t.opacity)}}class qt extends Rt{enable=!0;zIndex=0;doLoad(t){Tt(this,"enable",t.enable),Tt(this,"zIndex",t.zIndex)}}class Nt extends Rt{delay=.5;enable=!0;doLoad(t){Tt(this,"delay",t.delay),Tt(this,"enable",t.enable)}}class Xt extends Rt{close=!0;options={};type=[];doLoad(t){const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=it(this.options[t]??{},i))}Tt(this,"close",t.close),Tt(this,"type",t.type)}}class Yt extends Rt{color;enable=!0;opacity=1;doLoad(t){void 0!==t.color&&(this.color=Ht.create(this.color,t.color)),Tt(this,"enable",t.enable),Bt(this,"opacity",t.opacity)}}class Qt extends Rt{offset=0;value=90;doLoad(t){Bt(this,"offset",t.offset),Bt(this,"value",t.value)}}class Kt extends Rt{mode=Y.percent;radius=0;x=50;y=50;doLoad(t){Tt(this,"x",t.x),Tt(this,"y",t.y),Tt(this,"mode",t.mode),Tt(this,"radius",t.radius)}}class Zt extends Rt{acceleration=9.81;enable=!1;inverse=!1;maxSpeed=50;doLoad(t){Bt(this,"acceleration",t.acceleration),Tt(this,"enable",t.enable),Tt(this,"inverse",t.inverse),Bt(this,"maxSpeed",t.maxSpeed)}}class Jt extends Rt{value=0;doLoad(t){O(t.value)||(this.value=W(t.value))}}class te extends Jt{animation=new Ut;doLoad(t){var e,i,s;super.doLoad(t),e=this,i="animation",void 0!==(s=t.animation)&&e[i].load(s)}}class ee extends te{animation=new Vt}class ie extends Rt{clamp=!0;delay=new Jt;enable=!1;generator;options={};doLoad(t){Tt(this,"clamp",t.clamp),this.delay.load(t.delay),Tt(this,"enable",t.enable),this.generator=t.generator,t.options&&(this.options=it(this.options,t.options))}}class se extends Rt{bottom;default=xt.out;left;right;top;doLoad(t){void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default}}class ne extends Rt{acceleration=0;enable=!1;position;doLoad(t){Bt(this,"acceleration",t.acceleration),Tt(this,"enable",t.enable),t.position&&(this.position=it({},t.position))}}class ae extends Rt{angle=new Qt;center=new Kt;decay=0;direction=b.none;distance={};drift=0;enable=!1;gravity=new Zt;outModes=new se;path=new ie;random=!1;size=!1;speed=2;spin=new ne;straight=!1;vibrate=!1;warp=!1;doLoad(t){this.angle.load(S(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),Bt(this,"decay",t.decay),Tt(this,"direction",t.direction),void 0!==t.distance&&(this.distance=S(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),Bt(this,"drift",t.drift),Tt(this,"enable",t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&(I(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),Tt(this,"random",t.random),Tt(this,"size",t.size),Bt(this,"speed",t.speed),this.spin.load(t.spin),Tt(this,"straight",t.straight),Tt(this,"vibrate",t.vibrate),Tt(this,"warp",t.warp)}}class oe extends Rt{color;opacity;width=0;doLoad(t){void 0!==t.color&&(this.color=Ht.create(this.color,t.color)),Bt(this,"width",t.width),Bt(this,"opacity",t.opacity)}}class re extends Rt{color;fill;stroke;doLoad(t){void 0!==t.color&&(this.color=Ht.create(this.color,t.color)),Ft(this,"fill",t.fill,()=>new Yt),Ft(this,"stroke",t.stroke,()=>new oe)}}class le extends Jt{value=1}class ce extends Rt{horizontal=new le;vertical=new le;doLoad(t){this.horizontal.load(t.horizontal),this.vertical.load(t.vertical)}}class he extends Rt{enable=!1;height=1080;width=1920;doLoad(t){Tt(this,"enable",t.enable),Tt(this,"width",t.width),Tt(this,"height",t.height)}}class de extends Rt{mode=bt.delete;value=0;doLoad(t){Tt(this,"mode",t.mode),Tt(this,"value",t.value)}}class ue extends Rt{density=new he;limit=new de;value=0;doLoad(t){this.density.load(t.density),this.limit.load(t.limit),Tt(this,"value",t.value)}}class pe extends Rt{close=!0;options={};type="circle";doLoad(t){const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=it(this.options[t]??{},i))}Tt(this,"close",t.close),Tt(this,"type",t.type)}}class fe extends Jt{opacityRate=1;sizeRate=1;velocityRate=1;doLoad(t){super.doLoad(t),Tt(this,"opacityRate",t.opacityRate),Tt(this,"sizeRate",t.sizeRate),Tt(this,"velocityRate",t.velocityRate)}}class ge extends Rt{bounce=new ce;effect=new Xt;groups={};move=new ae;number=new ue;paint;palette;reduceDuplicates=!1;shape=new pe;zIndex=new fe;#u;#p;constructor(t,e){super(),this.#p=t,this.#u=e,this.paint=new re,this.paint.color=new Ht,this.paint.color.value="#fff",this.paint.fill=new Yt,this.paint.fill.enable=!0}doLoad(t){if(t.palette&&(this.palette=t.palette,this.#f(this.palette)),void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!(e in t.groups))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=it(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number);const e=t.paint;if(e&&(_(e)?this.paint=st(e,t=>{const e=new re;return e.load(t),e}):_(this.paint)?(this.paint=new re,this.paint.load(e)):this.paint.load(e)),this.shape.load(t.shape),this.zIndex.load(t.zIndex),this.#u){for(const e of this.#p.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this.#u,this,t);const e=this.#p.updaters.get(this.#u);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}#f(t){const e=this.#p.getPalette(t);if(!e)return;const i=e.colors,s=(_(i)?i:[i]).flatMap(t=>{const e=t.fill,i=t.stroke,s=e?{color:{value:e.value},enable:e.enable,opacity:e.opacity}:void 0;return i?[{fill:s,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:s}]}),n=s.length>1?s:s[0]??{};this.load({paint:n,blend:{enable:!0,mode:e.blendMode}})}}function me(t,e,...i){const s=new ge(t,e);return Et(s,...i),s}class ye extends Rt{autoPlay=!0;background;clear=!0;defaultThemes={};delay=0;detectRetina=!0;duration=0;fpsLimit=120;fullScreen;hdr=!0;key;name;palette;particles;pauseOnBlur=!0;pauseOnOutsideViewport=!0;preset;resize;smooth=!1;style={};zLayers=100;#u;#p;constructor(t,e){super(),this.#p=t,this.#u=e,this.background=new jt,this.fullScreen=new qt,this.particles=me(this.#p,this.#u),this.resize=new Nt}doLoad(t){void 0!==t.preset&&(this.preset=t.preset,st(this.preset,t=>{this.#g(t)})),void 0!==t.palette&&(this.palette=t.palette,this.#f(this.palette)),Tt(this,"autoPlay",t.autoPlay),Tt(this,"clear",t.clear),Tt(this,"key",t.key),Tt(this,"name",t.name),Bt(this,"delay",t.delay),Tt(this,"detectRetina",t.detectRetina),Bt(this,"duration",t.duration),Tt(this,"fpsLimit",t.fpsLimit),Tt(this,"hdr",t.hdr),Tt(this,"pauseOnBlur",t.pauseOnBlur),Tt(this,"pauseOnOutsideViewport",t.pauseOnOutsideViewport),Tt(this,"zLayers",t.zLayers),this.background.load(t.background);const e=t.fullScreen;C(e)?this.fullScreen.enable=e:this.fullScreen.load(e),this.particles.load(t.particles),this.resize.load(t.resize),this.style=it(this.style,t.style),Tt(this,"smooth",t.smooth),this.#p.plugins.forEach(e=>{e.loadOptions(this.#u,this,t)})}#f(t){const e=this.#p.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})}#g(t){this.load(this.#p.getPreset(t))}}const ve=new Map;function we(t,e){let i=ve.get(t);return i||(i=e(),ve.size>2e3&&ve.clear(),ve.set(t,i)),i}function Pe(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return be(t,n.value,i,s);if(_(n.value)){const e=J(n.value,i,s);if(!e)return;return Pe(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function be(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return n.value===d?function(){const t=0,e=256,i=()=>Math.floor(B(t,e));return{b:i(),g:i(),r:i()}}():function(t,e){return function(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}(t,e)}(t,n.value);if(_(n.value)){const e=J(n.value,i,s);if(!e)return;return be(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(n);if(t)return t}}function xe(t,e,i,s=!0){const a=Pe(t,e,i,s);return a?function(t){const e=t.r/m,i=t.g/m,s=t.b/m,a=Math.max(e,i,s),o=Math.min(e,i,s),r={h:0,l:(a+o)*n,s:0};a!==o&&(r.s=r.l<n?(a-o)/(a+o):(a-o)/(2-a-o),r.h=e===a?(i-s)/(a-o):i===a?2+(s-e)/(a-o):4+(e-i)/(a-o));r.l*=w,r.s*=v,r.h*=60,r.h<0&&(r.h+=y);r.h>=y&&(r.h-=y);return r}(a):void 0}function Me(t,e,i){if(i<0&&i++,i>1&&i--,6*i<1)return t+6*(e-t)*i;if(2*i<1)return e;if(3*i<2){return t+(e-t)*(2/3-i)*6}return t}function ze(t){const e=(t.h%y+y)%y,i=Math.max(0,Math.min(v,t.s)),s=Math.max(0,Math.min(w,t.l)),a=e/y,o=i/v,r=s/w;if(0===i){const t=Math.round(r*m);return{r:t,g:t,b:t}}const l=r<n?r*(1+o):r+o-r*o,c=2*r-l,h=1/3,d=Math.min(m,m*Me(c,l,a+h)),u=Math.min(m,m*Me(c,l,a)),p=Math.min(m,m*Me(c,l,a-h));return{r:Math.round(d),g:Math.round(u),b:Math.round(p)}}function Ce(t,e,i){const s=e?4:2,n=i??1;return we(`rgb-${t.r.toFixed(s)}-${t.g.toFixed(s)}-${t.b.toFixed(s)}-${e?"hdr":"sdr"}-${n.toString()}`,()=>e?function(t,e,i=400){const s=i/203;return`color(display-p3 ${(t.r/m*s).toString()} ${(t.g/m*s).toString()} ${(t.b/m*s).toString()} / ${(e??1).toString()})`}(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??1).toString()})`}(t,i))}function ke(t,e,i){const s=e?4:2,a=i??1;return we(`hsl-${t.h.toFixed(s)}-${t.s.toFixed(s)}-${t.l.toFixed(s)}-${e?"hdr":"sdr"}-${a.toString()}`,()=>e?Ce(function(t){const e=(t.h%y+y)%y,i=Math.max(0,Math.min(v,t.s)),s=Math.max(0,Math.min(w,t.l)),a=e/y,o=i/v,r=s/w;if(0===i){const t=r*m;return{r:t,g:t,b:t}}const l=r<n?r*(1+o):r+o-r*o,c=2*r-l,h=1/3;return{r:Math.min(m,m*Me(c,l,a+h)),g:Math.min(m,m*Me(c,l,a)),b:Math.min(m,m*Me(c,l,a-h))}}(t),!0,i):`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${a.toString()})`)}function Se(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function Ie(t,e,i){const s={h:{enable:!1,value:t.h,min:0,max:y},s:{enable:!1,value:t.s,min:0,max:v},l:{enable:!1,value:t.l,min:0,max:w}};return e&&(_e(s.h,e.h,i),_e(s.s,e.s,i),_e(s.l,e.l,i)),s}function _e(t,e,i){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=U(e.speed)/s*i,t.decay=1-U(e.decay),t.status=It.increasing,t.loops=0,t.maxLoops=U(e.count),t.time=0,t.delayTime=U(e.delay)*a,e.sync||(t.velocity*=T(),t.value*=T()),t.initialValue=t.value,t.offset=W(e.offset)):t.velocity=0}function Oe(t,e,i,s){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const n=t.offset?A(t.offset):0,a=((t.velocity??0)*i.factor+3.6*n)*(s?.5075:1),o=t.decay??1,r=t.max,l=t.min;e&&t.status!==It.increasing?(t.value-=a,t.value<l&&(t.loops??=0,t.loops++,t.status=It.increasing)):(t.value+=a,t.value>r&&(t.loops??=0,t.loops++,e?t.status=It.decreasing:t.value-=r)),t.velocity&&1!==o&&(t.velocity*=o),t.value=F(t.value,l,r)}function De(t,e,i){if(!t)return;const{h:s,s:n,l:a}=t;Oe(s,!1,e,i),Oe(n,!0,e,i),Oe(a,!0,e,i)}const Le=new yt;class Re{enable=!1;mode="destination-out";load(t){O(t)||(Tt(this,"mode",t.mode),Tt(this,"enable",t.enable))}}class Ee{id="blend";async getPlugin(t){const{BlendPluginInstance:e}=await Promise.resolve().then(function(){return Fi});return new e(t)}loadOptions(t,e,i){if(!this.needsPlugin(e)&&!this.needsPlugin(i))return;let s=e.blend;s?.load||(e.blend=s=new Re),s.load(i?.blend)}loadParticlesOptions(t,e,i){e.blend??=new Re,e.blend.load(i?.blend)}needsPlugin(t){return!!t?.blend?.enable||!!t?.particles?.blend?.enable}}async function Te(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addPlugin(new Ee)})}class Be{draw(t){!function(t){const{context:e,particle:i,radius:s}=t;i.circleRange??={min:0,max:u};const n=i.circleRange;e.arc(o.x,o.y,s,n.min,n.max,!1)}(t)}getSidesCount(){return 12}particleInit(t,e){const i=e.shapeData,s=i?.angle??{max:360,min:0};e.circleRange=I(s)?{min:j(s.min),max:j(s.max)}:{min:0,max:j(s)}}}async function Fe(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["circle"],()=>Promise.resolve(new Be))})}var Ae;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}(Ae||(Ae={}));const Ue=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Ve=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class $e{accepts(t){return t.startsWith("#")}handleColor(t){return this.#m(t.value)}handleRangeColor(t){return this.#m(t.value)}parseString(t){return this.#m(t)}#m(t){if("string"!=typeof t||!this.accepts(t))return;const e=t.replace(Ue,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0===n?"":n+n)),i=Ve.exec(e);return i?{a:i[Ae.a]?Number.parseInt(i[Ae.a],16)/255:1,b:Number.parseInt(i[Ae.b]??"0",16),g:Number.parseInt(i[Ae.g]??"0",16),r:Number.parseInt(i[Ae.r]??"0",16)}:void 0}}async function We(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new $e)})}var Ge;!function(t){t[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a"}(Ge||(Ge={}));const He=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class je{accepts(t){return t.startsWith("hsl")}handleColor(t){const e=t.value.hsl??t.value;if("h"in e&&"s"in e&&"l"in e)return ze(e)}handleRangeColor(t){const e=t.value.hsl??t.value;if("h"in e&&"s"in e&&"l"in e)return ze({h:U(e.h),l:U(e.l),s:U(e.s)})}parseString(t){if(!this.accepts(t))return;const e=He.exec(t);return e?function(t){const e=ze(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}({a:e.length>4?N(e[Ge.a]):1,h:Number.parseInt(e[Ge.h]??"0",10),l:Number.parseInt(e[Ge.l]??"0",10),s:Number.parseInt(e[Ge.s]??"0",10)}):void 0}}async function qe(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hsl",new je)})}class Ne{id="move";#p;constructor(t){this.#p=t}async getPlugin(t){const{MovePluginInstance:e}=await Promise.resolve().then(function(){return Vi});return new e(this.#p,t)}loadOptions(){}needsPlugin(){return!0}}async function Xe(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{const e=t.pluginManager;e.initializers.pathGenerators??=new Map,e.pathGenerators??=new Map,e.addPathGenerator=(t,i)=>{e.initializers.pathGenerators??=new Map,e.initializers.pathGenerators.set(t,i)},e.getPathGenerators=async(t,i=!1)=>(e.initializers.pathGenerators??=new Map,e.pathGenerators??=new Map,ct(t,e.pathGenerators,e.initializers.pathGenerators,i)),t.pluginManager.addPlugin(new Ne(t.pluginManager))})}function Ye(t,e){const i=t.value,s=t.animation,o={delayTime:U(s.delay)*a,enable:s.enable,value:U(t.value)*e,max:$(i)*e,min:V(i)*e,loops:0,maxLoops:U(s.count),time:0};if(s.enable){switch(o.decay=1-U(s.decay),s.mode){case Pt.increase:o.status=It.increasing;break;case Pt.decrease:o.status=It.decreasing;break;case Pt.random:o.status=T()>=n?It.increasing:It.decreasing}const t=s.mode===Pt.auto;switch(s.startValue){case St.min:o.value=o.min,t&&(o.status=It.increasing);break;case St.max:o.value=o.max,t&&(o.status=It.decreasing);break;case St.random:default:o.value=A(o),t&&(o.status=T()>=n?It.increasing:It.decreasing)}}return o.initialValue=o.value,o}function Qe(t,e,i,s,n){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*n.factor,o=e.min,r=e.max,l=e.decay??1;e.time??=0;const c=e.delayTime??0;if(!(c>0&&e.time<c&&(e.time+=n.value,e.time<c))){switch(e.status){case It.increasing:e.value+=a;break;case It.decreasing:e.value-=a}switch(e.velocity&&1!==l&&(e.velocity*=l),e.status){case It.increasing:e.value>=r&&(e.status=It.decreasing,e.loops??=0,e.loops++);break;case It.decreasing:e.value<=o&&(e.status=It.increasing,e.loops??=0,e.loops++)}!function(t,e,i,s,n){switch(e){case zt.max:i>=n&&t.destroy();break;case zt.min:i<=s&&t.destroy()}}(t,s,e.value,o,r),t.destroyed||(e.value=F(e.value,o,r))}}class Ke extends Vt{destroy=zt.none;load(t){super.load(t),O(t)||Tt(this,"destroy",t.destroy)}}class Ze extends ee{animation=new Ke;value=1;load(t){if(O(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}class Je{#u;constructor(t){this.#u=t}init(t){const e=t.options.opacity;if(!e)return;t.opacity=Ye(e,1);const i=e.animation;i.enable&&(t.opacity.velocity=U(i.speed)/s*this.#u.retina.reduceFactor,i.sync||(t.opacity.velocity*=T()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}loadOptions(t,...e){At(t,"opacity",Ze,...e)}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,e){this.isEnabled(t)&&t.opacity&&t.options.opacity&&Qe(t,t.opacity,0,t.options.opacity.animation.destroy,e)}}async function ti(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("opacity",t=>Promise.resolve(new Je(t)))})}class ei{modes;#u;#y;constructor(t){this.#u=t,this.modes=[xt.bounce,xt.split],this.#y=t.plugins.filter(t=>void 0!==t.particleBounce)}update(t,e,i,s){if(!this.modes.includes(s))return;const n=this.#u;let a=!1;for(const s of this.#y)if(a=s.particleBounce?.(t,i,e)??!1,a)break;if(a)return;const o=t.getPosition(),r=t.offset,l=t.getRadius(),c=et(o,l),h=n.canvas.size,d=!t.isInsideCanvasForOutMode(s,e);!function(t){if(t.outMode!==xt.bounce&&t.outMode!==xt.split||t.direction!==X.left&&t.direction!==X.right)return;t.bounds.right<0&&t.direction===X.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===X.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let i=!1;if(t.outOfCanvas&&(t.direction===X.right&&e>0||t.direction===X.left&&e<0)){const e=U(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-e,i=!0}if(!i)return;const s=t.offset.x+t.size;t.outOfCanvas&&t.direction===X.right?t.particle.position.x=t.canvasSize.width-s:t.outOfCanvas&&t.direction===X.left&&(t.particle.position.x=s),t.outMode===xt.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:c,canvasSize:h,offset:r,outOfCanvas:d,size:l}),function(t){if(t.outMode!==xt.bounce&&t.outMode!==xt.split||t.direction!==X.bottom&&t.direction!==X.top)return;t.bounds.bottom<0&&t.direction===X.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===X.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let i=!1;if(t.outOfCanvas&&(t.direction===X.bottom&&e>0||t.direction===X.top&&e<0)){const e=U(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-e,i=!0}if(!i)return;const s=t.offset.y+t.size;t.outOfCanvas&&t.direction===X.bottom?t.particle.position.y=t.canvasSize.height-s:t.outOfCanvas&&t.direction===X.top&&(t.particle.position.y=s),t.outMode===xt.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:c,canvasSize:h,offset:r,outOfCanvas:d,size:l})}}class ii{modes;constructor(t){this.modes=[xt.destroy]}update(t,e,i,s){if(this.modes.includes(s)){switch(t.outType){case kt.normal:case kt.outside:if(t.isInsideCanvasForOutMode(s,e))return;break;case kt.inside:{const{dx:e,dy:i}=G(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&e>t.moveCenter.radius||n<0&&i>t.moveCenter.radius||s>=0&&e<-t.moveCenter.radius||n>=0&&i<-t.moveCenter.radius)return;break}}t.destroy(!0)}}}class si{modes;#u;constructor(t){this.#u=t,this.modes=[xt.none]}update(t,e,i,s){if(!this.modes.includes(s))return;if((t.options.move.distance.horizontal&&(e===X.left||e===X.right))??(t.options.move.distance.vertical&&(e===X.top||e===X.bottom)))return;const n=t.options.move.gravity,a=this.#u,r=a.canvas.size,l=t.getRadius();if(n.enable){const i=t.position;(!n.inverse&&i.y>r.height+l&&e===X.bottom||n.inverse&&i.y<-l&&e===X.top)&&t.destroy()}else{if(t.velocity.y>0&&t.position.y<=r.height+l||t.velocity.y<0&&t.position.y>=-l||t.velocity.x>0&&t.position.x<=r.width+l||t.velocity.x<0&&t.position.x>=-l)return;tt(t.position,a.canvas.size,o,l,e)||t.destroy()}}}const ni=z.origin;class ai{modes;#u;constructor(t){this.#u=t,this.modes=[xt.out]}update(t,e,i,s){if(!this.modes.includes(s))return;const n=this.#u;switch(t.outType){case kt.inside:{const{x:e,y:i}=t.velocity;ni.setTo(o),ni.length=t.moveCenter.radius,ni.angle=t.velocity.angle+Math.PI,ni.addTo(t.moveCenter);const{dx:s,dy:a}=G(t.position,ni);if(e<=0&&s>=0||i<=0&&a>=0||e>=0&&s<=0||i>=0&&a<=0)return;t.position.x=Math.floor(A({min:0,max:n.canvas.size.width})),t.position.y=Math.floor(A({min:0,max:n.canvas.size.height}));const{dx:r,dy:l}=G(t.position,t.moveCenter);t.direction=Math.atan2(-l,-r),t.velocity.angle=t.direction,t.justWarped=!0;break}default:if(t.isInsideCanvasForOutMode(s,e))return;switch(t.outType){case kt.outside:{t.position.x=Math.floor(A({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor(A({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:e,dy:i}=G(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(i,e),t.velocity.angle=t.direction),t.justWarped=!0;break}case kt.normal:{const i=t.options.move.warp,s=n.canvas.size,a={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},o=t.getRadius(),r=et(t.position,o);e===X.right&&r.left>s.width+t.offset.x?(t.position.x=a.left,t.initialPosition.x=t.position.x,i||(t.position.y=T()*s.height,t.initialPosition.y=t.position.y),t.justWarped=!0):e===X.left&&r.right<-t.offset.x&&(t.position.x=a.right,t.initialPosition.x=t.position.x,i||(t.position.y=T()*s.height,t.initialPosition.y=t.position.y),t.justWarped=!0),e===X.bottom&&r.top>s.height+t.offset.y?(i||(t.position.x=T()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.top,t.initialPosition.y=t.position.y,t.justWarped=!0):e===X.top&&r.bottom<-t.offset.y&&(i||(t.position.x=T()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.bottom,t.initialPosition.y=t.position.y,t.justWarped=!0);break}}}}}class oi{updaters;#u;constructor(t){this.#u=t,this.updaters=new Map}init(t){this.#v(t,xt.bounce,t=>new ei(t)),this.#v(t,xt.out,t=>new ai(t)),this.#v(t,xt.destroy,t=>new ii(t)),this.#v(t,xt.none,t=>new si(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,e){const i=t.options.move.outModes;t.justWarped=!1,this.#w(t,e,i.bottom??i.default,X.bottom),this.#w(t,e,i.left??i.default,X.left),this.#w(t,e,i.right??i.default,X.right),this.#w(t,e,i.top??i.default,X.top)}#v(t,e,i){const s=t.options.move.outModes;!this.updaters.has(e)&&((t,e)=>t.default===e||t.bottom===e||t.left===e||t.right===e||t.top===e)(s,e)&&this.updaters.set(e,i(this.#u))}#w(t,e,i,s){for(const n of this.updaters.values())n.update(t,s,e,i)}}async function ri(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("outModes",t=>Promise.resolve(new oi(t)))})}class li{#u;#p;constructor(t,e){this.#u=e,this.#p=t}init(t){const e=this.#u,i=t.options,s=nt(i.paint,t.id,i.reduceDuplicates),n=s?.color,a=n??void 0,o=s?.fill,r=s?.stroke;if(o){const i=Ht.create(void 0===a?void 0:Ht.create(void 0,a),o.color);t.fillEnabled=o.enable,t.fillOpacity=U(o.opacity),t.fillAnimation=i.animation;const s=xe(this.#p,i);s&&(t.fillColor=Ie(s,t.fillAnimation,e.retina.reduceFactor))}else t.fillEnabled=!1,t.fillAnimation=void 0,t.fillColor=void 0,t.fillOpacity=1;if(r){const i=Ht.create(void 0===a?void 0:Ht.create(void 0,a),r.color);t.strokeWidth=U(r.width)*e.retina.pixelRatio,t.strokeOpacity=U(r.opacity??1),t.strokeAnimation=i.animation;const s=xe(this.#p,i)??t.getFillColor();s&&(t.strokeColor=Ie(s,t.strokeAnimation,e.retina.reduceFactor))}else t.strokeAnimation=void 0,t.strokeColor=void 0,t.strokeOpacity=1,t.strokeWidth=0}isEnabled(t){const{fillAnimation:e,fillColor:i,strokeAnimation:s,strokeColor:n}=t,a=!!e&&(void 0!==i?.h.value&&i.h.enable||void 0!==i?.s.value&&i.s.enable||void 0!==i?.l.value&&i.l.enable),o=!!s&&(void 0!==n?.h.value&&n.h.enable||void 0!==n?.s.value&&n.s.enable||void 0!==n?.l.value&&n.l.enable);return!t.destroyed&&!t.spawning&&(a||o)}update(t,e){this.isEnabled(t)&&(De(t.fillColor,e,this.#u.hdr),De(t.strokeColor,e,this.#u.hdr))}}async function ci(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new li(t.pluginManager,e)))})}var hi;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"}(hi||(hi={}));const di=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class ui{accepts(t){return t.startsWith("rgb")}handleColor(t){const e=t.value.rgb??t.value;if("r"in e&&"g"in e&&"b"in e)return e}handleRangeColor(t){const e=t.value.rgb??t.value;if("r"in e&&"g"in e&&"b"in e)return{r:U(e.r),g:U(e.g),b:U(e.b)}}parseString(t){if(!this.accepts(t))return;const e=di.exec(t);return e?{a:e.length>4?N(e[hi.a]):1,b:parseInt(e[hi.b]??"0",10),g:parseInt(e[hi.g]??"0",10),r:parseInt(e[hi.r]??"0",10)}:void 0}}async function pi(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("rgb",new ui)})}class fi extends Vt{destroy=zt.none;load(t){super.load(t),O(t)||Tt(this,"destroy",t.destroy)}}class gi extends ee{animation=new fi;value=3;load(t){if(super.load(t),O(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class mi{#u;constructor(t){this.#u=t}init(t){const e=this.#u,i=t.options.size;if(!i)return;const n=i.animation;n.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/s*e.retina.reduceFactor,n.sync||(t.size.velocity*=T()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??0)<=0||(t.size.maxLoops??0)>0&&(t.size.loops??0)<(t.size.maxLoops??0))}loadOptions(t,...e){At(t,"size",gi,...e)}preInit(t){const e=this.#u.retina.pixelRatio,i=t.options.size;i&&(t.size=Ye(i,e),t.retina.sizeAnimationSpeed=U(i.animation.speed)*e)}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&t.options.size&&Qe(t,t.size,0,t.options.size.animation.destroy,e)}}async function yi(t){t.checkVersion("4.3.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new mi(t)))})}const vi={fpsLimit:120,background:{color:"#191d1e",image:"linear-gradient(0deg, #191d1e 50%,#283139 100%)"},particles:{number:{value:200,density:{enable:!0}},shape:{type:"circle",options:{circle:[{particles:{paint:{fill:{enable:!1},stroke:{width:1,color:{value:"#0cdbf3"}}},opacity:{value:{min:0,max:.8},animation:{enable:!0,speed:.1}},size:{value:{min:3,max:5}}}},{particles:{paint:{fill:{color:{value:"#6fd2f3"},enable:!0}},opacity:{value:{min:0,max:.6},animation:{enable:!0,speed:.1}},size:{value:{min:5,max:7}}}},{particles:{paint:{fill:{color:{value:"#93e9f3"},enable:!0}},opacity:{value:{min:0,max:.4},animation:{enable:!0,speed:.1}},size:{value:{min:10,max:20}}}}]}},move:{enable:!0,speed:{min:.1,max:.5},direction:b.none,outModes:xt.bounce}},detectRetina:!0};async function wi(t){await t.pluginManager.register(async t=>{await async function(t){t.checkVersion("4.3.2"),await t.pluginManager.register(async t=>{await Promise.all([Te(t),We(t),qe(t),pi(t),Xe(t),Fe(t),ci(t),ti(t),ri(t),yi(t)])})}(t),t.pluginManager.addPreset("ambient",vi)})}const Pi=globalThis;Pi.loadAmbientPreset=wi,Pi.tsParticles=Le;function bi(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}class xi{#P;#b;#x;#M;#z;#u;#C;#k;#S;#I;#_;#O;#p;#D;#L;#R={};#E=[void 0,void 0];#T={};constructor(t,e,i){this.#p=t,this.#u=e,this.#M=i,this.#C=null,this.#P=null,this.#b=new Set,this.#L=[],this.#D=[],this.#x=[],this.#z=[],this.#S=[],this.#I=[],this.#_=[],this.#O={0:[],1:[],2:[],3:[],4:[],5:[],6:[],7:[]}}get settings(){return this.#k}canvasClear(){this.#u.actualOptions.clear&&this.draw(t=>{t.clearRect(o.x,o.y,this.#M.size.width,this.#M.size.height)})}clear(){for(const t of this.#x)if(t.canvasClear?.())return;for(const t of Object.values(_t))if("number"==typeof t)for(const e of this.#B(t))if(e.canvasClear?.())return;this.canvasClear()}destroy(){this.stop(),this.#P=null,this.#b.clear(),this.#L=[],this.#D=[],this.#x=[],this.#z=[],this.#S=[],this.#I=[],this.#_=[];for(const t of Object.values(_t))"number"==typeof t&&(this.#O[t]=[])}draw(t){const e=this.#C;if(e)return t(e)}drawParticle(t,e){if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=0)return;const s=t.getFillColor(),n=t.getStrokeColor();let[a,o]=this.#F(t);if(a??=s,o??=n,!a&&!o)return;const r=this.#u,l=t.options.zIndex,c=1-t.zIndexFactor,{fillOpacity:h,opacity:d,strokeOpacity:u}=t.getOpacity(),p=this.#T,f=this.#R,g=a?ke(a,r.hdr,h*d):void 0,m=o?ke(o,r.hdr,u*d):g;p.a=p.b=p.c=p.d=void 0,f.fill=g,f.stroke=m,this.draw(s=>{for(const i of this.#_)i.drawParticleSetup?.(s,t,e);this.#A(s,t,i,d,f,p),this.#U({container:r,context:s,particle:t,delta:e,colorStyles:f,radius:i*c**l.sizeRate,opacity:d,transform:p}),this.#V(t);for(const i of this.#I)i.drawParticleCleanup?.(s,t,e)})}drawParticlePlugins(t,e){this.draw(i=>{for(const s of this.#S)this.#$(i,s,t,e)})}drawParticles(t){const{particles:e,actualOptions:i}=this.#u;this.clear(),e.update(t),this.draw(s=>{const n=this.#M.size.width,a=this.#M.size.height;if(this.#P)try{s.drawImage(this.#P,o.x,o.y,n,a)}catch{this.#W("background-element-draw-error","Error drawing background element onto canvas")}const r=i.background;if(r.draw)try{r.draw(s,t)}catch{this.#W("background-draw-error","Error in background.draw callback")}for(const t of this.#B(_t.BackgroundMask))t.canvasPaint?.();for(const e of this.#B(_t.CanvasSetup))e.drawSettingsSetup?.(s,t);for(const e of this.#B(_t.PluginContent))e.draw?.(s,t);e.drawParticles(t);for(const e of this.#B(_t.CanvasCleanup))e.clearDraw?.(s,t),e.drawSettingsCleanup?.(s,t)})}init(){this.initUpdaters(),this.initPlugins(),this.#G(),this.paint()}initPlugins(){this.#x=[],this.#z=[],this.#S=[],this.#_=[],this.#I=[];for(const t of Object.values(_t))"number"==typeof t&&(this.#O[t]=[]);for(const t of this.#u.plugins)(t.particleFillColor??t.particleStrokeColor)&&this.#z.push(t),t.drawParticle&&this.#S.push(t),t.drawParticleSetup&&this.#_.push(t),t.drawParticleCleanup&&this.#I.push(t),t.canvasClear&&this.#x.push(t),t.canvasPaint&&this.#B(_t.BackgroundMask).push(t),t.drawSettingsSetup&&this.#B(_t.CanvasSetup).push(t),t.draw&&this.#B(_t.PluginContent).push(t),(t.clearDraw??t.drawSettingsCleanup)&&this.#B(_t.CanvasCleanup).push(t)}initUpdaters(){this.#L=[],this.#D=[];for(const t of this.#u.particleUpdaters)t.afterDraw&&this.#D.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this.#L.push(t)}paint(){let t=!1;for(const e of this.#B(_t.BackgroundMask))if(t=e.canvasPaint?.()??!1,t)break;t||this.paintBase()}paintBase(t){this.draw(e=>{e.fillStyle=t??"rgba(0,0,0,0)",e.fillRect(o.x,o.y,this.#M.size.width,this.#M.size.height)})}paintImage(t,e){this.draw(i=>{if(!t)return;const s=i.globalAlpha;i.globalAlpha=e,i.drawImage(t,o.x,o.y,this.#M.size.width,this.#M.size.height),i.globalAlpha=s})}setContext(t){this.#C=t,this.#C&&(this.#C.globalCompositeOperation=i)}setContextSettings(t){this.#k=t}stop(){this.draw(t=>{t.clearRect(o.x,o.y,this.#M.size.width,this.#M.size.height)})}#V(t){for(const e of this.#D)e.afterDraw?.(t)}#A(t,e,i,s,n,a){for(const o of this.#L){if(o.getColorStyles){const{fill:a,stroke:r}=o.getColorStyles(e,t,i,s);a&&(n.fill=a),r&&(n.stroke=r)}if(o.getTransformValues){const t=o.getTransformValues(e);for(const e in t)bi(a,t,e)}o.beforeDraw?.(e)}}#H(t,e){if(!t?.drawAfter)return;const{particle:i}=e;i.effect&&t.drawAfter(e)}#j(t,e){if(!t?.drawBefore)return;const{particle:i}=e;i.effect&&t.drawBefore(e)}#U(t){const{container:e,context:i,particle:s,delta:n,colorStyles:a,radius:o,opacity:r,transform:l}=t,{effectDrawers:c,shapeDrawers:h}=e,d=s.getPosition(),u=s.getTransformData(l),p={x:d.x,y:d.y};i.setTransform(u.a,u.b,u.c,u.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const f=!!s.fillEnabled,g=s.strokeWidth??0;i.lineWidth=g,a.stroke&&(i.strokeStyle=a.stroke);const m={context:i,particle:s,radius:o,drawRadius:1*o,opacity:r,delta:n,pixelRatio:e.retina.pixelRatio,fill:f,stroke:g>0,transformData:u,position:{...d},drawPosition:p,drawScale:1};for(const t of e.plugins)t.drawParticleTransform?.(m);const y=s.effect?c.get(s.effect):void 0,v=s.shape?h.get(s.shape):void 0;this.#j(y,m),this.#q(v,m),this.#N(v,m),this.#X(v,m),this.#H(y,m),i.resetTransform()}#$(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}#N(t,e){if(!t)return;const{context:i,fill:s,particle:n,stroke:a}=e;n.shape&&(i.beginPath(),t.draw(e),n.shapeClose&&i.closePath(),s&&i.fill(),a&&i.stroke())}#X(t,e){if(!t?.afterDraw)return;const{particle:i}=e;i.shape&&t.afterDraw(e)}#q(t,e){if(!t?.beforeDraw)return;const{particle:i}=e;i.shape&&t.beforeDraw(e)}#B(t){return this.#O[t]}#F(t){let e,i;for(const s of this.#z)if(!e&&s.particleFillColor&&(e=xe(this.#p,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=xe(this.#p,s.particleStrokeColor(t))),e&&i)break;return this.#E[0]=e,this.#E[1]=i,this.#E}#G(){const t=this.#u.actualOptions.background;if(this.#P=null,t.element)if("string"==typeof t.element){if("undefined"!=typeof document){const e=document.querySelector(t.element);e instanceof HTMLCanvasElement||e instanceof HTMLVideoElement||e instanceof HTMLImageElement?this.#P=e:e?this.#W("background-element-not-supported",`Background element "${t.element}" is not a supported drawable element (canvas, video, or img)`):this.#W("background-element-not-found",`Background element selector "${t.element}" not found`)}}else(t.element instanceof HTMLCanvasElement||t.element instanceof OffscreenCanvas||t.element instanceof HTMLVideoElement||t.element instanceof HTMLImageElement)&&(this.#P=t.element)}#W(t,e){this.#b.has(t)||(this.#b.add(t),gt().warning(e))}}const Mi=new WeakMap;function zi(t,e,i=!1){if(!e)return;const s=t.style,n=new Set;for(let t=0;t<s.length;t++){const e=s.item(t);e&&n.add(e)}for(let t=0;t<e.length;t++){const i=e.item(t);i&&n.add(i)}for(const t of n){const n=e.getPropertyValue(t);n?s.setProperty(t,n,i?"important":""):s.removeProperty(t)}}class Ci{domElement;render;renderCanvas;size;zoom=1;#u;#Y;#Q;#K;#p;#Z;#J;#tt;#et;constructor(t,e){this.#p=t,this.#u=e,this.render=new xi(t,e,this),this.#tt={height:0,width:0};const i=e.retina.pixelRatio,s=this.#tt;this.size={height:s.height*i,width:s.width*i},this.#Y=!1,this.#J=[],this.#Z="none"}get#it(){return this.#u.actualOptions.fullScreen.enable}destroy(){if(this.stop(),this.#Y){const t=this.domElement;t?.remove(),this.domElement=void 0,this.renderCanvas=void 0}else this.#st();this.render.destroy(),this.#J=[]}getZoomCenter(){const t=this.#u.retina.pixelRatio,{width:e,height:i}=this.size;return this.#et?this.#et:{x:e*n/t,y:i*n/t}}init(){this.#nt(t=>{t.disconnect()}),this.#Q=function(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this.#at()}),this.resize(),this.#ot(),this.initBackground(),this.#nt(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})}),this.initPlugins(),this.#rt(),this.render.init()}initBackground(){const t=this.#u,e=t.actualOptions.background,i=this.domElement;if(!i)return;const s=i.style,n=Pe(this.#p,e.color);s.backgroundColor=n?Ce(n,t.actualOptions.hdr,e.opacity):"",s.backgroundImage=e.image||"",s.backgroundPosition=e.position||"",s.backgroundRepeat=e.repeat||"",s.backgroundSize=e.size||""}initPlugins(){this.#J=[];for(const t of this.#u.plugins)t.resize&&this.#J.push(t)}loadCanvas(t){this.#Y&&this.domElement&&this.domElement.remove();const i=(t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)(t)?t:void 0;this.domElement=i,this.#Y=!!i&&"true"===i.dataset[e],this.renderCanvas=i?(t=>{const e=Mi.get(t);if(e)return e;if("function"!=typeof t.transferControlToOffscreen)throw new TypeError("OffscreenCanvas is required but not supported by this browser");try{const e=t.transferControlToOffscreen();return Mi.set(t,e),e}catch{throw new TypeError("OffscreenCanvas transfer failed")}})(i):t;const s=this.domElement;s&&(s.ariaHidden="true",this.#K=function(t){const e=K().createElement("div").style;for(const i in t){const s=t[i];if(!(i in t)||O(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const a=t.getPropertyPriority?.(s);a?e.setProperty(s,n,a):e.setProperty(s,n)}return e}(s.style));const n=this.#tt,a=this.renderCanvas;s?(n.height=s.offsetHeight,n.width=s.offsetWidth):(n.height=a.height,n.width=a.width);const o=this.#u.retina.pixelRatio,r=this.size;a.height=r.height=n.height*o,a.width=r.width=n.width*o}resize(){const t=this.domElement;if(!t)return!1;const e=this.#u,i=this.renderCanvas;if(void 0===i)return!1;const s=e.canvas.#tt,n={width:t.offsetWidth,height:t.offsetHeight},a=e.retina.pixelRatio,o={width:n.width*a,height:n.height*a};if(n.height===s.height&&n.width===s.width&&o.height===i.height&&o.width===i.width)return!1;const r={...s};s.height=n.height,s.width=n.width;const l=this.size;return i.width=l.width=o.width,i.height=l.height=o.height,this.#u.started&&e.particles.setResizeFactor({width:s.width/r.width,height:s.height/r.height}),!0}setPointerEvents(t){this.domElement&&(this.#Z=t,this.#at())}setZoom(t,e){this.zoom=t,this.#et=e}stop(){this.#nt(t=>{t.disconnect()}),this.#Q=void 0,this.render.stop()}async windowResize(){if(!this.domElement||!this.resize())return;const t=this.#u,e=t.updateActualOptions();t.particles.setDensity(),this.#lt(),e&&await t.refresh()}#lt(){for(const t of this.#J)t.resize?.()}#rt(){const t=this.#u.actualOptions.hdr&&Z("(color-gamut: p3)")?.matches&&Z("(dynamic-range: high)")?.matches;this.render.setContextSettings({alpha:!0,desynchronized:!0,willReadFrequently:!1,...t?{colorSpace:"display-p3",colorType:"float16"}:{colorSpace:"srgb"}});const e=this.renderCanvas;e&&this.render.setContext(e.getContext("2d",this.render.settings))}#ot(){const t=this.domElement,e=this.#u.actualOptions;if(t){this.#it?this.#ct():this.#st();for(const i in e.style){if(!i||!(i in e.style))continue;const s=e.style[i];s&&t.style.setProperty(i,s,"important")}}}#at(){const t=this.domElement;if(!t)return;this.#nt(t=>{t.disconnect()}),this.#ot(),this.initBackground();const e=this.#Z;t.style.pointerEvents=e,t.style.setProperty("pointer-events",e),this.#nt(e=>{t instanceof Node&&e.observe(t,{attributes:!0})})}#st(){const t=this.domElement,e=this.#K;t&&e&&zi(t,e,!0)}#nt(t){this.#Q&&t(this.#Q)}#ct(){const t=this.domElement;t&&zi(t,function(t){if(ot!==t||!rt){ot=t;const e=K().createElement("div").style,i=10,s={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(i),"z-index":t.toString(i),top:"0",left:"0","pointer-events":"none"};for(const t in s){const i=s[t];void 0!==i&&e.setProperty(t,i)}rt=e}return rt}(this.#u.actualOptions.fullScreen.zIndex),!0)}}class ki{#u;#ht;#dt;#ut;constructor(t){this.#u=t,this.#ht={visibilityChange:()=>{this.#pt()},resize:()=>{this.#ft()}}}addListeners(){this.#gt(!0)}removeListeners(){this.#gt(!1)}#pt(){const t=this.#u;t.actualOptions.pauseOnBlur&&(K().hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))}#ft(){this.#ut&&(clearTimeout(this.#ut),this.#ut=void 0);const t=async()=>{const t=this.#u.canvas;await t.windowResize()};this.#ut=setTimeout(()=>{t()},this.#u.actualOptions.resize.delay*a)}#gt(t){const e=this.#ht;this.#mt(t),lt(document,"visibilitychange",e.visibilityChange,t,!1)}#mt(t){const e=this.#ht,i=this.#u;if(!i.actualOptions.resize.enable)return;if("undefined"==typeof ResizeObserver)return void lt(globalThis,"resize",e.resize,t);const s=i.canvas.domElement;this.#dt&&!t?(s&&this.#dt.unobserve(s),this.#dt.disconnect(),this.#dt=void 0):!this.#dt&&t&&s&&(this.#dt=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this.#ft()}),this.#dt.observe(s))}}function Si(t){if(e=t.outMode,i=t.checkModes,!(e===i||_(i)&&i.includes(e)))return;var e,i;const s=2*t.radius;t.coord>t.maxCoord-s?t.setCb(-t.radius):t.coord<s&&t.setCb(t.radius)}function Ii(t,e){const i=t%e;return i<0?i+e:i}function _i(t,e,i,s){const n=me(i,e,e.actualOptions.particles),a=n.reduceDuplicates;t.effect=nt(n.effect.type,t.id,a),t.shape=nt(n.shape.type,t.id,a);const o=n.effect,r=n.shape;if(s){if(s.effect){const e=s.effect.type;if(e&&e!==t.effect){const i=nt(e,t.id,a);i&&(t.effect=i)}o.load(s.effect)}if(s.shape){const e=s.shape.type;if(e&&e!==t.shape){const i=nt(e,t.id,a);i&&(t.shape=i)}r.load(s.shape)}}if(t.effect===d){const i=[...e.effectDrawers.keys()];t.effect=i[Math.floor(T()*i.length)]}if(t.shape===d){const i=[...e.shapeDrawers.keys()];t.shape=i[Math.floor(T()*i.length)]}t.effectData=t.effect?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(t.effect,o,t.id,a):void 0,t.shapeData=t.shape?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(t.shape,r,t.id,a):void 0,n.load(s);const l=t.effectData,c=t.shapeData;return l&&n.load(l.particles),c&&n.load(c.particles),t.effectClose=l?.close??n.effect.close,t.shapeClose=c?.close??n.shape.close,n}class Oi{backColor;destroyed;direction;effect;effectClose;effectData;fillColor;fillEnabled;fillOpacity;group;id;ignoresResizeRatio;initialPosition;initialVelocity;isRotating;justWarped;lastPathTime;misplaced;moveCenter;offset;opacity;options;outType;pathRotation;position;randomIndexData;retina;roll;rotation;shape;shapeClose;shapeData;sides;size;spawning;strokeColor;strokeOpacity;strokeWidth;unbreakable;velocity;zIndexFactor;#yt={fillOpacity:1,opacity:1,strokeOpacity:1};#vt=M.origin;#wt={sin:0,cos:0};#Pt={a:1,b:0,c:0,d:1};#u;#bt=[];#p;constructor(t,e){this.#p=t,this.#u=e}addModifier(t){this.#bt.push(t),this.#bt.sort((t,e)=>t.priority-e.priority)}clearModifiers(){this.#bt.length=0}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.clearModifiers();const e=this.#u,i=this.shape?e.shapeDrawers.get(this.shape):void 0;i?.particleDestroy?.(this);for(const i of e.particleDestroyedPlugins)i.particleDestroyed?.(this,t);for(const i of e.particleUpdaters)i.particleDestroyed?.(this,t);this.#u.dispatchEvent(dt.particleDestroyed,{particle:this})}draw(t){const e=this.#u.canvas.render;e.drawParticlePlugins(this,t),e.drawParticle(this,t)}getAngle(){return this.rotation+(this.pathRotation?this.velocity.angle:0)}getFillColor(){return this.#xt(this.#Mt(Se(this.fillColor),t=>t.fillColor))}getMass(){return this.getRadius()**2*Math.PI*n}getModifier(t){return this.#bt.find(e=>e.id===t)}getOpacity(){const t=this.options.zIndex,e=(1-this.zIndexFactor)**t.opacityRate,i=U(this.opacity?.value??1),s=this.#Mt(void 0,t=>t.opacity)??i,n=this.fillOpacity??1,a=this.strokeOpacity??1;return this.#yt.fillOpacity=s*n*e,this.#yt.opacity=s*e,this.#yt.strokeOpacity=s*a*e,this.#yt}getPosition(){return this.#vt.x=this.position.x+this.offset.x,this.#vt.y=this.position.y+this.offset.y,this.#vt.z=this.position.z,this.#vt}getRadius(){return this.#Mt(this.size.value,t=>t.radius)}getRotateData(){const t=this.getAngle();return this.#wt.sin=Math.sin(t),this.#wt.cos=Math.cos(t),this.#wt}getStrokeColor(){return this.#xt(this.#Mt(Se(this.strokeColor),t=>t.strokeColor))}getTransformData(t){const e=this.getRotateData(),i=this.isRotating;return this.#Pt.a=e.cos*(t.a??r),this.#Pt.b=i?e.sin*(t.b??1):t.b??l,this.#Pt.c=i?-e.sin*(t.c??1):t.c??c,this.#Pt.d=e.cos*(t.d??h),this.#Pt}init(t,e,i,s){const n=this.#u;!function(t,e,i){t.id=e,t.group=i,t.justWarped=!1,t.effectClose=!0,t.shapeClose=!0,t.pathRotation=!1,t.lastPathTime=0,t.destroyed=!1,t.unbreakable=!1,t.isRotating=!1,t.rotation=0,t.misplaced=!1,t.retina={maxDistance:{},maxSpeed:0,moveDrift:0,moveSpeed:0,sizeAnimationSpeed:0},t.size={value:1,max:1,min:1,enable:!1},t.outType=kt.normal,t.ignoresResizeRatio=!0}(this,t,s),this.options=_i(this,n,this.#p,i),n.retina.initParticle(this),function(t,e){for(const i of t)i.preInit?.(e)}(n.particleUpdaters,this),this.#zt(e),this.initialVelocity=this.#Ct(),this.velocity=this.initialVelocity.copy(),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24,function(t,e){let i,s;t.effect&&(i=e.effectDrawers.get(t.effect)),i?.loadEffect&&i.loadEffect(t),t.shape&&(s=e.shapeDrawers.get(t.shape)),s?.loadShape&&s.loadShape(t);const n=s?.getSidesCount;n&&(t.sides=n(t))}(this,n),this.spawning=!1,function(t,e){for(const i of t)i.init(e)}(n.particleUpdaters,this),function(t,e){const i=e.shape?t.shapeDrawers.get(e.shape):void 0,s=e.effect?t.effectDrawers.get(e.effect):void 0;s?.particleInit?.(t,e),i?.particleInit?.(t,e)}(n,this),function(t,e){for(const i of t.particleCreatedPlugins)i.particleCreated?.(e)}(n,this)}isInsideCanvas(t){return this.#kt({direction:t}).inside}isInsideCanvasForOutMode(t,e){return this.#kt({direction:e,outMode:t}).inside}isShowingBack(){if(!this.roll)return!1;const t=this.roll.angle;if(this.roll.horizontal&&this.roll.vertical){const e=Ii(t,u);return e>=Math.PI*n&&e<3*Math.PI*n}if(this.roll.horizontal){const e=Ii(t+Math.PI*n,u);return e>=Math.PI&&e<2*Math.PI}if(this.roll.vertical){const e=Ii(t,u);return e>=Math.PI&&e<2*Math.PI}return!1}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}removeModifier(t){const e=this.#bt.findIndex(e=>e.id===t);e>=0&&this.#bt.splice(e,1)}reset(){for(const t of this.#u.particleUpdaters)t.reset?.(this)}#Mt(t,e){let i=t;for(const t of this.#bt)if(t.enabled){const s=e(t);void 0!==s&&(i=s)}return i}#St(t,e){let i=0,s=t?M.create(t.x,t.y,e):void 0;const n=this.#u,a=n.particlePositionPlugins,o=this.options.move.outModes,r=this.getRadius(),l=n.canvas.size;for(;;){for(const t of a){const i=t.particlePosition?.(s,this);if(i)return M.create(i.x,i.y,e)}const t=q({size:l,position:s}),c=M.create(t.x,t.y,e);this.#It(c,r,o.left??o.default),this.#It(c,r,o.right??o.default),this.#_t(c,r,o.top??o.default),this.#_t(c,r,o.bottom??o.default);let h=!0;for(const t of n.particles.checkParticlePositionPlugins)if(h=t.checkParticlePosition?.(this,c,i)??!0,!h)break;if(h)return c;i+=1,s=void 0}}#Ct(){const t=this.options.move,e=function(t){const e=z.origin;return e.length=1,e.angle=t,e}(this.direction).copy();if(t.direction===b.inside||t.direction===b.outside)return e;const i=j(U(t.angle.value)),s=j(U(t.angle.offset)),a={left:s-i*n,right:s+i*n};return t.straight||(e.angle+=A(W(a.left,a.right))),t.random&&"number"==typeof t.speed&&(e.length*=T()),e}#It(t,e,i){Si({outMode:i,checkModes:[xt.bounce],coord:t.x,maxCoord:this.#u.canvas.size.width,setCb:e=>t.x+=e,radius:e})}#_t(t,e,i){Si({outMode:i,checkModes:[xt.bounce],coord:t.y,maxCoord:this.#u.canvas.size.height,setCb:e=>t.y+=e,radius:e})}#Ot(t,e){const i=this.getRadius(),s=this.#u.canvas.size,n=this.position,a=e===xt.bounce;return t===X.bottom?{inside:a?n.y+i<s.height:n.y-i<s.height,reason:"default"}:t===X.left?{inside:a?n.x-i>0:n.x+i>0,reason:"default"}:t===X.right?{inside:a?n.x+i<s.width:n.x-i<s.width,reason:"default"}:t===X.top?{inside:a?n.y-i>0:n.y+i>0,reason:"default"}:{inside:n.x>=-i&&n.y>=-i&&n.y<=s.height+i&&n.x<=s.width+i,reason:"default"}}#Dt(t,e){return{canvasSize:this.#u.canvas.size,direction:t,outMode:e,particle:this,radius:this.getRadius()}}#kt(t){const e=this.#Ot(t.direction,t.outMode),i=this.#u,s=this.shape?i.shapeDrawers.get(this.shape):void 0,n=this.effect?i.effectDrawers.get(this.effect):void 0,a=s?.isInsideCanvas,o=n?.isInsideCanvas;if(!a&&!o)return e;const r=this.#Dt(t.direction,t.outMode),l=a?this.#Lt(a(r),"shape"):void 0,c=o?this.#Lt(o(r),"effect"):void 0;if(l&&c){const t=Math.max(l.margin??0,c.margin??0);return{inside:l.inside&&c.inside,margin:t>0?t:void 0,reason:"combined"}}return l??c??e}#xt(t){return t&&this.roll&&(this.backColor||this.roll.alter)&&this.isShowingBack()?this.backColor?this.backColor:this.roll.alter?function(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===Mt.darken?-1:1)*i}}(t,this.roll.alter.type,this.roll.alter.value):t:t}#zt(t){const e=this.#u,i=Math.floor(U(this.options.zIndex.value)),s=this.#St(t,F(i,0,e.zLayers));if(!s)throw new Error("a valid position cannot be found for particle");this.position=s,this.initialPosition=this.position.copy();const a=e.canvas.size;switch(this.moveCenter={...at(this.options.move.center,a),radius:this.options.move.center.radius,mode:this.options.move.center.mode},this.direction=function(t,e,i){if(S(t))return j(t);switch(t){case b.top:return-Math.PI*n;case b.topRight:return-Math.PI*P;case b.right:return 0;case b.bottomRight:return Math.PI*P;case b.bottom:return Math.PI*n;case b.bottomLeft:return.75*Math.PI;case b.left:return Math.PI;case b.topLeft:return.75*-Math.PI;case b.inside:return Math.atan2(i.y-e.y,i.x-e.x);case b.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return T()*u}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case b.inside:this.outType=kt.inside;break;case b.outside:this.outType=kt.outside}this.offset=z.origin}#Lt(t,e){return"boolean"==typeof t?{inside:t,reason:e}:{inside:t.inside,margin:t.margin,reason:t.reason??e}}}class Di{#Rt;#Et=new Map;#Tt=[];#Bt;#Ft;#At=[];#Ut;constructor(t){this.#Rt=t,this.#Bt=0,this.#Ut=0}clear(){this.#Et.clear();const t=this.#Ft;t&&(this.#Rt=t),this.#Ft=void 0}insert(t){const{x:e,y:i}=t.getPosition(),s=this.#Vt(e,i);this.#Et.has(s)||this.#Et.set(s,[]),this.#Et.get(s)?.push(t)}query(t,e,i=[]){const s=this.#$t(t);if(!s)return i;const n=Math.floor(s.minX/this.#Rt),a=Math.floor(s.maxX/this.#Rt),o=Math.floor(s.minY/this.#Rt),r=Math.floor(s.maxY/this.#Rt);for(let s=n;s<=a;s++)for(let n=o;n<=r;n++){const a=`${s}_${n}`,o=this.#Et.get(a);if(o)for(const s of o)e&&!e(s)||t.contains(s.getPosition())&&i.push(s)}return i}queryCircle(t,e,i,s=[]){const n=this.#Wt(t.x,t.y,e),a=this.query(n,i,s);return this.#Gt(),a}queryRectangle(t,e,i,s=[]){const n=this.#Ht(t.x,t.y,e.width,e.height),a=this.query(n,i,s);return this.#Gt(),a}setCellSize(t){this.#Ft=t}#Wt(t,e,i){return(this.#Tt[this.#Bt++]??=new Dt(t,e,i)).reset(t,e,i)}#Ht(t,e,i,s){return(this.#At[this.#Ut++]??=new Lt(t,e,i,s)).reset(t,e,i,s)}#Vt(t,e){return`${Math.floor(t/this.#Rt)}_${Math.floor(e/this.#Rt)}`}#$t(t){if(t instanceof Dt){const e=t.radius,{x:i,y:s}=t.position;return{minX:i-e,maxX:i+e,minY:s-e,maxY:s+e}}if(t instanceof Lt){const{x:e,y:i}=t.position,{width:s,height:n}=t.size;return{minX:e,maxX:e+s,minY:i,maxY:i+n}}return null}#Gt(){this.#Bt=0,this.#Ut=0}}class Li{checkParticlePositionPlugins;grid;#jt;#u;#qt;#Nt;#Xt;#Yt;#Qt;#Kt;#p;#Zt;#Jt;#te;#ee;#ie;#se;constructor(t,e){this.#p=t,this.#u=e,this.#Xt=0,this.#jt=[],this.#Zt=[],this.#Nt=0,this.#qt=new Map,this.#Yt=new Map,this.#se=this.#ne(this.#u.zLayers),this.grid=new Di(100),this.checkParticlePositionPlugins=[],this.#Qt=[],this.#Kt=[],this.#te=[],this.#Jt=[],this.#ie=[]}get count(){return this.#jt.length}addParticle(t,e,i,s){const n=this.#u.actualOptions.particles.number.limit.mode,a=void 0===i?this.#Nt:this.#qt.get(i)??this.#Nt,o=this.count;if(a>0)switch(n){case bt.delete:{const t=o+1-a;t>0&&this.removeQuantity(t);break}case bt.wait:if(o>=a)return}try{const n=this.#Zt.pop()??new Oi(this.#p,this.#u);n.init(this.#Xt,t,e,i);let a=!0;return s&&(a=s(n)),a?(this.#jt.push(n),this.#ae(n),this.#Xt++,this.#u.dispatchEvent(dt.particleAdded,{particle:n}),n):void this.#Zt.push(n)}catch(t){gt().warning(`error adding particle: ${t}`)}}clear(){this.#jt=[],this.#Yt.clear(),this.#oe(this.#u.zLayers)}destroy(){this.#jt=[],this.#Zt.length=0,this.#Yt.clear(),this.#se=[],this.checkParticlePositionPlugins=[],this.#Qt=[],this.#Kt=[],this.#te=[],this.#Jt=[],this.#ie=[]}drawParticles(t){for(let e=this.#se.length-1;e>=0;e--){const i=this.#se[e];if(i)for(const e of i)e.draw(t)}}filter(t){return this.#jt.filter(t)}find(t){return this.#jt.find(t)}get(t){return this.#jt[t]}async init(){const t=this.#u,e=t.actualOptions;this.checkParticlePositionPlugins=[],this.#ie=[],this.#Kt=[],this.#te=[],this.#Qt=[],this.#Jt=[],this.#Yt.clear(),this.#oe(t.zLayers),this.grid=new Di(100*t.retina.pixelRatio);for(const e of t.plugins)e.redrawInit&&await e.redrawInit(),e.checkParticlePosition&&this.checkParticlePositionPlugins.push(e),e.update&&this.#ie.push(e),e.particleUpdate&&this.#Kt.push(e),e.postUpdate&&this.#te.push(e),e.particleReset&&this.#Qt.push(e),e.postParticleUpdate&&this.#Jt.push(e);await this.#u.initDrawersAndUpdaters();for(const e of this.#u.effectDrawers.values())await(e.init?.(t));for(const e of this.#u.shapeDrawers.values())await(e.init?.(t));let i=!1;for(const e of t.plugins)if(i=e.particlesInitialization?.()??i,i)break;if(!i){const t=e.particles,i=t.groups;for(const e in i){const s=i[e];if(s)for(let i=this.count,n=0;n<s.number.value&&i<t.number.value;i++,n++)this.addParticle(void 0,s,e)}for(let e=this.count;e<t.number.value;e++)this.addParticle()}}push(t,e,i,s){for(let n=0;n<t;n++)this.addParticle(e,i,s)}async redraw(){this.clear(),await this.init(),this.#u.canvas.render.drawParticles({value:0,factor:0})}remove(t,e,i){this.removeAt(this.#jt.indexOf(t),void 0,e,i)}removeAt(t,e=1,i,s){if(t<0||t>this.count)return;let n=0;for(let a=t;n<e&&a<this.count;a++)this.#re(a,i,s)&&(a--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this.#u.actualOptions,e=t.particles.groups;let i=0;for(const t of this.#u.plugins)t.particlesDensityCount&&(i+=t.particlesDensityCount());for(const t in e){const s=e[t];if(!s)continue;const n=me(this.#p,this.#u,s);this.#le(n,i,t)}this.#le(t.particles,i)}setResizeFactor(t){this.#ee=t}update(t){this.grid.clear();for(const e of this.#ie)e.update?.(t);const e=this.#ce(t);for(const e of this.#te)e.postUpdate?.(t);if(this.#he(t,e),e.size)for(const t of e)this.remove(t);this.#ee=void 0}#de(...t){this.#Zt.push(...t)}#le(t,e,i,s){const n=t.number;if(!n.density.enable)return void(void 0===i?this.#Nt=n.limit.value:(s?.number.limit.value??n.limit.value)&&this.#qt.set(i,s?.number.limit.value??n.limit.value));const a=this.#ue(n.density),o=n.value,r=n.limit.value>0?n.limit.value:o,l=Math.min(o,r)*a+e,c=Math.min(this.count,this.filter(t=>t.group===i).length);void 0===i?this.#Nt=n.limit.value*a:this.#qt.set(i,n.limit.value*a),c<l?this.push(Math.abs(l-c),void 0,t,i):c>l&&this.removeQuantity(c-l,i)}#ne(t){const e=Math.max(Math.floor(t),1);return Array.from({length:e},()=>[])}#pe(t){const e=this.#se.length-1;return e<=0?0:Math.min(Math.max(Math.floor(t),0),e)}#ue(t){const e=this.#u;if(!t.enable)return 1;const i=e.canvas.size,s=e.retina.pixelRatio;return i.width&&i.height?i.width*i.height/(t.height*t.width*s**2):1}#ae(t){const e=this.#pe(t.position.z),i=this.#se[e];i&&(i.push(t),this.#Yt.set(t.id,e))}#re(t,e,i){const s=this.#jt[t];return!!s&&(s.group===e&&(this.#jt.splice(t,1),this.#fe(s),s.destroy(i),this.#u.dispatchEvent(dt.particleRemoved,{particle:s}),this.#de(s),!0))}#fe(t){const e=this.#Yt.get(t.id)??this.#pe(t.position.z),i=this.#se[e];if(!i)return void this.#Yt.delete(t.id);const s=i.findIndex(e=>e.id===t.id);s>=0&&i.splice(s,1),this.#Yt.delete(t.id)}#oe(t){const e=Math.max(Math.floor(t),1);if(this.#se.length===e)for(const t of this.#se)t.length=0;else this.#se=this.#ne(e)}#ge(t){const e=this.#pe(t.position.z),i=this.#Yt.get(t.id);if(void 0===i)return void this.#ae(t);if(i===e)return;const s=this.#se[i];if(s){const e=s.findIndex(e=>e.id===t.id);e>=0&&s.splice(e,1)}const n=this.#se[e];if(n){if(n.push(t),n.length>=2){const e=n[n.length-2];e&&t.id<e.id&&n.sort((t,e)=>t.id-e.id)}this.#Yt.set(t.id,e)}else this.#Yt.set(t.id,e)}#ce(t){const e=new Set,i=this.#ee;for(const s of this.#jt){i&&!s.ignoresResizeRatio&&(s.position.x*=i.width,s.position.y*=i.height,s.initialPosition.x*=i.width,s.initialPosition.y*=i.height),s.ignoresResizeRatio=!1;for(const t of this.#Qt)t.particleReset?.(s);for(const e of this.#Kt){if(s.destroyed)break;e.particleUpdate?.(s,t)}s.destroyed?e.add(s):this.grid.insert(s)}return e}#he(t,e){for(const i of this.#jt)if(i.destroyed)e.add(i);else{for(const e of this.#u.particleUpdaters)e.update(i,t);if(!i.spawning)for(const e of this.#Jt)e.postParticleUpdate?.(i,t);this.#ge(i)}}}class Ri{pixelRatio;reduceFactor;#u;constructor(t){this.#u=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.#u,e=t.actualOptions;this.pixelRatio=e.detectRetina?devicePixelRatio:1,this.reduceFactor=1;const i=this.pixelRatio,s=t.canvas,n=s.domElement;n&&(s.size.width=n.offsetWidth*i,s.size.height=n.offsetHeight*i)}initParticle(t){const e=t.options,i=this.pixelRatio,s=e.move,n=s.distance,a=t.retina;a.maxSpeed=U(s.gravity.maxSpeed)*i,a.moveDrift=U(s.drift)*i,a.moveSpeed=U(s.speed)*i;const o=a.maxDistance;o.horizontal=void 0===n.horizontal?void 0:n.horizontal*i,o.vertical=void 0===n.vertical?void 0:n.vertical*i}}function Ei(t){return!t.destroyed}function Ti(t,e,...i){const s=new ye(t,e);return Et(s,...i),s}var Bi=Object.freeze({__proto__:null,Container:class{actualOptions;canvas;destroyed;effectDrawers;fpsLimit;hdr;id;pageHidden;particleCreatedPlugins;particleDestroyedPlugins;particlePositionPlugins;particleUpdaters;particles;plugins;retina;shapeDrawers;started;zLayers;#me;#ye;#ve={value:0,factor:0};#we;#Pe;#be;#xe;#Me;#ze;#Ce;#ke;#Se;#Ie;#_e;#p;#Oe;#De;constructor(t){const{dispatchCallback:e,pluginManager:i,id:s,onDestroy:n,sourceOptions:a}=t;this.#p=i,this.#we=e,this.#Se=n,this.id=Symbol(s),this.fpsLimit=120,this.hdr=!1,this.#Oe=!1,this.#me=0,this.#be=0,this.#ke=0,this.#Me=!0,this.started=!1,this.destroyed=!1,this.#_e=!0,this.#Ce=0,this.zLayers=100,this.pageHidden=!1,this.#De=a,this.#ze=a,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.retina=new Ri(this),this.canvas=new Ci(this.#p,this),this.particles=new Li(this.#p,this),this.plugins=[],this.particleDestroyedPlugins=[],this.particleCreatedPlugins=[],this.particlePositionPlugins=[],this.#Ie=Ti(this.#p,this),this.actualOptions=Ti(this.#p,this),this.#xe=new ki(this),this.dispatchEvent(dt.containerBuilt)}get animationStatus(){return!this.#_e&&!this.pageHidden&&Ei(this)}get options(){return this.#Ie}get sourceOptions(){return this.#De}addLifeTime(t){this.#ke+=t}alive(){return!this.#be||this.#ke<=this.#be}destroy(t=!0){if(Ei(this)){this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,t]of this.effectDrawers)t.destroy?.(this);for(const[,t]of this.shapeDrawers)t.destroy?.(this);for(const t of this.plugins)t.destroy?.();this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.plugins.length=0,this.#p.clearPlugins(this),this.destroyed=!0,this.#Se(t),this.dispatchEvent(dt.containerDestroyed)}}dispatchEvent(t,e){this.#we(t,{container:this,data:e})}draw(t){if(!Ei(this))return;let e=t;this.#Pe=R(t=>{e&&(this.#Ce=void 0,e=!1),this.#Le(t)})}async export(t,e={}){for(const i of this.plugins){if(!i.export)continue;const s=await i.export(t,e);if(s.supported)return s.blob}gt().error(`Export plugin with type ${t} not found`)}async init(){if(!Ei(this))return;const t=new Map;for(const e of this.#p.plugins){const i=await e.getPlugin(this);i.preInit&&await i.preInit(),t.set(e,i)}await this.initDrawersAndUpdaters(),this.#Ie=Ti(this.#p,this,this.#ze,this.sourceOptions),this.actualOptions=Ti(this.#p,this,this.#Ie),this.plugins.length=0,this.particleDestroyedPlugins.length=0,this.particleCreatedPlugins.length=0,this.particlePositionPlugins.length=0;for(const[e,i]of t)e.needsPlugin(this.actualOptions)&&(this.plugins.push(i),i.particleCreated&&this.particleCreatedPlugins.push(i),i.particleDestroyed&&this.particleDestroyedPlugins.push(i),i.particlePosition&&this.particlePositionPlugins.push(i));this.retina.init(),this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{delay:e,duration:i,fpsLimit:s,hdr:n,smooth:o,zLayers:r}=this.actualOptions;this.hdr=n,this.zLayers=r,this.#be=U(i)*a,this.#me=U(e)*a,this.#ke=0,this.fpsLimit=s>0?s:120,this.#Oe=o;for(const t of this.plugins)await(t.init?.());await this.particles.init(),this.dispatchEvent(dt.containerInit),this.particles.setDensity();for(const t of this.plugins)t.particlesSetup?.();this.dispatchEvent(dt.particlesSetup)}async initDrawersAndUpdaters(){const t=this.#p;this.effectDrawers=await t.getEffectDrawers(this,!0),this.shapeDrawers=await t.getShapeDrawers(this,!0),this.particleUpdaters=await t.getUpdaters(this,!0)}pause(){var t;if(Ei(this)&&(void 0!==this.#Pe&&(t=this.#Pe,E(t),this.#Pe=void 0),!this.#_e)){for(const t of this.plugins)t.pause?.();this.pageHidden||(this.#_e=!0),this.dispatchEvent(dt.containerPaused)}}play(t){if(!Ei(this))return;const e=this.#_e||t;if(!this.#Me||this.actualOptions.autoPlay){if(this.#_e&&(this.#_e=!1),e)for(const t of this.plugins)t.play&&t.play();this.dispatchEvent(dt.containerPlay),this.draw(e??!1)}else this.#Me=!1}async refresh(){if(Ei(this))return this.stop(),this.start()}async reset(t){if(Ei(this))return this.#ze=t,this.#De=t,this.#Ie=Ti(this.#p,this,this.#ze,this.sourceOptions),this.actualOptions=Ti(this.#p,this,this.#Ie),this.refresh()}async start(){Ei(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{const e=async()=>{this.#xe.addListeners();for(const t of this.plugins)await(t.start?.());this.dispatchEvent(dt.containerStarted),this.play(),t()};this.#ye=setTimeout(()=>{e()},this.#me)}))}stop(){if(Ei(this)&&this.started){this.#ye&&(clearTimeout(this.#ye),this.#ye=void 0),this.#Me=!0,this.started=!1,this.#xe.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop();for(const t of this.plugins)t.stop?.();this.particleCreatedPlugins.length=0,this.particleDestroyedPlugins.length=0,this.particlePositionPlugins.length=0,this.#De=this.#Ie,this.dispatchEvent(dt.containerStopped)}}updateActualOptions(){let t=!1;for(const e of this.plugins)e.updateActualOptions&&(t=e.updateActualOptions()||t);return t}#Le(t){try{if(!this.#Oe&&void 0!==this.#Ce&&t<this.#Ce+a/this.fpsLimit)return void this.draw(!1);if(this.#Ce??=t,function(t,e,i=60,s=!1){t.value=e,t.factor=s?60/i:60*e/a}(this.#ve,t-this.#Ce,this.fpsLimit,this.#Oe),this.addLifeTime(this.#ve.value),this.#Ce=t,this.#ve.value>a)return void this.draw(!1);if(this.canvas.render.drawParticles(this.#ve),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){gt().error("error in animation loop",t)}}}});var Fi=Object.freeze({__proto__:null,BlendPluginInstance:class{layer=_t.CanvasSetup;#u;#Re;constructor(t){this.#u=t}drawParticleCleanup(t,e){e.options.blend?.enable&&(t.globalCompositeOperation=e.originalBlendMode??i,e.originalBlendMode=void 0)}drawParticleSetup(t,e){e.options.blend?.enable&&(e.originalBlendMode=t.globalCompositeOperation,t.globalCompositeOperation=e.options.blend.mode)}drawSettingsCleanup(t){this.#Re&&(t.globalCompositeOperation=this.#Re)}drawSettingsSetup(t){const e=t.globalCompositeOperation,i=this.#u.actualOptions.blend;this.#Re=e,t.globalCompositeOperation=i?.enable?i.mode:e}}});function Ai(t,e,i,s,n,a,o){!function(t,e){const i=t.options,s=i.move.path;if(!s.enable)return;const n=t.pathDelay??0;if(t.lastPathTime<=n)return void(t.lastPathTime+=e.value);const a=t.pathGenerator?.generate(t,e);a&&t.velocity.addTo(a);s.clamp&&(t.velocity.x=F(t.velocity.x,-1,1),t.velocity.y=F(t.velocity.y,-1,1));t.lastPathTime-=n}(t,o);const r=t.gravity,l=r?.enable&&r.inverse?-1:1;n&&i&&(t.velocity.x+=n*o.factor/(60*i)),r?.enable&&i&&(t.velocity.y+=l*(r.acceleration*o.factor)/(60*i));const c=t.moveDecay;t.velocity.multTo(c??1);const h=t.velocity.mult(i);r?.enable&&s>0&&(!r.inverse&&h.y>=0&&h.y>=s||r.inverse&&h.y<=0&&h.y<=-s)&&(h.y=l*s,i&&(t.velocity.y=h.y/i));const d=t.options.zIndex,u=(1-t.zIndexFactor)**d.velocityRate;h.multTo(u),h.multTo(a);const{position:p}=t;p.addTo(h),e.vibrate&&(p.x+=Math.sin(p.x*Math.cos(p.y))*a,p.y+=Math.cos(p.y*Math.sin(p.x))*a)}function Ui(t,e){const i=e.options.move.spin;if(!i.enable)return;const s=i.position??{x:50,y:50},n={x:.01*s.x*t.canvas.size.width,y:.01*s.y*t.canvas.size.height},a=e.getPosition(),o=(l=a,c=n,Math.sqrt(H(l,c))),r=U(i.acceleration);var l,c;e.retina.spinAcceleration=r*t.retina.pixelRatio,e.spin={center:n,direction:e.velocity.x>=0?wt.clockwise:wt.counterClockwise,angle:T()*u,radius:o,acceleration:e.retina.spinAcceleration}}var Vi=Object.freeze({__proto__:null,MovePluginInstance:class{availablePathGenerators;pathGenerators;#u;#p;constructor(t,e){this.#p=t,this.#u=e,this.availablePathGenerators=new Map,this.pathGenerators=new Map}destroy(){this.availablePathGenerators=new Map,this.pathGenerators=new Map}isEnabled(t){return!t.destroyed&&t.options.move.enable}particleCreated(t){const e=t.options.move,i=e.gravity,s=e.path;if(t.moveDecay=1-U(e.decay),t.pathDelay=U(s.delay.value)*a,s.generator){let e=this.pathGenerators.get(s.generator);e||(e=this.availablePathGenerators.get(s.generator),e&&(this.pathGenerators.set(s.generator,e),e.init())),t.pathGenerator=e}t.gravity={enable:i.enable,acceleration:U(i.acceleration),inverse:i.inverse},Ui(this.#u,t)}particleDestroyed(t){const e=t.pathGenerator;e?.reset(t)}particleUpdate(t,e){const i=t.options.move;if(!i.enable)return;const s=this.#u,a=function(t){const e=t.getModifier("slow");return e?.enabled?e.speedFactor??1:1}(t),o=s.retina.reduceFactor,r=t.retina.moveSpeed,l=t.retina.moveDrift,c=t.size.max,h=r*(i.size?t.getRadius()/c:1)*a*(e.factor||1)*n,d=t.retina.maxSpeed;i.spin.enable?function(t,e,i,s){if(!e.spin)return;const a=e.spin.direction===wt.clockwise,o={x:a?Math.cos:Math.sin,y:a?Math.sin:Math.cos};e.position.x=e.spin.center.x+e.spin.radius*o.x(e.spin.angle)*s,e.position.y=e.spin.center.y+e.spin.radius*o.y(e.spin.angle)*s,e.spin.radius+=e.spin.acceleration*s;const r=Math.max(t.canvas.size.width,t.canvas.size.height),l=r*n;e.spin.radius>l?(e.spin.radius=l,e.spin.acceleration*=-1):e.spin.radius<0&&(e.spin.radius=0,e.spin.acceleration*=-1),e.spin.angle+=.01*i*(1-e.spin.radius/r)}(s,t,h,o):Ai(t,i,h,d,l,o,e),function(t){const e=t.initialPosition,{dx:i,dy:s}=G(e,t.position),a=Math.abs(i),o=Math.abs(s),{maxDistance:r}=t.retina,l=r.horizontal,c=r.vertical;if(!l&&!c)return;if((l&&a>=l||c&&o>=c)&&!t.misplaced)t.misplaced=!!l&&a>l||!!c&&o>c,l&&(t.velocity.x=t.velocity.y*n-t.velocity.x),c&&(t.velocity.y=t.velocity.x*n-t.velocity.y);else if((!l||a<l)&&(!c||o<c)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){const i=t.position,s=t.velocity;l&&(i.x<e.x&&s.x<0||i.x>e.x&&s.x>0)&&(s.x*=-T()),c&&(i.y<e.y&&s.y<0||i.y>e.y&&s.y>0)&&(s.y*=-T())}}(t)}preInit(){return this.#Ee()}redrawInit(){return this.#Ee()}update(){for(const t of this.pathGenerators.values())t.update()}async#Ee(){const t=await(this.#p.getPathGenerators?.(this.#u,!0));if(t){this.availablePathGenerators=t,this.pathGenerators=new Map;for(const t of this.pathGenerators.values())t.init()}}}});t.loadAmbientPreset=wi,t.tsParticles=Le}),Object.assign(globalThis.window||globalThis,{loadAmbientPreset:(globalThis.__tsParticlesInternals.presets.ambient||{}).loadAmbientPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
-
/* Preset v4.3.
|
|
2
|
+
/* Preset v4.3.2 */
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/basic'), require('@tsparticles/engine')) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@tsparticles/engine'], factory) :
|