@tsparticles/preset-squares 4.0.2 → 4.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-squares",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "tsParticles squares preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -106,13 +106,13 @@
106
106
  "./package.json": "./package.json"
107
107
  },
108
108
  "dependencies": {
109
- "@tsparticles/engine": "4.0.2",
110
- "@tsparticles/plugin-emitters": "4.0.2",
111
- "@tsparticles/plugin-hex-color": "4.0.2",
112
- "@tsparticles/shape-square": "4.0.2",
113
- "@tsparticles/updater-paint": "4.0.2",
114
- "@tsparticles/updater-rotate": "4.0.2",
115
- "@tsparticles/updater-size": "4.0.2"
109
+ "@tsparticles/engine": "4.0.3",
110
+ "@tsparticles/plugin-emitters": "4.0.3",
111
+ "@tsparticles/plugin-hex-color": "4.0.3",
112
+ "@tsparticles/shape-square": "4.0.3",
113
+ "@tsparticles/updater-paint": "4.0.3",
114
+ "@tsparticles/updater-rotate": "4.0.3",
115
+ "@tsparticles/updater-size": "4.0.3"
116
116
  },
117
117
  "publishConfig": {
118
118
  "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.squares.bundle.js","children":[{"name":"home/workflows/workspace","children":[{"name":"engine/dist/browser","children":[{"name":"Core","children":[{"name":"Utils","children":[{"uid":"83790086-1","name":"Constants.js"},{"uid":"83790086-5","name":"Vectors.js"},{"uid":"83790086-29","name":"PluginManager.js"},{"uid":"83790086-39","name":"Ranges.js"},{"uid":"83790086-189","name":"EventListeners.js"},{"uid":"83790086-193","name":"SpatialHashGrid.js"}]},{"uid":"83790086-33","name":"Engine.js"},{"uid":"83790086-185","name":"RenderManager.js"},{"uid":"83790086-187","name":"CanvasManager.js"},{"uid":"83790086-191","name":"Particle.js"},{"uid":"83790086-195","name":"ParticlesManager.js"},{"uid":"83790086-197","name":"Retina.js"},{"uid":"83790086-199","name":"Container.js"}]},{"name":"Enums","children":[{"name":"Directions","children":[{"uid":"83790086-3","name":"MoveDirection.js"},{"uid":"83790086-17","name":"OutModeDirection.js"},{"uid":"83790086-41","name":"RotateDirection.js"}]},{"name":"Modes","children":[{"uid":"83790086-11","name":"AnimationMode.js"},{"uid":"83790086-19","name":"PixelMode.js"},{"uid":"83790086-43","name":"LimitMode.js"},{"uid":"83790086-45","name":"OutMode.js"}]},{"uid":"83790086-13","name":"AnimationStatus.js"},{"name":"Types","children":[{"uid":"83790086-15","name":"DestroyType.js"},{"uid":"83790086-21","name":"StartValueType.js"},{"uid":"83790086-27","name":"EventType.js"},{"uid":"83790086-47","name":"AlterType.js"},{"uid":"83790086-49","name":"GradientType.js"},{"uid":"83790086-51","name":"ParticleOutType.js"},{"uid":"83790086-53","name":"EasingType.js"}]},{"uid":"83790086-37","name":"RangeType.js"}]},{"name":"Utils","children":[{"uid":"83790086-7","name":"TypeUtils.js"},{"uid":"83790086-9","name":"MathUtils.js"},{"uid":"83790086-23","name":"Utils.js"},{"uid":"83790086-25","name":"EventDispatcher.js"},{"uid":"83790086-31","name":"LogUtils.js"},{"uid":"83790086-119","name":"OptionsUtils.js"},{"uid":"83790086-123","name":"CanvasUtils.js"},{"uid":"83790086-125","name":"ColorUtils.js"}]},{"uid":"83790086-35","name":"initEngine.js"},{"name":"Options/Classes","children":[{"uid":"83790086-55","name":"AnimationOptions.js"},{"uid":"83790086-57","name":"ColorAnimation.js"},{"uid":"83790086-59","name":"HslAnimation.js"},{"uid":"83790086-61","name":"OptionsColor.js"},{"uid":"83790086-63","name":"AnimatableColor.js"},{"name":"Background/Background.js","uid":"83790086-65"},{"name":"FullScreen/FullScreen.js","uid":"83790086-67"},{"uid":"83790086-69","name":"ResizeEvent.js"},{"name":"Particles","children":[{"name":"Effect/Effect.js","uid":"83790086-71"},{"uid":"83790086-73","name":"Fill.js"},{"name":"Move","children":[{"uid":"83790086-75","name":"MoveAngle.js"},{"uid":"83790086-77","name":"MoveCenter.js"},{"uid":"83790086-79","name":"MoveGravity.js"},{"name":"Path/MovePath.js","uid":"83790086-83"},{"uid":"83790086-85","name":"OutModes.js"},{"uid":"83790086-87","name":"Spin.js"},{"uid":"83790086-89","name":"Move.js"}]},{"name":"Opacity","children":[{"uid":"83790086-91","name":"OpacityAnimation.js"},{"uid":"83790086-93","name":"Opacity.js"}]},{"uid":"83790086-95","name":"Stroke.js"},{"uid":"83790086-97","name":"Paint.js"},{"name":"Bounce","children":[{"uid":"83790086-99","name":"ParticlesBounceFactor.js"},{"uid":"83790086-101","name":"ParticlesBounce.js"}]},{"name":"Number","children":[{"uid":"83790086-103","name":"ParticlesDensity.js"},{"uid":"83790086-105","name":"ParticlesNumberLimit.js"},{"uid":"83790086-107","name":"ParticlesNumber.js"}]},{"name":"Shape/Shape.js","uid":"83790086-109"},{"name":"Size","children":[{"uid":"83790086-111","name":"SizeAnimation.js"},{"uid":"83790086-113","name":"Size.js"}]},{"name":"ZIndex/ZIndex.js","uid":"83790086-115"},{"uid":"83790086-117","name":"ParticlesOptions.js"}]},{"uid":"83790086-81","name":"ValueWithRandom.js"},{"uid":"83790086-121","name":"Options.js"}]},{"uid":"83790086-127","name":"index.js"}]},{"name":"plugins","children":[{"name":"emitters/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"83790086-129","name":"EmitterLife.js"},{"uid":"83790086-131","name":"EmitterRate.js"},{"uid":"83790086-133","name":"EmitterShapeReplace.js"},{"uid":"83790086-135","name":"EmitterShape.js"},{"uid":"83790086-137","name":"EmitterSize.js"},{"uid":"83790086-139","name":"EmitterSpawn.js"},{"uid":"83790086-141","name":"Emitter.js"}]},{"uid":"83790086-143","name":"EmittersPlugin.js"},{"uid":"83790086-145","name":"addEmittersShapesManager.js"},{"uid":"83790086-147","name":"getEmittersInstancesManager.js"},{"name":"Enums/EmitterClickMode.js","uid":"83790086-149"},{"uid":"83790086-151","name":"plugin.js"},{"uid":"83790086-201","name":"EmittersPluginInstance.js"},{"uid":"83790086-203","name":"ShapeManager.js"},{"uid":"83790086-205","name":"EmittersInstancesManager.js"},{"uid":"83790086-207","name":"EmitterInstance.js"}]},{"name":"colors/hex/dist/browser","children":[{"uid":"83790086-153","name":"HexColorManager.js"},{"uid":"83790086-155","name":"index.js"}]}]},{"name":"updaters","children":[{"name":"paint/dist/browser","children":[{"uid":"83790086-157","name":"PaintUpdater.js"},{"uid":"83790086-159","name":"index.js"}]},{"name":"rotate/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"83790086-161","name":"RotateAnimation.js"},{"uid":"83790086-163","name":"Rotate.js"}]},{"uid":"83790086-165","name":"RotateUpdater.js"},{"uid":"83790086-167","name":"index.js"}]},{"name":"size/dist/browser","children":[{"uid":"83790086-169","name":"SizeUpdater.js"},{"uid":"83790086-171","name":"index.js"}]}]},{"name":"shapes/square/dist/browser","children":[{"uid":"83790086-173","name":"Utils.js"},{"uid":"83790086-175","name":"SquareDrawer.js"},{"uid":"83790086-177","name":"index.js"}]}]},{"name":"dist/browser","children":[{"uid":"83790086-179","name":"options.js"},{"uid":"83790086-181","name":"index.js"},{"uid":"83790086-183","name":"bundle.js"}]}]}],"isRoot":true},"nodeParts":{"83790086-1":{"renderedLength":1480,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-0"},"83790086-3":{"renderedLength":599,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-2"},"83790086-5":{"renderedLength":3316,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-4"},"83790086-7":{"renderedLength":469,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-6"},"83790086-9":{"renderedLength":4305,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-8"},"83790086-11":{"renderedLength":281,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-10"},"83790086-13":{"renderedLength":217,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-12"},"83790086-15":{"renderedLength":203,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-14"},"83790086-17":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-16"},"83790086-19":{"renderedLength":169,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-18"},"83790086-21":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-20"},"83790086-23":{"renderedLength":14631,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-22"},"83790086-25":{"renderedLength":1416,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-24"},"83790086-27":{"renderedLength":771,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-26"},"83790086-29":{"renderedLength":5067,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-28"},"83790086-31":{"renderedLength":538,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-30"},"83790086-33":{"renderedLength":6105,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-32"},"83790086-35":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-34"},"83790086-37":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-36"},"83790086-39":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-38"},"83790086-41":{"renderedLength":274,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-40"},"83790086-43":{"renderedLength":161,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-42"},"83790086-45":{"renderedLength":257,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-44"},"83790086-47":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-46"},"83790086-49":{"renderedLength":226,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-48"},"83790086-51":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-50"},"83790086-53":{"renderedLength":2495,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-52"},"83790086-55":{"renderedLength":1682,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-54"},"83790086-57":{"renderedLength":711,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-56"},"83790086-59":{"renderedLength":362,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-58"},"83790086-61":{"renderedLength":708,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-60"},"83790086-63":{"renderedLength":1063,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-62"},"83790086-65":{"renderedLength":1129,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-64"},"83790086-67":{"renderedLength":460,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-66"},"83790086-69":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-68"},"83790086-71":{"renderedLength":850,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-70"},"83790086-73":{"renderedLength":624,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-72"},"83790086-75":{"renderedLength":482,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-74"},"83790086-77":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-76"},"83790086-79":{"renderedLength":839,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-78"},"83790086-81":{"renderedLength":989,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-80"},"83790086-83":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-82"},"83790086-85":{"renderedLength":589,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-84"},"83790086-87":{"renderedLength":628,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-86"},"83790086-89":{"renderedLength":3024,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-88"},"83790086-91":{"renderedLength":446,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-90"},"83790086-93":{"renderedLength":501,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-92"},"83790086-95":{"renderedLength":603,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-94"},"83790086-97":{"renderedLength":598,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-96"},"83790086-99":{"renderedLength":146,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-98"},"83790086-101":{"renderedLength":420,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-100"},"83790086-103":{"renderedLength":673,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-102"},"83790086-105":{"renderedLength":467,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-104"},"83790086-107":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-106"},"83790086-109":{"renderedLength":851,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-108"},"83790086-111":{"renderedLength":443,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-110"},"83790086-113":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-112"},"83790086-115":{"renderedLength":740,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-114"},"83790086-117":{"renderedLength":5488,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-116"},"83790086-119":{"renderedLength":405,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-118"},"83790086-121":{"renderedLength":4492,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-120"},"83790086-123":{"renderedLength":4116,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-122"},"83790086-125":{"renderedLength":11751,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-124"},"83790086-127":{"renderedLength":37,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-126"},"83790086-129":{"renderedLength":689,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-128"},"83790086-131":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-130"},"83790086-133":{"renderedLength":474,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-132"},"83790086-135":{"renderedLength":600,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-134"},"83790086-137":{"renderedLength":606,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-136"},"83790086-139":{"renderedLength":427,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-138"},"83790086-141":{"renderedLength":2427,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-140"},"83790086-143":{"renderedLength":1145,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-142"},"83790086-145":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-144"},"83790086-147":{"renderedLength":656,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-146"},"83790086-149":{"renderedLength":162,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-148"},"83790086-151":{"renderedLength":367,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-150"},"83790086-153":{"renderedLength":1680,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-152"},"83790086-155":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-154"},"83790086-157":{"renderedLength":3448,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-156"},"83790086-159":{"renderedLength":325,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-158"},"83790086-161":{"renderedLength":774,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-160"},"83790086-163":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-162"},"83790086-165":{"renderedLength":2768,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-164"},"83790086-167":{"renderedLength":311,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-166"},"83790086-169":{"renderedLength":1388,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-168"},"83790086-171":{"renderedLength":305,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-170"},"83790086-173":{"renderedLength":234,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-172"},"83790086-175":{"renderedLength":174,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-174"},"83790086-177":{"renderedLength":252,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-176"},"83790086-179":{"renderedLength":1358,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-178"},"83790086-181":{"renderedLength":496,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-180"},"83790086-183":{"renderedLength":177,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-182"},"83790086-185":{"renderedLength":11692,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-184"},"83790086-187":{"renderedLength":12698,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-186"},"83790086-189":{"renderedLength":3135,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-188"},"83790086-191":{"renderedLength":18075,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-190"},"83790086-193":{"renderedLength":3896,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-192"},"83790086-195":{"renderedLength":18179,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-194"},"83790086-197":{"renderedLength":1595,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-196"},"83790086-199":{"renderedLength":13379,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-198"},"83790086-201":{"renderedLength":1502,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-200"},"83790086-203":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-202"},"83790086-205":{"renderedLength":2849,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-204"},"83790086-207":{"renderedLength":16314,"gzipLength":0,"brotliLength":0,"metaUid":"83790086-206"}},"nodeMetas":{"83790086-0":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Constants.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-1"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-32"},{"uid":"83790086-38"},{"uid":"83790086-4"},{"uid":"83790086-58"},{"uid":"83790086-122"},{"uid":"83790086-124"},{"uid":"83790086-8"},{"uid":"83790086-22"},{"uid":"83790086-24"},{"uid":"83790086-198"},{"uid":"83790086-186"},{"uid":"83790086-188"},{"uid":"83790086-194"},{"uid":"83790086-196"},{"uid":"83790086-184"},{"uid":"83790086-190"}]},"83790086-2":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/MoveDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-3"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"},{"uid":"83790086-8"},{"uid":"83790086-190"}]},"83790086-4":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Vectors.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-5"},"imported":[{"uid":"83790086-0"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-8"},{"uid":"83790086-22"},{"uid":"83790086-190"}]},"83790086-6":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/TypeUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-7"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-62"},{"uid":"83790086-54"},{"uid":"83790086-64"},{"uid":"83790086-56"},{"uid":"83790086-66"},{"uid":"83790086-58"},{"uid":"83790086-120"},{"uid":"83790086-60"},{"uid":"83790086-100"},{"uid":"83790086-116"},{"uid":"83790086-72"},{"uid":"83790086-96"},{"uid":"83790086-94"},{"uid":"83790086-88"},{"uid":"83790086-74"},{"uid":"83790086-76"},{"uid":"83790086-78"},{"uid":"83790086-84"},{"uid":"83790086-82"},{"uid":"83790086-86"},{"uid":"83790086-106"},{"uid":"83790086-104"},{"uid":"83790086-102"},{"uid":"83790086-92"},{"uid":"83790086-90"},{"uid":"83790086-108"},{"uid":"83790086-112"},{"uid":"83790086-110"},{"uid":"83790086-114"},{"uid":"83790086-68"},{"uid":"83790086-80"},{"uid":"83790086-124"},{"uid":"83790086-8"},{"uid":"83790086-22"},{"uid":"83790086-70"}]},"83790086-8":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/MathUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-9"},"imported":[{"uid":"83790086-2"},{"uid":"83790086-0"},{"uid":"83790086-4"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-32"},{"uid":"83790086-38"},{"uid":"83790086-54"},{"uid":"83790086-56"},{"uid":"83790086-120"},{"uid":"83790086-72"},{"uid":"83790086-94"},{"uid":"83790086-88"},{"uid":"83790086-74"},{"uid":"83790086-78"},{"uid":"83790086-86"},{"uid":"83790086-80"},{"uid":"83790086-124"},{"uid":"83790086-22"},{"uid":"83790086-198"},{"uid":"83790086-196"},{"uid":"83790086-190"}]},"83790086-10":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/AnimationMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-11"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-54"},{"uid":"83790086-22"}]},"83790086-12":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/AnimationStatus.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-13"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-124"},{"uid":"83790086-22"}]},"83790086-14":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/DestroyType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-15"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-90"},{"uid":"83790086-110"},{"uid":"83790086-22"}]},"83790086-16":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/OutModeDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-17"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-22"}]},"83790086-18":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/PixelMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-19"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-76"},{"uid":"83790086-22"}]},"83790086-20":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/StartValueType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-21"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-54"},{"uid":"83790086-22"}]},"83790086-22":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-23"},"imported":[{"uid":"83790086-8"},{"uid":"83790086-0"},{"uid":"83790086-6"},{"uid":"83790086-10"},{"uid":"83790086-12"},{"uid":"83790086-14"},{"uid":"83790086-16"},{"uid":"83790086-18"},{"uid":"83790086-20"},{"uid":"83790086-4"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-32"},{"uid":"83790086-120"},{"uid":"83790086-116"},{"uid":"83790086-82"},{"uid":"83790086-86"},{"uid":"83790086-108"},{"uid":"83790086-124"},{"uid":"83790086-28"},{"uid":"83790086-70"},{"uid":"83790086-186"},{"uid":"83790086-188"},{"uid":"83790086-190"}]},"83790086-24":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/EventDispatcher.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-25"},"imported":[{"uid":"83790086-0"}],"importedBy":[{"uid":"83790086-32"}]},"83790086-26":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EventType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-27"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-28"},{"uid":"83790086-198"},{"uid":"83790086-194"},{"uid":"83790086-190"}]},"83790086-28":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/PluginManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-29"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-26"}],"importedBy":[{"uid":"83790086-32"}]},"83790086-30":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/LogUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-31"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-32"},{"uid":"83790086-198"},{"uid":"83790086-194"}]},"83790086-32":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Engine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-33"},"imported":[{"uid":"83790086-0"},{"uid":"83790086-22"},{"uid":"83790086-24"},{"uid":"83790086-28"},{"uid":"83790086-30"},{"uid":"83790086-8"},{"uid":"83790086-198","dynamic":true}],"importedBy":[{"uid":"83790086-34"}]},"83790086-34":{"id":"/home/workflows/workspace/engine/dist/browser/initEngine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-35"},"imported":[{"uid":"83790086-32"}],"importedBy":[{"uid":"83790086-126"}]},"83790086-36":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/RangeType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-37"},"imported":[],"importedBy":[{"uid":"83790086-38"}]},"83790086-38":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Ranges.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-39"},"imported":[{"uid":"83790086-36"},{"uid":"83790086-8"},{"uid":"83790086-0"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-192"}]},"83790086-40":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/RotateDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-41"},"imported":[],"importedBy":[{"uid":"83790086-208"}]},"83790086-42":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/LimitMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-43"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-104"},{"uid":"83790086-194"}]},"83790086-44":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/OutMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-45"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-84"},{"uid":"83790086-190"}]},"83790086-46":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/AlterType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-47"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-124"}]},"83790086-48":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/GradientType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-49"},"imported":[],"importedBy":[{"uid":"83790086-208"}]},"83790086-50":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/ParticleOutType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-51"},"imported":[],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-190"}]},"83790086-52":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EasingType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-53"},"imported":[],"importedBy":[{"uid":"83790086-208"}]},"83790086-54":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimationOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-55"},"imported":[{"uid":"83790086-10"},{"uid":"83790086-20"},{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-56"},{"uid":"83790086-90"},{"uid":"83790086-110"},{"uid":"83790086-80"}]},"83790086-56":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ColorAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-57"},"imported":[{"uid":"83790086-54"},{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-58"}]},"83790086-58":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/HslAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-59"},"imported":[{"uid":"83790086-0"},{"uid":"83790086-56"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-62"}]},"83790086-60":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/OptionsColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-61"},"imported":[{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-62"},{"uid":"83790086-64"}]},"83790086-62":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimatableColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-63"},"imported":[{"uid":"83790086-6"},{"uid":"83790086-58"},{"uid":"83790086-60"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"},{"uid":"83790086-72"},{"uid":"83790086-96"},{"uid":"83790086-94"}]},"83790086-64":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Background/Background.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-65"},"imported":[{"uid":"83790086-60"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-120"}]},"83790086-66":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/FullScreen/FullScreen.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-67"},"imported":[{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-120"}]},"83790086-68":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ResizeEvent.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-69"},"imported":[{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-120"}]},"83790086-70":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Effect/Effect.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-71"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-116"}]},"83790086-72":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Fill.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-73"},"imported":[{"uid":"83790086-62"},{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"},{"uid":"83790086-96"}]},"83790086-74":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveAngle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-75"},"imported":[{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"}]},"83790086-76":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveCenter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-77"},"imported":[{"uid":"83790086-18"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"}]},"83790086-78":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveGravity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-79"},"imported":[{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"}]},"83790086-80":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ValueWithRandom.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-81"},"imported":[{"uid":"83790086-54"},{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-98"},{"uid":"83790086-82"},{"uid":"83790086-92"},{"uid":"83790086-112"},{"uid":"83790086-114"}]},"83790086-82":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Path/MovePath.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-83"},"imported":[{"uid":"83790086-80"},{"uid":"83790086-22"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"}]},"83790086-84":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/OutModes.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-85"},"imported":[{"uid":"83790086-44"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"}]},"83790086-86":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Spin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-87"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-88"}]},"83790086-88":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Move.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-89"},"imported":[{"uid":"83790086-2"},{"uid":"83790086-6"},{"uid":"83790086-74"},{"uid":"83790086-76"},{"uid":"83790086-78"},{"uid":"83790086-82"},{"uid":"83790086-84"},{"uid":"83790086-86"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-90":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-91"},"imported":[{"uid":"83790086-14"},{"uid":"83790086-54"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-92"}]},"83790086-92":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Opacity/Opacity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-93"},"imported":[{"uid":"83790086-90"},{"uid":"83790086-80"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-94":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Stroke.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-95"},"imported":[{"uid":"83790086-62"},{"uid":"83790086-6"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-96"}]},"83790086-96":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Paint.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-97"},"imported":[{"uid":"83790086-62"},{"uid":"83790086-72"},{"uid":"83790086-94"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-98":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-99"},"imported":[{"uid":"83790086-80"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-100"}]},"83790086-100":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-101"},"imported":[{"uid":"83790086-98"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-102":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesDensity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-103"},"imported":[{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-106"}]},"83790086-104":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-105"},"imported":[{"uid":"83790086-42"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-106"}]},"83790086-106":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumber.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-107"},"imported":[{"uid":"83790086-102"},{"uid":"83790086-104"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-108":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Shape/Shape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-109"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-110":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Size/SizeAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-111"},"imported":[{"uid":"83790086-14"},{"uid":"83790086-54"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-112"}]},"83790086-112":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Size/Size.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-113"},"imported":[{"uid":"83790086-80"},{"uid":"83790086-110"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-114":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ZIndex/ZIndex.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-115"},"imported":[{"uid":"83790086-80"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-116"}]},"83790086-116":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ParticlesOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-117"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-6"},{"uid":"83790086-62"},{"uid":"83790086-70"},{"uid":"83790086-72"},{"uid":"83790086-88"},{"uid":"83790086-92"},{"uid":"83790086-96"},{"uid":"83790086-100"},{"uid":"83790086-106"},{"uid":"83790086-108"},{"uid":"83790086-112"},{"uid":"83790086-114"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-118"}]},"83790086-118":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionsUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-119"},"imported":[{"uid":"83790086-116"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-120"},{"uid":"83790086-198"},{"uid":"83790086-194"},{"uid":"83790086-190"}]},"83790086-120":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-121"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-6"},{"uid":"83790086-64"},{"uid":"83790086-66"},{"uid":"83790086-68"},{"uid":"83790086-118"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-198"}]},"83790086-122":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/CanvasUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-123"},"imported":[{"uid":"83790086-0"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-184"}]},"83790086-124":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ColorUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-125"},"imported":[{"uid":"83790086-8"},{"uid":"83790086-0"},{"uid":"83790086-6"},{"uid":"83790086-46"},{"uid":"83790086-12"},{"uid":"83790086-22"}],"importedBy":[{"uid":"83790086-208"},{"uid":"83790086-186"},{"uid":"83790086-184"},{"uid":"83790086-190"}]},"83790086-126":{"id":"/home/workflows/workspace/engine/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-127"},"imported":[{"uid":"83790086-34"},{"uid":"83790086-208"}],"importedBy":[{"uid":"83790086-182"},{"uid":"83790086-178"},{"uid":"83790086-142"},{"uid":"83790086-156"},{"uid":"83790086-164"},{"uid":"83790086-168"},{"uid":"83790086-140"},{"uid":"83790086-200"},{"uid":"83790086-204"},{"uid":"83790086-162"},{"uid":"83790086-172"},{"uid":"83790086-128"},{"uid":"83790086-130"},{"uid":"83790086-134"},{"uid":"83790086-136"},{"uid":"83790086-138"},{"uid":"83790086-206"},{"uid":"83790086-160"},{"uid":"83790086-132"}]},"83790086-128":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterLife.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-129"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-140"}]},"83790086-130":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterRate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-131"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-140"}]},"83790086-132":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-133"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-134"}]},"83790086-134":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-135"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-132"}],"importedBy":[{"uid":"83790086-140"}]},"83790086-136":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSize.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-137"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-140"},{"uid":"83790086-206"}]},"83790086-138":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSpawn.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-139"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-140"}]},"83790086-140":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/Emitter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-141"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-128"},{"uid":"83790086-130"},{"uid":"83790086-134"},{"uid":"83790086-136"},{"uid":"83790086-138"}],"importedBy":[{"uid":"83790086-142"},{"uid":"83790086-204"},{"uid":"83790086-206"}]},"83790086-142":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPlugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-143"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-140"},{"uid":"83790086-200","dynamic":true}],"importedBy":[{"uid":"83790086-150"}]},"83790086-144":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/addEmittersShapesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-145"},"imported":[{"uid":"83790086-202","dynamic":true}],"importedBy":[{"uid":"83790086-150"}]},"83790086-146":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/getEmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-147"},"imported":[{"uid":"83790086-204","dynamic":true}],"importedBy":[{"uid":"83790086-150"}]},"83790086-148":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Enums/EmitterClickMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-149"},"imported":[],"importedBy":[{"uid":"83790086-150"}]},"83790086-150":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/plugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-151"},"imported":[{"uid":"83790086-142"},{"uid":"83790086-144"},{"uid":"83790086-146"},{"uid":"83790086-209"},{"uid":"83790086-148"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-152":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/HexColorManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-153"},"imported":[],"importedBy":[{"uid":"83790086-154"}]},"83790086-154":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-155"},"imported":[{"uid":"83790086-152"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-156":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/PaintUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-157"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-158"}]},"83790086-158":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-159"},"imported":[{"uid":"83790086-156"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-160":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/RotateAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-161"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-162"}]},"83790086-162":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/Rotate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-163"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-160"}],"importedBy":[{"uid":"83790086-164"}]},"83790086-164":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/RotateUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-165"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-162"}],"importedBy":[{"uid":"83790086-166"}]},"83790086-166":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-167"},"imported":[{"uid":"83790086-164"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-168":{"id":"/home/workflows/workspace/updaters/size/dist/browser/SizeUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-169"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-170"}]},"83790086-170":{"id":"/home/workflows/workspace/updaters/size/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-171"},"imported":[{"uid":"83790086-168"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-172":{"id":"/home/workflows/workspace/shapes/square/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-173"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-174"}]},"83790086-174":{"id":"/home/workflows/workspace/shapes/square/dist/browser/SquareDrawer.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-175"},"imported":[{"uid":"83790086-172"}],"importedBy":[{"uid":"83790086-176"}]},"83790086-176":{"id":"/home/workflows/workspace/shapes/square/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-177"},"imported":[{"uid":"83790086-174"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-178":{"id":"/dist/browser/options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-179"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-180"}]},"83790086-180":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-181"},"imported":[{"uid":"83790086-150"},{"uid":"83790086-154"},{"uid":"83790086-158"},{"uid":"83790086-166"},{"uid":"83790086-170"},{"uid":"83790086-176"},{"uid":"83790086-178"}],"importedBy":[{"uid":"83790086-182"}]},"83790086-182":{"id":"/dist/browser/bundle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-183"},"imported":[{"uid":"83790086-180"},{"uid":"83790086-126"}],"importedBy":[],"isEntry":true},"83790086-184":{"id":"/home/workflows/workspace/engine/dist/browser/Core/RenderManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-185"},"imported":[{"uid":"83790086-122"},{"uid":"83790086-0"},{"uid":"83790086-124"}],"importedBy":[{"uid":"83790086-186"}]},"83790086-186":{"id":"/home/workflows/workspace/engine/dist/browser/Core/CanvasManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-187"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-0"},{"uid":"83790086-124"},{"uid":"83790086-184"}],"importedBy":[{"uid":"83790086-198"}]},"83790086-188":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/EventListeners.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-189"},"imported":[{"uid":"83790086-22"},{"uid":"83790086-0"}],"importedBy":[{"uid":"83790086-198"}]},"83790086-190":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Particle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-191"},"imported":[{"uid":"83790086-4"},{"uid":"83790086-124"},{"uid":"83790086-8"},{"uid":"83790086-22"},{"uid":"83790086-0"},{"uid":"83790086-26"},{"uid":"83790086-2"},{"uid":"83790086-44"},{"uid":"83790086-50"},{"uid":"83790086-118"}],"importedBy":[{"uid":"83790086-194"}]},"83790086-192":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/SpatialHashGrid.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-193"},"imported":[{"uid":"83790086-38"}],"importedBy":[{"uid":"83790086-194"}]},"83790086-194":{"id":"/home/workflows/workspace/engine/dist/browser/Core/ParticlesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-195"},"imported":[{"uid":"83790086-0"},{"uid":"83790086-26"},{"uid":"83790086-42"},{"uid":"83790086-190"},{"uid":"83790086-192"},{"uid":"83790086-30"},{"uid":"83790086-118"}],"importedBy":[{"uid":"83790086-198"}]},"83790086-196":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Retina.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-197"},"imported":[{"uid":"83790086-0"},{"uid":"83790086-8"}],"importedBy":[{"uid":"83790086-198"}]},"83790086-198":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Container.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-199"},"imported":[{"uid":"83790086-8"},{"uid":"83790086-0"},{"uid":"83790086-186"},{"uid":"83790086-188"},{"uid":"83790086-26"},{"uid":"83790086-120"},{"uid":"83790086-194"},{"uid":"83790086-196"},{"uid":"83790086-30"},{"uid":"83790086-118"}],"importedBy":[{"uid":"83790086-32"}]},"83790086-200":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPluginInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-201"},"imported":[{"uid":"83790086-126"}],"importedBy":[{"uid":"83790086-142"}]},"83790086-202":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/ShapeManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-203"},"imported":[],"importedBy":[{"uid":"83790086-144"}]},"83790086-204":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-205"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-140"},{"uid":"83790086-206","dynamic":true}],"importedBy":[{"uid":"83790086-146"}]},"83790086-206":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"83790086-207"},"imported":[{"uid":"83790086-126"},{"uid":"83790086-140"},{"uid":"83790086-136"}],"importedBy":[{"uid":"83790086-204"}]},"83790086-208":{"id":"/home/workflows/workspace/engine/dist/browser/exports.js","moduleParts":{},"imported":[{"uid":"83790086-0"},{"uid":"83790086-38"},{"uid":"83790086-4"},{"uid":"83790086-2"},{"uid":"83790086-40"},{"uid":"83790086-16"},{"uid":"83790086-10"},{"uid":"83790086-42"},{"uid":"83790086-44"},{"uid":"83790086-18"},{"uid":"83790086-46"},{"uid":"83790086-14"},{"uid":"83790086-48"},{"uid":"83790086-50"},{"uid":"83790086-20"},{"uid":"83790086-52"},{"uid":"83790086-26"},{"uid":"83790086-12"},{"uid":"83790086-62"},{"uid":"83790086-54"},{"uid":"83790086-64"},{"uid":"83790086-56"},{"uid":"83790086-66"},{"uid":"83790086-58"},{"uid":"83790086-120"},{"uid":"83790086-60"},{"uid":"83790086-100"},{"uid":"83790086-98"},{"uid":"83790086-116"},{"uid":"83790086-72"},{"uid":"83790086-96"},{"uid":"83790086-94"},{"uid":"83790086-88"},{"uid":"83790086-74"},{"uid":"83790086-76"},{"uid":"83790086-78"},{"uid":"83790086-84"},{"uid":"83790086-82"},{"uid":"83790086-86"},{"uid":"83790086-106"},{"uid":"83790086-104"},{"uid":"83790086-102"},{"uid":"83790086-92"},{"uid":"83790086-90"},{"uid":"83790086-108"},{"uid":"83790086-112"},{"uid":"83790086-110"},{"uid":"83790086-114"},{"uid":"83790086-68"},{"uid":"83790086-80"},{"uid":"83790086-122"},{"uid":"83790086-124"},{"uid":"83790086-30"},{"uid":"83790086-8"},{"uid":"83790086-118"},{"uid":"83790086-22"},{"uid":"83790086-6"}],"importedBy":[{"uid":"83790086-126"}]},"83790086-209":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterShapeBase.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"83790086-150"}]}},"env":{"rollup":"4.60.3"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
4933
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.preset.squares.bundle.js","children":[{"name":"home/workflows/workspace","children":[{"name":"engine/dist/browser","children":[{"name":"Core","children":[{"name":"Utils","children":[{"uid":"cec46641-1","name":"Constants.js"},{"uid":"cec46641-5","name":"Vectors.js"},{"uid":"cec46641-29","name":"PluginManager.js"},{"uid":"cec46641-39","name":"Ranges.js"},{"uid":"cec46641-189","name":"EventListeners.js"},{"uid":"cec46641-193","name":"SpatialHashGrid.js"}]},{"uid":"cec46641-33","name":"Engine.js"},{"uid":"cec46641-185","name":"RenderManager.js"},{"uid":"cec46641-187","name":"CanvasManager.js"},{"uid":"cec46641-191","name":"Particle.js"},{"uid":"cec46641-195","name":"ParticlesManager.js"},{"uid":"cec46641-197","name":"Retina.js"},{"uid":"cec46641-199","name":"Container.js"}]},{"name":"Enums","children":[{"name":"Directions","children":[{"uid":"cec46641-3","name":"MoveDirection.js"},{"uid":"cec46641-17","name":"OutModeDirection.js"},{"uid":"cec46641-41","name":"RotateDirection.js"}]},{"name":"Modes","children":[{"uid":"cec46641-11","name":"AnimationMode.js"},{"uid":"cec46641-19","name":"PixelMode.js"},{"uid":"cec46641-43","name":"LimitMode.js"},{"uid":"cec46641-45","name":"OutMode.js"}]},{"uid":"cec46641-13","name":"AnimationStatus.js"},{"name":"Types","children":[{"uid":"cec46641-15","name":"DestroyType.js"},{"uid":"cec46641-21","name":"StartValueType.js"},{"uid":"cec46641-27","name":"EventType.js"},{"uid":"cec46641-47","name":"AlterType.js"},{"uid":"cec46641-49","name":"GradientType.js"},{"uid":"cec46641-51","name":"ParticleOutType.js"},{"uid":"cec46641-53","name":"EasingType.js"}]},{"uid":"cec46641-37","name":"RangeType.js"}]},{"name":"Utils","children":[{"uid":"cec46641-7","name":"TypeUtils.js"},{"uid":"cec46641-9","name":"MathUtils.js"},{"uid":"cec46641-23","name":"Utils.js"},{"uid":"cec46641-25","name":"EventDispatcher.js"},{"uid":"cec46641-31","name":"LogUtils.js"},{"uid":"cec46641-119","name":"OptionsUtils.js"},{"uid":"cec46641-123","name":"CanvasUtils.js"},{"uid":"cec46641-125","name":"ColorUtils.js"}]},{"uid":"cec46641-35","name":"initEngine.js"},{"name":"Options/Classes","children":[{"uid":"cec46641-55","name":"AnimationOptions.js"},{"uid":"cec46641-57","name":"ColorAnimation.js"},{"uid":"cec46641-59","name":"HslAnimation.js"},{"uid":"cec46641-61","name":"OptionsColor.js"},{"uid":"cec46641-63","name":"AnimatableColor.js"},{"name":"Background/Background.js","uid":"cec46641-65"},{"name":"FullScreen/FullScreen.js","uid":"cec46641-67"},{"uid":"cec46641-69","name":"ResizeEvent.js"},{"name":"Particles","children":[{"name":"Effect/Effect.js","uid":"cec46641-71"},{"uid":"cec46641-73","name":"Fill.js"},{"name":"Move","children":[{"uid":"cec46641-75","name":"MoveAngle.js"},{"uid":"cec46641-77","name":"MoveCenter.js"},{"uid":"cec46641-79","name":"MoveGravity.js"},{"name":"Path/MovePath.js","uid":"cec46641-83"},{"uid":"cec46641-85","name":"OutModes.js"},{"uid":"cec46641-87","name":"Spin.js"},{"uid":"cec46641-89","name":"Move.js"}]},{"name":"Opacity","children":[{"uid":"cec46641-91","name":"OpacityAnimation.js"},{"uid":"cec46641-93","name":"Opacity.js"}]},{"uid":"cec46641-95","name":"Stroke.js"},{"uid":"cec46641-97","name":"Paint.js"},{"name":"Bounce","children":[{"uid":"cec46641-99","name":"ParticlesBounceFactor.js"},{"uid":"cec46641-101","name":"ParticlesBounce.js"}]},{"name":"Number","children":[{"uid":"cec46641-103","name":"ParticlesDensity.js"},{"uid":"cec46641-105","name":"ParticlesNumberLimit.js"},{"uid":"cec46641-107","name":"ParticlesNumber.js"}]},{"name":"Shape/Shape.js","uid":"cec46641-109"},{"name":"Size","children":[{"uid":"cec46641-111","name":"SizeAnimation.js"},{"uid":"cec46641-113","name":"Size.js"}]},{"name":"ZIndex/ZIndex.js","uid":"cec46641-115"},{"uid":"cec46641-117","name":"ParticlesOptions.js"}]},{"uid":"cec46641-81","name":"ValueWithRandom.js"},{"uid":"cec46641-121","name":"Options.js"}]},{"uid":"cec46641-127","name":"index.js"}]},{"name":"plugins","children":[{"name":"emitters/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"cec46641-129","name":"EmitterLife.js"},{"uid":"cec46641-131","name":"EmitterRate.js"},{"uid":"cec46641-133","name":"EmitterShapeReplace.js"},{"uid":"cec46641-135","name":"EmitterShape.js"},{"uid":"cec46641-137","name":"EmitterSize.js"},{"uid":"cec46641-139","name":"EmitterSpawn.js"},{"uid":"cec46641-141","name":"Emitter.js"}]},{"uid":"cec46641-143","name":"EmittersPlugin.js"},{"uid":"cec46641-145","name":"addEmittersShapesManager.js"},{"uid":"cec46641-147","name":"getEmittersInstancesManager.js"},{"name":"Enums/EmitterClickMode.js","uid":"cec46641-149"},{"uid":"cec46641-151","name":"plugin.js"},{"uid":"cec46641-201","name":"EmittersPluginInstance.js"},{"uid":"cec46641-203","name":"ShapeManager.js"},{"uid":"cec46641-205","name":"EmittersInstancesManager.js"},{"uid":"cec46641-207","name":"EmitterInstance.js"}]},{"name":"colors/hex/dist/browser","children":[{"uid":"cec46641-153","name":"HexColorManager.js"},{"uid":"cec46641-155","name":"index.js"}]}]},{"name":"updaters","children":[{"name":"paint/dist/browser","children":[{"uid":"cec46641-157","name":"PaintUpdater.js"},{"uid":"cec46641-159","name":"index.js"}]},{"name":"rotate/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"cec46641-161","name":"RotateAnimation.js"},{"uid":"cec46641-163","name":"Rotate.js"}]},{"uid":"cec46641-165","name":"RotateUpdater.js"},{"uid":"cec46641-167","name":"index.js"}]},{"name":"size/dist/browser","children":[{"uid":"cec46641-169","name":"SizeUpdater.js"},{"uid":"cec46641-171","name":"index.js"}]}]},{"name":"shapes/square/dist/browser","children":[{"uid":"cec46641-173","name":"Utils.js"},{"uid":"cec46641-175","name":"SquareDrawer.js"},{"uid":"cec46641-177","name":"index.js"}]}]},{"name":"dist/browser","children":[{"uid":"cec46641-179","name":"options.js"},{"uid":"cec46641-181","name":"index.js"},{"uid":"cec46641-183","name":"bundle.js"}]}]}],"isRoot":true},"nodeParts":{"cec46641-1":{"renderedLength":1480,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-0"},"cec46641-3":{"renderedLength":599,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-2"},"cec46641-5":{"renderedLength":3316,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-4"},"cec46641-7":{"renderedLength":469,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-6"},"cec46641-9":{"renderedLength":4305,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-8"},"cec46641-11":{"renderedLength":281,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-10"},"cec46641-13":{"renderedLength":217,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-12"},"cec46641-15":{"renderedLength":203,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-14"},"cec46641-17":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-16"},"cec46641-19":{"renderedLength":169,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-18"},"cec46641-21":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-20"},"cec46641-23":{"renderedLength":14631,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-22"},"cec46641-25":{"renderedLength":1416,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-24"},"cec46641-27":{"renderedLength":771,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-26"},"cec46641-29":{"renderedLength":5067,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-28"},"cec46641-31":{"renderedLength":538,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-30"},"cec46641-33":{"renderedLength":6105,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-32"},"cec46641-35":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-34"},"cec46641-37":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-36"},"cec46641-39":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-38"},"cec46641-41":{"renderedLength":274,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-40"},"cec46641-43":{"renderedLength":161,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-42"},"cec46641-45":{"renderedLength":257,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-44"},"cec46641-47":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-46"},"cec46641-49":{"renderedLength":226,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-48"},"cec46641-51":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-50"},"cec46641-53":{"renderedLength":2495,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-52"},"cec46641-55":{"renderedLength":1682,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-54"},"cec46641-57":{"renderedLength":711,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-56"},"cec46641-59":{"renderedLength":362,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-58"},"cec46641-61":{"renderedLength":708,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-60"},"cec46641-63":{"renderedLength":1063,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-62"},"cec46641-65":{"renderedLength":1129,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-64"},"cec46641-67":{"renderedLength":460,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-66"},"cec46641-69":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-68"},"cec46641-71":{"renderedLength":850,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-70"},"cec46641-73":{"renderedLength":624,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-72"},"cec46641-75":{"renderedLength":482,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-74"},"cec46641-77":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-76"},"cec46641-79":{"renderedLength":839,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-78"},"cec46641-81":{"renderedLength":989,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-80"},"cec46641-83":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-82"},"cec46641-85":{"renderedLength":589,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-84"},"cec46641-87":{"renderedLength":628,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-86"},"cec46641-89":{"renderedLength":3024,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-88"},"cec46641-91":{"renderedLength":446,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-90"},"cec46641-93":{"renderedLength":501,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-92"},"cec46641-95":{"renderedLength":603,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-94"},"cec46641-97":{"renderedLength":598,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-96"},"cec46641-99":{"renderedLength":146,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-98"},"cec46641-101":{"renderedLength":420,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-100"},"cec46641-103":{"renderedLength":673,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-102"},"cec46641-105":{"renderedLength":467,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-104"},"cec46641-107":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-106"},"cec46641-109":{"renderedLength":851,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-108"},"cec46641-111":{"renderedLength":443,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-110"},"cec46641-113":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-112"},"cec46641-115":{"renderedLength":740,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-114"},"cec46641-117":{"renderedLength":5488,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-116"},"cec46641-119":{"renderedLength":405,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-118"},"cec46641-121":{"renderedLength":4492,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-120"},"cec46641-123":{"renderedLength":4116,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-122"},"cec46641-125":{"renderedLength":11751,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-124"},"cec46641-127":{"renderedLength":37,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-126"},"cec46641-129":{"renderedLength":689,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-128"},"cec46641-131":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-130"},"cec46641-133":{"renderedLength":474,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-132"},"cec46641-135":{"renderedLength":600,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-134"},"cec46641-137":{"renderedLength":606,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-136"},"cec46641-139":{"renderedLength":427,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-138"},"cec46641-141":{"renderedLength":2427,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-140"},"cec46641-143":{"renderedLength":1145,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-142"},"cec46641-145":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-144"},"cec46641-147":{"renderedLength":656,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-146"},"cec46641-149":{"renderedLength":162,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-148"},"cec46641-151":{"renderedLength":367,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-150"},"cec46641-153":{"renderedLength":1680,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-152"},"cec46641-155":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-154"},"cec46641-157":{"renderedLength":3448,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-156"},"cec46641-159":{"renderedLength":325,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-158"},"cec46641-161":{"renderedLength":774,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-160"},"cec46641-163":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-162"},"cec46641-165":{"renderedLength":2768,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-164"},"cec46641-167":{"renderedLength":311,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-166"},"cec46641-169":{"renderedLength":1388,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-168"},"cec46641-171":{"renderedLength":305,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-170"},"cec46641-173":{"renderedLength":234,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-172"},"cec46641-175":{"renderedLength":174,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-174"},"cec46641-177":{"renderedLength":252,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-176"},"cec46641-179":{"renderedLength":1358,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-178"},"cec46641-181":{"renderedLength":496,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-180"},"cec46641-183":{"renderedLength":177,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-182"},"cec46641-185":{"renderedLength":11692,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-184"},"cec46641-187":{"renderedLength":12698,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-186"},"cec46641-189":{"renderedLength":3135,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-188"},"cec46641-191":{"renderedLength":18075,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-190"},"cec46641-193":{"renderedLength":3896,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-192"},"cec46641-195":{"renderedLength":18179,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-194"},"cec46641-197":{"renderedLength":1595,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-196"},"cec46641-199":{"renderedLength":13379,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-198"},"cec46641-201":{"renderedLength":1502,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-200"},"cec46641-203":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-202"},"cec46641-205":{"renderedLength":2849,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-204"},"cec46641-207":{"renderedLength":16314,"gzipLength":0,"brotliLength":0,"metaUid":"cec46641-206"}},"nodeMetas":{"cec46641-0":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Constants.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-1"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-32"},{"uid":"cec46641-38"},{"uid":"cec46641-4"},{"uid":"cec46641-58"},{"uid":"cec46641-122"},{"uid":"cec46641-124"},{"uid":"cec46641-8"},{"uid":"cec46641-22"},{"uid":"cec46641-24"},{"uid":"cec46641-198"},{"uid":"cec46641-186"},{"uid":"cec46641-188"},{"uid":"cec46641-194"},{"uid":"cec46641-196"},{"uid":"cec46641-184"},{"uid":"cec46641-190"}]},"cec46641-2":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/MoveDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-3"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"},{"uid":"cec46641-8"},{"uid":"cec46641-190"}]},"cec46641-4":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Vectors.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-5"},"imported":[{"uid":"cec46641-0"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-8"},{"uid":"cec46641-22"},{"uid":"cec46641-190"}]},"cec46641-6":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/TypeUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-7"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-62"},{"uid":"cec46641-54"},{"uid":"cec46641-64"},{"uid":"cec46641-56"},{"uid":"cec46641-66"},{"uid":"cec46641-58"},{"uid":"cec46641-120"},{"uid":"cec46641-60"},{"uid":"cec46641-100"},{"uid":"cec46641-116"},{"uid":"cec46641-72"},{"uid":"cec46641-96"},{"uid":"cec46641-94"},{"uid":"cec46641-88"},{"uid":"cec46641-74"},{"uid":"cec46641-76"},{"uid":"cec46641-78"},{"uid":"cec46641-84"},{"uid":"cec46641-82"},{"uid":"cec46641-86"},{"uid":"cec46641-106"},{"uid":"cec46641-104"},{"uid":"cec46641-102"},{"uid":"cec46641-92"},{"uid":"cec46641-90"},{"uid":"cec46641-108"},{"uid":"cec46641-112"},{"uid":"cec46641-110"},{"uid":"cec46641-114"},{"uid":"cec46641-68"},{"uid":"cec46641-80"},{"uid":"cec46641-124"},{"uid":"cec46641-8"},{"uid":"cec46641-22"},{"uid":"cec46641-70"}]},"cec46641-8":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/MathUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-9"},"imported":[{"uid":"cec46641-2"},{"uid":"cec46641-0"},{"uid":"cec46641-4"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-32"},{"uid":"cec46641-38"},{"uid":"cec46641-54"},{"uid":"cec46641-56"},{"uid":"cec46641-120"},{"uid":"cec46641-72"},{"uid":"cec46641-94"},{"uid":"cec46641-88"},{"uid":"cec46641-74"},{"uid":"cec46641-78"},{"uid":"cec46641-86"},{"uid":"cec46641-80"},{"uid":"cec46641-124"},{"uid":"cec46641-22"},{"uid":"cec46641-198"},{"uid":"cec46641-196"},{"uid":"cec46641-190"}]},"cec46641-10":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/AnimationMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-11"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-54"},{"uid":"cec46641-22"}]},"cec46641-12":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/AnimationStatus.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-13"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-124"},{"uid":"cec46641-22"}]},"cec46641-14":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/DestroyType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-15"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-90"},{"uid":"cec46641-110"},{"uid":"cec46641-22"}]},"cec46641-16":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/OutModeDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-17"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-22"}]},"cec46641-18":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/PixelMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-19"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-76"},{"uid":"cec46641-22"}]},"cec46641-20":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/StartValueType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-21"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-54"},{"uid":"cec46641-22"}]},"cec46641-22":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-23"},"imported":[{"uid":"cec46641-8"},{"uid":"cec46641-0"},{"uid":"cec46641-6"},{"uid":"cec46641-10"},{"uid":"cec46641-12"},{"uid":"cec46641-14"},{"uid":"cec46641-16"},{"uid":"cec46641-18"},{"uid":"cec46641-20"},{"uid":"cec46641-4"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-32"},{"uid":"cec46641-120"},{"uid":"cec46641-116"},{"uid":"cec46641-82"},{"uid":"cec46641-86"},{"uid":"cec46641-108"},{"uid":"cec46641-124"},{"uid":"cec46641-28"},{"uid":"cec46641-70"},{"uid":"cec46641-186"},{"uid":"cec46641-188"},{"uid":"cec46641-190"}]},"cec46641-24":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/EventDispatcher.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-25"},"imported":[{"uid":"cec46641-0"}],"importedBy":[{"uid":"cec46641-32"}]},"cec46641-26":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EventType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-27"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-28"},{"uid":"cec46641-198"},{"uid":"cec46641-194"},{"uid":"cec46641-190"}]},"cec46641-28":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/PluginManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-29"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-26"}],"importedBy":[{"uid":"cec46641-32"}]},"cec46641-30":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/LogUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-31"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-32"},{"uid":"cec46641-198"},{"uid":"cec46641-194"}]},"cec46641-32":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Engine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-33"},"imported":[{"uid":"cec46641-0"},{"uid":"cec46641-22"},{"uid":"cec46641-24"},{"uid":"cec46641-28"},{"uid":"cec46641-30"},{"uid":"cec46641-8"},{"uid":"cec46641-198","dynamic":true}],"importedBy":[{"uid":"cec46641-34"}]},"cec46641-34":{"id":"/home/workflows/workspace/engine/dist/browser/initEngine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-35"},"imported":[{"uid":"cec46641-32"}],"importedBy":[{"uid":"cec46641-126"}]},"cec46641-36":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/RangeType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-37"},"imported":[],"importedBy":[{"uid":"cec46641-38"}]},"cec46641-38":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Ranges.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-39"},"imported":[{"uid":"cec46641-36"},{"uid":"cec46641-8"},{"uid":"cec46641-0"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-192"}]},"cec46641-40":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/RotateDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-41"},"imported":[],"importedBy":[{"uid":"cec46641-208"}]},"cec46641-42":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/LimitMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-43"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-104"},{"uid":"cec46641-194"}]},"cec46641-44":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/OutMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-45"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-84"},{"uid":"cec46641-190"}]},"cec46641-46":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/AlterType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-47"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-124"}]},"cec46641-48":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/GradientType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-49"},"imported":[],"importedBy":[{"uid":"cec46641-208"}]},"cec46641-50":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/ParticleOutType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-51"},"imported":[],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-190"}]},"cec46641-52":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EasingType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-53"},"imported":[],"importedBy":[{"uid":"cec46641-208"}]},"cec46641-54":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimationOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-55"},"imported":[{"uid":"cec46641-10"},{"uid":"cec46641-20"},{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-56"},{"uid":"cec46641-90"},{"uid":"cec46641-110"},{"uid":"cec46641-80"}]},"cec46641-56":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ColorAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-57"},"imported":[{"uid":"cec46641-54"},{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-58"}]},"cec46641-58":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/HslAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-59"},"imported":[{"uid":"cec46641-0"},{"uid":"cec46641-56"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-62"}]},"cec46641-60":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/OptionsColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-61"},"imported":[{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-62"},{"uid":"cec46641-64"}]},"cec46641-62":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimatableColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-63"},"imported":[{"uid":"cec46641-6"},{"uid":"cec46641-58"},{"uid":"cec46641-60"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"},{"uid":"cec46641-72"},{"uid":"cec46641-96"},{"uid":"cec46641-94"}]},"cec46641-64":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Background/Background.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-65"},"imported":[{"uid":"cec46641-60"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-120"}]},"cec46641-66":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/FullScreen/FullScreen.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-67"},"imported":[{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-120"}]},"cec46641-68":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ResizeEvent.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-69"},"imported":[{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-120"}]},"cec46641-70":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Effect/Effect.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-71"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-116"}]},"cec46641-72":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Fill.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-73"},"imported":[{"uid":"cec46641-62"},{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"},{"uid":"cec46641-96"}]},"cec46641-74":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveAngle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-75"},"imported":[{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"}]},"cec46641-76":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveCenter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-77"},"imported":[{"uid":"cec46641-18"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"}]},"cec46641-78":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveGravity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-79"},"imported":[{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"}]},"cec46641-80":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ValueWithRandom.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-81"},"imported":[{"uid":"cec46641-54"},{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-98"},{"uid":"cec46641-82"},{"uid":"cec46641-92"},{"uid":"cec46641-112"},{"uid":"cec46641-114"}]},"cec46641-82":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Path/MovePath.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-83"},"imported":[{"uid":"cec46641-80"},{"uid":"cec46641-22"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"}]},"cec46641-84":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/OutModes.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-85"},"imported":[{"uid":"cec46641-44"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"}]},"cec46641-86":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Spin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-87"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-88"}]},"cec46641-88":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Move.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-89"},"imported":[{"uid":"cec46641-2"},{"uid":"cec46641-6"},{"uid":"cec46641-74"},{"uid":"cec46641-76"},{"uid":"cec46641-78"},{"uid":"cec46641-82"},{"uid":"cec46641-84"},{"uid":"cec46641-86"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-90":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-91"},"imported":[{"uid":"cec46641-14"},{"uid":"cec46641-54"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-92"}]},"cec46641-92":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Opacity/Opacity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-93"},"imported":[{"uid":"cec46641-90"},{"uid":"cec46641-80"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-94":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Stroke.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-95"},"imported":[{"uid":"cec46641-62"},{"uid":"cec46641-6"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-96"}]},"cec46641-96":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Paint.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-97"},"imported":[{"uid":"cec46641-62"},{"uid":"cec46641-72"},{"uid":"cec46641-94"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-98":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-99"},"imported":[{"uid":"cec46641-80"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-100"}]},"cec46641-100":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-101"},"imported":[{"uid":"cec46641-98"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-102":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesDensity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-103"},"imported":[{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-106"}]},"cec46641-104":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-105"},"imported":[{"uid":"cec46641-42"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-106"}]},"cec46641-106":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumber.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-107"},"imported":[{"uid":"cec46641-102"},{"uid":"cec46641-104"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-108":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Shape/Shape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-109"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-110":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Size/SizeAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-111"},"imported":[{"uid":"cec46641-14"},{"uid":"cec46641-54"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-112"}]},"cec46641-112":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Size/Size.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-113"},"imported":[{"uid":"cec46641-80"},{"uid":"cec46641-110"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-114":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ZIndex/ZIndex.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-115"},"imported":[{"uid":"cec46641-80"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-116"}]},"cec46641-116":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ParticlesOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-117"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-6"},{"uid":"cec46641-62"},{"uid":"cec46641-70"},{"uid":"cec46641-72"},{"uid":"cec46641-88"},{"uid":"cec46641-92"},{"uid":"cec46641-96"},{"uid":"cec46641-100"},{"uid":"cec46641-106"},{"uid":"cec46641-108"},{"uid":"cec46641-112"},{"uid":"cec46641-114"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-118"}]},"cec46641-118":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionsUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-119"},"imported":[{"uid":"cec46641-116"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-120"},{"uid":"cec46641-198"},{"uid":"cec46641-194"},{"uid":"cec46641-190"}]},"cec46641-120":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-121"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-6"},{"uid":"cec46641-64"},{"uid":"cec46641-66"},{"uid":"cec46641-68"},{"uid":"cec46641-118"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-198"}]},"cec46641-122":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/CanvasUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-123"},"imported":[{"uid":"cec46641-0"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-184"}]},"cec46641-124":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ColorUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-125"},"imported":[{"uid":"cec46641-8"},{"uid":"cec46641-0"},{"uid":"cec46641-6"},{"uid":"cec46641-46"},{"uid":"cec46641-12"},{"uid":"cec46641-22"}],"importedBy":[{"uid":"cec46641-208"},{"uid":"cec46641-186"},{"uid":"cec46641-184"},{"uid":"cec46641-190"}]},"cec46641-126":{"id":"/home/workflows/workspace/engine/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-127"},"imported":[{"uid":"cec46641-34"},{"uid":"cec46641-208"}],"importedBy":[{"uid":"cec46641-182"},{"uid":"cec46641-178"},{"uid":"cec46641-142"},{"uid":"cec46641-156"},{"uid":"cec46641-164"},{"uid":"cec46641-168"},{"uid":"cec46641-140"},{"uid":"cec46641-200"},{"uid":"cec46641-204"},{"uid":"cec46641-162"},{"uid":"cec46641-172"},{"uid":"cec46641-128"},{"uid":"cec46641-130"},{"uid":"cec46641-134"},{"uid":"cec46641-136"},{"uid":"cec46641-138"},{"uid":"cec46641-206"},{"uid":"cec46641-160"},{"uid":"cec46641-132"}]},"cec46641-128":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterLife.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-129"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-140"}]},"cec46641-130":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterRate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-131"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-140"}]},"cec46641-132":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-133"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-134"}]},"cec46641-134":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-135"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-132"}],"importedBy":[{"uid":"cec46641-140"}]},"cec46641-136":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSize.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-137"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-140"},{"uid":"cec46641-206"}]},"cec46641-138":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSpawn.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-139"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-140"}]},"cec46641-140":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/Emitter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-141"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-128"},{"uid":"cec46641-130"},{"uid":"cec46641-134"},{"uid":"cec46641-136"},{"uid":"cec46641-138"}],"importedBy":[{"uid":"cec46641-142"},{"uid":"cec46641-204"},{"uid":"cec46641-206"}]},"cec46641-142":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPlugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-143"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-140"},{"uid":"cec46641-200","dynamic":true}],"importedBy":[{"uid":"cec46641-150"}]},"cec46641-144":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/addEmittersShapesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-145"},"imported":[{"uid":"cec46641-202","dynamic":true}],"importedBy":[{"uid":"cec46641-150"}]},"cec46641-146":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/getEmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-147"},"imported":[{"uid":"cec46641-204","dynamic":true}],"importedBy":[{"uid":"cec46641-150"}]},"cec46641-148":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Enums/EmitterClickMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-149"},"imported":[],"importedBy":[{"uid":"cec46641-150"}]},"cec46641-150":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/plugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-151"},"imported":[{"uid":"cec46641-142"},{"uid":"cec46641-144"},{"uid":"cec46641-146"},{"uid":"cec46641-209"},{"uid":"cec46641-148"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-152":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/HexColorManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-153"},"imported":[],"importedBy":[{"uid":"cec46641-154"}]},"cec46641-154":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-155"},"imported":[{"uid":"cec46641-152"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-156":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/PaintUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-157"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-158"}]},"cec46641-158":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-159"},"imported":[{"uid":"cec46641-156"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-160":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/RotateAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-161"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-162"}]},"cec46641-162":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/Rotate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-163"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-160"}],"importedBy":[{"uid":"cec46641-164"}]},"cec46641-164":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/RotateUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-165"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-162"}],"importedBy":[{"uid":"cec46641-166"}]},"cec46641-166":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-167"},"imported":[{"uid":"cec46641-164"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-168":{"id":"/home/workflows/workspace/updaters/size/dist/browser/SizeUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-169"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-170"}]},"cec46641-170":{"id":"/home/workflows/workspace/updaters/size/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-171"},"imported":[{"uid":"cec46641-168"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-172":{"id":"/home/workflows/workspace/shapes/square/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-173"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-174"}]},"cec46641-174":{"id":"/home/workflows/workspace/shapes/square/dist/browser/SquareDrawer.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-175"},"imported":[{"uid":"cec46641-172"}],"importedBy":[{"uid":"cec46641-176"}]},"cec46641-176":{"id":"/home/workflows/workspace/shapes/square/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-177"},"imported":[{"uid":"cec46641-174"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-178":{"id":"/dist/browser/options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-179"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-180"}]},"cec46641-180":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-181"},"imported":[{"uid":"cec46641-150"},{"uid":"cec46641-154"},{"uid":"cec46641-158"},{"uid":"cec46641-166"},{"uid":"cec46641-170"},{"uid":"cec46641-176"},{"uid":"cec46641-178"}],"importedBy":[{"uid":"cec46641-182"}]},"cec46641-182":{"id":"/dist/browser/bundle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-183"},"imported":[{"uid":"cec46641-180"},{"uid":"cec46641-126"}],"importedBy":[],"isEntry":true},"cec46641-184":{"id":"/home/workflows/workspace/engine/dist/browser/Core/RenderManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-185"},"imported":[{"uid":"cec46641-122"},{"uid":"cec46641-0"},{"uid":"cec46641-124"}],"importedBy":[{"uid":"cec46641-186"}]},"cec46641-186":{"id":"/home/workflows/workspace/engine/dist/browser/Core/CanvasManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-187"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-0"},{"uid":"cec46641-124"},{"uid":"cec46641-184"}],"importedBy":[{"uid":"cec46641-198"}]},"cec46641-188":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/EventListeners.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-189"},"imported":[{"uid":"cec46641-22"},{"uid":"cec46641-0"}],"importedBy":[{"uid":"cec46641-198"}]},"cec46641-190":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Particle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-191"},"imported":[{"uid":"cec46641-4"},{"uid":"cec46641-124"},{"uid":"cec46641-8"},{"uid":"cec46641-22"},{"uid":"cec46641-0"},{"uid":"cec46641-26"},{"uid":"cec46641-2"},{"uid":"cec46641-44"},{"uid":"cec46641-50"},{"uid":"cec46641-118"}],"importedBy":[{"uid":"cec46641-194"}]},"cec46641-192":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/SpatialHashGrid.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-193"},"imported":[{"uid":"cec46641-38"}],"importedBy":[{"uid":"cec46641-194"}]},"cec46641-194":{"id":"/home/workflows/workspace/engine/dist/browser/Core/ParticlesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-195"},"imported":[{"uid":"cec46641-0"},{"uid":"cec46641-26"},{"uid":"cec46641-42"},{"uid":"cec46641-190"},{"uid":"cec46641-192"},{"uid":"cec46641-30"},{"uid":"cec46641-118"}],"importedBy":[{"uid":"cec46641-198"}]},"cec46641-196":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Retina.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-197"},"imported":[{"uid":"cec46641-0"},{"uid":"cec46641-8"}],"importedBy":[{"uid":"cec46641-198"}]},"cec46641-198":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Container.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-199"},"imported":[{"uid":"cec46641-8"},{"uid":"cec46641-0"},{"uid":"cec46641-186"},{"uid":"cec46641-188"},{"uid":"cec46641-26"},{"uid":"cec46641-120"},{"uid":"cec46641-194"},{"uid":"cec46641-196"},{"uid":"cec46641-30"},{"uid":"cec46641-118"}],"importedBy":[{"uid":"cec46641-32"}]},"cec46641-200":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPluginInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-201"},"imported":[{"uid":"cec46641-126"}],"importedBy":[{"uid":"cec46641-142"}]},"cec46641-202":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/ShapeManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-203"},"imported":[],"importedBy":[{"uid":"cec46641-144"}]},"cec46641-204":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-205"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-140"},{"uid":"cec46641-206","dynamic":true}],"importedBy":[{"uid":"cec46641-146"}]},"cec46641-206":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"cec46641-207"},"imported":[{"uid":"cec46641-126"},{"uid":"cec46641-140"},{"uid":"cec46641-136"}],"importedBy":[{"uid":"cec46641-204"}]},"cec46641-208":{"id":"/home/workflows/workspace/engine/dist/browser/exports.js","moduleParts":{},"imported":[{"uid":"cec46641-0"},{"uid":"cec46641-38"},{"uid":"cec46641-4"},{"uid":"cec46641-2"},{"uid":"cec46641-40"},{"uid":"cec46641-16"},{"uid":"cec46641-10"},{"uid":"cec46641-42"},{"uid":"cec46641-44"},{"uid":"cec46641-18"},{"uid":"cec46641-46"},{"uid":"cec46641-14"},{"uid":"cec46641-48"},{"uid":"cec46641-50"},{"uid":"cec46641-20"},{"uid":"cec46641-52"},{"uid":"cec46641-26"},{"uid":"cec46641-12"},{"uid":"cec46641-62"},{"uid":"cec46641-54"},{"uid":"cec46641-64"},{"uid":"cec46641-56"},{"uid":"cec46641-66"},{"uid":"cec46641-58"},{"uid":"cec46641-120"},{"uid":"cec46641-60"},{"uid":"cec46641-100"},{"uid":"cec46641-98"},{"uid":"cec46641-116"},{"uid":"cec46641-72"},{"uid":"cec46641-96"},{"uid":"cec46641-94"},{"uid":"cec46641-88"},{"uid":"cec46641-74"},{"uid":"cec46641-76"},{"uid":"cec46641-78"},{"uid":"cec46641-84"},{"uid":"cec46641-82"},{"uid":"cec46641-86"},{"uid":"cec46641-106"},{"uid":"cec46641-104"},{"uid":"cec46641-102"},{"uid":"cec46641-92"},{"uid":"cec46641-90"},{"uid":"cec46641-108"},{"uid":"cec46641-112"},{"uid":"cec46641-110"},{"uid":"cec46641-114"},{"uid":"cec46641-68"},{"uid":"cec46641-80"},{"uid":"cec46641-122"},{"uid":"cec46641-124"},{"uid":"cec46641-30"},{"uid":"cec46641-8"},{"uid":"cec46641-118"},{"uid":"cec46641-22"},{"uid":"cec46641-6"}],"importedBy":[{"uid":"cec46641-126"}]},"cec46641-209":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterShapeBase.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"cec46641-150"}]}},"env":{"rollup":"4.60.4"},"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.0.2 */
2
+ /* Preset v4.0.3 */
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) :
@@ -1004,7 +1004,7 @@
1004
1004
  return this._domArray;
1005
1005
  }
1006
1006
  get version() {
1007
- return "4.0.2";
1007
+ return "4.0.3";
1008
1008
  }
1009
1009
  addEventListener(type, listener) {
1010
1010
  this._eventDispatcher.addEventListener(type, listener);
@@ -3090,7 +3090,7 @@
3090
3090
  })(EmitterClickMode || (EmitterClickMode = {}));
3091
3091
 
3092
3092
  async function loadEmittersPluginSimple(engine) {
3093
- engine.checkVersion("4.0.2");
3093
+ engine.checkVersion("4.0.3");
3094
3094
  await engine.pluginManager.register(async (e) => {
3095
3095
  const instancesManager = await getEmittersInstancesManager(e);
3096
3096
  await addEmittersShapesManager(e);
@@ -3138,7 +3138,7 @@
3138
3138
  }
3139
3139
 
3140
3140
  async function loadHexColorPlugin(engine) {
3141
- engine.checkVersion("4.0.2");
3141
+ engine.checkVersion("4.0.3");
3142
3142
  await engine.pluginManager.register(e => {
3143
3143
  e.pluginManager.addColorManager("hex", new HexColorManager());
3144
3144
  });
@@ -3207,7 +3207,7 @@
3207
3207
  }
3208
3208
 
3209
3209
  async function loadPaintUpdater(engine) {
3210
- engine.checkVersion("4.0.2");
3210
+ engine.checkVersion("4.0.3");
3211
3211
  await engine.pluginManager.register(e => {
3212
3212
  e.pluginManager.addParticleUpdater("paint", container => {
3213
3213
  return Promise.resolve(new PaintUpdater(e.pluginManager, container));
@@ -3341,7 +3341,7 @@
3341
3341
  }
3342
3342
 
3343
3343
  async function loadRotateUpdater(engine) {
3344
- engine.checkVersion("4.0.2");
3344
+ engine.checkVersion("4.0.3");
3345
3345
  await engine.pluginManager.register(e => {
3346
3346
  e.pluginManager.addParticleUpdater("rotate", container => {
3347
3347
  return Promise.resolve(new RotateUpdater(container));
@@ -3386,7 +3386,7 @@
3386
3386
  }
3387
3387
 
3388
3388
  async function loadSizeUpdater(engine) {
3389
- engine.checkVersion("4.0.2");
3389
+ engine.checkVersion("4.0.3");
3390
3390
  await engine.pluginManager.register(e => {
3391
3391
  e.pluginManager.addParticleUpdater("size", container => {
3392
3392
  return Promise.resolve(new SizeUpdater(container));
@@ -3410,7 +3410,7 @@
3410
3410
  }
3411
3411
 
3412
3412
  async function loadSquareShape(engine) {
3413
- engine.checkVersion("4.0.2");
3413
+ engine.checkVersion("4.0.3");
3414
3414
  await engine.pluginManager.register(e => {
3415
3415
  e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
3416
3416
  });
@@ -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.squares=t.__tsParticlesInternals.presets.squares||{}))}(this,function(t){"use strict";const e="generated",i=100,s=.5,n=1e3,a=0,o=0,r=0,l=1,c=0,h=0,d=1,u="random",p=2*Math.PI,f="true",_="false",g="canvas",y=255,m=360,v=100,w=100,P=.25;var b;function z(t){return"z"in t?t.z:r}!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 x{x;y;z;constructor(t=a,e=o,i=r){this.x=t,this.y=e,this.z=i}static get origin(){return x.create(a,o,r)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return x.create(t.x,t.y,z(t))}static create(t,e,i){return"number"==typeof t?new x(t,e??o,i??r):new x(t.x,t.y,z(t))}add(t){return x.create(this.x+t.x,this.y+t.y,this.z+z(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=z(t)}copy(){return x.clone(this)}div(t){return x.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return x.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 x.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),r)}setTo(t){this.x=t.x,this.y=t.y,this.z=z(t)}sub(t){return x.create(this.x-t.x,this.y-t.y,this.z-z(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=z(t)}_updateFromAngle(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class S extends x{constructor(t=a,e=o){super(t,e,r)}static get origin(){return S.create(a,o)}static clone(t){return S.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new S(t,e??o):new S(t.x,t.y)}}function M(t){return"boolean"==typeof t}function C(t){return"string"==typeof t}function k(t){return"number"==typeof t}function I(t){return"object"==typeof t&&null!==t}function O(t){return Array.isArray(t)}function D(t){return null==t}const E=Math.PI/180;let R=Math.random;const F=t=>requestAnimationFrame(t),T=t=>{cancelAnimationFrame(t)};function A(){return B(R(),0,1-Number.EPSILON)}function L(t,e){return A()*(e-t)+t}function B(t,e,i){return Math.min(Math.max(t,e),i)}function U(t){const e=V(t);let i=$(t);return e===i&&(i=0),L(i,e)}function q(t){return k(t)?t:U(t)}function $(t){return k(t)?t:t.min}function V(t){return k(t)?t:t.max}function W(t,e){if(t===e||void 0===e&&k(t))return t;const i=$(t),s=V(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:W(i,s)}function H(t){return t*E}function j(t){const e={x:void 0!==t.position?.x?q(t.position.x):void 0,y:void 0!==t.position?.y?q(t.position.y):void 0};return function(t){return{x:(t.position?.x??A()*i)*t.size.width/i,y:(t.position?.y??A()*i)*t.size.height/i}}({size:t.size,position:e})}function N(t){const{position:e,size:i}=t;return{x:e?.x??A()*i.width,y:e?.y??A()*i.height}}var Q,G,X,Y,J,K;!function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(Q||(Q={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(G||(G={})),function(t){t.none="none",t.max="max",t.min="min"}(X||(X={})),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(Y||(Y={})),function(t){t.precise="precise",t.percent="percent"}(J||(J={})),function(t){t.max="max",t.min="min",t.random="random"}(K||(K={}));function Z(){return globalThis.document}function tt(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function et(t,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor(A()*t.length)}(t)]}function it(t,...e){for(const i of e){if(D(i))continue;if(!I(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):I(t)&&!Array.isArray(t)||(t={});const e=Object.keys(i),s=new Set(["__proto__","constructor","prototype"]);if(!e.some(t=>{const e=i[t];return I(e)||Array.isArray(e)})){const n=i,a=t;for(const t of e)if(!s.has(t)&&t in n){const e=n[t];void 0!==e&&(a[t]=e)}continue}for(const n of e){if(s.has(n))continue;const e=t,a=i[n];e[n]=Array.isArray(a)?a.map(t=>it(void 0,t)):it(e[n],a)}}return t}function st(t,e){return O(t)?t.map((t,i)=>e(t,i)):e(t,0)}function nt(t,e,i){return O(t)?et(t,e,i):t}function at(t,e){if(!(t.mode===J.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/i*e.width,y:t.y/i*e.height}:{width:t.width/i*e.width,height:t.height/i*e.height}}function ot(t,e){return at(t,e)}function rt(t,e){return at(t,e)}function lt(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;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case G.increasing:e.value+=a;break;case G.decreasing:e.value-=a}switch(e.velocity&&1!==l&&(e.velocity*=l),e.status){case G.increasing:e.value>=r&&(i?e.status=G.decreasing:e.value-=r,e.loops??=0,e.loops++);break;case G.decreasing:e.value<=o&&(i?e.status=G.increasing:e.value+=r,e.loops??=0,e.loops++)}!function(t,e,i,s,n){switch(e){case X.max:i>=n&&t.destroy();break;case X.min:i<=s&&t.destroy()}}(t,s,e.value,o,r),t.destroyed||(e.value=B(e.value,o,r))}}const ct=function(t){const e=new Map,i=(t,e=new WeakSet)=>{if(null===t)return"null";const s=typeof t;if("undefined"===s)return"undefined";if("number"===s||"boolean"===s||"string"===s)return JSON.stringify(t);if("function"===s)try{return t.toString()}catch{return'"[Function]"'}if("symbol"===s)try{return t.toString()}catch{return'"[Symbol]"'}if(Array.isArray(t))return`[${t.map(t=>i(t,e)).join(",")}]`;if(e.has(t))return'"[Circular]"';e.add(t);return`{${Object.keys(t).sort().map(s=>`${JSON.stringify(s)}:${i(t[s],e)}`).join(",")}}`},s=t=>(t=>i(t))(t);return(...i)=>{const n=s(i),a=Date.now(),o=e.get(n);if(void 0!==o)return e.delete(n),e.set(n,{value:o.value,ts:o.ts}),o.value;const r=t(...i);return e.set(n,{value:r,ts:a}),r}}(function(t){const e=Z().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0","pointer-events":"none"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e});function ht(t,e,i,s,n){if(s){let s={passive:!0};M(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 dt(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 ut{_listeners;constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const s=i.length,n=i.indexOf(e);n<0||(1===s?this._listeners.delete(t):i.splice(n,1))}}var pt;!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"}(pt||(pt={}));class ft{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;_allLoadersSet=new Set;_configs=new Map;_engine;_executedSet=new Set;_initialized=!1;_isRunningLoaders=!1;_loadPromises=new Set;constructor(t){this._engine=t}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._engine.dispatchEvent(pt.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 dt(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 dt(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._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(const t of this._allLoadersSet)await this._runLoader(t,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._isRunningLoaders?await this._runLoader(e,this._executedSet,this._allLoadersSet):this._loadPromises.add(e)}async _runLoader(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this._engine))}}const _t=t=>(...e)=>{t(...e)},gt={debug:_t(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:_t(console.info),log:_t(console.log),trace:_t(console.trace),verbose:_t(console.log),warning:_t(console.warn)};function yt(){return gt}const mt="100%";class vt{pluginManager=new ft(this);_domArray=[];_eventDispatcher=new ut;_initialized=!1;get items(){return this._domArray}get version(){return"4.0.2"}addEventListener(t,e){this._eventDispatcher.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._eventDispatcher.dispatchEvent(t,e)}async init(){this._initialized||(await this.pluginManager.init(),this._initialized=!0)}item(t){const{items:e}=this,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 vi}),n=t.id??i?.id??`tsparticles${Math.floor(1e4*A()).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():(yt().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=Z();let s;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===g)s=t,s.dataset[e]??=_,s.dataset[e]===f&&(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]=_):(s=i.createElement(g),s.dataset[e]=f,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=Z();let n=i??s.getElementById(t);return n||(n=s.createElement("canvas"),n.id=t,n.dataset[e]=f,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._eventDispatcher.removeEventListener(t,e)}}var wt,Pt,bt,zt,xt,St,Mt,Ct;!function(t){t.circle="circle",t.rectangle="rectangle"}(wt||(wt={}));class kt{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 It extends kt{radius;constructor(t,e,i){super(t,e,wt.circle),this.radius=i}contains(t){return e=t,i=this.position,s=this.radius,function(t,e){const i=t.x-e.x,s=t.y-e.y;return i*i+s*s}(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 It||t.type===wt.circle){return s+t.radius>Math.hypot(n,a)}if(t instanceof Ot||t.type===wt.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 Ot extends kt{size;constructor(t,e,i,s){super(t,e,wt.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 It)return t.intersects(this);if(!(t instanceof Ot))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"}(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"}(zt||(zt={})),function(t){t.darken="darken",t.enlighten="enlighten"}(xt||(xt={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(St||(St={})),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(Mt||(Mt={})),function(t){t.easeInBack="ease-in-back",t.easeInBounce="ease-in-bounce",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInElastic="ease-in-elastic",t.easeInExpo="ease-in-expo",t.easeInGaussian="ease-in-gaussian",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInSigmoid="ease-in-sigmoid",t.easeInSine="ease-in-sine",t.easeInSmoothstep="ease-in-smoothstep",t.easeOutBack="ease-out-back",t.easeOutBounce="ease-out-bounce",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutElastic="ease-out-elastic",t.easeOutExpo="ease-out-expo",t.easeOutGaussian="ease-out-gaussian",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutSigmoid="ease-out-sigmoid",t.easeOutSine="ease-out-sine",t.easeOutSmoothstep="ease-out-smoothstep",t.easeInOutBack="ease-in-out-back",t.easeInOutBounce="ease-in-out-bounce",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutElastic="ease-in-out-elastic",t.easeInOutExpo="ease-in-out-expo",t.easeInOutGaussian="ease-in-out-gaussian",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutSigmoid="ease-in-out-sigmoid",t.easeInOutSine="ease-in-out-sine",t.easeInOutSmoothstep="ease-in-out-smoothstep"}(Ct||(Ct={}));class Dt{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){D(t)||(void 0!==t.count&&(this.count=W(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class Et extends Dt{mode;startValue;constructor(){super(),this.mode=Q.auto,this.startValue=K.random}load(t){super.load(t),D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class Rt extends Dt{max;min;offset;constructor(t,e){super(),this.min=t,this.max=e,this.offset=0,this.sync=!0}load(t){super.load(t),D(t)||(void 0!==t.max&&(this.max=t.max),void 0!==t.min&&(this.min=t.min),void 0!==t.offset&&(this.offset=W(t.offset)))}}class Ft{h=new Rt(0,m);l=new Rt(0,w);s=new Rt(0,v);load(t){D(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class Tt{value;constructor(){this.value=""}static create(t,e){const i=new Tt;return i.load(t),void 0!==e&&(C(e)||O(e)?i.load({value:e}):i.load(e)),i}load(t){D(t)||D(t.value)||(this.value=t.value)}}class At extends Tt{animation;constructor(){super(),this.animation=new Ft}static create(t,e){const i=new At;return i.load(t),void 0!==e&&(C(e)||O(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}class Lt{color;image;opacity;position;repeat;size;constructor(){this.color=new Tt,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){D(t)||(void 0!==t.color&&(this.color=Tt.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Bt{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(t){D(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class Ut{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(t){D(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class qt{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(t){if(D(t))return;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))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class $t{color;enable;opacity;constructor(){this.enable=!0,this.opacity=1}load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class Vt{offset;value;constructor(){this.offset=0,this.value=90}load(t){D(t)||(void 0!==t.offset&&(this.offset=W(t.offset)),void 0!==t.value&&(this.value=W(t.value)))}}class Wt{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=J.percent,this.radius=0}load(t){D(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class Ht{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){D(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=W(t.maxSpeed)))}}class jt{value;constructor(){this.value=0}load(t){D(t)||D(t.value)||(this.value=W(t.value))}}class Nt extends jt{animation=new Dt;load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Qt extends Nt{animation;constructor(){super(),this.animation=new Et}load(t){super.load(t)}}class Gt{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new jt,this.enable=!1,this.options={}}load(t){D(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=it(this.options,t.options)))}}class Xt{bottom;default;left;right;top;constructor(){this.default=zt.out}load(t){D(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 Yt{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(t){D(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=it({},t.position)))}}class Jt{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new Vt,this.center=new Wt,this.decay=0,this.distance={},this.direction=b.none,this.drift=0,this.enable=!1,this.gravity=new Ht,this.path=new Gt,this.outModes=new Xt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Yt,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if(D(t))return;this.angle.load(k(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=k(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=W(t.drift)),void 0!==t.enable&&(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),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=W(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class Kt extends Et{destroy;constructor(){super(),this.destroy=X.none,this.speed=2}load(t){super.load(t),D(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class Zt extends Qt{animation;constructor(){super(),this.animation=new Kt,this.value=1}load(t){if(D(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}class te{color;opacity;width;constructor(){this.width=0}load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.width&&(this.width=W(t.width)),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class ee{color;fill;stroke;load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),void 0!==t.stroke&&(this.stroke??=new te,this.stroke.load(t.stroke)))}}class ie extends jt{constructor(){super(),this.value=1}}class se{horizontal;vertical;constructor(){this.horizontal=new ie,this.vertical=new ie}load(t){D(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class ne{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(D(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}class ae{mode;value;constructor(){this.mode=bt.delete,this.value=0}load(t){D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class oe{density;limit;value;constructor(){this.density=new ne,this.limit=new ae,this.value=0}load(t){D(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}class re{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(t){if(D(t))return;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))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class le extends Et{destroy;constructor(){super(),this.destroy=X.none,this.speed=5}load(t){super.load(t),D(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class ce extends Qt{animation;constructor(){super(),this.animation=new le,this.value=3}load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class he extends jt{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),D(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class de{bounce;effect;groups;move;number;opacity;paint;palette;reduceDuplicates;shape;size;zIndex;_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e,this.bounce=new se,this.effect=new qt,this.groups={},this.move=new Jt,this.number=new oe,this.opacity=new Zt,this.paint=new ee,this.paint.color=new At,this.paint.color.value="#fff",this.paint.fill=new $t,this.paint.fill.enable=!0,this.reduceDuplicates=!1,this.shape=new re,this.size=new ce,this.zIndex=new he}load(t){if(D(t))return;if(t.palette&&(this.palette=t.palette,this._importPalette(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),this.opacity.load(t.opacity);const e=t.paint;if(e&&(O(e)?this.paint=st(e,t=>{const e=new ee;return e.load(t),e}):O(this.paint)?(this.paint=new ee,this.paint.load(e)):this.paint.load(e)),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),this._container){for(const e of this._pluginManager.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this._container,this,t);const e=this._pluginManager.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}_importPalette=t=>{const e=this._pluginManager.getPalette(t);if(!e)return;const i=e.colors,s=(O(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 ue(t,...e){for(const i of e)t.load(i)}function pe(t,e,...i){const s=new de(t,e);return ue(s,...i),s}class fe{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e,this.autoPlay=!0,this.background=new Lt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new Bt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=pe(this._pluginManager,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new Ut,this.smooth=!1,this.style={},this.zLayers=100}load(t){if(D(t))return;void 0!==t.preset&&(this.preset=t.preset,st(this.preset,t=>{this._importPreset(t)})),void 0!==t.palette&&(this.palette=t.palette,this._importPalette(this.palette)),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=W(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=W(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;M(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.particles.load(t.particles),this.resize.load(t.resize),this.style=it(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._pluginManager.plugins.forEach(e=>{e.loadOptions(this._container,this,t)})}_importPalette=t=>{const e=this._pluginManager.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})};_importPreset=t=>{this.load(this._pluginManager.getPreset(t))}}function _e(t,e){t.clearRect(a,o,e.width,e.height)}function ge(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}const ye=new Map;function me(t,e){let i=ye.get(t);if(!i){if(i=e(),ye.size>=1e3){[...ye.keys()].slice(0,500).forEach(t=>ye.delete(t))}ye.set(t,i)}return i}function ve(t,e,i,s=!0){if(!e)return;const n=C(e)?{value:e}:e;if(C(n.value))return we(t,n.value,i,s);if(O(n.value)){const e=et(n.value,i,s);if(!e)return;return ve(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function we(t,e,i,s=!0){if(!e)return;const n=C(e)?{value:e}:e;if(C(n.value))return n.value===u?function(){const t=0,e=256,i=()=>Math.floor(L(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(O(n.value)){const e=et(n.value,i,s);if(!e)return;return we(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(n);if(t)return t}}function Pe(t,e,i,n=!0){const a=ve(t,e,i,n);return a?function(t){const e=t.r/y,i=t.g/y,n=t.b/y,a=Math.max(e,i,n),o=Math.min(e,i,n),r={h:0,l:(a+o)*s,s:0};a!==o&&(r.s=r.l<s?(a-o)/(a+o):(a-o)/(2-a-o),r.h=e===a?(i-n)/(a-o):i===a?2+(n-e)/(a-o):4+(e-i)/(a-o));r.l*=w,r.s*=v,r.h*=60,r.h<0&&(r.h+=m);r.h>=m&&(r.h-=m);return r}(a):void 0}function be(t,e,i){const s=i??1;return me(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?ze(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??1).toString()})`}(t,i))}function ze(t,e){return`color(display-p3 ${(t.r/y).toString()} ${(t.g/y).toString()} ${(t.b/y).toString()} / ${(e??1).toString()})`}function xe(t,e,i){const n=i??1;return me(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,()=>e?function(t,e){return ze(function(t){const e=(t.h%m+m)%m,i=Math.max(0,Math.min(v,t.s)),n=Math.max(0,Math.min(w,t.l)),a=e/m,o=i/v,r=n/w;if(0===i){const t=Math.round(r*y);return{r:t,g:t,b:t}}const l=(t,e,i)=>(i<0&&i++,i>1&&i--,6*i<1?t+6*(e-t)*i:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t),c=r<s?r*(1+o):r+o-r*o,h=2*r-c,d=1/3,u=Math.min(y,y*l(h,c,a+d)),p=Math.min(y,y*l(h,c,a)),f=Math.min(y,y*l(h,c,a-d));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??1).toString()})`}(t,i))}function Se(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function Me(t,e,i){const s={h:{enable:!1,value:t.h,min:0,max:m},s:{enable:!1,value:t.s,min:0,max:v},l:{enable:!1,value:t.l,min:0,max:w}};return e&&(Ce(s.h,e.h,i),Ce(s.s,e.s,i),Ce(s.l,e.l,i)),s}function Ce(t,e,s){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=q(e.speed)/i*s,t.decay=1-q(e.decay),t.status=G.increasing,t.loops=0,t.maxLoops=q(e.count),t.time=0,t.delayTime=q(e.delay)*n,e.sync||(t.velocity*=A(),t.value*=A()),t.initialValue=t.value,t.offset=W(e.offset)):t.velocity=0}function ke(t,e,i){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 s=t.offset?U(t.offset):0,n=(t.velocity??0)*i.factor+3.6*s,a=t.decay??1,o=t.max,r=t.min;e&&t.status!==G.increasing?(t.value-=n,t.value<r&&(t.loops??=0,t.loops++,t.status=G.increasing)):(t.value+=n,t.value>o&&(t.loops??=0,t.loops++,e?t.status=G.decreasing:t.value-=o)),t.velocity&&1!==a&&(t.velocity*=a),t.value=B(t.value,r,o)}function Ie(t,e){if(!t)return;const{h:i,s:s,l:n}=t;ke(i,!1,e),ke(s,!0,e),ke(n,!0,e)}const Oe=new vt;class De{count;delay;duration;wait;constructor(){this.wait=!1}load(t){D(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.duration&&(this.duration=W(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class Ee{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){D(t)||(void 0!==t.quantity&&(this.quantity=W(t.quantity)),void 0!==t.delay&&(this.delay=W(t.delay)))}}class Re{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){D(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Fe{options;replace;type;constructor(){this.options={},this.replace=new Re,this.type="square"}load(t){D(t)||(void 0!==t.options&&(this.options=it({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}class Te{height;mode;width;constructor(){this.mode=J.percent,this.height=0,this.width=0}load(t){D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}class Ae{fill;stroke;load(t){D(t)||(t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new te,this.stroke.load(t.stroke)))}}class Le{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new De,this.rate=new Ee,this.shape=new Fe,this.spawn=new Ae,this.startCount=0}load(t){D(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new Te,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=st(t.particles,t=>it({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=W(t.position.x)),void 0!==t.position.y&&(this.position.y=W(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new At,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new At,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}class Be{id="emitters";_instancesManager;constructor(t){this._instancesManager=t}async getPlugin(t){const{EmittersPluginInstance:e}=await Promise.resolve().then(function(){return wi});return new e(this._instancesManager,t)}loadOptions(t,e,i){(this.needsPlugin(e)||this.needsPlugin(i))&&i?.emitters&&(e.emitters=st(i.emitters,t=>{const e=new Le;return e.load(t),e}))}needsPlugin(t){if(!t)return!1;const e=t.emitters;return O(e)&&!!e.length||void 0!==e}}const Ue=new WeakMap;var qe,$e;async function Ve(t){t.checkVersion("4.0.2"),await t.pluginManager.register(async t=>{const e=await function(t){const e=t.pluginManager;let i=Ue.get(e);return i||(i=Promise.resolve().then(function(){return zi}).then(({EmittersInstancesManager:t})=>new t(e)).catch(t=>{throw Ue.delete(e),t}),Ue.set(e,i)),i}(t);await async function(t){const{ShapeManager:e}=await Promise.resolve().then(function(){return bi}),i=t.pluginManager;i.emitterShapeManager??=new e,i.addEmitterShapeGenerator??=(t,e)=>{i.emitterShapeManager?.addShapeGenerator(t,e)}}(t),t.pluginManager.addPlugin(new Be(e))})}!function(t){t.emitter="emitter"}(qe||(qe={})),function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}($e||($e={}));const We=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,He=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class je{accepts(t){return t.startsWith("#")}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){if("string"!=typeof t||!this.accepts(t))return;const e=t.replace(We,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0===n?"":n+n)),i=He.exec(e);return i?{a:i[$e.a]?Number.parseInt(i[$e.a],16)/255:1,b:Number.parseInt(i[$e.b]??"0",16),g:Number.parseInt(i[$e.g]??"0",16),r:Number.parseInt(i[$e.r]??"0",16)}:void 0}}async function Ne(t){t.checkVersion("4.0.2"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new je)})}class Qe{_container;_pluginManager;constructor(t,e){this._container=e,this._pluginManager=t}init(t){const e=this._container,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=At.create(void 0===a?void 0:At.create(void 0,a),o.color);t.fillEnabled=o.enable,t.fillOpacity=q(o.opacity),t.fillAnimation=i.animation;const s=Pe(this._pluginManager,i);s&&(t.fillColor=Me(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=At.create(void 0===a?void 0:At.create(void 0,a),r.color);t.strokeWidth=q(r.width)*e.retina.pixelRatio,t.strokeOpacity=q(r.opacity??1),t.strokeAnimation=i.animation;const s=Pe(this._pluginManager,i)??t.getFillColor();s&&(t.strokeColor=Me(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)&&(Ie(t.fillColor,e),Ie(t.strokeColor,e))}}async function Ge(t){t.checkVersion("4.0.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new Qe(t.pluginManager,e)))})}class Xe{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){D(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class Ye extends jt{animation;direction;path;constructor(){super(),this.animation=new Xe,this.direction=Pt.clockwise,this.path=!1,this.value=0}load(t){D(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class Je{container;constructor(t){this.container=t}init(t){const e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:H(q(e.value)),min:0,max:p},t.pathRotation=e.path;let i=e.direction;if(i===Pt.random){i=Math.floor(2*A())>0?Pt.counterClockwise:Pt.clockwise}switch(i){case Pt.counterClockwise:case"counterClockwise":t.rotate.status=G.decreasing;break;case Pt.clockwise:t.rotate.status=G.increasing}const s=e.animation;s.enable&&(t.rotate.decay=1-q(s.decay),t.rotate.velocity=q(s.speed)/360*this.container.retina.reduceFactor,s.sync||(t.rotate.velocity*=A())),t.rotation=t.rotate.value}isEnabled(t){const e=t.options.rotate;return!!e&&(!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path))}loadOptions(t,...e){t.rotate??=new Ye;for(const i of e)t.rotate.load(i?.rotate)}update(t,e){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&(lt(t,t.rotate,!1,X.none,e),t.rotation=t.rotate.value))}}async function Ke(t){t.checkVersion("4.0.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("rotate",t=>Promise.resolve(new Je(t)))})}class Ze{_container;constructor(t){this._container=t}init(t){const e=this._container,s=t.options.size.animation;s.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/i*e.retina.reduceFactor,s.sync||(t.size.velocity*=A()))}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))}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&lt(t,t.size,!0,t.options.size.animation.destroy,e)}}async function ti(t){t.checkVersion("4.0.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new Ze(t)))})}class ei{draw(t){!function(t){const{context:e,radius:i}=t,s=i*Math.SQRT1_2,n=2*s;e.rect(-s,-s,n,n)}(t)}getSidesCount(){return 4}}async function ii(t){t.checkVersion("4.0.2"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["edge","square"],()=>Promise.resolve(new ei))})}const si={particles:{paint:{stroke:{width:5,color:{value:["#5bc0eb","#fde74c","#9bc53d","#e55934","#fa7921","#2FF3E0","#F8D210","#FA26A0","#F51720"]}},fill:{enable:!1}},shape:{type:"square"},rotate:{value:0,direction:Pt.counterClockwise,animation:{enable:!0,speed:2,sync:!0}},size:{value:{min:1,max:500},animation:{enable:!0,startValue:K.min,speed:60,sync:!0,destroy:X.max}}},background:{color:"#000"},emitters:{position:{y:50,x:50},rate:{delay:1,quantity:1}}};async function ni(t){await t.pluginManager.register(async t=>{await Promise.all([Ne(t),Ve(t),ii(t),Ke(t),ti(t),Ge(t)]),t.pluginManager.addPreset("squares",si)})}const ai=globalThis;ai.__tsParticlesInternals=ai.__tsParticlesInternals??{},ai.loadSquaresPreset=ni;function oi(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}class ri{_canvasClearPlugins;_canvasManager;_canvasPaintPlugins;_clearDrawPlugins;_colorPlugins;_container;_context;_contextSettings;_drawParticlePlugins;_drawParticlesCleanupPlugins;_drawParticlesSetupPlugins;_drawPlugins;_drawSettingsCleanupPlugins;_drawSettingsSetupPlugins;_pluginManager;_postDrawUpdaters;_preDrawUpdaters;_reusableColorStyles={};_reusablePluginColors=[void 0,void 0];_reusableTransform={};constructor(t,e,i){this._pluginManager=t,this._container=e,this._canvasManager=i,this._context=null,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._colorPlugins=[],this._canvasClearPlugins=[],this._canvasPaintPlugins=[],this._clearDrawPlugins=[],this._drawParticlePlugins=[],this._drawParticlesCleanupPlugins=[],this._drawParticlesSetupPlugins=[],this._drawPlugins=[],this._drawSettingsSetupPlugins=[],this._drawSettingsCleanupPlugins=[]}get settings(){return this._contextSettings}canvasClear(){this._container.actualOptions.clear&&this.draw(t=>{_e(t,this._canvasManager.size)})}clear(){let t=!1;for(const e of this._canvasClearPlugins)if(t=e.canvasClear?.()??!1,t)break;t||this.canvasClear()}destroy(){this.stop(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._colorPlugins=[],this._canvasClearPlugins=[],this._canvasPaintPlugins=[],this._clearDrawPlugins=[],this._drawParticlePlugins=[],this._drawParticlesCleanupPlugins=[],this._drawParticlesSetupPlugins=[],this._drawPlugins=[],this._drawSettingsSetupPlugins=[],this._drawSettingsCleanupPlugins=[]}draw(t){const e=this._context;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._getPluginParticleColors(t);if(a??=s,o??=n,!a&&!o)return;const r=this._container,l=t.options.zIndex,c=1-t.zIndexFactor,{fillOpacity:h,opacity:d,strokeOpacity:u}=t.getOpacity(),p=this._reusableTransform,f=this._reusableColorStyles,_=a?xe(a,r.hdr,h*d):void 0,g=o?xe(o,r.hdr,u*d):_;p.a=p.b=p.c=p.d=void 0,f.fill=_,f.stroke=g,this.draw(s=>{for(const i of this._drawParticlesSetupPlugins)i.drawParticleSetup?.(s,t,e);this._applyPreDrawUpdaters(s,t,i,d,f,p),function(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,_=s.strokeWidth??0;i.lineWidth=_,a.stroke&&(i.strokeStyle=a.stroke);const g={context:i,particle:s,radius:o,drawRadius:1*o,opacity:r,delta:n,pixelRatio:e.retina.pixelRatio,fill:f,stroke:_>0,transformData:u,position:{...d},drawPosition:p,drawScale:1};for(const t of e.plugins)t.drawParticleTransform?.(g);const y=s.effect?c.get(s.effect):void 0,m=s.shape?h.get(s.shape):void 0;!function(t,e){if(!t?.drawBefore)return;const{particle:i}=e;i.effect&&t.drawBefore(e)}(y,g),function(t,e){if(!t?.beforeDraw)return;const{particle:i}=e;i.shape&&t.beforeDraw(e)}(m,g),function(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())}(m,g),function(t,e){if(!t?.afterDraw)return;const{particle:i}=e;i.shape&&t.afterDraw(e)}(m,g),function(t,e){if(!t?.drawAfter)return;const{particle:i}=e;i.effect&&t.drawAfter(e)}(y,g),i.resetTransform()}({container:r,context:s,particle:t,delta:e,colorStyles:f,radius:i*c**l.sizeRate,opacity:d,transform:p}),this._applyPostDrawUpdaters(t);for(const i of this._drawParticlesCleanupPlugins)i.drawParticleCleanup?.(s,t,e)})}drawParticlePlugins(t,e){this.draw(i=>{for(const s of this._drawParticlePlugins)ge(i,s,t,e)})}drawParticles(t){const{particles:e}=this._container;this.clear(),e.update(t),this.draw(i=>{for(const e of this._drawSettingsSetupPlugins)e.drawSettingsSetup?.(i,t);for(const e of this._drawPlugins)e.draw?.(i,t);e.drawParticles(t);for(const e of this._clearDrawPlugins)e.clearDraw?.(i,t);for(const e of this._drawSettingsCleanupPlugins)e.drawSettingsCleanup?.(i,t)})}init(){this.initUpdaters(),this.initPlugins(),this.paint()}initPlugins(){this._colorPlugins=[],this._canvasClearPlugins=[],this._canvasPaintPlugins=[],this._clearDrawPlugins=[],this._drawParticlePlugins=[],this._drawParticlesSetupPlugins=[],this._drawParticlesCleanupPlugins=[],this._drawPlugins=[],this._drawSettingsSetupPlugins=[],this._drawSettingsCleanupPlugins=[];for(const t of this._container.plugins)(t.particleFillColor??t.particleStrokeColor)&&this._colorPlugins.push(t),t.canvasClear&&this._canvasClearPlugins.push(t),t.canvasPaint&&this._canvasPaintPlugins.push(t),t.drawParticle&&this._drawParticlePlugins.push(t),t.drawParticleSetup&&this._drawParticlesSetupPlugins.push(t),t.drawParticleCleanup&&this._drawParticlesCleanupPlugins.push(t),t.draw&&this._drawPlugins.push(t),t.drawSettingsSetup&&this._drawSettingsSetupPlugins.push(t),t.drawSettingsCleanup&&this._drawSettingsCleanupPlugins.push(t),t.clearDraw&&this._clearDrawPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this._container.particleUpdaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this._preDrawUpdaters.push(t)}paint(){let t=!1;for(const e of this._canvasPaintPlugins)if(t=e.canvasPaint?.()??!1,t)break;t||this.paintBase()}paintBase(t){this.draw(e=>{!function(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(a,o,e.width,e.height)}(e,this._canvasManager.size,t)})}paintImage(t,e){this.draw(i=>{!function(t,e,i,s){if(!i)return;const n=t.globalAlpha;t.globalAlpha=s,t.drawImage(i,a,o,e.width,e.height),t.globalAlpha=n}(i,this._canvasManager.size,t,e)})}setContext(t){this._context=t,this._context&&(this._context.globalCompositeOperation="source-over")}setContextSettings(t){this._contextSettings=t}stop(){this.draw(t=>{_e(t,this._canvasManager.size)})}_applyPostDrawUpdaters=t=>{for(const e of this._postDrawUpdaters)e.afterDraw?.(t)};_applyPreDrawUpdaters=(t,e,i,s,n,a)=>{for(const o of this._preDrawUpdaters){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)oi(a,t,e)}o.beforeDraw?.(e)}};_getPluginParticleColors=t=>{let e,i;for(const s of this._colorPlugins)if(!e&&s.particleFillColor&&(e=Pe(this._pluginManager,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=Pe(this._pluginManager,s.particleStrokeColor(t))),e&&i)break;return this._reusablePluginColors[0]=e,this._reusablePluginColors[1]=i,this._reusablePluginColors}}const li=new WeakMap;function ci(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 hi{domElement;render;renderCanvas;size;zoom=1;_container;_generated;_mutationObserver;_originalStyle;_pluginManager;_pointerEvents;_resizePlugins;_standardSize;_zoomCenter;constructor(t,e){this._pluginManager=t,this._container=e,this.render=new ri(t,e,this),this._standardSize={height:0,width:0};const i=e.retina.pixelRatio,s=this._standardSize;this.size={height:s.height*i,width:s.width*i},this._generated=!1,this._resizePlugins=[],this._pointerEvents="none"}get _fullScreen(){return this._container.actualOptions.fullScreen.enable}destroy(){if(this.stop(),this._generated){const t=this.domElement;t?.remove(),this.domElement=void 0,this.renderCanvas=void 0}else this._resetOriginalStyle();this.render.destroy(),this._resizePlugins=[]}getZoomCenter(){const t=this._container.retina.pixelRatio,{width:e,height:i}=this.size;return this._zoomCenter?this._zoomCenter:{x:e*s/t,y:i*s/t}}init(){this._safeMutationObserver(t=>{t.disconnect()}),this._mutationObserver=function(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this._repairStyle()}),this.resize(),this._initStyle(),this.initBackground(),this._safeMutationObserver(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})}),this.initPlugins(),this.render.init()}initBackground(){const{_container:t}=this,e=t.actualOptions.background,i=this.domElement;if(!i)return;const s=i.style,n=ve(this._pluginManager,e.color);s.backgroundColor=n?be(n,t.hdr,e.opacity):"",s.backgroundImage=e.image||"",s.backgroundPosition=e.position||"",s.backgroundRepeat=e.repeat||"",s.backgroundSize=e.size||""}initPlugins(){this._resizePlugins=[];for(const t of this._container.plugins)t.resize&&this._resizePlugins.push(t)}loadCanvas(t){this._generated&&this.domElement&&this.domElement.remove();const i=this._container,s=(t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)(t)?t:void 0;this.domElement=s,this._generated=!!s&&"true"===s.dataset[e],this.renderCanvas=s?(t=>{const e=li.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 li.set(t,e),e}catch{throw new TypeError("OffscreenCanvas transfer failed")}})(s):t;const n=this.domElement;n&&(n.ariaHidden="true",this._originalStyle=function(t){const e=Z().createElement("div").style;for(const i in t){const s=t[i];if(!(i in t)||D(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}(n.style));const a=this._standardSize,o=this.renderCanvas;n?(a.height=n.offsetHeight,a.width=n.offsetWidth):(a.height=o.height,a.width=o.width);const r=this._container.retina.pixelRatio,l=this.size;o.height=l.height=a.height*r,o.width=l.width=a.width*r;const c=tt("(color-gamut: p3)");this.render.setContextSettings({alpha:!0,colorSpace:c?.matches&&i.hdr?"display-p3":"srgb",desynchronized:!0,willReadFrequently:!1}),this.render.setContext(o.getContext("2d",this.render.settings)),this._safeMutationObserver(t=>{t.disconnect()}),i.retina.init(),this.initBackground(),this._safeMutationObserver(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})})}resize(){const t=this.domElement;if(!t)return!1;const e=this._container,i=this.renderCanvas;if(void 0===i)return!1;const s=e.canvas._standardSize,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._container.started&&e.particles.setResizeFactor({width:s.width/r.width,height:s.height/r.height}),!0}setPointerEvents(t){this.domElement&&(this._pointerEvents=t,this._repairStyle())}setZoom(t,e){this.zoom=t,this._zoomCenter=e}stop(){this._safeMutationObserver(t=>{t.disconnect()}),this._mutationObserver=void 0,this.render.stop()}async windowResize(){if(!this.domElement||!this.resize())return;const t=this._container,e=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),e&&await t.refresh()}_applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize?.()};_initStyle=()=>{const t=this.domElement,e=this._container.actualOptions;if(t){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();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")}}};_repairStyle=()=>{const t=this.domElement;if(!t)return;this._safeMutationObserver(t=>{t.disconnect()}),this._initStyle(),this.initBackground();const e=this._pointerEvents;t.style.pointerEvents=e,t.style.setProperty("pointer-events",e),this._safeMutationObserver(e=>{t instanceof Node&&e.observe(t,{attributes:!0})})};_resetOriginalStyle=()=>{const t=this.domElement,e=this._originalStyle;t&&e&&ci(t,e,!0)};_safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)};_setFullScreenStyle=()=>{const t=this.domElement;t&&ci(t,ct(this._container.actualOptions.fullScreen.zIndex),!0)}}class di{container;_handlers;_resizeObserver;_resizeTimeout;constructor(t){this.container=t,this._handlers={visibilityChange:()=>{this._handleVisibilityChange()},resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}_handleVisibilityChange=()=>{const t=this.container;t.actualOptions.pauseOnBlur&&(Z().hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))};_handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const t=this.container.canvas;await t.windowResize()};this._resizeTimeout=setTimeout(()=>{t()},this.container.actualOptions.resize.delay*n)};_manageListeners=t=>{const e=this._handlers;this._manageResize(t),ht(document,"visibilitychange",e.visibilityChange,t,!1)};_manageResize=t=>{const e=this._handlers,i=this.container;if(!i.actualOptions.resize.enable)return;if("undefined"==typeof ResizeObserver)return void ht(globalThis,"resize",e.resize,t);const s=i.canvas.domElement;this._resizeObserver&&!t?(s&&this._resizeObserver.unobserve(s),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&s&&(this._resizeObserver=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this._handleWindowResize()}),this._resizeObserver.observe(s))}}function ui(t){if(e=t.outMode,i=t.checkModes,!(e===i||O(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)}class pi{backColor;bubble;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;slow;spawning;strokeColor;strokeOpacity;strokeWidth;unbreakable;velocity;zIndexFactor;_cachedOpacityData={fillOpacity:1,opacity:1,strokeOpacity:1};_cachedPosition=x.origin;_cachedRotateData={sin:0,cos:0};_cachedTransform={a:1,b:0,c:0,d:1};_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const e=this._container,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._container.dispatchEvent(pt.particleDestroyed,{particle:this})}draw(t){const e=this._container.canvas.render;e.drawParticlePlugins(this,t),e.drawParticle(this,t)}getAngle(){return this.rotation+(this.pathRotation?this.velocity.angle:0)}getFillColor(){return this._getRollColor(this.bubble.color??Se(this.fillColor))}getMass(){return this.getRadius()**2*Math.PI*s}getOpacity(){const t=this.options.zIndex,e=(1-this.zIndexFactor)**t.opacityRate,i=this.bubble.opacity??q(this.opacity?.value??1),s=this.fillOpacity??1,n=this.strokeOpacity??1;return this._cachedOpacityData.fillOpacity=i*s*e,this._cachedOpacityData.opacity=i*e,this._cachedOpacityData.strokeOpacity=i*n*e,this._cachedOpacityData}getPosition(){return this._cachedPosition.x=this.position.x+this.offset.x,this._cachedPosition.y=this.position.y+this.offset.y,this._cachedPosition.z=this.position.z,this._cachedPosition}getRadius(){return this.bubble.radius??this.size.value}getRotateData(){const t=this.getAngle();return this._cachedRotateData.sin=Math.sin(t),this._cachedRotateData.cos=Math.cos(t),this._cachedRotateData}getStrokeColor(){return this._getRollColor(this.bubble.color??Se(this.strokeColor))}getTransformData(t){const e=this.getRotateData(),i=this.isRotating;return this._cachedTransform.a=e.cos*(t.a??l),this._cachedTransform.b=i?e.sin*(t.b??1):t.b??c,this._cachedTransform.c=i?-e.sin*(t.c??1):t.c??h,this._cachedTransform.d=e.cos*(t.d??d),this._cachedTransform}init(t,e,i,a){const o=this._container;this.id=t,this.group=a,this.justWarped=!1,this.effectClose=!0,this.shapeClose=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{},maxSpeed:0,moveDrift:0,moveSpeed:0,sizeAnimationSpeed:0},this.outType=Mt.normal,this.ignoresResizeRatio=!0;const r=o.retina.pixelRatio,l=o.actualOptions,c=pe(this._pluginManager,o,l.particles),h=c.reduceDuplicates,d=c.effect.type,p=c.shape.type;this.effect=nt(d,this.id,h),this.shape=nt(p,this.id,h);const f=c.effect,_=c.shape;if(i){if(i.effect?.type){const t=nt(i.effect.type,this.id,h);t&&(this.effect=t,f.load(i.effect))}if(i.shape?.type){const t=nt(i.shape.type,this.id,h);t&&(this.shape=t,_.load(i.shape))}}if(this.effect===u){const t=[...this._container.effectDrawers.keys()];this.effect=t[Math.floor(A()*t.length)]}if(this.shape===u){const t=[...this._container.shapeDrawers.keys()];this.shape=t[Math.floor(A()*t.length)]}this.effectData=this.effect?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.effect,f,this.id,h):void 0,this.shapeData=this.shape?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.shape,_,this.id,h):void 0,c.load(i);const g=this.effectData;g&&c.load(g.particles);const y=this.shapeData;let m,v;y&&c.load(y.particles),this.effectClose=g?.close??c.effect.close,this.shapeClose=y?.close??c.shape.close,this.options=c,o.retina.initParticle(this),this.size=function(t,e){const i=t.value,a=t.animation,o={delayTime:q(a.delay)*n,enable:a.enable,value:q(t.value)*e,max:V(i)*e,min:$(i)*e,loops:0,maxLoops:q(a.count),time:0};if(a.enable){switch(o.decay=1-q(a.decay),a.mode){case Q.increase:o.status=G.increasing;break;case Q.decrease:o.status=G.decreasing;break;case Q.random:o.status=A()>=s?G.increasing:G.decreasing}const t=a.mode===Q.auto;switch(a.startValue){case K.min:o.value=o.min,t&&(o.status=G.increasing);break;case K.max:o.value=o.max,t&&(o.status=G.decreasing);break;case K.random:default:o.value=U(o),t&&(o.status=A()>=s?G.increasing:G.decreasing)}}return o.initialValue=o.value,o}(this.options.size,r),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(e),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.zIndexFactor=this.position.z/o.zLayers,this.sides=24,this.effect&&(m=o.effectDrawers.get(this.effect)),m?.loadEffect&&m.loadEffect(this),this.shape&&(v=o.shapeDrawers.get(this.shape)),v?.loadShape&&v.loadShape(this);const w=v?.getSidesCount;w&&(this.sides=w(this)),this.spawning=!1;for(const t of o.particleUpdaters)t.init(this);m?.particleInit?.(o,this),v?.particleInit?.(o,this);for(const t of o.particleCreatedPlugins)t.particleCreated?.(this)}isInsideCanvas(){const t=this.getRadius(),e=this._container.canvas.size,i=this.position;return i.x>=-t&&i.y>=-t&&i.y<=e.height+t&&i.x<=e.width+t}isShowingBack(){if(!this.roll)return!1;const t=this.roll.angle;if(this.roll.horizontal&&this.roll.vertical){const e=t%p,i=e<0?e+p:e;return i>=Math.PI*s&&i<3*Math.PI*s}if(this.roll.horizontal){const e=(t+Math.PI*s)%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}if(this.roll.vertical){const e=t%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}return!1}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const t of this._container.particleUpdaters)t.reset?.(this)}_calcPosition=(t,e)=>{let i=0,s=t?x.create(t.x,t.y,e):void 0;const n=this._container,a=n.particlePositionPlugins,o=this.options.move.outModes,r=this.getRadius(),l=n.canvas.size,c=new AbortController,{signal:h}=c;for(;!h.aborted;){for(const t of a){const i=t.particlePosition?.(s,this);if(i)return x.create(i.x,i.y,e)}const t=N({size:l,position:s}),c=x.create(t.x,t.y,e);this._fixHorizontal(c,r,o.left??o.default),this._fixHorizontal(c,r,o.right??o.default),this._fixVertical(c,r,o.top??o.default),this._fixVertical(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}return s};_calculateVelocity=()=>{const t=function(t){const e=S.origin;return e.length=1,e.angle=t,e}(this.direction).copy(),e=this.options.move;if(e.direction===b.inside||e.direction===b.outside)return t;const i=H(q(e.angle.value)),n=H(q(e.angle.offset)),a={left:n-i*s,right:n+i*s};return e.straight||(t.angle+=U(W(a.left,a.right))),e.random&&"number"==typeof e.speed&&(t.length*=A()),t};_fixHorizontal=(t,e,i)=>{ui({outMode:i,checkModes:[zt.bounce],coord:t.x,maxCoord:this._container.canvas.size.width,setCb:e=>t.x+=e,radius:e})};_fixVertical=(t,e,i)=>{ui({outMode:i,checkModes:[zt.bounce],coord:t.y,maxCoord:this._container.canvas.size.height,setCb:e=>t.y+=e,radius:e})};_getRollColor=t=>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;_initPosition=t=>{const e=this._container,i=Math.floor(q(this.options.zIndex.value)),n=this._calcPosition(t,B(i,0,e.zLayers));if(!n)throw new Error("a valid position cannot be found for particle");this.position=n,this.initialPosition=this.position.copy();const a=e.canvas.size;switch(this.moveCenter={...ot(this.options.move.center,a),radius:this.options.move.center.radius,mode:this.options.move.center.mode},this.direction=function(t,e,i){if(k(t))return H(t);switch(t){case b.top:return-Math.PI*s;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*s;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 A()*p}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case b.inside:this.outType=Mt.inside;break;case b.outside:this.outType=Mt.outside}this.offset=S.origin}}class fi{_cellSize;_cells=new Map;_circlePool=[];_circlePoolIdx;_pendingCellSize;_rectanglePool=[];_rectanglePoolIdx;constructor(t){this._cellSize=t,this._circlePoolIdx=0,this._rectanglePoolIdx=0}clear(){this._cells.clear();const t=this._pendingCellSize;t&&(this._cellSize=t),this._pendingCellSize=void 0}insert(t){const{x:e,y:i}=t.getPosition(),s=this._cellKeyFromCoords(e,i);this._cells.has(s)||this._cells.set(s,[]),this._cells.get(s)?.push(t)}query(t,e,i=[]){const s=this._getRangeBounds(t);if(!s)return i;const n=Math.floor(s.minX/this._cellSize),a=Math.floor(s.maxX/this._cellSize),o=Math.floor(s.minY/this._cellSize),r=Math.floor(s.maxY/this._cellSize);for(let s=n;s<=a;s++)for(let n=o;n<=r;n++){const a=`${s}_${n}`,o=this._cells.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._acquireCircle(t.x,t.y,e),a=this.query(n,i,s);return this._releaseShapes(),a}queryRectangle(t,e,i,s=[]){const n=this._acquireRectangle(t.x,t.y,e.width,e.height),a=this.query(n,i,s);return this._releaseShapes(),a}setCellSize(t){this._pendingCellSize=t}_acquireCircle(t,e,i){return(this._circlePool[this._circlePoolIdx++]??=new It(t,e,i)).reset(t,e,i)}_acquireRectangle(t,e,i,s){return(this._rectanglePool[this._rectanglePoolIdx++]??=new Ot(t,e,i,s)).reset(t,e,i,s)}_cellKeyFromCoords(t,e){return`${Math.floor(t/this._cellSize)}_${Math.floor(e/this._cellSize)}`}_getRangeBounds(t){if(t instanceof It){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 Ot){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}_releaseShapes(){this._circlePoolIdx=0,this._rectanglePoolIdx=0}}class _i{checkParticlePositionPlugins;grid;_array;_container;_groupLimits;_limit;_nextId;_particleBuckets;_particleResetPlugins;_particleUpdatePlugins;_pluginManager;_pool;_postParticleUpdatePlugins;_postUpdatePlugins;_resizeFactor;_updatePlugins;_zBuckets;constructor(t,e){this._pluginManager=t,this._container=e,this._nextId=0,this._array=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._particleBuckets=new Map,this._zBuckets=this._createBuckets(this._container.zLayers),this.grid=new fi(100),this.checkParticlePositionPlugins=[],this._particleResetPlugins=[],this._particleUpdatePlugins=[],this._postUpdatePlugins=[],this._postParticleUpdatePlugins=[],this._updatePlugins=[]}get count(){return this._array.length}addParticle(t,e,i,s){const n=this._container.actualOptions.particles.number.limit.mode,a=void 0===i?this._limit:this._groupLimits.get(i)??this._limit,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._pool.pop()??new pi(this._pluginManager,this._container);n.init(this._nextId,t,e,i);let a=!0;return s&&(a=s(n)),a?(this._array.push(n),this._insertParticleIntoBucket(n),this._nextId++,this._container.dispatchEvent(pt.particleAdded,{particle:n}),n):void this._pool.push(n)}catch(t){yt().warning(`error adding particle: ${t}`)}}clear(){this._array=[],this._particleBuckets.clear(),this._resetBuckets(this._container.zLayers)}destroy(){this._array=[],this._pool.length=0,this._particleBuckets.clear(),this._zBuckets=[],this.checkParticlePositionPlugins=[],this._particleResetPlugins=[],this._particleUpdatePlugins=[],this._postUpdatePlugins=[],this._postParticleUpdatePlugins=[],this._updatePlugins=[]}drawParticles(t){for(let e=this._zBuckets.length-1;e>=0;e--){const i=this._zBuckets[e];if(i)for(const e of i)e.draw(t)}}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}async init(){const t=this._container,e=t.actualOptions;this.checkParticlePositionPlugins=[],this._updatePlugins=[],this._particleUpdatePlugins=[],this._postUpdatePlugins=[],this._particleResetPlugins=[],this._postParticleUpdatePlugins=[],this._particleBuckets.clear(),this._resetBuckets(t.zLayers),this.grid=new fi(100*t.retina.pixelRatio);for(const e of t.plugins)e.redrawInit&&await e.redrawInit(),e.checkParticlePosition&&this.checkParticlePositionPlugins.push(e),e.update&&this._updatePlugins.push(e),e.particleUpdate&&this._particleUpdatePlugins.push(e),e.postUpdate&&this._postUpdatePlugins.push(e),e.particleReset&&this._particleResetPlugins.push(e),e.postParticleUpdate&&this._postParticleUpdatePlugins.push(e);await this._container.initDrawersAndUpdaters();for(const e of this._container.effectDrawers.values())await(e.init?.(t));for(const e of this._container.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._container.canvas.render.drawParticles({value:0,factor:0})}remove(t,e,i){this.removeAt(this._array.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._removeParticle(a,i,s)&&(a--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this._container.actualOptions,e=t.particles.groups;let i=0;for(const t of this._container.plugins)t.particlesDensityCount&&(i+=t.particlesDensityCount());for(const t in e){const s=e[t];if(!s)continue;const n=pe(this._pluginManager,this._container,s);this._applyDensity(n,i,t)}this._applyDensity(t.particles,i)}setResizeFactor(t){this._resizeFactor=t}update(t){this.grid.clear();for(const e of this._updatePlugins)e.update?.(t);const e=this._updateParticlesPhase1(t);for(const e of this._postUpdatePlugins)e.postUpdate?.(t);if(this._updateParticlesPhase2(t,e),e.size)for(const t of e)this.remove(t);delete this._resizeFactor}_addToPool=(...t)=>{this._pool.push(...t)};_applyDensity=(t,e,i,s)=>{const n=t.number;if(!n.density.enable)return void(void 0===i?this._limit=n.limit.value:(s?.number.limit.value??n.limit.value)&&this._groupLimits.set(i,s?.number.limit.value??n.limit.value));const a=this._initDensityFactor(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._limit=n.limit.value*a:this._groupLimits.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)};_createBuckets=t=>{const e=Math.max(Math.floor(t),1);return Array.from({length:e},()=>[])};_getBucketIndex=t=>{const e=this._zBuckets.length-1;return e<=0?0:Math.min(Math.max(Math.floor(t),0),e)};_getParticleInsertIndex=(t,e)=>{let i=0,s=t.length;for(;i<s;){const n=Math.floor((i+s)/2),a=t[n];a?a.id<e?i=n+1:s=n:s=n}return i};_initDensityFactor=t=>{const e=this._container;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};_insertParticleIntoBucket=t=>{const e=this._getBucketIndex(t.position.z),i=this._zBuckets[e];i&&(i.splice(this._getParticleInsertIndex(i,t.id),0,t),this._particleBuckets.set(t.id,e))};_removeParticle=(t,e,i)=>{const s=this._array[t];return!!s&&(s.group===e&&(this._array.splice(t,1),this._removeParticleFromBucket(s),s.destroy(i),this._container.dispatchEvent(pt.particleRemoved,{particle:s}),this._addToPool(s),!0))};_removeParticleFromBucket=t=>{const e=this._particleBuckets.get(t.id)??this._getBucketIndex(t.position.z),i=this._zBuckets[e];if(!i)return void this._particleBuckets.delete(t.id);const s=this._getParticleInsertIndex(i,t.id);i[s]?.id===t.id?(i.splice(s,1),this._particleBuckets.delete(t.id)):this._particleBuckets.delete(t.id)};_resetBuckets=t=>{const e=Math.max(Math.floor(t),1);if(this._zBuckets.length===e)for(const t of this._zBuckets)t.length=0;else this._zBuckets=this._createBuckets(e)};_updateParticleBucket=t=>{const e=this._getBucketIndex(t.position.z),i=this._particleBuckets.get(t.id);if(void 0===i)return void this._insertParticleIntoBucket(t);if(i===e)return;const s=this._zBuckets[i];if(s){const e=this._getParticleInsertIndex(s,t.id);s[e]?.id===t.id&&s.splice(e,1)}const n=this._zBuckets[e];n?(n.splice(this._getParticleInsertIndex(n,t.id),0,t),this._particleBuckets.set(t.id,e)):this._particleBuckets.set(t.id,e)};_updateParticlesPhase1=t=>{const e=new Set,i=this._resizeFactor;for(const s of this._array){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._particleResetPlugins)t.particleReset?.(s);for(const e of this._particleUpdatePlugins){if(s.destroyed)break;e.particleUpdate?.(s,t)}s.destroyed?e.add(s):this.grid.insert(s)}return e};_updateParticlesPhase2=(t,e)=>{for(const i of this._array)if(i.destroyed)e.add(i);else{for(const e of this._container.particleUpdaters)e.update(i,t);if(!i.spawning)for(const e of this._postParticleUpdatePlugins)e.postParticleUpdate?.(i,t);this._updateParticleBucket(i)}}}class gi{container;pixelRatio;reduceFactor;constructor(t){this.container=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.container,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=q(s.gravity.maxSpeed)*i,a.moveDrift=q(s.drift)*i,a.moveSpeed=q(s.speed)*i,a.sizeAnimationSpeed=q(e.size.animation.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 yi(t){return!t.destroyed}function mi(t,e,...i){const s=new fe(t,e);return ue(s,...i),s}var vi=Object.freeze({__proto__:null,Container:class{actualOptions;canvas;destroyed;effectDrawers;fpsLimit;hdr;id;pageHidden;particleCreatedPlugins;particleDestroyedPlugins;particlePositionPlugins;particleUpdaters;particles;plugins;retina;shapeDrawers;started;zLayers;_delay;_delayTimeout;_delta={value:0,factor:0};_dispatchCallback;_drawAnimationFrame;_duration;_eventListeners;_firstStart;_initialSourceOptions;_lastFrameTime;_lifeTime;_onDestroy;_options;_paused;_pluginManager;_smooth;_sourceOptions;constructor(t){const{dispatchCallback:e,pluginManager:i,id:s,onDestroy:n,sourceOptions:a}=t;this._pluginManager=i,this._dispatchCallback=e,this._onDestroy=n,this.id=Symbol(s),this.fpsLimit=120,this.hdr=!1,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=a,this._initialSourceOptions=a,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.retina=new gi(this),this.canvas=new hi(this._pluginManager,this),this.particles=new _i(this._pluginManager,this),this.plugins=[],this.particleDestroyedPlugins=[],this.particleCreatedPlugins=[],this.particlePositionPlugins=[],this._options=mi(this._pluginManager,this),this.actualOptions=mi(this._pluginManager,this),this._eventListeners=new di(this),this.dispatchEvent(pt.containerBuilt)}get animationStatus(){return!this._paused&&!this.pageHidden&&yi(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addLifeTime(t){this._lifeTime+=t}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(t=!0){if(yi(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._pluginManager.clearPlugins(this),this.destroyed=!0,this._onDestroy(t),this.dispatchEvent(pt.containerDestroyed)}}dispatchEvent(t,e){this._dispatchCallback(t,{container:this,data:e})}draw(t){if(!yi(this))return;let e=t;this._drawAnimationFrame=F(t=>{e&&(this._lastFrameTime=void 0,e=!1),this._nextFrame(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}yt().error(`Export plugin with type ${t} not found`)}async init(){if(!yi(this))return;const t=new Map;for(const e of this._pluginManager.plugins){const i=await e.getPlugin(this);i.preInit&&await i.preInit(),t.set(e,i)}await this.initDrawersAndUpdaters(),this._options=mi(this._pluginManager,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=mi(this._pluginManager,this,this._options),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:a,smooth:o,zLayers:r}=this.actualOptions;this.hdr=a,this.zLayers=r,this._duration=q(i)*n,this._delay=q(e)*n,this._lifeTime=0,this.fpsLimit=s>0?s:120,this._smooth=o;for(const t of this.plugins)await(t.init?.());await this.particles.init(),this.dispatchEvent(pt.containerInit),this.particles.setDensity();for(const t of this.plugins)t.particlesSetup?.();this.dispatchEvent(pt.particlesSetup)}async initDrawersAndUpdaters(){const t=this._pluginManager;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(yi(this)&&(void 0!==this._drawAnimationFrame&&(t=this._drawAnimationFrame,T(t),delete this._drawAnimationFrame),!this._paused)){for(const t of this.plugins)t.pause?.();this.pageHidden||(this._paused=!0),this.dispatchEvent(pt.containerPaused)}}play(t){if(!yi(this))return;const e=this._paused||t;if(!this._firstStart||this.actualOptions.autoPlay){if(this._paused&&(this._paused=!1),e)for(const t of this.plugins)t.play&&t.play();this.dispatchEvent(pt.containerPlay),this.draw(e??!1)}else this._firstStart=!1}async refresh(){if(yi(this))return this.stop(),this.start()}async reset(t){if(yi(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=mi(this._pluginManager,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=mi(this._pluginManager,this,this._options),this.refresh()}async start(){yi(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{const e=async()=>{this._eventListeners.addListeners();for(const t of this.plugins)await(t.start?.());this.dispatchEvent(pt.containerStarted),this.play(),t()};this._delayTimeout=setTimeout(()=>{e()},this._delay)}))}stop(){if(yi(this)&&this.started){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.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._sourceOptions=this._options,this.dispatchEvent(pt.containerStopped)}}updateActualOptions(){let t=!1;for(const e of this.plugins)e.updateActualOptions&&(t=e.updateActualOptions()||t);return t}_nextFrame=t=>{try{if(!this._smooth&&void 0!==this._lastFrameTime&&t<this._lastFrameTime+n/this.fpsLimit)return void this.draw(!1);if(this._lastFrameTime??=t,function(t,e,i=60,s=!1){t.value=e,t.factor=s?60/i:60*e/n}(this._delta,t-this._lastFrameTime,this.fpsLimit,this._smooth),this.addLifeTime(this._delta.value),this._lastFrameTime=t,this._delta.value>n)return void this.draw(!1);if(this.canvas.render.drawParticles(this._delta),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){yt().error("error in animation loop",t)}}}});var wi=Object.freeze({__proto__:null,EmittersPluginInstance:class{container;_instancesManager;constructor(t,e){this.container=e,this._instancesManager=t,this._instancesManager.initContainer(e)}async init(){const t=this.container.actualOptions.emitters;if(O(t))for(const e of t)await this._instancesManager.addEmitter(this.container,e);else await this._instancesManager.addEmitter(this.container,t)}pause(){for(const t of this._instancesManager.getArray(this.container))t.pause()}play(){for(const t of this._instancesManager.getArray(this.container))t.play()}resize(){for(const t of this._instancesManager.getArray(this.container))t.resize()}stop(){this._instancesManager.clear(this.container)}update(t){this._instancesManager.getArray(this.container).forEach(e=>{e.update(t)})}}});const Pi=new Map;var bi=Object.freeze({__proto__:null,ShapeManager:class{addShapeGenerator(t,e){this.getShapeGenerator(t)||Pi.set(t,e)}getShapeGenerator(t){return Pi.get(t)}getSupportedShapeGenerators(){return Pi.keys()}}});var zi=Object.freeze({__proto__:null,EmittersInstancesManager:class{_containerArrays;_pluginManager;constructor(t){this._containerArrays=new Map,this._pluginManager=t}async addEmitter(t,e,i){const s=new Le;s.load(e);const{EmitterInstance:n}=await Promise.resolve().then(function(){return Mi}),a=new n(this._pluginManager,t,e=>{this.removeEmitter(t,e)},s,i);return await a.init(),this.getArray(t).push(a),a}clear(t){this.initContainer(t),this._containerArrays.set(t,[])}getArray(t){this.initContainer(t);let e=this._containerArrays.get(t);return e||(e=[],this._containerArrays.set(t,e)),e}initContainer(t){this._containerArrays.has(t)||(this._containerArrays.set(t,[]),t.getEmitter=e=>{const i=this.getArray(t);return void 0===e||k(e)?i[e??0]:i.find(t=>t.name===e)},t.addEmitter=async(e,i)=>this.addEmitter(t,e,i),t.removeEmitter=e=>{const i=t.getEmitter?.(e);i&&this.removeEmitter(t,i)},t.playEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPlay()},t.pauseEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPause()})}removeEmitter(t,e){const i=this.getArray(t).indexOf(e);i>=0&&this.getArray(t).splice(i,1)}}});function xi(t,e,i,s){(t.paint??=new ee).fill={color:At.create(void 0,{value:e}),enable:s,opacity:i}}function Si(t,e,i,s){(t.paint??=new ee).stroke={color:At.create(void 0,{value:e}),opacity:i,width:s}}var Mi=Object.freeze({__proto__:null,EmitterInstance:class{fill;name;options;position;size;spawnFillColor;spawnFillEnabled;spawnFillOpacity;spawnStrokeColor;spawnStrokeOpacity;spawnStrokeWidth;_container;_currentDuration;_currentEmitDelay;_currentSpawnDelay;_duration;_emitDelay;_firstSpawn;_immortal;_initialPosition;_lifeCount;_mutationObserver;_particlesOptions;_paused;_pluginManager;_removeCallback;_resizeObserver;_shape;_size;_spawnDelay;_startParticlesAdded;constructor(t,e,i,s,a){this._pluginManager=t,this._container=e,this._removeCallback=i,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=a,s instanceof Le?this.options=s:(this.options=new Le,this.options.load(s)),this._spawnDelay=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;const o=it({},this.options.particles);if(o.move??={},o.move.direction??=this.options.direction,this.options.spawn.fill?.color&&(this.spawnFillColor=Pe(this._pluginManager,this.options.spawn.fill.color)),this.options.spawn.stroke?.color&&(this.spawnStrokeColor=Pe(this._pluginManager,this.options.spawn.stroke.color)),this._paused=!this.options.autoPlay,this._particlesOptions=o,this._size=this._calcSize(),this.size=rt(this._size,this._container.canvas.size),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this.options.domId){const t=Z().getElementById(this.options.domId);t&&(this._mutationObserver=new MutationObserver(()=>{this.resize()}),this._resizeObserver=new ResizeObserver(()=>{this.resize()}),this._mutationObserver.observe(t,{attributes:!0,attributeFilter:["style","width","height"]}),this._resizeObserver.observe(t))}const r=this.options.shape,l=this._pluginManager.emitterShapeManager?.getShapeGenerator(r.type);l&&(this._shape=l.generate(this._container,this.position,this.size,this.fill,r.options)),this._container.dispatchEvent("emitterCreated",{emitter:this}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}async init(){await(this._shape?.init())}pause(){this._paused||delete this._emitDelay}play(){if(this._paused)return;if(!(this._lifeCount>0||this._immortal)&&this.options.life.count||!(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0)))return;const t=this._container;if(void 0===this._emitDelay){const e=q(this.options.rate.delay);this._emitDelay=t.retina.reduceFactor?e*n/t.retina.reduceFactor:1/0}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}resize(){const t=this._initialPosition,e=this._container;var i,s,n;this.position=t&&(i=t,s=e.canvas.size,n=S.origin,function(t,e,i){let s=!0;return s=t.top<e.height+i.x,s&&(s=t.right>i.x),s&&(s=t.left<e.width+i.y),s&&(s=t.bottom>i.y),s}(function(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}(i,0),s,n))?t:this._calcPosition(),this._size=this._calcSize(),this.size=rt(this._size,e.canvas.size),this._shape?.resize(this.position,this.size)}update(t){if(this._paused)return;const e=this._container;this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=t.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._shape?.resize(this.position,this.size),this._spawnDelay=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=t.value,this._currentSpawnDelay>=this._spawnDelay&&(this._container.dispatchEvent("emitterPlay"),this.play(),this._currentSpawnDelay-=this._spawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=t.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay))}_calcPosition(){const t=this._container;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect(),n=t.retina.pixelRatio;return{x:(i.x+i.width*s)*n,y:(i.y+i.height*s)*n}}}return j({size:t.canvas.size,position:this.options.position})}_calcSize(){const t=this._container;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect();return{width:i.width*t.retina.pixelRatio,height:i.height*t.retina.pixelRatio,mode:J.precise}}}return this.options.size??(()=>{const t=new Te;return t.load({height:0,mode:J.percent,width:0}),t})()}_destroy=()=>{this._mutationObserver?.disconnect(),this._mutationObserver=void 0,this._resizeObserver?.disconnect(),this._resizeObserver=void 0,this._removeCallback(this),this._container.dispatchEvent("emitterDestroyed",{emitter:this})};_emit(){if(this._paused)return;const t=q(this.options.rate.quantity);this._emitParticles(t)}_emitParticles(t){const e=nt(this._particlesOptions)??{},i=this.options.spawn.fill?.color?.animation,s=this.options.spawn.fill?.enable??!!this.options.spawn.fill?.color,n=void 0===this.options.spawn.fill?.opacity?1:q(this.options.spawn.fill.opacity),a=this.options.spawn.stroke?.color?.animation,o=void 0===this.options.spawn.stroke?.opacity?1:q(this.options.spawn.stroke.opacity),r=void 0===this.options.spawn.stroke?.width?1:q(this.options.spawn.stroke.width),l=this._container.retina.reduceFactor,c=!!i,h=!!a,d=!!this._shape,u=c||h,p=u||d,f=u?{h:m,s:v,l:w}:null,_=this.options.shape;for(let c=0;c<t*l;c++){const t=p?it({},e):e;this.spawnFillOpacity=n,this.spawnFillEnabled=s,this.spawnStrokeOpacity=o,this.spawnStrokeWidth=r,this.spawnFillColor&&(i&&f&&(this.spawnFillColor.h=this._setColorAnimation(i.h,this.spawnFillColor.h,f.h,3.6),this.spawnFillColor.s=this._setColorAnimation(i.s,this.spawnFillColor.s,f.s),this.spawnFillColor.l=this._setColorAnimation(i.l,this.spawnFillColor.l,f.l)),xi(t,this.spawnFillColor,this.spawnFillOpacity,this.spawnFillEnabled)),this.spawnStrokeColor&&(a&&f&&(this.spawnStrokeColor.h=this._setColorAnimation(a.h,this.spawnStrokeColor.h,f.h,3.6),this.spawnStrokeColor.s=this._setColorAnimation(a.s,this.spawnStrokeColor.s,f.s),this.spawnStrokeColor.l=this._setColorAnimation(a.l,this.spawnStrokeColor.l,f.l)),Si(t,this.spawnStrokeColor,this.spawnStrokeOpacity,this.spawnStrokeWidth));let l=this.position;if(this._shape){const e=this._shape.randomPosition();if(e){l=e.position;const i=_.replace;i.color&&e.color&&xi(t,e.color,i.opacity?e.opacity??1:1,!0)}else l=null}l&&this._container.particles.addParticle(l,t)}}_prepareToDie=()=>{if(this._paused)return;const t=void 0!==this.options.life.duration?q(this.options.life.duration):void 0;(this._lifeCount>0||this._immortal)&&void 0!==t&&t>0&&(this._duration=t*n)};_setColorAnimation=(t,e,i,s=1)=>{const a=this._container;if(!t.enable)return e;const o=U(t.offset),r=q(this.options.rate.delay),l=a.retina.reduceFactor?r*n/a.retina.reduceFactor:1/0;return(e+q(t.speed)*a.fpsLimit/l+o*s)%i}}});t.loadSquaresPreset=ni,t.tsParticles=Oe}),Object.assign(globalThis.window||globalThis,{loadSquaresPreset:(globalThis.__tsParticlesInternals.presets.squares||{}).loadSquaresPreset}),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.squares=t.__tsParticlesInternals.presets.squares||{}))}(this,function(t){"use strict";const e="generated",i=100,s=.5,n=1e3,a=0,o=0,r=0,l=1,c=0,h=0,d=1,u="random",p=2*Math.PI,f="true",_="false",g="canvas",y=255,m=360,v=100,w=100,P=.25;var b;function z(t){return"z"in t?t.z:r}!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 x{x;y;z;constructor(t=a,e=o,i=r){this.x=t,this.y=e,this.z=i}static get origin(){return x.create(a,o,r)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return x.create(t.x,t.y,z(t))}static create(t,e,i){return"number"==typeof t?new x(t,e??o,i??r):new x(t.x,t.y,z(t))}add(t){return x.create(this.x+t.x,this.y+t.y,this.z+z(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=z(t)}copy(){return x.clone(this)}div(t){return x.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return x.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 x.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),r)}setTo(t){this.x=t.x,this.y=t.y,this.z=z(t)}sub(t){return x.create(this.x-t.x,this.y-t.y,this.z-z(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=z(t)}_updateFromAngle(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class S extends x{constructor(t=a,e=o){super(t,e,r)}static get origin(){return S.create(a,o)}static clone(t){return S.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new S(t,e??o):new S(t.x,t.y)}}function M(t){return"boolean"==typeof t}function C(t){return"string"==typeof t}function k(t){return"number"==typeof t}function I(t){return"object"==typeof t&&null!==t}function O(t){return Array.isArray(t)}function D(t){return null==t}const E=Math.PI/180;let R=Math.random;const F=t=>requestAnimationFrame(t),T=t=>{cancelAnimationFrame(t)};function A(){return B(R(),0,1-Number.EPSILON)}function L(t,e){return A()*(e-t)+t}function B(t,e,i){return Math.min(Math.max(t,e),i)}function U(t){const e=V(t);let i=$(t);return e===i&&(i=0),L(i,e)}function q(t){return k(t)?t:U(t)}function $(t){return k(t)?t:t.min}function V(t){return k(t)?t:t.max}function W(t,e){if(t===e||void 0===e&&k(t))return t;const i=$(t),s=V(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:W(i,s)}function H(t){return t*E}function j(t){const e={x:void 0!==t.position?.x?q(t.position.x):void 0,y:void 0!==t.position?.y?q(t.position.y):void 0};return function(t){return{x:(t.position?.x??A()*i)*t.size.width/i,y:(t.position?.y??A()*i)*t.size.height/i}}({size:t.size,position:e})}function N(t){const{position:e,size:i}=t;return{x:e?.x??A()*i.width,y:e?.y??A()*i.height}}var Q,G,X,Y,J,K;!function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(Q||(Q={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(G||(G={})),function(t){t.none="none",t.max="max",t.min="min"}(X||(X={})),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(Y||(Y={})),function(t){t.precise="precise",t.percent="percent"}(J||(J={})),function(t){t.max="max",t.min="min",t.random="random"}(K||(K={}));function Z(){return globalThis.document}function tt(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function et(t,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor(A()*t.length)}(t)]}function it(t,...e){for(const i of e){if(D(i))continue;if(!I(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):I(t)&&!Array.isArray(t)||(t={});const e=Object.keys(i),s=new Set(["__proto__","constructor","prototype"]);if(!e.some(t=>{const e=i[t];return I(e)||Array.isArray(e)})){const n=i,a=t;for(const t of e)if(!s.has(t)&&t in n){const e=n[t];void 0!==e&&(a[t]=e)}continue}for(const n of e){if(s.has(n))continue;const e=t,a=i[n];e[n]=Array.isArray(a)?a.map(t=>it(void 0,t)):it(e[n],a)}}return t}function st(t,e){return O(t)?t.map((t,i)=>e(t,i)):e(t,0)}function nt(t,e,i){return O(t)?et(t,e,i):t}function at(t,e){if(!(t.mode===J.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/i*e.width,y:t.y/i*e.height}:{width:t.width/i*e.width,height:t.height/i*e.height}}function ot(t,e){return at(t,e)}function rt(t,e){return at(t,e)}function lt(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;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case G.increasing:e.value+=a;break;case G.decreasing:e.value-=a}switch(e.velocity&&1!==l&&(e.velocity*=l),e.status){case G.increasing:e.value>=r&&(i?e.status=G.decreasing:e.value-=r,e.loops??=0,e.loops++);break;case G.decreasing:e.value<=o&&(i?e.status=G.increasing:e.value+=r,e.loops??=0,e.loops++)}!function(t,e,i,s,n){switch(e){case X.max:i>=n&&t.destroy();break;case X.min:i<=s&&t.destroy()}}(t,s,e.value,o,r),t.destroyed||(e.value=B(e.value,o,r))}}const ct=function(t){const e=new Map,i=(t,e=new WeakSet)=>{if(null===t)return"null";const s=typeof t;if("undefined"===s)return"undefined";if("number"===s||"boolean"===s||"string"===s)return JSON.stringify(t);if("function"===s)try{return t.toString()}catch{return'"[Function]"'}if("symbol"===s)try{return t.toString()}catch{return'"[Symbol]"'}if(Array.isArray(t))return`[${t.map(t=>i(t,e)).join(",")}]`;if(e.has(t))return'"[Circular]"';e.add(t);return`{${Object.keys(t).sort().map(s=>`${JSON.stringify(s)}:${i(t[s],e)}`).join(",")}}`},s=t=>(t=>i(t))(t);return(...i)=>{const n=s(i),a=Date.now(),o=e.get(n);if(void 0!==o)return e.delete(n),e.set(n,{value:o.value,ts:o.ts}),o.value;const r=t(...i);return e.set(n,{value:r,ts:a}),r}}(function(t){const e=Z().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0","pointer-events":"none"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e});function ht(t,e,i,s,n){if(s){let s={passive:!0};M(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 dt(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 ut{_listeners;constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const s=i.length,n=i.indexOf(e);n<0||(1===s?this._listeners.delete(t):i.splice(n,1))}}var pt;!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"}(pt||(pt={}));class ft{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;_allLoadersSet=new Set;_configs=new Map;_engine;_executedSet=new Set;_initialized=!1;_isRunningLoaders=!1;_loadPromises=new Set;constructor(t){this._engine=t}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._engine.dispatchEvent(pt.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 dt(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 dt(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._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(const t of this._allLoadersSet)await this._runLoader(t,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._isRunningLoaders?await this._runLoader(e,this._executedSet,this._allLoadersSet):this._loadPromises.add(e)}async _runLoader(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this._engine))}}const _t=t=>(...e)=>{t(...e)},gt={debug:_t(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:_t(console.info),log:_t(console.log),trace:_t(console.trace),verbose:_t(console.log),warning:_t(console.warn)};function yt(){return gt}const mt="100%";class vt{pluginManager=new ft(this);_domArray=[];_eventDispatcher=new ut;_initialized=!1;get items(){return this._domArray}get version(){return"4.0.3"}addEventListener(t,e){this._eventDispatcher.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._eventDispatcher.dispatchEvent(t,e)}async init(){this._initialized||(await this.pluginManager.init(),this._initialized=!0)}item(t){const{items:e}=this,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 vi}),n=t.id??i?.id??`tsparticles${Math.floor(1e4*A()).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():(yt().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=Z();let s;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===g)s=t,s.dataset[e]??=_,s.dataset[e]===f&&(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]=_):(s=i.createElement(g),s.dataset[e]=f,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=Z();let n=i??s.getElementById(t);return n||(n=s.createElement("canvas"),n.id=t,n.dataset[e]=f,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._eventDispatcher.removeEventListener(t,e)}}var wt,Pt,bt,zt,xt,St,Mt,Ct;!function(t){t.circle="circle",t.rectangle="rectangle"}(wt||(wt={}));class kt{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 It extends kt{radius;constructor(t,e,i){super(t,e,wt.circle),this.radius=i}contains(t){return e=t,i=this.position,s=this.radius,function(t,e){const i=t.x-e.x,s=t.y-e.y;return i*i+s*s}(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 It||t.type===wt.circle){return s+t.radius>Math.hypot(n,a)}if(t instanceof Ot||t.type===wt.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 Ot extends kt{size;constructor(t,e,i,s){super(t,e,wt.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 It)return t.intersects(this);if(!(t instanceof Ot))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"}(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"}(zt||(zt={})),function(t){t.darken="darken",t.enlighten="enlighten"}(xt||(xt={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(St||(St={})),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(Mt||(Mt={})),function(t){t.easeInBack="ease-in-back",t.easeInBounce="ease-in-bounce",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInElastic="ease-in-elastic",t.easeInExpo="ease-in-expo",t.easeInGaussian="ease-in-gaussian",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInSigmoid="ease-in-sigmoid",t.easeInSine="ease-in-sine",t.easeInSmoothstep="ease-in-smoothstep",t.easeOutBack="ease-out-back",t.easeOutBounce="ease-out-bounce",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutElastic="ease-out-elastic",t.easeOutExpo="ease-out-expo",t.easeOutGaussian="ease-out-gaussian",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutSigmoid="ease-out-sigmoid",t.easeOutSine="ease-out-sine",t.easeOutSmoothstep="ease-out-smoothstep",t.easeInOutBack="ease-in-out-back",t.easeInOutBounce="ease-in-out-bounce",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutElastic="ease-in-out-elastic",t.easeInOutExpo="ease-in-out-expo",t.easeInOutGaussian="ease-in-out-gaussian",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutSigmoid="ease-in-out-sigmoid",t.easeInOutSine="ease-in-out-sine",t.easeInOutSmoothstep="ease-in-out-smoothstep"}(Ct||(Ct={}));class Dt{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){D(t)||(void 0!==t.count&&(this.count=W(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class Et extends Dt{mode;startValue;constructor(){super(),this.mode=Q.auto,this.startValue=K.random}load(t){super.load(t),D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class Rt extends Dt{max;min;offset;constructor(t,e){super(),this.min=t,this.max=e,this.offset=0,this.sync=!0}load(t){super.load(t),D(t)||(void 0!==t.max&&(this.max=t.max),void 0!==t.min&&(this.min=t.min),void 0!==t.offset&&(this.offset=W(t.offset)))}}class Ft{h=new Rt(0,m);l=new Rt(0,w);s=new Rt(0,v);load(t){D(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class Tt{value;constructor(){this.value=""}static create(t,e){const i=new Tt;return i.load(t),void 0!==e&&(C(e)||O(e)?i.load({value:e}):i.load(e)),i}load(t){D(t)||D(t.value)||(this.value=t.value)}}class At extends Tt{animation;constructor(){super(),this.animation=new Ft}static create(t,e){const i=new At;return i.load(t),void 0!==e&&(C(e)||O(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}class Lt{color;image;opacity;position;repeat;size;constructor(){this.color=new Tt,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){D(t)||(void 0!==t.color&&(this.color=Tt.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Bt{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(t){D(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class Ut{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(t){D(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class qt{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(t){if(D(t))return;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))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class $t{color;enable;opacity;constructor(){this.enable=!0,this.opacity=1}load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class Vt{offset;value;constructor(){this.offset=0,this.value=90}load(t){D(t)||(void 0!==t.offset&&(this.offset=W(t.offset)),void 0!==t.value&&(this.value=W(t.value)))}}class Wt{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=J.percent,this.radius=0}load(t){D(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class Ht{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){D(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=W(t.maxSpeed)))}}class jt{value;constructor(){this.value=0}load(t){D(t)||D(t.value)||(this.value=W(t.value))}}class Nt extends jt{animation=new Dt;load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Qt extends Nt{animation;constructor(){super(),this.animation=new Et}load(t){super.load(t)}}class Gt{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new jt,this.enable=!1,this.options={}}load(t){D(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=it(this.options,t.options)))}}class Xt{bottom;default;left;right;top;constructor(){this.default=zt.out}load(t){D(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 Yt{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(t){D(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=it({},t.position)))}}class Jt{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new Vt,this.center=new Wt,this.decay=0,this.distance={},this.direction=b.none,this.drift=0,this.enable=!1,this.gravity=new Ht,this.path=new Gt,this.outModes=new Xt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Yt,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if(D(t))return;this.angle.load(k(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=k(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=W(t.drift)),void 0!==t.enable&&(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),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=W(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class Kt extends Et{destroy;constructor(){super(),this.destroy=X.none,this.speed=2}load(t){super.load(t),D(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class Zt extends Qt{animation;constructor(){super(),this.animation=new Kt,this.value=1}load(t){if(D(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}class te{color;opacity;width;constructor(){this.width=0}load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.width&&(this.width=W(t.width)),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class ee{color;fill;stroke;load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),void 0!==t.stroke&&(this.stroke??=new te,this.stroke.load(t.stroke)))}}class ie extends jt{constructor(){super(),this.value=1}}class se{horizontal;vertical;constructor(){this.horizontal=new ie,this.vertical=new ie}load(t){D(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class ne{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(D(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}class ae{mode;value;constructor(){this.mode=bt.delete,this.value=0}load(t){D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class oe{density;limit;value;constructor(){this.density=new ne,this.limit=new ae,this.value=0}load(t){D(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}class re{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(t){if(D(t))return;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))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class le extends Et{destroy;constructor(){super(),this.destroy=X.none,this.speed=5}load(t){super.load(t),D(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class ce extends Qt{animation;constructor(){super(),this.animation=new le,this.value=3}load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class he extends jt{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),D(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class de{bounce;effect;groups;move;number;opacity;paint;palette;reduceDuplicates;shape;size;zIndex;_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e,this.bounce=new se,this.effect=new qt,this.groups={},this.move=new Jt,this.number=new oe,this.opacity=new Zt,this.paint=new ee,this.paint.color=new At,this.paint.color.value="#fff",this.paint.fill=new $t,this.paint.fill.enable=!0,this.reduceDuplicates=!1,this.shape=new re,this.size=new ce,this.zIndex=new he}load(t){if(D(t))return;if(t.palette&&(this.palette=t.palette,this._importPalette(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),this.opacity.load(t.opacity);const e=t.paint;if(e&&(O(e)?this.paint=st(e,t=>{const e=new ee;return e.load(t),e}):O(this.paint)?(this.paint=new ee,this.paint.load(e)):this.paint.load(e)),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),this._container){for(const e of this._pluginManager.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this._container,this,t);const e=this._pluginManager.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}_importPalette=t=>{const e=this._pluginManager.getPalette(t);if(!e)return;const i=e.colors,s=(O(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 ue(t,...e){for(const i of e)t.load(i)}function pe(t,e,...i){const s=new de(t,e);return ue(s,...i),s}class fe{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e,this.autoPlay=!0,this.background=new Lt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new Bt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=pe(this._pluginManager,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new Ut,this.smooth=!1,this.style={},this.zLayers=100}load(t){if(D(t))return;void 0!==t.preset&&(this.preset=t.preset,st(this.preset,t=>{this._importPreset(t)})),void 0!==t.palette&&(this.palette=t.palette,this._importPalette(this.palette)),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=W(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=W(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;M(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.particles.load(t.particles),this.resize.load(t.resize),this.style=it(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._pluginManager.plugins.forEach(e=>{e.loadOptions(this._container,this,t)})}_importPalette=t=>{const e=this._pluginManager.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})};_importPreset=t=>{this.load(this._pluginManager.getPreset(t))}}function _e(t,e){t.clearRect(a,o,e.width,e.height)}function ge(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}const ye=new Map;function me(t,e){let i=ye.get(t);if(!i){if(i=e(),ye.size>=1e3){[...ye.keys()].slice(0,500).forEach(t=>ye.delete(t))}ye.set(t,i)}return i}function ve(t,e,i,s=!0){if(!e)return;const n=C(e)?{value:e}:e;if(C(n.value))return we(t,n.value,i,s);if(O(n.value)){const e=et(n.value,i,s);if(!e)return;return ve(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function we(t,e,i,s=!0){if(!e)return;const n=C(e)?{value:e}:e;if(C(n.value))return n.value===u?function(){const t=0,e=256,i=()=>Math.floor(L(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(O(n.value)){const e=et(n.value,i,s);if(!e)return;return we(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(n);if(t)return t}}function Pe(t,e,i,n=!0){const a=ve(t,e,i,n);return a?function(t){const e=t.r/y,i=t.g/y,n=t.b/y,a=Math.max(e,i,n),o=Math.min(e,i,n),r={h:0,l:(a+o)*s,s:0};a!==o&&(r.s=r.l<s?(a-o)/(a+o):(a-o)/(2-a-o),r.h=e===a?(i-n)/(a-o):i===a?2+(n-e)/(a-o):4+(e-i)/(a-o));r.l*=w,r.s*=v,r.h*=60,r.h<0&&(r.h+=m);r.h>=m&&(r.h-=m);return r}(a):void 0}function be(t,e,i){const s=i??1;return me(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?ze(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??1).toString()})`}(t,i))}function ze(t,e){return`color(display-p3 ${(t.r/y).toString()} ${(t.g/y).toString()} ${(t.b/y).toString()} / ${(e??1).toString()})`}function xe(t,e,i){const n=i??1;return me(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,()=>e?function(t,e){return ze(function(t){const e=(t.h%m+m)%m,i=Math.max(0,Math.min(v,t.s)),n=Math.max(0,Math.min(w,t.l)),a=e/m,o=i/v,r=n/w;if(0===i){const t=Math.round(r*y);return{r:t,g:t,b:t}}const l=(t,e,i)=>(i<0&&i++,i>1&&i--,6*i<1?t+6*(e-t)*i:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t),c=r<s?r*(1+o):r+o-r*o,h=2*r-c,d=1/3,u=Math.min(y,y*l(h,c,a+d)),p=Math.min(y,y*l(h,c,a)),f=Math.min(y,y*l(h,c,a-d));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??1).toString()})`}(t,i))}function Se(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function Me(t,e,i){const s={h:{enable:!1,value:t.h,min:0,max:m},s:{enable:!1,value:t.s,min:0,max:v},l:{enable:!1,value:t.l,min:0,max:w}};return e&&(Ce(s.h,e.h,i),Ce(s.s,e.s,i),Ce(s.l,e.l,i)),s}function Ce(t,e,s){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=q(e.speed)/i*s,t.decay=1-q(e.decay),t.status=G.increasing,t.loops=0,t.maxLoops=q(e.count),t.time=0,t.delayTime=q(e.delay)*n,e.sync||(t.velocity*=A(),t.value*=A()),t.initialValue=t.value,t.offset=W(e.offset)):t.velocity=0}function ke(t,e,i){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 s=t.offset?U(t.offset):0,n=(t.velocity??0)*i.factor+3.6*s,a=t.decay??1,o=t.max,r=t.min;e&&t.status!==G.increasing?(t.value-=n,t.value<r&&(t.loops??=0,t.loops++,t.status=G.increasing)):(t.value+=n,t.value>o&&(t.loops??=0,t.loops++,e?t.status=G.decreasing:t.value-=o)),t.velocity&&1!==a&&(t.velocity*=a),t.value=B(t.value,r,o)}function Ie(t,e){if(!t)return;const{h:i,s:s,l:n}=t;ke(i,!1,e),ke(s,!0,e),ke(n,!0,e)}const Oe=new vt;class De{count;delay;duration;wait;constructor(){this.wait=!1}load(t){D(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.duration&&(this.duration=W(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class Ee{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){D(t)||(void 0!==t.quantity&&(this.quantity=W(t.quantity)),void 0!==t.delay&&(this.delay=W(t.delay)))}}class Re{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){D(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Fe{options;replace;type;constructor(){this.options={},this.replace=new Re,this.type="square"}load(t){D(t)||(void 0!==t.options&&(this.options=it({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}class Te{height;mode;width;constructor(){this.mode=J.percent,this.height=0,this.width=0}load(t){D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}class Ae{fill;stroke;load(t){D(t)||(t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new te,this.stroke.load(t.stroke)))}}class Le{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new De,this.rate=new Ee,this.shape=new Fe,this.spawn=new Ae,this.startCount=0}load(t){D(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new Te,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=st(t.particles,t=>it({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=W(t.position.x)),void 0!==t.position.y&&(this.position.y=W(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new At,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new At,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}class Be{id="emitters";_instancesManager;constructor(t){this._instancesManager=t}async getPlugin(t){const{EmittersPluginInstance:e}=await Promise.resolve().then(function(){return wi});return new e(this._instancesManager,t)}loadOptions(t,e,i){(this.needsPlugin(e)||this.needsPlugin(i))&&i?.emitters&&(e.emitters=st(i.emitters,t=>{const e=new Le;return e.load(t),e}))}needsPlugin(t){if(!t)return!1;const e=t.emitters;return O(e)&&!!e.length||void 0!==e}}const Ue=new WeakMap;var qe,$e;async function Ve(t){t.checkVersion("4.0.3"),await t.pluginManager.register(async t=>{const e=await function(t){const e=t.pluginManager;let i=Ue.get(e);return i||(i=Promise.resolve().then(function(){return zi}).then(({EmittersInstancesManager:t})=>new t(e)).catch(t=>{throw Ue.delete(e),t}),Ue.set(e,i)),i}(t);await async function(t){const{ShapeManager:e}=await Promise.resolve().then(function(){return bi}),i=t.pluginManager;i.emitterShapeManager??=new e,i.addEmitterShapeGenerator??=(t,e)=>{i.emitterShapeManager?.addShapeGenerator(t,e)}}(t),t.pluginManager.addPlugin(new Be(e))})}!function(t){t.emitter="emitter"}(qe||(qe={})),function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}($e||($e={}));const We=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,He=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class je{accepts(t){return t.startsWith("#")}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){if("string"!=typeof t||!this.accepts(t))return;const e=t.replace(We,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0===n?"":n+n)),i=He.exec(e);return i?{a:i[$e.a]?Number.parseInt(i[$e.a],16)/255:1,b:Number.parseInt(i[$e.b]??"0",16),g:Number.parseInt(i[$e.g]??"0",16),r:Number.parseInt(i[$e.r]??"0",16)}:void 0}}async function Ne(t){t.checkVersion("4.0.3"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new je)})}class Qe{_container;_pluginManager;constructor(t,e){this._container=e,this._pluginManager=t}init(t){const e=this._container,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=At.create(void 0===a?void 0:At.create(void 0,a),o.color);t.fillEnabled=o.enable,t.fillOpacity=q(o.opacity),t.fillAnimation=i.animation;const s=Pe(this._pluginManager,i);s&&(t.fillColor=Me(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=At.create(void 0===a?void 0:At.create(void 0,a),r.color);t.strokeWidth=q(r.width)*e.retina.pixelRatio,t.strokeOpacity=q(r.opacity??1),t.strokeAnimation=i.animation;const s=Pe(this._pluginManager,i)??t.getFillColor();s&&(t.strokeColor=Me(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)&&(Ie(t.fillColor,e),Ie(t.strokeColor,e))}}async function Ge(t){t.checkVersion("4.0.3"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new Qe(t.pluginManager,e)))})}class Xe{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){D(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class Ye extends jt{animation;direction;path;constructor(){super(),this.animation=new Xe,this.direction=Pt.clockwise,this.path=!1,this.value=0}load(t){D(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class Je{container;constructor(t){this.container=t}init(t){const e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:H(q(e.value)),min:0,max:p},t.pathRotation=e.path;let i=e.direction;if(i===Pt.random){i=Math.floor(2*A())>0?Pt.counterClockwise:Pt.clockwise}switch(i){case Pt.counterClockwise:case"counterClockwise":t.rotate.status=G.decreasing;break;case Pt.clockwise:t.rotate.status=G.increasing}const s=e.animation;s.enable&&(t.rotate.decay=1-q(s.decay),t.rotate.velocity=q(s.speed)/360*this.container.retina.reduceFactor,s.sync||(t.rotate.velocity*=A())),t.rotation=t.rotate.value}isEnabled(t){const e=t.options.rotate;return!!e&&(!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path))}loadOptions(t,...e){t.rotate??=new Ye;for(const i of e)t.rotate.load(i?.rotate)}update(t,e){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&(lt(t,t.rotate,!1,X.none,e),t.rotation=t.rotate.value))}}async function Ke(t){t.checkVersion("4.0.3"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("rotate",t=>Promise.resolve(new Je(t)))})}class Ze{_container;constructor(t){this._container=t}init(t){const e=this._container,s=t.options.size.animation;s.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/i*e.retina.reduceFactor,s.sync||(t.size.velocity*=A()))}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))}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&lt(t,t.size,!0,t.options.size.animation.destroy,e)}}async function ti(t){t.checkVersion("4.0.3"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new Ze(t)))})}class ei{draw(t){!function(t){const{context:e,radius:i}=t,s=i*Math.SQRT1_2,n=2*s;e.rect(-s,-s,n,n)}(t)}getSidesCount(){return 4}}async function ii(t){t.checkVersion("4.0.3"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["edge","square"],()=>Promise.resolve(new ei))})}const si={particles:{paint:{stroke:{width:5,color:{value:["#5bc0eb","#fde74c","#9bc53d","#e55934","#fa7921","#2FF3E0","#F8D210","#FA26A0","#F51720"]}},fill:{enable:!1}},shape:{type:"square"},rotate:{value:0,direction:Pt.counterClockwise,animation:{enable:!0,speed:2,sync:!0}},size:{value:{min:1,max:500},animation:{enable:!0,startValue:K.min,speed:60,sync:!0,destroy:X.max}}},background:{color:"#000"},emitters:{position:{y:50,x:50},rate:{delay:1,quantity:1}}};async function ni(t){await t.pluginManager.register(async t=>{await Promise.all([Ne(t),Ve(t),ii(t),Ke(t),ti(t),Ge(t)]),t.pluginManager.addPreset("squares",si)})}const ai=globalThis;ai.__tsParticlesInternals=ai.__tsParticlesInternals??{},ai.loadSquaresPreset=ni;function oi(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}class ri{_canvasClearPlugins;_canvasManager;_canvasPaintPlugins;_clearDrawPlugins;_colorPlugins;_container;_context;_contextSettings;_drawParticlePlugins;_drawParticlesCleanupPlugins;_drawParticlesSetupPlugins;_drawPlugins;_drawSettingsCleanupPlugins;_drawSettingsSetupPlugins;_pluginManager;_postDrawUpdaters;_preDrawUpdaters;_reusableColorStyles={};_reusablePluginColors=[void 0,void 0];_reusableTransform={};constructor(t,e,i){this._pluginManager=t,this._container=e,this._canvasManager=i,this._context=null,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._colorPlugins=[],this._canvasClearPlugins=[],this._canvasPaintPlugins=[],this._clearDrawPlugins=[],this._drawParticlePlugins=[],this._drawParticlesCleanupPlugins=[],this._drawParticlesSetupPlugins=[],this._drawPlugins=[],this._drawSettingsSetupPlugins=[],this._drawSettingsCleanupPlugins=[]}get settings(){return this._contextSettings}canvasClear(){this._container.actualOptions.clear&&this.draw(t=>{_e(t,this._canvasManager.size)})}clear(){let t=!1;for(const e of this._canvasClearPlugins)if(t=e.canvasClear?.()??!1,t)break;t||this.canvasClear()}destroy(){this.stop(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._colorPlugins=[],this._canvasClearPlugins=[],this._canvasPaintPlugins=[],this._clearDrawPlugins=[],this._drawParticlePlugins=[],this._drawParticlesCleanupPlugins=[],this._drawParticlesSetupPlugins=[],this._drawPlugins=[],this._drawSettingsSetupPlugins=[],this._drawSettingsCleanupPlugins=[]}draw(t){const e=this._context;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._getPluginParticleColors(t);if(a??=s,o??=n,!a&&!o)return;const r=this._container,l=t.options.zIndex,c=1-t.zIndexFactor,{fillOpacity:h,opacity:d,strokeOpacity:u}=t.getOpacity(),p=this._reusableTransform,f=this._reusableColorStyles,_=a?xe(a,r.hdr,h*d):void 0,g=o?xe(o,r.hdr,u*d):_;p.a=p.b=p.c=p.d=void 0,f.fill=_,f.stroke=g,this.draw(s=>{for(const i of this._drawParticlesSetupPlugins)i.drawParticleSetup?.(s,t,e);this._applyPreDrawUpdaters(s,t,i,d,f,p),function(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,_=s.strokeWidth??0;i.lineWidth=_,a.stroke&&(i.strokeStyle=a.stroke);const g={context:i,particle:s,radius:o,drawRadius:1*o,opacity:r,delta:n,pixelRatio:e.retina.pixelRatio,fill:f,stroke:_>0,transformData:u,position:{...d},drawPosition:p,drawScale:1};for(const t of e.plugins)t.drawParticleTransform?.(g);const y=s.effect?c.get(s.effect):void 0,m=s.shape?h.get(s.shape):void 0;!function(t,e){if(!t?.drawBefore)return;const{particle:i}=e;i.effect&&t.drawBefore(e)}(y,g),function(t,e){if(!t?.beforeDraw)return;const{particle:i}=e;i.shape&&t.beforeDraw(e)}(m,g),function(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())}(m,g),function(t,e){if(!t?.afterDraw)return;const{particle:i}=e;i.shape&&t.afterDraw(e)}(m,g),function(t,e){if(!t?.drawAfter)return;const{particle:i}=e;i.effect&&t.drawAfter(e)}(y,g),i.resetTransform()}({container:r,context:s,particle:t,delta:e,colorStyles:f,radius:i*c**l.sizeRate,opacity:d,transform:p}),this._applyPostDrawUpdaters(t);for(const i of this._drawParticlesCleanupPlugins)i.drawParticleCleanup?.(s,t,e)})}drawParticlePlugins(t,e){this.draw(i=>{for(const s of this._drawParticlePlugins)ge(i,s,t,e)})}drawParticles(t){const{particles:e}=this._container;this.clear(),e.update(t),this.draw(i=>{for(const e of this._drawSettingsSetupPlugins)e.drawSettingsSetup?.(i,t);for(const e of this._drawPlugins)e.draw?.(i,t);e.drawParticles(t);for(const e of this._clearDrawPlugins)e.clearDraw?.(i,t);for(const e of this._drawSettingsCleanupPlugins)e.drawSettingsCleanup?.(i,t)})}init(){this.initUpdaters(),this.initPlugins(),this.paint()}initPlugins(){this._colorPlugins=[],this._canvasClearPlugins=[],this._canvasPaintPlugins=[],this._clearDrawPlugins=[],this._drawParticlePlugins=[],this._drawParticlesSetupPlugins=[],this._drawParticlesCleanupPlugins=[],this._drawPlugins=[],this._drawSettingsSetupPlugins=[],this._drawSettingsCleanupPlugins=[];for(const t of this._container.plugins)(t.particleFillColor??t.particleStrokeColor)&&this._colorPlugins.push(t),t.canvasClear&&this._canvasClearPlugins.push(t),t.canvasPaint&&this._canvasPaintPlugins.push(t),t.drawParticle&&this._drawParticlePlugins.push(t),t.drawParticleSetup&&this._drawParticlesSetupPlugins.push(t),t.drawParticleCleanup&&this._drawParticlesCleanupPlugins.push(t),t.draw&&this._drawPlugins.push(t),t.drawSettingsSetup&&this._drawSettingsSetupPlugins.push(t),t.drawSettingsCleanup&&this._drawSettingsCleanupPlugins.push(t),t.clearDraw&&this._clearDrawPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this._container.particleUpdaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this._preDrawUpdaters.push(t)}paint(){let t=!1;for(const e of this._canvasPaintPlugins)if(t=e.canvasPaint?.()??!1,t)break;t||this.paintBase()}paintBase(t){this.draw(e=>{!function(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(a,o,e.width,e.height)}(e,this._canvasManager.size,t)})}paintImage(t,e){this.draw(i=>{!function(t,e,i,s){if(!i)return;const n=t.globalAlpha;t.globalAlpha=s,t.drawImage(i,a,o,e.width,e.height),t.globalAlpha=n}(i,this._canvasManager.size,t,e)})}setContext(t){this._context=t,this._context&&(this._context.globalCompositeOperation="source-over")}setContextSettings(t){this._contextSettings=t}stop(){this.draw(t=>{_e(t,this._canvasManager.size)})}_applyPostDrawUpdaters=t=>{for(const e of this._postDrawUpdaters)e.afterDraw?.(t)};_applyPreDrawUpdaters=(t,e,i,s,n,a)=>{for(const o of this._preDrawUpdaters){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)oi(a,t,e)}o.beforeDraw?.(e)}};_getPluginParticleColors=t=>{let e,i;for(const s of this._colorPlugins)if(!e&&s.particleFillColor&&(e=Pe(this._pluginManager,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=Pe(this._pluginManager,s.particleStrokeColor(t))),e&&i)break;return this._reusablePluginColors[0]=e,this._reusablePluginColors[1]=i,this._reusablePluginColors}}const li=new WeakMap;function ci(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 hi{domElement;render;renderCanvas;size;zoom=1;_container;_generated;_mutationObserver;_originalStyle;_pluginManager;_pointerEvents;_resizePlugins;_standardSize;_zoomCenter;constructor(t,e){this._pluginManager=t,this._container=e,this.render=new ri(t,e,this),this._standardSize={height:0,width:0};const i=e.retina.pixelRatio,s=this._standardSize;this.size={height:s.height*i,width:s.width*i},this._generated=!1,this._resizePlugins=[],this._pointerEvents="none"}get _fullScreen(){return this._container.actualOptions.fullScreen.enable}destroy(){if(this.stop(),this._generated){const t=this.domElement;t?.remove(),this.domElement=void 0,this.renderCanvas=void 0}else this._resetOriginalStyle();this.render.destroy(),this._resizePlugins=[]}getZoomCenter(){const t=this._container.retina.pixelRatio,{width:e,height:i}=this.size;return this._zoomCenter?this._zoomCenter:{x:e*s/t,y:i*s/t}}init(){this._safeMutationObserver(t=>{t.disconnect()}),this._mutationObserver=function(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this._repairStyle()}),this.resize(),this._initStyle(),this.initBackground(),this._safeMutationObserver(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})}),this.initPlugins(),this.render.init()}initBackground(){const{_container:t}=this,e=t.actualOptions.background,i=this.domElement;if(!i)return;const s=i.style,n=ve(this._pluginManager,e.color);s.backgroundColor=n?be(n,t.hdr,e.opacity):"",s.backgroundImage=e.image||"",s.backgroundPosition=e.position||"",s.backgroundRepeat=e.repeat||"",s.backgroundSize=e.size||""}initPlugins(){this._resizePlugins=[];for(const t of this._container.plugins)t.resize&&this._resizePlugins.push(t)}loadCanvas(t){this._generated&&this.domElement&&this.domElement.remove();const i=this._container,s=(t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)(t)?t:void 0;this.domElement=s,this._generated=!!s&&"true"===s.dataset[e],this.renderCanvas=s?(t=>{const e=li.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 li.set(t,e),e}catch{throw new TypeError("OffscreenCanvas transfer failed")}})(s):t;const n=this.domElement;n&&(n.ariaHidden="true",this._originalStyle=function(t){const e=Z().createElement("div").style;for(const i in t){const s=t[i];if(!(i in t)||D(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}(n.style));const a=this._standardSize,o=this.renderCanvas;n?(a.height=n.offsetHeight,a.width=n.offsetWidth):(a.height=o.height,a.width=o.width);const r=this._container.retina.pixelRatio,l=this.size;o.height=l.height=a.height*r,o.width=l.width=a.width*r;const c=tt("(color-gamut: p3)");this.render.setContextSettings({alpha:!0,colorSpace:c?.matches&&i.hdr?"display-p3":"srgb",desynchronized:!0,willReadFrequently:!1}),this.render.setContext(o.getContext("2d",this.render.settings)),this._safeMutationObserver(t=>{t.disconnect()}),i.retina.init(),this.initBackground(),this._safeMutationObserver(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})})}resize(){const t=this.domElement;if(!t)return!1;const e=this._container,i=this.renderCanvas;if(void 0===i)return!1;const s=e.canvas._standardSize,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._container.started&&e.particles.setResizeFactor({width:s.width/r.width,height:s.height/r.height}),!0}setPointerEvents(t){this.domElement&&(this._pointerEvents=t,this._repairStyle())}setZoom(t,e){this.zoom=t,this._zoomCenter=e}stop(){this._safeMutationObserver(t=>{t.disconnect()}),this._mutationObserver=void 0,this.render.stop()}async windowResize(){if(!this.domElement||!this.resize())return;const t=this._container,e=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),e&&await t.refresh()}_applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize?.()};_initStyle=()=>{const t=this.domElement,e=this._container.actualOptions;if(t){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();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")}}};_repairStyle=()=>{const t=this.domElement;if(!t)return;this._safeMutationObserver(t=>{t.disconnect()}),this._initStyle(),this.initBackground();const e=this._pointerEvents;t.style.pointerEvents=e,t.style.setProperty("pointer-events",e),this._safeMutationObserver(e=>{t instanceof Node&&e.observe(t,{attributes:!0})})};_resetOriginalStyle=()=>{const t=this.domElement,e=this._originalStyle;t&&e&&ci(t,e,!0)};_safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)};_setFullScreenStyle=()=>{const t=this.domElement;t&&ci(t,ct(this._container.actualOptions.fullScreen.zIndex),!0)}}class di{container;_handlers;_resizeObserver;_resizeTimeout;constructor(t){this.container=t,this._handlers={visibilityChange:()=>{this._handleVisibilityChange()},resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}_handleVisibilityChange=()=>{const t=this.container;t.actualOptions.pauseOnBlur&&(Z().hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))};_handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const t=this.container.canvas;await t.windowResize()};this._resizeTimeout=setTimeout(()=>{t()},this.container.actualOptions.resize.delay*n)};_manageListeners=t=>{const e=this._handlers;this._manageResize(t),ht(document,"visibilitychange",e.visibilityChange,t,!1)};_manageResize=t=>{const e=this._handlers,i=this.container;if(!i.actualOptions.resize.enable)return;if("undefined"==typeof ResizeObserver)return void ht(globalThis,"resize",e.resize,t);const s=i.canvas.domElement;this._resizeObserver&&!t?(s&&this._resizeObserver.unobserve(s),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&s&&(this._resizeObserver=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this._handleWindowResize()}),this._resizeObserver.observe(s))}}function ui(t){if(e=t.outMode,i=t.checkModes,!(e===i||O(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)}class pi{backColor;bubble;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;slow;spawning;strokeColor;strokeOpacity;strokeWidth;unbreakable;velocity;zIndexFactor;_cachedOpacityData={fillOpacity:1,opacity:1,strokeOpacity:1};_cachedPosition=x.origin;_cachedRotateData={sin:0,cos:0};_cachedTransform={a:1,b:0,c:0,d:1};_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const e=this._container,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._container.dispatchEvent(pt.particleDestroyed,{particle:this})}draw(t){const e=this._container.canvas.render;e.drawParticlePlugins(this,t),e.drawParticle(this,t)}getAngle(){return this.rotation+(this.pathRotation?this.velocity.angle:0)}getFillColor(){return this._getRollColor(this.bubble.color??Se(this.fillColor))}getMass(){return this.getRadius()**2*Math.PI*s}getOpacity(){const t=this.options.zIndex,e=(1-this.zIndexFactor)**t.opacityRate,i=this.bubble.opacity??q(this.opacity?.value??1),s=this.fillOpacity??1,n=this.strokeOpacity??1;return this._cachedOpacityData.fillOpacity=i*s*e,this._cachedOpacityData.opacity=i*e,this._cachedOpacityData.strokeOpacity=i*n*e,this._cachedOpacityData}getPosition(){return this._cachedPosition.x=this.position.x+this.offset.x,this._cachedPosition.y=this.position.y+this.offset.y,this._cachedPosition.z=this.position.z,this._cachedPosition}getRadius(){return this.bubble.radius??this.size.value}getRotateData(){const t=this.getAngle();return this._cachedRotateData.sin=Math.sin(t),this._cachedRotateData.cos=Math.cos(t),this._cachedRotateData}getStrokeColor(){return this._getRollColor(this.bubble.color??Se(this.strokeColor))}getTransformData(t){const e=this.getRotateData(),i=this.isRotating;return this._cachedTransform.a=e.cos*(t.a??l),this._cachedTransform.b=i?e.sin*(t.b??1):t.b??c,this._cachedTransform.c=i?-e.sin*(t.c??1):t.c??h,this._cachedTransform.d=e.cos*(t.d??d),this._cachedTransform}init(t,e,i,a){const o=this._container;this.id=t,this.group=a,this.justWarped=!1,this.effectClose=!0,this.shapeClose=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{},maxSpeed:0,moveDrift:0,moveSpeed:0,sizeAnimationSpeed:0},this.outType=Mt.normal,this.ignoresResizeRatio=!0;const r=o.retina.pixelRatio,l=o.actualOptions,c=pe(this._pluginManager,o,l.particles),h=c.reduceDuplicates,d=c.effect.type,p=c.shape.type;this.effect=nt(d,this.id,h),this.shape=nt(p,this.id,h);const f=c.effect,_=c.shape;if(i){if(i.effect?.type){const t=nt(i.effect.type,this.id,h);t&&(this.effect=t,f.load(i.effect))}if(i.shape?.type){const t=nt(i.shape.type,this.id,h);t&&(this.shape=t,_.load(i.shape))}}if(this.effect===u){const t=[...this._container.effectDrawers.keys()];this.effect=t[Math.floor(A()*t.length)]}if(this.shape===u){const t=[...this._container.shapeDrawers.keys()];this.shape=t[Math.floor(A()*t.length)]}this.effectData=this.effect?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.effect,f,this.id,h):void 0,this.shapeData=this.shape?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.shape,_,this.id,h):void 0,c.load(i);const g=this.effectData;g&&c.load(g.particles);const y=this.shapeData;let m,v;y&&c.load(y.particles),this.effectClose=g?.close??c.effect.close,this.shapeClose=y?.close??c.shape.close,this.options=c,o.retina.initParticle(this),this.size=function(t,e){const i=t.value,a=t.animation,o={delayTime:q(a.delay)*n,enable:a.enable,value:q(t.value)*e,max:V(i)*e,min:$(i)*e,loops:0,maxLoops:q(a.count),time:0};if(a.enable){switch(o.decay=1-q(a.decay),a.mode){case Q.increase:o.status=G.increasing;break;case Q.decrease:o.status=G.decreasing;break;case Q.random:o.status=A()>=s?G.increasing:G.decreasing}const t=a.mode===Q.auto;switch(a.startValue){case K.min:o.value=o.min,t&&(o.status=G.increasing);break;case K.max:o.value=o.max,t&&(o.status=G.decreasing);break;case K.random:default:o.value=U(o),t&&(o.status=A()>=s?G.increasing:G.decreasing)}}return o.initialValue=o.value,o}(this.options.size,r),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(e),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.zIndexFactor=this.position.z/o.zLayers,this.sides=24,this.effect&&(m=o.effectDrawers.get(this.effect)),m?.loadEffect&&m.loadEffect(this),this.shape&&(v=o.shapeDrawers.get(this.shape)),v?.loadShape&&v.loadShape(this);const w=v?.getSidesCount;w&&(this.sides=w(this)),this.spawning=!1;for(const t of o.particleUpdaters)t.init(this);m?.particleInit?.(o,this),v?.particleInit?.(o,this);for(const t of o.particleCreatedPlugins)t.particleCreated?.(this)}isInsideCanvas(){const t=this.getRadius(),e=this._container.canvas.size,i=this.position;return i.x>=-t&&i.y>=-t&&i.y<=e.height+t&&i.x<=e.width+t}isShowingBack(){if(!this.roll)return!1;const t=this.roll.angle;if(this.roll.horizontal&&this.roll.vertical){const e=t%p,i=e<0?e+p:e;return i>=Math.PI*s&&i<3*Math.PI*s}if(this.roll.horizontal){const e=(t+Math.PI*s)%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}if(this.roll.vertical){const e=t%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}return!1}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const t of this._container.particleUpdaters)t.reset?.(this)}_calcPosition=(t,e)=>{let i=0,s=t?x.create(t.x,t.y,e):void 0;const n=this._container,a=n.particlePositionPlugins,o=this.options.move.outModes,r=this.getRadius(),l=n.canvas.size,c=new AbortController,{signal:h}=c;for(;!h.aborted;){for(const t of a){const i=t.particlePosition?.(s,this);if(i)return x.create(i.x,i.y,e)}const t=N({size:l,position:s}),c=x.create(t.x,t.y,e);this._fixHorizontal(c,r,o.left??o.default),this._fixHorizontal(c,r,o.right??o.default),this._fixVertical(c,r,o.top??o.default),this._fixVertical(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}return s};_calculateVelocity=()=>{const t=function(t){const e=S.origin;return e.length=1,e.angle=t,e}(this.direction).copy(),e=this.options.move;if(e.direction===b.inside||e.direction===b.outside)return t;const i=H(q(e.angle.value)),n=H(q(e.angle.offset)),a={left:n-i*s,right:n+i*s};return e.straight||(t.angle+=U(W(a.left,a.right))),e.random&&"number"==typeof e.speed&&(t.length*=A()),t};_fixHorizontal=(t,e,i)=>{ui({outMode:i,checkModes:[zt.bounce],coord:t.x,maxCoord:this._container.canvas.size.width,setCb:e=>t.x+=e,radius:e})};_fixVertical=(t,e,i)=>{ui({outMode:i,checkModes:[zt.bounce],coord:t.y,maxCoord:this._container.canvas.size.height,setCb:e=>t.y+=e,radius:e})};_getRollColor=t=>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;_initPosition=t=>{const e=this._container,i=Math.floor(q(this.options.zIndex.value)),n=this._calcPosition(t,B(i,0,e.zLayers));if(!n)throw new Error("a valid position cannot be found for particle");this.position=n,this.initialPosition=this.position.copy();const a=e.canvas.size;switch(this.moveCenter={...ot(this.options.move.center,a),radius:this.options.move.center.radius,mode:this.options.move.center.mode},this.direction=function(t,e,i){if(k(t))return H(t);switch(t){case b.top:return-Math.PI*s;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*s;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 A()*p}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case b.inside:this.outType=Mt.inside;break;case b.outside:this.outType=Mt.outside}this.offset=S.origin}}class fi{_cellSize;_cells=new Map;_circlePool=[];_circlePoolIdx;_pendingCellSize;_rectanglePool=[];_rectanglePoolIdx;constructor(t){this._cellSize=t,this._circlePoolIdx=0,this._rectanglePoolIdx=0}clear(){this._cells.clear();const t=this._pendingCellSize;t&&(this._cellSize=t),this._pendingCellSize=void 0}insert(t){const{x:e,y:i}=t.getPosition(),s=this._cellKeyFromCoords(e,i);this._cells.has(s)||this._cells.set(s,[]),this._cells.get(s)?.push(t)}query(t,e,i=[]){const s=this._getRangeBounds(t);if(!s)return i;const n=Math.floor(s.minX/this._cellSize),a=Math.floor(s.maxX/this._cellSize),o=Math.floor(s.minY/this._cellSize),r=Math.floor(s.maxY/this._cellSize);for(let s=n;s<=a;s++)for(let n=o;n<=r;n++){const a=`${s}_${n}`,o=this._cells.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._acquireCircle(t.x,t.y,e),a=this.query(n,i,s);return this._releaseShapes(),a}queryRectangle(t,e,i,s=[]){const n=this._acquireRectangle(t.x,t.y,e.width,e.height),a=this.query(n,i,s);return this._releaseShapes(),a}setCellSize(t){this._pendingCellSize=t}_acquireCircle(t,e,i){return(this._circlePool[this._circlePoolIdx++]??=new It(t,e,i)).reset(t,e,i)}_acquireRectangle(t,e,i,s){return(this._rectanglePool[this._rectanglePoolIdx++]??=new Ot(t,e,i,s)).reset(t,e,i,s)}_cellKeyFromCoords(t,e){return`${Math.floor(t/this._cellSize)}_${Math.floor(e/this._cellSize)}`}_getRangeBounds(t){if(t instanceof It){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 Ot){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}_releaseShapes(){this._circlePoolIdx=0,this._rectanglePoolIdx=0}}class _i{checkParticlePositionPlugins;grid;_array;_container;_groupLimits;_limit;_nextId;_particleBuckets;_particleResetPlugins;_particleUpdatePlugins;_pluginManager;_pool;_postParticleUpdatePlugins;_postUpdatePlugins;_resizeFactor;_updatePlugins;_zBuckets;constructor(t,e){this._pluginManager=t,this._container=e,this._nextId=0,this._array=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._particleBuckets=new Map,this._zBuckets=this._createBuckets(this._container.zLayers),this.grid=new fi(100),this.checkParticlePositionPlugins=[],this._particleResetPlugins=[],this._particleUpdatePlugins=[],this._postUpdatePlugins=[],this._postParticleUpdatePlugins=[],this._updatePlugins=[]}get count(){return this._array.length}addParticle(t,e,i,s){const n=this._container.actualOptions.particles.number.limit.mode,a=void 0===i?this._limit:this._groupLimits.get(i)??this._limit,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._pool.pop()??new pi(this._pluginManager,this._container);n.init(this._nextId,t,e,i);let a=!0;return s&&(a=s(n)),a?(this._array.push(n),this._insertParticleIntoBucket(n),this._nextId++,this._container.dispatchEvent(pt.particleAdded,{particle:n}),n):void this._pool.push(n)}catch(t){yt().warning(`error adding particle: ${t}`)}}clear(){this._array=[],this._particleBuckets.clear(),this._resetBuckets(this._container.zLayers)}destroy(){this._array=[],this._pool.length=0,this._particleBuckets.clear(),this._zBuckets=[],this.checkParticlePositionPlugins=[],this._particleResetPlugins=[],this._particleUpdatePlugins=[],this._postUpdatePlugins=[],this._postParticleUpdatePlugins=[],this._updatePlugins=[]}drawParticles(t){for(let e=this._zBuckets.length-1;e>=0;e--){const i=this._zBuckets[e];if(i)for(const e of i)e.draw(t)}}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}async init(){const t=this._container,e=t.actualOptions;this.checkParticlePositionPlugins=[],this._updatePlugins=[],this._particleUpdatePlugins=[],this._postUpdatePlugins=[],this._particleResetPlugins=[],this._postParticleUpdatePlugins=[],this._particleBuckets.clear(),this._resetBuckets(t.zLayers),this.grid=new fi(100*t.retina.pixelRatio);for(const e of t.plugins)e.redrawInit&&await e.redrawInit(),e.checkParticlePosition&&this.checkParticlePositionPlugins.push(e),e.update&&this._updatePlugins.push(e),e.particleUpdate&&this._particleUpdatePlugins.push(e),e.postUpdate&&this._postUpdatePlugins.push(e),e.particleReset&&this._particleResetPlugins.push(e),e.postParticleUpdate&&this._postParticleUpdatePlugins.push(e);await this._container.initDrawersAndUpdaters();for(const e of this._container.effectDrawers.values())await(e.init?.(t));for(const e of this._container.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._container.canvas.render.drawParticles({value:0,factor:0})}remove(t,e,i){this.removeAt(this._array.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._removeParticle(a,i,s)&&(a--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this._container.actualOptions,e=t.particles.groups;let i=0;for(const t of this._container.plugins)t.particlesDensityCount&&(i+=t.particlesDensityCount());for(const t in e){const s=e[t];if(!s)continue;const n=pe(this._pluginManager,this._container,s);this._applyDensity(n,i,t)}this._applyDensity(t.particles,i)}setResizeFactor(t){this._resizeFactor=t}update(t){this.grid.clear();for(const e of this._updatePlugins)e.update?.(t);const e=this._updateParticlesPhase1(t);for(const e of this._postUpdatePlugins)e.postUpdate?.(t);if(this._updateParticlesPhase2(t,e),e.size)for(const t of e)this.remove(t);delete this._resizeFactor}_addToPool=(...t)=>{this._pool.push(...t)};_applyDensity=(t,e,i,s)=>{const n=t.number;if(!n.density.enable)return void(void 0===i?this._limit=n.limit.value:(s?.number.limit.value??n.limit.value)&&this._groupLimits.set(i,s?.number.limit.value??n.limit.value));const a=this._initDensityFactor(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._limit=n.limit.value*a:this._groupLimits.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)};_createBuckets=t=>{const e=Math.max(Math.floor(t),1);return Array.from({length:e},()=>[])};_getBucketIndex=t=>{const e=this._zBuckets.length-1;return e<=0?0:Math.min(Math.max(Math.floor(t),0),e)};_getParticleInsertIndex=(t,e)=>{let i=0,s=t.length;for(;i<s;){const n=Math.floor((i+s)/2),a=t[n];a?a.id<e?i=n+1:s=n:s=n}return i};_initDensityFactor=t=>{const e=this._container;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};_insertParticleIntoBucket=t=>{const e=this._getBucketIndex(t.position.z),i=this._zBuckets[e];i&&(i.splice(this._getParticleInsertIndex(i,t.id),0,t),this._particleBuckets.set(t.id,e))};_removeParticle=(t,e,i)=>{const s=this._array[t];return!!s&&(s.group===e&&(this._array.splice(t,1),this._removeParticleFromBucket(s),s.destroy(i),this._container.dispatchEvent(pt.particleRemoved,{particle:s}),this._addToPool(s),!0))};_removeParticleFromBucket=t=>{const e=this._particleBuckets.get(t.id)??this._getBucketIndex(t.position.z),i=this._zBuckets[e];if(!i)return void this._particleBuckets.delete(t.id);const s=this._getParticleInsertIndex(i,t.id);i[s]?.id===t.id?(i.splice(s,1),this._particleBuckets.delete(t.id)):this._particleBuckets.delete(t.id)};_resetBuckets=t=>{const e=Math.max(Math.floor(t),1);if(this._zBuckets.length===e)for(const t of this._zBuckets)t.length=0;else this._zBuckets=this._createBuckets(e)};_updateParticleBucket=t=>{const e=this._getBucketIndex(t.position.z),i=this._particleBuckets.get(t.id);if(void 0===i)return void this._insertParticleIntoBucket(t);if(i===e)return;const s=this._zBuckets[i];if(s){const e=this._getParticleInsertIndex(s,t.id);s[e]?.id===t.id&&s.splice(e,1)}const n=this._zBuckets[e];n?(n.splice(this._getParticleInsertIndex(n,t.id),0,t),this._particleBuckets.set(t.id,e)):this._particleBuckets.set(t.id,e)};_updateParticlesPhase1=t=>{const e=new Set,i=this._resizeFactor;for(const s of this._array){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._particleResetPlugins)t.particleReset?.(s);for(const e of this._particleUpdatePlugins){if(s.destroyed)break;e.particleUpdate?.(s,t)}s.destroyed?e.add(s):this.grid.insert(s)}return e};_updateParticlesPhase2=(t,e)=>{for(const i of this._array)if(i.destroyed)e.add(i);else{for(const e of this._container.particleUpdaters)e.update(i,t);if(!i.spawning)for(const e of this._postParticleUpdatePlugins)e.postParticleUpdate?.(i,t);this._updateParticleBucket(i)}}}class gi{container;pixelRatio;reduceFactor;constructor(t){this.container=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.container,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=q(s.gravity.maxSpeed)*i,a.moveDrift=q(s.drift)*i,a.moveSpeed=q(s.speed)*i,a.sizeAnimationSpeed=q(e.size.animation.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 yi(t){return!t.destroyed}function mi(t,e,...i){const s=new fe(t,e);return ue(s,...i),s}var vi=Object.freeze({__proto__:null,Container:class{actualOptions;canvas;destroyed;effectDrawers;fpsLimit;hdr;id;pageHidden;particleCreatedPlugins;particleDestroyedPlugins;particlePositionPlugins;particleUpdaters;particles;plugins;retina;shapeDrawers;started;zLayers;_delay;_delayTimeout;_delta={value:0,factor:0};_dispatchCallback;_drawAnimationFrame;_duration;_eventListeners;_firstStart;_initialSourceOptions;_lastFrameTime;_lifeTime;_onDestroy;_options;_paused;_pluginManager;_smooth;_sourceOptions;constructor(t){const{dispatchCallback:e,pluginManager:i,id:s,onDestroy:n,sourceOptions:a}=t;this._pluginManager=i,this._dispatchCallback=e,this._onDestroy=n,this.id=Symbol(s),this.fpsLimit=120,this.hdr=!1,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=a,this._initialSourceOptions=a,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.retina=new gi(this),this.canvas=new hi(this._pluginManager,this),this.particles=new _i(this._pluginManager,this),this.plugins=[],this.particleDestroyedPlugins=[],this.particleCreatedPlugins=[],this.particlePositionPlugins=[],this._options=mi(this._pluginManager,this),this.actualOptions=mi(this._pluginManager,this),this._eventListeners=new di(this),this.dispatchEvent(pt.containerBuilt)}get animationStatus(){return!this._paused&&!this.pageHidden&&yi(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addLifeTime(t){this._lifeTime+=t}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(t=!0){if(yi(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._pluginManager.clearPlugins(this),this.destroyed=!0,this._onDestroy(t),this.dispatchEvent(pt.containerDestroyed)}}dispatchEvent(t,e){this._dispatchCallback(t,{container:this,data:e})}draw(t){if(!yi(this))return;let e=t;this._drawAnimationFrame=F(t=>{e&&(this._lastFrameTime=void 0,e=!1),this._nextFrame(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}yt().error(`Export plugin with type ${t} not found`)}async init(){if(!yi(this))return;const t=new Map;for(const e of this._pluginManager.plugins){const i=await e.getPlugin(this);i.preInit&&await i.preInit(),t.set(e,i)}await this.initDrawersAndUpdaters(),this._options=mi(this._pluginManager,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=mi(this._pluginManager,this,this._options),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:a,smooth:o,zLayers:r}=this.actualOptions;this.hdr=a,this.zLayers=r,this._duration=q(i)*n,this._delay=q(e)*n,this._lifeTime=0,this.fpsLimit=s>0?s:120,this._smooth=o;for(const t of this.plugins)await(t.init?.());await this.particles.init(),this.dispatchEvent(pt.containerInit),this.particles.setDensity();for(const t of this.plugins)t.particlesSetup?.();this.dispatchEvent(pt.particlesSetup)}async initDrawersAndUpdaters(){const t=this._pluginManager;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(yi(this)&&(void 0!==this._drawAnimationFrame&&(t=this._drawAnimationFrame,T(t),delete this._drawAnimationFrame),!this._paused)){for(const t of this.plugins)t.pause?.();this.pageHidden||(this._paused=!0),this.dispatchEvent(pt.containerPaused)}}play(t){if(!yi(this))return;const e=this._paused||t;if(!this._firstStart||this.actualOptions.autoPlay){if(this._paused&&(this._paused=!1),e)for(const t of this.plugins)t.play&&t.play();this.dispatchEvent(pt.containerPlay),this.draw(e??!1)}else this._firstStart=!1}async refresh(){if(yi(this))return this.stop(),this.start()}async reset(t){if(yi(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=mi(this._pluginManager,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=mi(this._pluginManager,this,this._options),this.refresh()}async start(){yi(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{const e=async()=>{this._eventListeners.addListeners();for(const t of this.plugins)await(t.start?.());this.dispatchEvent(pt.containerStarted),this.play(),t()};this._delayTimeout=setTimeout(()=>{e()},this._delay)}))}stop(){if(yi(this)&&this.started){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.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._sourceOptions=this._options,this.dispatchEvent(pt.containerStopped)}}updateActualOptions(){let t=!1;for(const e of this.plugins)e.updateActualOptions&&(t=e.updateActualOptions()||t);return t}_nextFrame=t=>{try{if(!this._smooth&&void 0!==this._lastFrameTime&&t<this._lastFrameTime+n/this.fpsLimit)return void this.draw(!1);if(this._lastFrameTime??=t,function(t,e,i=60,s=!1){t.value=e,t.factor=s?60/i:60*e/n}(this._delta,t-this._lastFrameTime,this.fpsLimit,this._smooth),this.addLifeTime(this._delta.value),this._lastFrameTime=t,this._delta.value>n)return void this.draw(!1);if(this.canvas.render.drawParticles(this._delta),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){yt().error("error in animation loop",t)}}}});var wi=Object.freeze({__proto__:null,EmittersPluginInstance:class{container;_instancesManager;constructor(t,e){this.container=e,this._instancesManager=t,this._instancesManager.initContainer(e)}async init(){const t=this.container.actualOptions.emitters;if(O(t))for(const e of t)await this._instancesManager.addEmitter(this.container,e);else await this._instancesManager.addEmitter(this.container,t)}pause(){for(const t of this._instancesManager.getArray(this.container))t.pause()}play(){for(const t of this._instancesManager.getArray(this.container))t.play()}resize(){for(const t of this._instancesManager.getArray(this.container))t.resize()}stop(){this._instancesManager.clear(this.container)}update(t){this._instancesManager.getArray(this.container).forEach(e=>{e.update(t)})}}});const Pi=new Map;var bi=Object.freeze({__proto__:null,ShapeManager:class{addShapeGenerator(t,e){this.getShapeGenerator(t)||Pi.set(t,e)}getShapeGenerator(t){return Pi.get(t)}getSupportedShapeGenerators(){return Pi.keys()}}});var zi=Object.freeze({__proto__:null,EmittersInstancesManager:class{_containerArrays;_pluginManager;constructor(t){this._containerArrays=new Map,this._pluginManager=t}async addEmitter(t,e,i){const s=new Le;s.load(e);const{EmitterInstance:n}=await Promise.resolve().then(function(){return Mi}),a=new n(this._pluginManager,t,e=>{this.removeEmitter(t,e)},s,i);return await a.init(),this.getArray(t).push(a),a}clear(t){this.initContainer(t),this._containerArrays.set(t,[])}getArray(t){this.initContainer(t);let e=this._containerArrays.get(t);return e||(e=[],this._containerArrays.set(t,e)),e}initContainer(t){this._containerArrays.has(t)||(this._containerArrays.set(t,[]),t.getEmitter=e=>{const i=this.getArray(t);return void 0===e||k(e)?i[e??0]:i.find(t=>t.name===e)},t.addEmitter=async(e,i)=>this.addEmitter(t,e,i),t.removeEmitter=e=>{const i=t.getEmitter?.(e);i&&this.removeEmitter(t,i)},t.playEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPlay()},t.pauseEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPause()})}removeEmitter(t,e){const i=this.getArray(t).indexOf(e);i>=0&&this.getArray(t).splice(i,1)}}});function xi(t,e,i,s){(t.paint??=new ee).fill={color:At.create(void 0,{value:e}),enable:s,opacity:i}}function Si(t,e,i,s){(t.paint??=new ee).stroke={color:At.create(void 0,{value:e}),opacity:i,width:s}}var Mi=Object.freeze({__proto__:null,EmitterInstance:class{fill;name;options;position;size;spawnFillColor;spawnFillEnabled;spawnFillOpacity;spawnStrokeColor;spawnStrokeOpacity;spawnStrokeWidth;_container;_currentDuration;_currentEmitDelay;_currentSpawnDelay;_duration;_emitDelay;_firstSpawn;_immortal;_initialPosition;_lifeCount;_mutationObserver;_particlesOptions;_paused;_pluginManager;_removeCallback;_resizeObserver;_shape;_size;_spawnDelay;_startParticlesAdded;constructor(t,e,i,s,a){this._pluginManager=t,this._container=e,this._removeCallback=i,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=a,s instanceof Le?this.options=s:(this.options=new Le,this.options.load(s)),this._spawnDelay=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;const o=it({},this.options.particles);if(o.move??={},o.move.direction??=this.options.direction,this.options.spawn.fill?.color&&(this.spawnFillColor=Pe(this._pluginManager,this.options.spawn.fill.color)),this.options.spawn.stroke?.color&&(this.spawnStrokeColor=Pe(this._pluginManager,this.options.spawn.stroke.color)),this._paused=!this.options.autoPlay,this._particlesOptions=o,this._size=this._calcSize(),this.size=rt(this._size,this._container.canvas.size),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this.options.domId){const t=Z().getElementById(this.options.domId);t&&(this._mutationObserver=new MutationObserver(()=>{this.resize()}),this._resizeObserver=new ResizeObserver(()=>{this.resize()}),this._mutationObserver.observe(t,{attributes:!0,attributeFilter:["style","width","height"]}),this._resizeObserver.observe(t))}const r=this.options.shape,l=this._pluginManager.emitterShapeManager?.getShapeGenerator(r.type);l&&(this._shape=l.generate(this._container,this.position,this.size,this.fill,r.options)),this._container.dispatchEvent("emitterCreated",{emitter:this}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}async init(){await(this._shape?.init())}pause(){this._paused||delete this._emitDelay}play(){if(this._paused)return;if(!(this._lifeCount>0||this._immortal)&&this.options.life.count||!(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0)))return;const t=this._container;if(void 0===this._emitDelay){const e=q(this.options.rate.delay);this._emitDelay=t.retina.reduceFactor?e*n/t.retina.reduceFactor:1/0}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}resize(){const t=this._initialPosition,e=this._container;var i,s,n;this.position=t&&(i=t,s=e.canvas.size,n=S.origin,function(t,e,i){let s=!0;return s=t.top<e.height+i.x,s&&(s=t.right>i.x),s&&(s=t.left<e.width+i.y),s&&(s=t.bottom>i.y),s}(function(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}(i,0),s,n))?t:this._calcPosition(),this._size=this._calcSize(),this.size=rt(this._size,e.canvas.size),this._shape?.resize(this.position,this.size)}update(t){if(this._paused)return;const e=this._container;this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=t.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._shape?.resize(this.position,this.size),this._spawnDelay=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=t.value,this._currentSpawnDelay>=this._spawnDelay&&(this._container.dispatchEvent("emitterPlay"),this.play(),this._currentSpawnDelay-=this._spawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=t.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay))}_calcPosition(){const t=this._container;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect(),n=t.retina.pixelRatio;return{x:(i.x+i.width*s)*n,y:(i.y+i.height*s)*n}}}return j({size:t.canvas.size,position:this.options.position})}_calcSize(){const t=this._container;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect();return{width:i.width*t.retina.pixelRatio,height:i.height*t.retina.pixelRatio,mode:J.precise}}}return this.options.size??(()=>{const t=new Te;return t.load({height:0,mode:J.percent,width:0}),t})()}_destroy=()=>{this._mutationObserver?.disconnect(),this._mutationObserver=void 0,this._resizeObserver?.disconnect(),this._resizeObserver=void 0,this._removeCallback(this),this._container.dispatchEvent("emitterDestroyed",{emitter:this})};_emit(){if(this._paused)return;const t=q(this.options.rate.quantity);this._emitParticles(t)}_emitParticles(t){const e=nt(this._particlesOptions)??{},i=this.options.spawn.fill?.color?.animation,s=this.options.spawn.fill?.enable??!!this.options.spawn.fill?.color,n=void 0===this.options.spawn.fill?.opacity?1:q(this.options.spawn.fill.opacity),a=this.options.spawn.stroke?.color?.animation,o=void 0===this.options.spawn.stroke?.opacity?1:q(this.options.spawn.stroke.opacity),r=void 0===this.options.spawn.stroke?.width?1:q(this.options.spawn.stroke.width),l=this._container.retina.reduceFactor,c=!!i,h=!!a,d=!!this._shape,u=c||h,p=u||d,f=u?{h:m,s:v,l:w}:null,_=this.options.shape;for(let c=0;c<t*l;c++){const t=p?it({},e):e;this.spawnFillOpacity=n,this.spawnFillEnabled=s,this.spawnStrokeOpacity=o,this.spawnStrokeWidth=r,this.spawnFillColor&&(i&&f&&(this.spawnFillColor.h=this._setColorAnimation(i.h,this.spawnFillColor.h,f.h,3.6),this.spawnFillColor.s=this._setColorAnimation(i.s,this.spawnFillColor.s,f.s),this.spawnFillColor.l=this._setColorAnimation(i.l,this.spawnFillColor.l,f.l)),xi(t,this.spawnFillColor,this.spawnFillOpacity,this.spawnFillEnabled)),this.spawnStrokeColor&&(a&&f&&(this.spawnStrokeColor.h=this._setColorAnimation(a.h,this.spawnStrokeColor.h,f.h,3.6),this.spawnStrokeColor.s=this._setColorAnimation(a.s,this.spawnStrokeColor.s,f.s),this.spawnStrokeColor.l=this._setColorAnimation(a.l,this.spawnStrokeColor.l,f.l)),Si(t,this.spawnStrokeColor,this.spawnStrokeOpacity,this.spawnStrokeWidth));let l=this.position;if(this._shape){const e=this._shape.randomPosition();if(e){l=e.position;const i=_.replace;i.color&&e.color&&xi(t,e.color,i.opacity?e.opacity??1:1,!0)}else l=null}l&&this._container.particles.addParticle(l,t)}}_prepareToDie=()=>{if(this._paused)return;const t=void 0!==this.options.life.duration?q(this.options.life.duration):void 0;(this._lifeCount>0||this._immortal)&&void 0!==t&&t>0&&(this._duration=t*n)};_setColorAnimation=(t,e,i,s=1)=>{const a=this._container;if(!t.enable)return e;const o=U(t.offset),r=q(this.options.rate.delay),l=a.retina.reduceFactor?r*n/a.retina.reduceFactor:1/0;return(e+q(t.speed)*a.fpsLimit/l+o*s)%i}}});t.loadSquaresPreset=ni,t.tsParticles=Oe}),Object.assign(globalThis.window||globalThis,{loadSquaresPreset:(globalThis.__tsParticlesInternals.presets.squares||{}).loadSquaresPreset}),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.0.2 */
2
+ /* Preset v4.0.3 */
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/plugin-emitters/plugin'), require('@tsparticles/plugin-hex-color'), require('@tsparticles/updater-paint'), require('@tsparticles/updater-rotate'), require('@tsparticles/updater-size'), require('@tsparticles/shape-square'), require('@tsparticles/engine')) :
5
5
  typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/plugin-emitters/plugin', '@tsparticles/plugin-hex-color', '@tsparticles/updater-paint', '@tsparticles/updater-rotate', '@tsparticles/updater-size', '@tsparticles/shape-square', '@tsparticles/engine'], factory) :