Socket
Socket
Sign inDemoInstall

tsparticles-slim

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsparticles-slim - npm Package Compare versions

Comparing version 2.0.0-alpha.7 to 2.0.0-beta.0

5

bundle.d.ts

@@ -1,2 +0,3 @@

import { tsParticles } from "tsparticles-engine";
export { tsParticles };
import { loadSlim } from ".";
export { loadSlim };
export * from "tsparticles-engine";
import { tsParticles } from "tsparticles-engine";
import { loadSlim } from "./index";
import { loadSlim } from ".";
loadSlim(tsParticles);
export { tsParticles };
export { loadSlim };
export * from "tsparticles-engine";

38

index.js

@@ -6,2 +6,5 @@ import { loadExternalAttractInteraction } from "tsparticles-interaction-external-attract";

import { loadExternalGrabInteraction } from "tsparticles-interaction-external-grab";
import { loadExternalPauseInteraction } from "tsparticles-interaction-external-pause";
import { loadExternalPushInteraction } from "tsparticles-interaction-external-push";
import { loadExternalRemoveInteraction } from "tsparticles-interaction-external-remove";
import { loadExternalRepulseInteraction } from "tsparticles-interaction-external-repulse";

@@ -11,5 +14,2 @@ import { loadParticlesAttractInteraction } from "tsparticles-interaction-particles-attract";

import { loadParticlesLinksInteraction } from "tsparticles-interaction-particles-links";
import { loadParticlesMoveInteraction } from "tsparticles-interaction-particles-move";
import { loadParticlesParallaxInteraction } from "tsparticles-interaction-particles-parallax";
import { loadParticlesRepulseInteraction } from "tsparticles-interaction-particles-repulse";
import { loadCircleShape } from "tsparticles-shape-circle";

@@ -22,17 +22,13 @@ import { loadImageShape } from "tsparticles-shape-image";

import { loadTextShape } from "tsparticles-shape-text";
import { loadAngleUpdater } from "tsparticles-updater-angle";
import { loadColorUpdater } from "tsparticles-updater-color";
import { loadLifeUpdater } from "tsparticles-updater-life";
import { loadOpacityUpdater } from "tsparticles-updater-opacity";
import { loadOutModesUpdater } from "tsparticles-updater-out-modes";
import { loadSizeUpdater } from "tsparticles-updater-size";
import { loadAngleUpdater } from "tsparticles-updater-angle";
import { loadTiltUpdater } from "tsparticles-updater-tilt";
import { loadRollUpdater } from "tsparticles-updater-roll";
import { loadWobbleUpdater } from "tsparticles-updater-wobble";
import { loadColorUpdater } from "tsparticles-updater-color";
import { loadStrokeColorUpdater } from "tsparticles-updater-stroke-color";
import { loadOutModesUpdater } from "tsparticles-updater-out-modes";
export function loadSlim(tsParticles) {
loadAngleUpdater(tsParticles);
loadColorUpdater(tsParticles);
loadLifeUpdater(tsParticles);
loadOpacityUpdater(tsParticles);
loadOutModesUpdater(tsParticles);
loadSizeUpdater(tsParticles);
loadStrokeColorUpdater(tsParticles);
loadExternalAttractInteraction(tsParticles);

@@ -43,8 +39,8 @@ loadExternalBounceInteraction(tsParticles);

loadExternalGrabInteraction(tsParticles);
loadExternalPauseInteraction(tsParticles);
loadExternalPushInteraction(tsParticles);
loadExternalRemoveInteraction(tsParticles);
loadExternalRepulseInteraction(tsParticles);
loadParticlesMoveInteraction(tsParticles);
loadParticlesParallaxInteraction(tsParticles);
loadParticlesAttractInteraction(tsParticles);
loadParticlesCollisionsInteraction(tsParticles);
loadParticlesRepulseInteraction(tsParticles);
loadParticlesLinksInteraction(tsParticles);

@@ -58,2 +54,12 @@ loadCircleShape(tsParticles);

loadTextShape(tsParticles);
loadLifeUpdater(tsParticles);
loadOpacityUpdater(tsParticles);
loadSizeUpdater(tsParticles);
loadAngleUpdater(tsParticles);
loadTiltUpdater(tsParticles);
loadRollUpdater(tsParticles);
loadWobbleUpdater(tsParticles);
loadColorUpdater(tsParticles);
loadStrokeColorUpdater(tsParticles);
loadOutModesUpdater(tsParticles);
}
{
"name": "tsparticles-slim",
"version": "2.0.0-alpha.7",
"description": "tsParticles slim version",
"version": "2.0.0-beta.0",
"description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
"homepage": "https://particles.js.org/",
"scripts": {
"install": "node ./scripts/install.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/matteobruni/tsparticles.git",
"directory": "core/slim"
"directory": "core/main"
},
"keywords": [
"tsparticles",
"particles.js",
"particlesjs",
"particles",

@@ -19,5 +24,18 @@ "particle",

"particles-js",
"particles.js",
"particles-bg",
"particles-bg-vue",
"particles-ts",
"particles.ts",
"react-particles-js",
"react-particles.js",
"react-particles",
"react",
"reactjs",
"vue",
"vuejs",
"preact",
"preactjs",
"jquery",
"angularjs",
"angular",
"typescript",

@@ -34,9 +52,10 @@ "javascript",

"animated",
"background",
"tsparticles-preset"
"background"
],
"publishConfig": {
"directory": "dist"
},
"author": "Matteo Bruni",
"author": "Matteo Bruni <matteo.bruni@me.com>",
"contributors": [
"Gabriel Barker (https://github.com/gabrielbarker)",
"Tyler Burnett (https://github.com/TylerBurnett)",
"Jonathan Adams (https://github.com/PieceMaker)"
],
"license": "MIT",

@@ -46,54 +65,44 @@ "bugs": {

},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/matteobruni"
},
"dependencies": {
"tsparticles-engine": "^2.0.0-beta.0",
"tsparticles-interaction-external-attract": "^2.0.0-beta.0",
"tsparticles-interaction-external-bounce": "^2.0.0-beta.0",
"tsparticles-interaction-external-bubble": "^2.0.0-beta.0",
"tsparticles-interaction-external-connect": "^2.0.0-beta.0",
"tsparticles-interaction-external-grab": "^2.0.0-beta.0",
"tsparticles-interaction-external-pause": "^2.0.0-beta.0",
"tsparticles-interaction-external-push": "^2.0.0-beta.0",
"tsparticles-interaction-external-remove": "^2.0.0-beta.0",
"tsparticles-interaction-external-repulse": "^2.0.0-beta.0",
"tsparticles-interaction-particles-attract": "^2.0.0-beta.0",
"tsparticles-interaction-particles-collisions": "^2.0.0-beta.0",
"tsparticles-interaction-particles-links": "^2.0.0-beta.0",
"tsparticles-shape-circle": "^2.0.0-beta.0",
"tsparticles-shape-image": "^2.0.0-beta.0",
"tsparticles-shape-line": "^2.0.0-beta.0",
"tsparticles-shape-polygon": "^2.0.0-beta.0",
"tsparticles-shape-square": "^2.0.0-beta.0",
"tsparticles-shape-star": "^2.0.0-beta.0",
"tsparticles-shape-text": "^2.0.0-beta.0",
"tsparticles-updater-angle": "^2.0.0-beta.0",
"tsparticles-updater-color": "^2.0.0-beta.0",
"tsparticles-updater-life": "^2.0.0-beta.0",
"tsparticles-updater-opacity": "^2.0.0-beta.0",
"tsparticles-updater-out-modes": "^2.0.0-beta.0",
"tsparticles-updater-roll": "^2.0.0-beta.0",
"tsparticles-updater-size": "^2.0.0-beta.0",
"tsparticles-updater-stroke-color": "^2.0.0-beta.0",
"tsparticles-updater-tilt": "^2.0.0-beta.0",
"tsparticles-updater-wobble": "^2.0.0-beta.0"
},
"main": "index.js",
"module": "esm/index.js",
"jsdelivr": "tsparticles.slim.min.js",
"unpkg": "tsparticles.slim.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"typesVersions": {
">=4.0 <4.1": {
"*": [
"dist/ts4.0"
]
},
">=3.8 <4.0": {
"*": [
"dist/ts3.8"
]
},
"<3.8": {
"*": [
"dist/ts3.4"
]
}
},
"dependencies": {
"tsparticles-engine": "^2.0.0-alpha.7",
"tsparticles-interaction-external-attract": "^2.0.0-alpha.7",
"tsparticles-interaction-external-bounce": "^2.0.0-alpha.7",
"tsparticles-interaction-external-bubble": "^2.0.0-alpha.7",
"tsparticles-interaction-external-connect": "^2.0.0-alpha.7",
"tsparticles-interaction-external-grab": "^2.0.0-alpha.7",
"tsparticles-interaction-external-repulse": "^2.0.0-alpha.7",
"tsparticles-interaction-particles-attract": "^2.0.0-alpha.7",
"tsparticles-interaction-particles-collisions": "^2.0.0-alpha.7",
"tsparticles-interaction-particles-links": "^2.0.0-alpha.7",
"tsparticles-interaction-particles-move": "^2.0.0-alpha.7",
"tsparticles-interaction-particles-parallax": "^2.0.0-alpha.7",
"tsparticles-interaction-particles-repulse": "^2.0.0-alpha.7",
"tsparticles-shape-circle": "^2.0.0-alpha.7",
"tsparticles-shape-image": "^2.0.0-alpha.7",
"tsparticles-shape-line": "^2.0.0-alpha.7",
"tsparticles-shape-polygon": "^2.0.0-alpha.7",
"tsparticles-shape-square": "^2.0.0-alpha.7",
"tsparticles-shape-star": "^2.0.0-alpha.7",
"tsparticles-shape-text": "^2.0.0-alpha.7",
"tsparticles-updater-angle": "^2.0.0-alpha.7",
"tsparticles-updater-color": "^2.0.0-alpha.7",
"tsparticles-updater-life": "^2.0.0-alpha.7",
"tsparticles-updater-opacity": "^2.0.0-alpha.7",
"tsparticles-updater-out-modes": "^2.0.0-alpha.7",
"tsparticles-updater-size": "^2.0.0-alpha.7",
"tsparticles-updater-stroke-color": "^2.0.0-alpha.7"
}
"types": "index.d.ts"
}

@@ -1,10 +0,13 @@

[![banner](https://cdn.matteobruni.it/images/particles/banner2.png)](https://particles.js.org)
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org)
# tsparticles-preset-bigCircles
# tsParticles Bubbles Preset
[tsParticles](https://github.com/matteobruni/tsparticles) preset for big colored circles on a white background.
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-bubbles/badge)](https://www.jsdelivr.com/package/npm/tsparticles) [![npmjs](https://badge.fury.io/js/tsparticles-preset-bubbles.svg)](https://www.npmjs.com/package/tsparticles-preset-bubbles) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-bubbles)](https://www.npmjs.com/package/tsparticles-preset-bubbles)
[tsParticles](https://github.com/matteobruni/tsparticles) preset for colored bubbles coming from the bottom of the
screen on a white background.
## Sample
![demo](https://raw.githubusercontent.com/matteobruni/tsparticles/dev/presets/bigCircles/images/sample.png)
![demo](https://raw.githubusercontent.com/matteobruni/tsparticles/v1/presets/bubbles/images/sample.png)

@@ -15,8 +18,11 @@ ## How to use it

First of all install [tsParticles](https://github.com/matteobruni/tsparticles) following the instructions for vanilla javascript in the main project [here](https://github.com/matteobruni/tsparticles)
The first step is installing [tsParticles](https://github.com/matteobruni/tsparticles) following the instructions for
vanilla javascript in the main project [here](https://github.com/matteobruni/tsparticles)
Once installed you need one more script to be included in your page (or you can download that from [jsDelivr](https://www.jsdelivr.com/package/npm/tsparticles-preset-big-circles):
Once installed you need one more script to be included in your page (or you can download that
from [jsDelivr](https://www.jsdelivr.com/package/npm/tsparticles-preset-bubbles):
```html
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-big-circles"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-bubbles"></script>
```

@@ -26,10 +32,24 @@

#### Bundle
A bundled script can also be used, this will include every needed plugin needed by the preset.
```html
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-bubbles/dist/tsparticles.preset.bubbles.bundle.min.js"></script>
```
### Usage
Once the scripts are loaded you can set up `tsParticles` like this:
```javascript
loadBubblesPreset(tsParticles);
tsParticles.load("tsparticles", {
preset: "bigCircles", // also "big-circles" is accepted
preset: "bubbles",
});
```
#### Customization
**Important ⚠️**

@@ -45,3 +65,3 @@ You can override all the options defining the properties like in any standard `tsParticles` installation.

},
preset: "bigCircles", // also "big-circles" is accepted
preset: "bubbles",
});

@@ -56,14 +76,14 @@ ```

I'll show a simplified sample you can find in this repository; it uses class component, but you can choose any syntax you prefer.
This sample uses the class component syntax, but you can use hooks as well (if the library supports it).
```javascript
import Particles from "react-tsparticles";
import { Main } from "tsparticles";
import { loadPreset } from "tsparticles-preset-big-circles";
import { Main } from "tsparticles-engine";
import { loadBubblesPreset } from "tsparticles-preset-bubbles";
export class ParticlesContainer extends React.PureComponent<IProps> {
// this customizes the component tsParticles installation
customInit(tsParticles: Main) {
customInit(main: Main) {
// this adds the preset to tsParticles, you can safely use the
loadPreset(tsParticles);
loadBubblesPreset(main);
}

@@ -73,3 +93,3 @@

const options = {
preset: "bigCircles", // also "big-circles" is accepted
preset: "bubbles",
};

@@ -84,4 +104,46 @@

_The syntax for `Vue.js 2.x` and `3.x` is the same_
```vue
<Particles id="tsparticles" :particlesInit="particlesInit" url="http://foo.bar/particles.json" />
```
```js
function particlesInit(main: Main) {
loadBubblesPreset(main);
}
```
### Angular
```html
<ng-particles
[id]="id"
[options]="particlesOptions"
(particlesLoaded)="particlesLoaded($event)"
(particlesInit)="particlesInit($event)"
></ng-particles>
```
```ts
function particlesInit(main: Main): void {
loadBubblesPreset(main);
}
```
### Svelte
```sveltehtml
<Particles
id="tsparticles"
url="http://foo.bar/particles.json"
on:particlesInit="{onParticlesInit}"
/>
```
```js
let onParticlesInit = (main) => {
loadBubblesPreset(main);
};
```
/*!
* Author : Matteo Bruni - https://www.matteobruni.it
* Author : Matteo Bruni
* MIT license: https://opensource.org/licenses/MIT

@@ -7,14 +7,14 @@ * Demo / Generator : https://particles.js.org/

* How to use? : Check the GitHub README
* v2.0.0-alpha.7
* v2.0.0-beta.0
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("tsparticles-interaction-external-attract"), require("tsparticles-engine"), require("tsparticles-interaction-external-bubble"), require("tsparticles-interaction-external-connect"), require("tsparticles-interaction-external-grab"), require("tsparticles-interaction-external-repulse"), require("tsparticles-interaction-particles-attract"), require("tsparticles-interaction-external-collisions"), require("tsparticles-interaction-external-links"), require("tsparticles-interaction-particles-move"), require("tsparticles-interaction-particles-parallax"), require("tsparticles-interaction-particles-repulse"), require("tsparticles-shape-circle"), require("tsparticles-shape-image"), require("tsparticles-shape-line"), require("tsparticles-shape-polygon"), require("tsparticles-shape-square"), require("tsparticles-shape-star"), require("tsparticles-shape-text"), require("tsparticles-updater-angle"), require("tsparticles-updater-color"), require("tsparticles-updater-life"), require("tsparticles-updater-opacity"), require("tsparticles-updater-out-modes"), require("tsparticles-updater-size"), require("tsparticles-updater-stroke-color"));
module.exports = factory(require("tsparticles-interaction-external-attract"), require("tsparticles-interaction-external-bounce"), require("tsparticles-interaction-external-bubble"), require("tsparticles-interaction-external-connect"), require("tsparticles-interaction-external-grab"), require("tsparticles-interaction-external-pause"), require("tsparticles-interaction-external-push"), require("tsparticles-interaction-external-remove"), require("tsparticles-interaction-external-repulse"), require("tsparticles-interaction-particles-attract"), require("tsparticles-interaction-particles-collisions"), require("tsparticles-interaction-particles-links"), require("tsparticles-shape-circle"), require("tsparticles-shape-image"), require("tsparticles-shape-line"), require("tsparticles-shape-polygon"), require("tsparticles-shape-square"), require("tsparticles-shape-star"), require("tsparticles-shape-text"), require("tsparticles-updater-life"), require("tsparticles-updater-opacity"), require("tsparticles-updater-size"), require("tsparticles-updater-angle"), require("tsparticles-updater-tilt"), require("tsparticles-updater-roll"), require("tsparticles-updater-wobble"), require("tsparticles-updater-color"), require("tsparticles-engine"), require("tsparticles-updater-out-modes"));
else if(typeof define === 'function' && define.amd)
define(["tsparticles-interaction-external-attract", "tsparticles-engine", "tsparticles-interaction-external-bubble", "tsparticles-interaction-external-connect", "tsparticles-interaction-external-grab", "tsparticles-interaction-external-repulse", "tsparticles-interaction-particles-attract", "tsparticles-interaction-external-collisions", "tsparticles-interaction-external-links", "tsparticles-interaction-particles-move", "tsparticles-interaction-particles-parallax", "tsparticles-interaction-particles-repulse", "tsparticles-shape-circle", "tsparticles-shape-image", "tsparticles-shape-line", "tsparticles-shape-polygon", "tsparticles-shape-square", "tsparticles-shape-star", "tsparticles-shape-text", "tsparticles-updater-angle", "tsparticles-updater-color", "tsparticles-updater-life", "tsparticles-updater-life", "tsparticles-updater-out-modes", "tsparticles-updater-size", "tsparticles-updater-stroke-color"], factory);
define(["tsparticles-interaction-external-attract", "tsparticles-interaction-external-bounce", "tsparticles-interaction-external-bubble", "tsparticles-interaction-external-connect", "tsparticles-interaction-external-grab", "tsparticles-interaction-external-pause", "tsparticles-interaction-external-push", "tsparticles-interaction-external-remove", "tsparticles-interaction-external-repulse", "tsparticles-interaction-particles-attract", "tsparticles-interaction-particles-collisions", "tsparticles-interaction-particles-links", "tsparticles-shape-circle", "tsparticles-shape-image", "tsparticles-shape-line", "tsparticles-shape-polygon", "tsparticles-shape-square", "tsparticles-shape-star", "tsparticles-shape-text", "tsparticles-updater-life", "tsparticles-updater-opacity", "tsparticles-updater-size", "tsparticles-updater-angle", "tsparticles-updater-tilt", "tsparticles-updater-roll", "tsparticles-updater-wobble", "tsparticles-updater-color", "tsparticles-engine", "tsparticles-updater-out-modes"], factory);
else {
var a = typeof exports === 'object' ? factory(require("tsparticles-interaction-external-attract"), require("tsparticles-engine"), require("tsparticles-interaction-external-bubble"), require("tsparticles-interaction-external-connect"), require("tsparticles-interaction-external-grab"), require("tsparticles-interaction-external-repulse"), require("tsparticles-interaction-particles-attract"), require("tsparticles-interaction-external-collisions"), require("tsparticles-interaction-external-links"), require("tsparticles-interaction-particles-move"), require("tsparticles-interaction-particles-parallax"), require("tsparticles-interaction-particles-repulse"), require("tsparticles-shape-circle"), require("tsparticles-shape-image"), require("tsparticles-shape-line"), require("tsparticles-shape-polygon"), require("tsparticles-shape-square"), require("tsparticles-shape-star"), require("tsparticles-shape-text"), require("tsparticles-updater-angle"), require("tsparticles-updater-color"), require("tsparticles-updater-life"), require("tsparticles-updater-opacity"), require("tsparticles-updater-out-modes"), require("tsparticles-updater-size"), require("tsparticles-updater-stroke-color")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
var a = typeof exports === 'object' ? factory(require("tsparticles-interaction-external-attract"), require("tsparticles-interaction-external-bounce"), require("tsparticles-interaction-external-bubble"), require("tsparticles-interaction-external-connect"), require("tsparticles-interaction-external-grab"), require("tsparticles-interaction-external-pause"), require("tsparticles-interaction-external-push"), require("tsparticles-interaction-external-remove"), require("tsparticles-interaction-external-repulse"), require("tsparticles-interaction-particles-attract"), require("tsparticles-interaction-particles-collisions"), require("tsparticles-interaction-particles-links"), require("tsparticles-shape-circle"), require("tsparticles-shape-image"), require("tsparticles-shape-line"), require("tsparticles-shape-polygon"), require("tsparticles-shape-square"), require("tsparticles-shape-star"), require("tsparticles-shape-text"), require("tsparticles-updater-life"), require("tsparticles-updater-opacity"), require("tsparticles-updater-size"), require("tsparticles-updater-angle"), require("tsparticles-updater-tilt"), require("tsparticles-updater-roll"), require("tsparticles-updater-wobble"), require("tsparticles-updater-color"), require("tsparticles-engine"), require("tsparticles-updater-out-modes")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(this, function(__WEBPACK_EXTERNAL_MODULE__158__, __WEBPACK_EXTERNAL_MODULE__414__, __WEBPACK_EXTERNAL_MODULE__745__, __WEBPACK_EXTERNAL_MODULE__763__, __WEBPACK_EXTERNAL_MODULE__309__, __WEBPACK_EXTERNAL_MODULE__120__, __WEBPACK_EXTERNAL_MODULE__679__, __WEBPACK_EXTERNAL_MODULE__937__, __WEBPACK_EXTERNAL_MODULE__706__, __WEBPACK_EXTERNAL_MODULE__627__, __WEBPACK_EXTERNAL_MODULE__194__, __WEBPACK_EXTERNAL_MODULE__376__, __WEBPACK_EXTERNAL_MODULE__572__, __WEBPACK_EXTERNAL_MODULE__310__, __WEBPACK_EXTERNAL_MODULE__625__, __WEBPACK_EXTERNAL_MODULE__795__, __WEBPACK_EXTERNAL_MODULE__485__, __WEBPACK_EXTERNAL_MODULE__607__, __WEBPACK_EXTERNAL_MODULE__254__, __WEBPACK_EXTERNAL_MODULE__686__, __WEBPACK_EXTERNAL_MODULE__797__, __WEBPACK_EXTERNAL_MODULE__295__, __WEBPACK_EXTERNAL_MODULE__954__, __WEBPACK_EXTERNAL_MODULE__785__, __WEBPACK_EXTERNAL_MODULE__79__, __WEBPACK_EXTERNAL_MODULE__800__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE__174__, __WEBPACK_EXTERNAL_MODULE__544__, __WEBPACK_EXTERNAL_MODULE__923__, __WEBPACK_EXTERNAL_MODULE__364__, __WEBPACK_EXTERNAL_MODULE__602__, __WEBPACK_EXTERNAL_MODULE__999__, __WEBPACK_EXTERNAL_MODULE__639__, __WEBPACK_EXTERNAL_MODULE__394__, __WEBPACK_EXTERNAL_MODULE__813__, __WEBPACK_EXTERNAL_MODULE__966__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__955__, __WEBPACK_EXTERNAL_MODULE__941__, __WEBPACK_EXTERNAL_MODULE__662__, __WEBPACK_EXTERNAL_MODULE__45__, __WEBPACK_EXTERNAL_MODULE__722__, __WEBPACK_EXTERNAL_MODULE__295__, __WEBPACK_EXTERNAL_MODULE__110__, __WEBPACK_EXTERNAL_MODULE__922__, __WEBPACK_EXTERNAL_MODULE__489__, __WEBPACK_EXTERNAL_MODULE__838__, __WEBPACK_EXTERNAL_MODULE__328__, __WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__950__, __WEBPACK_EXTERNAL_MODULE__281__, __WEBPACK_EXTERNAL_MODULE__304__, __WEBPACK_EXTERNAL_MODULE__841__, __WEBPACK_EXTERNAL_MODULE__818__, __WEBPACK_EXTERNAL_MODULE__405__) {
return /******/ (() => { // webpackBootstrap

@@ -24,182 +24,203 @@ /******/ "use strict";

/***/ 414:
/***/ 818:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__414__;
module.exports = __WEBPACK_EXTERNAL_MODULE__818__;
/***/ }),
/***/ 158:
/***/ 174:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__158__;
module.exports = __WEBPACK_EXTERNAL_MODULE__174__;
/***/ }),
/***/ 745:
/***/ 544:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__745__;
module.exports = __WEBPACK_EXTERNAL_MODULE__544__;
/***/ }),
/***/ 937:
/***/ 923:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__937__;
module.exports = __WEBPACK_EXTERNAL_MODULE__923__;
/***/ }),
/***/ 763:
/***/ 364:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__763__;
module.exports = __WEBPACK_EXTERNAL_MODULE__364__;
/***/ }),
/***/ 309:
/***/ 602:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__309__;
module.exports = __WEBPACK_EXTERNAL_MODULE__602__;
/***/ }),
/***/ 706:
/***/ 999:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__706__;
module.exports = __WEBPACK_EXTERNAL_MODULE__999__;
/***/ }),
/***/ 120:
/***/ 639:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__120__;
module.exports = __WEBPACK_EXTERNAL_MODULE__639__;
/***/ }),
/***/ 679:
/***/ 394:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__679__;
module.exports = __WEBPACK_EXTERNAL_MODULE__394__;
/***/ }),
/***/ 627:
/***/ 813:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__627__;
module.exports = __WEBPACK_EXTERNAL_MODULE__813__;
/***/ }),
/***/ 194:
/***/ 966:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__194__;
module.exports = __WEBPACK_EXTERNAL_MODULE__966__;
/***/ }),
/***/ 376:
/***/ 260:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__376__;
module.exports = __WEBPACK_EXTERNAL_MODULE__260__;
/***/ }),
/***/ 572:
/***/ 955:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__572__;
module.exports = __WEBPACK_EXTERNAL_MODULE__955__;
/***/ }),
/***/ 310:
/***/ 941:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__310__;
module.exports = __WEBPACK_EXTERNAL_MODULE__941__;
/***/ }),
/***/ 625:
/***/ 662:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__625__;
module.exports = __WEBPACK_EXTERNAL_MODULE__662__;
/***/ }),
/***/ 795:
/***/ 45:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__795__;
module.exports = __WEBPACK_EXTERNAL_MODULE__45__;
/***/ }),
/***/ 485:
/***/ 722:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__485__;
module.exports = __WEBPACK_EXTERNAL_MODULE__722__;
/***/ }),
/***/ 607:
/***/ 295:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__607__;
module.exports = __WEBPACK_EXTERNAL_MODULE__295__;
/***/ }),
/***/ 254:
/***/ 110:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__254__;
module.exports = __WEBPACK_EXTERNAL_MODULE__110__;
/***/ }),
/***/ 686:
/***/ 922:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__686__;
module.exports = __WEBPACK_EXTERNAL_MODULE__922__;
/***/ }),
/***/ 797:
/***/ 1:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__797__;
module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
/***/ }),
/***/ 295:
/***/ 841:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__295__;
module.exports = __WEBPACK_EXTERNAL_MODULE__841__;
/***/ }),
/***/ 954:
/***/ 489:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__954__;
module.exports = __WEBPACK_EXTERNAL_MODULE__489__;
/***/ }),
/***/ 785:
/***/ 838:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__785__;
module.exports = __WEBPACK_EXTERNAL_MODULE__838__;
/***/ }),
/***/ 79:
/***/ 405:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__79__;
module.exports = __WEBPACK_EXTERNAL_MODULE__405__;
/***/ }),
/***/ 800:
/***/ 281:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__800__;
module.exports = __WEBPACK_EXTERNAL_MODULE__281__;
/***/ }),
/***/ 328:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__328__;
/***/ }),
/***/ 950:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__950__;
/***/ }),
/***/ 304:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__304__;
/***/ })

@@ -275,145 +296,161 @@

// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-attract","commonjs2":"tsparticles-interaction-external-attract","amd":"tsparticles-interaction-external-attract","root":"window"}
var external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_ = __webpack_require__(158);
var external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_ = __webpack_require__(174);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-bounce","commonjs2":"tsparticles-interaction-external-bounce","amd":"tsparticles-interaction-external-bounce","root":"window"}
var external_commonjs_tsparticles_interaction_external_bounce_commonjs2_tsparticles_interaction_external_bounce_amd_tsparticles_interaction_external_bounce_root_window_ = __webpack_require__(544);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-bubble","commonjs2":"tsparticles-interaction-external-bubble","amd":"tsparticles-interaction-external-bubble","root":"window"}
var external_commonjs_tsparticles_interaction_external_bubble_commonjs2_tsparticles_interaction_external_bubble_amd_tsparticles_interaction_external_bubble_root_window_ = __webpack_require__(923);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-connect","commonjs2":"tsparticles-interaction-external-connect","amd":"tsparticles-interaction-external-connect","root":"window"}
var external_commonjs_tsparticles_interaction_external_connect_commonjs2_tsparticles_interaction_external_connect_amd_tsparticles_interaction_external_connect_root_window_ = __webpack_require__(364);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-grab","commonjs2":"tsparticles-interaction-external-grab","amd":"tsparticles-interaction-external-grab","root":"window"}
var external_commonjs_tsparticles_interaction_external_grab_commonjs2_tsparticles_interaction_external_grab_amd_tsparticles_interaction_external_grab_root_window_ = __webpack_require__(602);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-pause","commonjs2":"tsparticles-interaction-external-pause","amd":"tsparticles-interaction-external-pause","root":"window"}
var external_commonjs_tsparticles_interaction_external_pause_commonjs2_tsparticles_interaction_external_pause_amd_tsparticles_interaction_external_pause_root_window_ = __webpack_require__(999);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-push","commonjs2":"tsparticles-interaction-external-push","amd":"tsparticles-interaction-external-push","root":"window"}
var external_commonjs_tsparticles_interaction_external_push_commonjs2_tsparticles_interaction_external_push_amd_tsparticles_interaction_external_push_root_window_ = __webpack_require__(639);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-remove","commonjs2":"tsparticles-interaction-external-remove","amd":"tsparticles-interaction-external-remove","root":"window"}
var external_commonjs_tsparticles_interaction_external_remove_commonjs2_tsparticles_interaction_external_remove_amd_tsparticles_interaction_external_remove_root_window_ = __webpack_require__(394);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-repulse","commonjs2":"tsparticles-interaction-external-repulse","amd":"tsparticles-interaction-external-repulse","root":"window"}
var external_commonjs_tsparticles_interaction_external_repulse_commonjs2_tsparticles_interaction_external_repulse_amd_tsparticles_interaction_external_repulse_root_window_ = __webpack_require__(813);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-attract","commonjs2":"tsparticles-interaction-particles-attract","amd":"tsparticles-interaction-particles-attract","root":"window"}
var external_commonjs_tsparticles_interaction_particles_attract_commonjs2_tsparticles_interaction_particles_attract_amd_tsparticles_interaction_particles_attract_root_window_ = __webpack_require__(966);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-collisions","commonjs2":"tsparticles-interaction-particles-collisions","amd":"tsparticles-interaction-particles-collisions","root":"window"}
var external_commonjs_tsparticles_interaction_particles_collisions_commonjs2_tsparticles_interaction_particles_collisions_amd_tsparticles_interaction_particles_collisions_root_window_ = __webpack_require__(260);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-links","commonjs2":"tsparticles-interaction-particles-links","amd":"tsparticles-interaction-particles-links","root":"window"}
var external_commonjs_tsparticles_interaction_particles_links_commonjs2_tsparticles_interaction_particles_links_amd_tsparticles_interaction_particles_links_root_window_ = __webpack_require__(955);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-circle","commonjs2":"tsparticles-shape-circle","amd":"tsparticles-shape-circle","root":"window"}
var external_commonjs_tsparticles_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_ = __webpack_require__(941);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-image","commonjs2":"tsparticles-shape-image","amd":"tsparticles-shape-image","root":"window"}
var external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_ = __webpack_require__(662);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-line","commonjs2":"tsparticles-shape-line","amd":"tsparticles-shape-line","root":"window"}
var external_commonjs_tsparticles_shape_line_commonjs2_tsparticles_shape_line_amd_tsparticles_shape_line_root_window_ = __webpack_require__(45);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-polygon","commonjs2":"tsparticles-shape-polygon","amd":"tsparticles-shape-polygon","root":"window"}
var external_commonjs_tsparticles_shape_polygon_commonjs2_tsparticles_shape_polygon_amd_tsparticles_shape_polygon_root_window_ = __webpack_require__(722);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-square","commonjs2":"tsparticles-shape-square","amd":"tsparticles-shape-square","root":"window"}
var external_commonjs_tsparticles_shape_square_commonjs2_tsparticles_shape_square_amd_tsparticles_shape_square_root_window_ = __webpack_require__(295);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-star","commonjs2":"tsparticles-shape-star","amd":"tsparticles-shape-star","root":"window"}
var external_commonjs_tsparticles_shape_star_commonjs2_tsparticles_shape_star_amd_tsparticles_shape_star_root_window_ = __webpack_require__(110);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-text","commonjs2":"tsparticles-shape-text","amd":"tsparticles-shape-text","root":"window"}
var external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_ = __webpack_require__(922);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-life","commonjs2":"tsparticles-updater-life","amd":"tsparticles-updater-life","root":"window"}
var external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_ = __webpack_require__(489);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-opacity","commonjs2":"tsparticles-updater-opacity","amd":"tsparticles-updater-opacity","root":"window"}
var external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_opacity_root_window_ = __webpack_require__(838);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-size","commonjs2":"tsparticles-updater-size","amd":"tsparticles-updater-size","root":"window"}
var external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_ = __webpack_require__(328);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-angle","commonjs2":"tsparticles-updater-angle","amd":"tsparticles-updater-angle","root":"window"}
var external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_ = __webpack_require__(1);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-tilt","commonjs2":"tsparticles-updater-tilt","amd":"tsparticles-updater-tilt","root":"window"}
var external_commonjs_tsparticles_updater_tilt_commonjs2_tsparticles_updater_tilt_amd_tsparticles_updater_tilt_root_window_ = __webpack_require__(950);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-roll","commonjs2":"tsparticles-updater-roll","amd":"tsparticles-updater-roll","root":"window"}
var external_commonjs_tsparticles_updater_roll_commonjs2_tsparticles_updater_roll_amd_tsparticles_updater_roll_root_window_ = __webpack_require__(281);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-wobble","commonjs2":"tsparticles-updater-wobble","amd":"tsparticles-updater-wobble","root":"window"}
var external_commonjs_tsparticles_updater_wobble_commonjs2_tsparticles_updater_wobble_amd_tsparticles_updater_wobble_root_window_ = __webpack_require__(304);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-color","commonjs2":"tsparticles-updater-color","amd":"tsparticles-updater-color","root":"window"}
var external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_ = __webpack_require__(841);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-engine","commonjs2":"tsparticles-engine","amd":"tsparticles-engine","root":"window"}
var external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_ = __webpack_require__(414);
;// CONCATENATED MODULE: ../../interactions/external/bounce/dist/Bouncer.js
var external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_ = __webpack_require__(818);
;// CONCATENATED MODULE: ../../updaters/strokeColor/dist/StrokeColorUpdater.js
class Bouncer extends external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.ExternalInteractorBase {
constructor(container) {
super(container);
}
isEnabled() {
const container = this.container,
options = container.actualOptions,
mouse = container.interactivity.mouse,
events = options.interactivity.events,
divs = events.onDiv;
return mouse.position && events.onHover.enable && (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.isInArray)(external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.HoverMode.bounce, events.onHover.mode) || (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.isDivModeEnabled)(external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.DivMode.bounce, divs);
function updateColorValue(delta, value, valueAnimation, max, decrease) {
var _a;
const colorValue = value;
if (!colorValue || !colorValue.enable) {
return;
}
interact() {
const container = this.container,
options = container.actualOptions,
events = options.interactivity.events,
mouseMoveStatus = container.interactivity.status === external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Constants.mouseMoveEvent,
hoverEnabled = events.onHover.enable,
hoverMode = events.onHover.mode,
divs = events.onDiv;
const offset = (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.randomInRange)(valueAnimation.offset);
const velocity = ((_a = value.velocity) !== null && _a !== void 0 ? _a : 0) * delta.factor + offset * 3.6;
if (mouseMoveStatus && hoverEnabled && (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.isInArray)(external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.HoverMode.bounce, hoverMode)) {
this.processMouseBounce();
} else {
(0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.divModeExecute)(external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.DivMode.bounce, divs, (selector, div) => this.singleSelectorBounce(selector, div));
if (!decrease || colorValue.status === external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.AnimationStatus.increasing) {
colorValue.value += velocity;
if (decrease && colorValue.value > max) {
colorValue.status = external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.AnimationStatus.decreasing;
colorValue.value -= colorValue.value % max;
}
} else {
colorValue.value -= velocity;
if (colorValue.value < 0) {
colorValue.status = external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.AnimationStatus.increasing;
colorValue.value += colorValue.value;
}
}
reset() {}
if (colorValue.value > max) {
colorValue.value %= max;
}
}
processMouseBounce() {
const container = this.container,
pxRatio = container.retina.pixelRatio,
tolerance = 10 * pxRatio,
mousePos = container.interactivity.mouse.position,
radius = container.retina.bounceModeDistance;
function updateStrokeColor(particle, delta) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
if (mousePos) {
this.processBounce(mousePos, radius, new external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Circle(mousePos.x, mousePos.y, radius + tolerance));
}
if (!((_a = particle.stroke) === null || _a === void 0 ? void 0 : _a.color)) {
return;
}
singleSelectorBounce(selector, div) {
const animationOptions = particle.stroke.color.animation;
const h = (_c = (_b = particle.strokeColor) === null || _b === void 0 ? void 0 : _b.h) !== null && _c !== void 0 ? _c : (_d = particle.color) === null || _d === void 0 ? void 0 : _d.h;
if (h) {
updateColorValue(delta, h, animationOptions.h, 360, false);
}
const s = (_f = (_e = particle.strokeColor) === null || _e === void 0 ? void 0 : _e.s) !== null && _f !== void 0 ? _f : (_g = particle.color) === null || _g === void 0 ? void 0 : _g.s;
if (s) {
updateColorValue(delta, s, animationOptions.s, 100, true);
}
const l = (_j = (_h = particle.strokeColor) === null || _h === void 0 ? void 0 : _h.l) !== null && _j !== void 0 ? _j : (_k = particle.color) === null || _k === void 0 ? void 0 : _k.l;
if (l) {
updateColorValue(delta, l, animationOptions.l, 100, true);
}
}
class StrokeColorUpdater {
constructor(container) {
this.container = container;
}
init(particle) {
var _a, _b;
const container = this.container;
const query = document.querySelectorAll(selector);
particle.stroke = particle.options.stroke instanceof Array ? (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.itemFromArray)(particle.options.stroke, particle.id, particle.options.reduceDuplicates) : particle.options.stroke;
particle.strokeWidth = particle.stroke.width * container.retina.pixelRatio;
const strokeHslColor = (_a = (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.colorToHsl)(particle.stroke.color)) !== null && _a !== void 0 ? _a : particle.getFillColor();
if (!query.length) {
return;
if (strokeHslColor) {
particle.strokeColor = (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.getHslAnimationFromHsl)(strokeHslColor, (_b = particle.stroke.color) === null || _b === void 0 ? void 0 : _b.animation, container.retina.reduceFactor);
}
}
query.forEach(item => {
const elem = item,
pxRatio = container.retina.pixelRatio,
pos = {
x: (elem.offsetLeft + elem.offsetWidth / 2) * pxRatio,
y: (elem.offsetTop + elem.offsetHeight / 2) * pxRatio
},
radius = elem.offsetWidth / 2 * pxRatio,
tolerance = 10 * pxRatio;
const area = div.type === external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.DivType.circle ? new external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Circle(pos.x, pos.y, radius + tolerance) : new external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Rectangle(elem.offsetLeft * pxRatio - tolerance, elem.offsetTop * pxRatio - tolerance, elem.offsetWidth * pxRatio + tolerance * 2, elem.offsetHeight * pxRatio + tolerance * 2);
this.processBounce(pos, radius, area);
});
isEnabled(particle) {
var _a, _b, _c, _d;
const color = (_a = particle.stroke) === null || _a === void 0 ? void 0 : _a.color;
return !particle.destroyed && !particle.spawning && !!color && (((_b = particle.strokeColor) === null || _b === void 0 ? void 0 : _b.h.value) !== undefined && color.animation.h.enable || ((_c = particle.strokeColor) === null || _c === void 0 ? void 0 : _c.s.value) !== undefined && color.animation.s.enable || ((_d = particle.strokeColor) === null || _d === void 0 ? void 0 : _d.l.value) !== undefined && color.animation.l.enable);
}
processBounce(position, radius, area) {
const query = this.container.particles.quadTree.query(area);
update(particle, delta) {
if (!this.isEnabled(particle)) {
return;
}
for (const particle of query) {
if (area instanceof external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Circle) {
(0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.circleBounce)((0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.circleBounceDataFromParticle)(particle), {
position,
radius,
mass: Math.pow(radius, 2) * Math.PI / 2,
velocity: external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Vector.origin,
factor: external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Vector.origin
});
} else if (area instanceof external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Rectangle) {
(0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.rectBounce)(particle, (0,external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.calculateBounds)(position, radius));
}
}
updateStrokeColor(particle, delta);
}
}
;// CONCATENATED MODULE: ../../interactions/external/bounce/dist/index.js
;// CONCATENATED MODULE: ../../updaters/strokeColor/dist/index.js
function loadExternalBounceInteraction(tsParticles) {
tsParticles.addInteractor("externalBounce", container => new Bouncer(container));
function loadStrokeColorUpdater(tsParticles) {
tsParticles.addParticleUpdater("strokeColor", container => new StrokeColorUpdater(container));
}
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-bubble","commonjs2":"tsparticles-interaction-external-bubble","amd":"tsparticles-interaction-external-bubble","root":"window"}
var external_commonjs_tsparticles_interaction_external_bubble_commonjs2_tsparticles_interaction_external_bubble_amd_tsparticles_interaction_external_bubble_root_window_ = __webpack_require__(745);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-connect","commonjs2":"tsparticles-interaction-external-connect","amd":"tsparticles-interaction-external-connect","root":"window"}
var external_commonjs_tsparticles_interaction_external_connect_commonjs2_tsparticles_interaction_external_connect_amd_tsparticles_interaction_external_connect_root_window_ = __webpack_require__(763);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-grab","commonjs2":"tsparticles-interaction-external-grab","amd":"tsparticles-interaction-external-grab","root":"window"}
var external_commonjs_tsparticles_interaction_external_grab_commonjs2_tsparticles_interaction_external_grab_amd_tsparticles_interaction_external_grab_root_window_ = __webpack_require__(309);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-repulse","commonjs2":"tsparticles-interaction-external-repulse","amd":"tsparticles-interaction-external-repulse","root":"window"}
var external_commonjs_tsparticles_interaction_external_repulse_commonjs2_tsparticles_interaction_external_repulse_amd_tsparticles_interaction_external_repulse_root_window_ = __webpack_require__(120);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-attract","commonjs2":"tsparticles-interaction-particles-attract","amd":"tsparticles-interaction-particles-attract","root":"window"}
var external_commonjs_tsparticles_interaction_particles_attract_commonjs2_tsparticles_interaction_particles_attract_amd_tsparticles_interaction_particles_attract_root_window_ = __webpack_require__(679);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-collisions","commonjs2":"tsparticles-interaction-external-collisions","amd":"tsparticles-interaction-external-collisions","root":"window"}
var external_commonjs_tsparticles_interaction_external_collisions_commonjs2_tsparticles_interaction_external_collisions_amd_tsparticles_interaction_external_collisions_root_window_ = __webpack_require__(937);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-links","commonjs2":"tsparticles-interaction-external-links","amd":"tsparticles-interaction-external-links","root":"window"}
var external_commonjs_tsparticles_interaction_external_links_commonjs2_tsparticles_interaction_external_links_amd_tsparticles_interaction_external_links_root_window_ = __webpack_require__(706);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-move","commonjs2":"tsparticles-interaction-particles-move","amd":"tsparticles-interaction-particles-move","root":"window"}
var external_commonjs_tsparticles_interaction_particles_move_commonjs2_tsparticles_interaction_particles_move_amd_tsparticles_interaction_particles_move_root_window_ = __webpack_require__(627);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-parallax","commonjs2":"tsparticles-interaction-particles-parallax","amd":"tsparticles-interaction-particles-parallax","root":"window"}
var external_commonjs_tsparticles_interaction_particles_parallax_commonjs2_tsparticles_interaction_particles_parallax_amd_tsparticles_interaction_particles_parallax_root_window_ = __webpack_require__(194);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-particles-repulse","commonjs2":"tsparticles-interaction-particles-repulse","amd":"tsparticles-interaction-particles-repulse","root":"window"}
var external_commonjs_tsparticles_interaction_particles_repulse_commonjs2_tsparticles_interaction_particles_repulse_amd_tsparticles_interaction_particles_repulse_root_window_ = __webpack_require__(376);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-circle","commonjs2":"tsparticles-shape-circle","amd":"tsparticles-shape-circle","root":"window"}
var external_commonjs_tsparticles_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_ = __webpack_require__(572);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-image","commonjs2":"tsparticles-shape-image","amd":"tsparticles-shape-image","root":"window"}
var external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_ = __webpack_require__(310);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-line","commonjs2":"tsparticles-shape-line","amd":"tsparticles-shape-line","root":"window"}
var external_commonjs_tsparticles_shape_line_commonjs2_tsparticles_shape_line_amd_tsparticles_shape_line_root_window_ = __webpack_require__(625);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-polygon","commonjs2":"tsparticles-shape-polygon","amd":"tsparticles-shape-polygon","root":"window"}
var external_commonjs_tsparticles_shape_polygon_commonjs2_tsparticles_shape_polygon_amd_tsparticles_shape_polygon_root_window_ = __webpack_require__(795);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-square","commonjs2":"tsparticles-shape-square","amd":"tsparticles-shape-square","root":"window"}
var external_commonjs_tsparticles_shape_square_commonjs2_tsparticles_shape_square_amd_tsparticles_shape_square_root_window_ = __webpack_require__(485);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-star","commonjs2":"tsparticles-shape-star","amd":"tsparticles-shape-star","root":"window"}
var external_commonjs_tsparticles_shape_star_commonjs2_tsparticles_shape_star_amd_tsparticles_shape_star_root_window_ = __webpack_require__(607);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-shape-text","commonjs2":"tsparticles-shape-text","amd":"tsparticles-shape-text","root":"window"}
var external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_ = __webpack_require__(254);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-angle","commonjs2":"tsparticles-updater-angle","amd":"tsparticles-updater-angle","root":"window"}
var external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_ = __webpack_require__(686);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-color","commonjs2":"tsparticles-updater-color","amd":"tsparticles-updater-color","root":"window"}
var external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_ = __webpack_require__(797);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-life","commonjs2":"tsparticles-updater-life","amd":"tsparticles-updater-life","root":"window"}
var external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_ = __webpack_require__(295);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-opacity","commonjs2":"tsparticles-updater-opacity","amd":"tsparticles-updater-life","root":"window"}
var external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_life_root_window_ = __webpack_require__(954);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-out-modes","commonjs2":"tsparticles-updater-out-modes","amd":"tsparticles-updater-out-modes","root":"window"}
var external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_ = __webpack_require__(785);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-size","commonjs2":"tsparticles-updater-size","amd":"tsparticles-updater-size","root":"window"}
var external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_ = __webpack_require__(79);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-updater-stroke-color","commonjs2":"tsparticles-updater-stroke-color","amd":"tsparticles-updater-stroke-color","root":"window"}
var external_commonjs_tsparticles_updater_stroke_color_commonjs2_tsparticles_updater_stroke_color_amd_tsparticles_updater_stroke_color_root_window_ = __webpack_require__(800);
var external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_ = __webpack_require__(405);
;// CONCATENATED MODULE: ./dist/index.js

@@ -446,22 +483,18 @@

function loadSlim(tsParticles) {
(0,external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_.loadAngleUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_.loadColorUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_.loadLifeUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_life_root_window_.loadOpacityUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_.loadOutModesUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_.loadSizeUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_stroke_color_commonjs2_tsparticles_updater_stroke_color_amd_tsparticles_updater_stroke_color_root_window_.loadStrokeColorUpdater)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_.loadExternalAttractInteraction)(tsParticles);
loadExternalBounceInteraction(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_bounce_commonjs2_tsparticles_interaction_external_bounce_amd_tsparticles_interaction_external_bounce_root_window_.loadExternalBounceInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_bubble_commonjs2_tsparticles_interaction_external_bubble_amd_tsparticles_interaction_external_bubble_root_window_.loadExternalBubbleInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_connect_commonjs2_tsparticles_interaction_external_connect_amd_tsparticles_interaction_external_connect_root_window_.loadExternalConnectInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_grab_commonjs2_tsparticles_interaction_external_grab_amd_tsparticles_interaction_external_grab_root_window_.loadExternalGrabInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_pause_commonjs2_tsparticles_interaction_external_pause_amd_tsparticles_interaction_external_pause_root_window_.loadExternalPauseInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_push_commonjs2_tsparticles_interaction_external_push_amd_tsparticles_interaction_external_push_root_window_.loadExternalPushInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_remove_commonjs2_tsparticles_interaction_external_remove_amd_tsparticles_interaction_external_remove_root_window_.loadExternalRemoveInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_repulse_commonjs2_tsparticles_interaction_external_repulse_amd_tsparticles_interaction_external_repulse_root_window_.loadExternalRepulseInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_move_commonjs2_tsparticles_interaction_particles_move_amd_tsparticles_interaction_particles_move_root_window_.loadParticlesMoveInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_parallax_commonjs2_tsparticles_interaction_particles_parallax_amd_tsparticles_interaction_particles_parallax_root_window_.loadParticlesParallaxInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_attract_commonjs2_tsparticles_interaction_particles_attract_amd_tsparticles_interaction_particles_attract_root_window_.loadParticlesAttractInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_collisions_commonjs2_tsparticles_interaction_external_collisions_amd_tsparticles_interaction_external_collisions_root_window_.loadParticlesCollisionsInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_repulse_commonjs2_tsparticles_interaction_particles_repulse_amd_tsparticles_interaction_particles_repulse_root_window_.loadParticlesRepulseInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_links_commonjs2_tsparticles_interaction_external_links_amd_tsparticles_interaction_external_links_root_window_.loadParticlesLinksInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_collisions_commonjs2_tsparticles_interaction_particles_collisions_amd_tsparticles_interaction_particles_collisions_root_window_.loadParticlesCollisionsInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_links_commonjs2_tsparticles_interaction_particles_links_amd_tsparticles_interaction_particles_links_root_window_.loadParticlesLinksInteraction)(tsParticles);
(0,external_commonjs_tsparticles_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_.loadCircleShape)(tsParticles);

@@ -474,2 +507,12 @@ (0,external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_.loadImageShape)(tsParticles);

(0,external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_.loadTextShape)(tsParticles);
(0,external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_.loadLifeUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_opacity_root_window_.loadOpacityUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_.loadSizeUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_.loadAngleUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_tilt_commonjs2_tsparticles_updater_tilt_amd_tsparticles_updater_tilt_root_window_.loadTiltUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_roll_commonjs2_tsparticles_updater_roll_amd_tsparticles_updater_roll_root_window_.loadRollUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_wobble_commonjs2_tsparticles_updater_wobble_amd_tsparticles_updater_wobble_root_window_.loadWobbleUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_.loadColorUpdater)(tsParticles);
loadStrokeColorUpdater(tsParticles);
(0,external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_.loadOutModesUpdater)(tsParticles);
}

@@ -476,0 +519,0 @@ })();

@@ -1,2 +0,2 @@

/*! tsParticles Slim v2.0.0-alpha.7 by Matteo Bruni */
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-interaction-external-attract"),require("tsparticles-engine"),require("tsparticles-interaction-external-bubble"),require("tsparticles-interaction-external-connect"),require("tsparticles-interaction-external-grab"),require("tsparticles-interaction-external-repulse"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-external-collisions"),require("tsparticles-interaction-external-links"),require("tsparticles-interaction-particles-move"),require("tsparticles-interaction-particles-parallax"),require("tsparticles-interaction-particles-repulse"),require("tsparticles-shape-circle"),require("tsparticles-shape-image"),require("tsparticles-shape-line"),require("tsparticles-shape-polygon"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-shape-text"),require("tsparticles-updater-angle"),require("tsparticles-updater-color"),require("tsparticles-updater-life"),require("tsparticles-updater-opacity"),require("tsparticles-updater-out-modes"),require("tsparticles-updater-size"),require("tsparticles-updater-stroke-color"));else if("function"==typeof define&&define.amd)define(["tsparticles-interaction-external-attract","tsparticles-engine","tsparticles-interaction-external-bubble","tsparticles-interaction-external-connect","tsparticles-interaction-external-grab","tsparticles-interaction-external-repulse","tsparticles-interaction-particles-attract","tsparticles-interaction-external-collisions","tsparticles-interaction-external-links","tsparticles-interaction-particles-move","tsparticles-interaction-particles-parallax","tsparticles-interaction-particles-repulse","tsparticles-shape-circle","tsparticles-shape-image","tsparticles-shape-line","tsparticles-shape-polygon","tsparticles-shape-square","tsparticles-shape-star","tsparticles-shape-text","tsparticles-updater-angle","tsparticles-updater-color","tsparticles-updater-life","tsparticles-updater-life","tsparticles-updater-out-modes","tsparticles-updater-size","tsparticles-updater-stroke-color"],t);else{var r="object"==typeof exports?t(require("tsparticles-interaction-external-attract"),require("tsparticles-engine"),require("tsparticles-interaction-external-bubble"),require("tsparticles-interaction-external-connect"),require("tsparticles-interaction-external-grab"),require("tsparticles-interaction-external-repulse"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-external-collisions"),require("tsparticles-interaction-external-links"),require("tsparticles-interaction-particles-move"),require("tsparticles-interaction-particles-parallax"),require("tsparticles-interaction-particles-repulse"),require("tsparticles-shape-circle"),require("tsparticles-shape-image"),require("tsparticles-shape-line"),require("tsparticles-shape-polygon"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-shape-text"),require("tsparticles-updater-angle"),require("tsparticles-updater-color"),require("tsparticles-updater-life"),require("tsparticles-updater-opacity"),require("tsparticles-updater-out-modes"),require("tsparticles-updater-size"),require("tsparticles-updater-stroke-color")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(function(e,t,r,i,a,s,o,n,c,l,p,u,d,x,q,w,f,h,v,b,y,g,m,S,I,M){return(()=>{"use strict";var B={414:e=>{e.exports=t},158:t=>{t.exports=e},745:e=>{e.exports=r},937:e=>{e.exports=n},763:e=>{e.exports=i},309:e=>{e.exports=a},706:e=>{e.exports=c},120:e=>{e.exports=s},679:e=>{e.exports=o},627:e=>{e.exports=l},194:e=>{e.exports=p},376:e=>{e.exports=u},572:e=>{e.exports=d},310:e=>{e.exports=x},625:e=>{e.exports=q},795:e=>{e.exports=w},485:e=>{e.exports=f},607:e=>{e.exports=h},254:e=>{e.exports=v},686:e=>{e.exports=b},797:e=>{e.exports=y},295:e=>{e.exports=g},954:e=>{e.exports=m},785:e=>{e.exports=S},79:e=>{e.exports=I},800:e=>{e.exports=M}},P={};function E(e){var t=P[e];if(void 0!==t)return t.exports;var r=P[e]={exports:{}};return B[e](r,r.exports,E),r.exports}E.d=(e,t)=>{for(var r in t)E.o(t,r)&&!E.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},E.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),E.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var C={};return(()=>{E.r(C),E.d(C,{loadSlim:()=>P});var e=E(158),t=E(414);class r extends t.ExternalInteractorBase{constructor(e){super(e)}isEnabled(){const e=this.container,r=e.actualOptions,i=e.interactivity.mouse,a=r.interactivity.events,s=a.onDiv;return i.position&&a.onHover.enable&&(0,t.isInArray)(t.HoverMode.bounce,a.onHover.mode)||(0,t.isDivModeEnabled)(t.DivMode.bounce,s)}interact(){const e=this.container,r=e.actualOptions.interactivity.events,i=e.interactivity.status===t.Constants.mouseMoveEvent,a=r.onHover.enable,s=r.onHover.mode,o=r.onDiv;i&&a&&(0,t.isInArray)(t.HoverMode.bounce,s)?this.processMouseBounce():(0,t.divModeExecute)(t.DivMode.bounce,o,((e,t)=>this.singleSelectorBounce(e,t)))}reset(){}processMouseBounce(){const e=this.container,r=10*e.retina.pixelRatio,i=e.interactivity.mouse.position,a=e.retina.bounceModeDistance;i&&this.processBounce(i,a,new t.Circle(i.x,i.y,a+r))}singleSelectorBounce(e,r){const i=this.container,a=document.querySelectorAll(e);a.length&&a.forEach((e=>{const a=e,s=i.retina.pixelRatio,o={x:(a.offsetLeft+a.offsetWidth/2)*s,y:(a.offsetTop+a.offsetHeight/2)*s},n=a.offsetWidth/2*s,c=10*s,l=r.type===t.DivType.circle?new t.Circle(o.x,o.y,n+c):new t.Rectangle(a.offsetLeft*s-c,a.offsetTop*s-c,a.offsetWidth*s+2*c,a.offsetHeight*s+2*c);this.processBounce(o,n,l)}))}processBounce(e,r,i){const a=this.container.particles.quadTree.query(i);for(const s of a)i instanceof t.Circle?(0,t.circleBounce)((0,t.circleBounceDataFromParticle)(s),{position:e,radius:r,mass:Math.pow(r,2)*Math.PI/2,velocity:t.Vector.origin,factor:t.Vector.origin}):i instanceof t.Rectangle&&(0,t.rectBounce)(s,(0,t.calculateBounds)(e,r))}}var i=E(745),a=E(763),s=E(309),o=E(120),n=E(679),c=E(937),l=E(706),p=E(627),u=E(194),d=E(376),x=E(572),q=E(310),w=E(625),f=E(795),h=E(485),v=E(607),b=E(254),y=E(686),g=E(797),m=E(295),S=E(954),I=E(785),M=E(79),B=E(800);function P(t){(0,y.loadAngleUpdater)(t),(0,g.loadColorUpdater)(t),(0,m.loadLifeUpdater)(t),(0,S.loadOpacityUpdater)(t),(0,I.loadOutModesUpdater)(t),(0,M.loadSizeUpdater)(t),(0,B.loadStrokeColorUpdater)(t),(0,e.loadExternalAttractInteraction)(t),function(e){e.addInteractor("externalBounce",(e=>new r(e)))}(t),(0,i.loadExternalBubbleInteraction)(t),(0,a.loadExternalConnectInteraction)(t),(0,s.loadExternalGrabInteraction)(t),(0,o.loadExternalRepulseInteraction)(t),(0,p.loadParticlesMoveInteraction)(t),(0,u.loadParticlesParallaxInteraction)(t),(0,n.loadParticlesAttractInteraction)(t),(0,c.loadParticlesCollisionsInteraction)(t),(0,d.loadParticlesRepulseInteraction)(t),(0,l.loadParticlesLinksInteraction)(t),(0,x.loadCircleShape)(t),(0,q.loadImageShape)(t),(0,w.loadLineShape)(t),(0,f.loadPolygonShape)(t),(0,h.loadSquareShape)(t),(0,v.loadStarShape)(t),(0,b.loadTextShape)(t)}})(),C})()}));
/*! tsParticles Slim v2.0.0-beta.0 by Matteo Bruni */
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-interaction-external-attract"),require("tsparticles-interaction-external-bounce"),require("tsparticles-interaction-external-bubble"),require("tsparticles-interaction-external-connect"),require("tsparticles-interaction-external-grab"),require("tsparticles-interaction-external-pause"),require("tsparticles-interaction-external-push"),require("tsparticles-interaction-external-remove"),require("tsparticles-interaction-external-repulse"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-particles-collisions"),require("tsparticles-interaction-particles-links"),require("tsparticles-shape-circle"),require("tsparticles-shape-image"),require("tsparticles-shape-line"),require("tsparticles-shape-polygon"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-shape-text"),require("tsparticles-updater-life"),require("tsparticles-updater-opacity"),require("tsparticles-updater-size"),require("tsparticles-updater-angle"),require("tsparticles-updater-tilt"),require("tsparticles-updater-roll"),require("tsparticles-updater-wobble"),require("tsparticles-updater-color"),require("tsparticles-engine"),require("tsparticles-updater-out-modes"));else if("function"==typeof define&&define.amd)define(["tsparticles-interaction-external-attract","tsparticles-interaction-external-bounce","tsparticles-interaction-external-bubble","tsparticles-interaction-external-connect","tsparticles-interaction-external-grab","tsparticles-interaction-external-pause","tsparticles-interaction-external-push","tsparticles-interaction-external-remove","tsparticles-interaction-external-repulse","tsparticles-interaction-particles-attract","tsparticles-interaction-particles-collisions","tsparticles-interaction-particles-links","tsparticles-shape-circle","tsparticles-shape-image","tsparticles-shape-line","tsparticles-shape-polygon","tsparticles-shape-square","tsparticles-shape-star","tsparticles-shape-text","tsparticles-updater-life","tsparticles-updater-opacity","tsparticles-updater-size","tsparticles-updater-angle","tsparticles-updater-tilt","tsparticles-updater-roll","tsparticles-updater-wobble","tsparticles-updater-color","tsparticles-engine","tsparticles-updater-out-modes"],t);else{var r="object"==typeof exports?t(require("tsparticles-interaction-external-attract"),require("tsparticles-interaction-external-bounce"),require("tsparticles-interaction-external-bubble"),require("tsparticles-interaction-external-connect"),require("tsparticles-interaction-external-grab"),require("tsparticles-interaction-external-pause"),require("tsparticles-interaction-external-push"),require("tsparticles-interaction-external-remove"),require("tsparticles-interaction-external-repulse"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-particles-collisions"),require("tsparticles-interaction-particles-links"),require("tsparticles-shape-circle"),require("tsparticles-shape-image"),require("tsparticles-shape-line"),require("tsparticles-shape-polygon"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-shape-text"),require("tsparticles-updater-life"),require("tsparticles-updater-opacity"),require("tsparticles-updater-size"),require("tsparticles-updater-angle"),require("tsparticles-updater-tilt"),require("tsparticles-updater-roll"),require("tsparticles-updater-wobble"),require("tsparticles-updater-color"),require("tsparticles-engine"),require("tsparticles-updater-out-modes")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(function(e,t,r,i,a,o,s,l,n,p,c,u,d,x,v,w,q,b,h,f,m,g,y,k,S,I,C,E,P){return(()=>{"use strict";var U={818:e=>{e.exports=E},174:t=>{t.exports=e},544:e=>{e.exports=t},923:e=>{e.exports=r},364:e=>{e.exports=i},602:e=>{e.exports=a},999:e=>{e.exports=o},639:e=>{e.exports=s},394:e=>{e.exports=l},813:e=>{e.exports=n},966:e=>{e.exports=p},260:e=>{e.exports=c},955:e=>{e.exports=u},941:e=>{e.exports=d},662:e=>{e.exports=x},45:e=>{e.exports=v},722:e=>{e.exports=w},295:e=>{e.exports=q},110:e=>{e.exports=b},922:e=>{e.exports=h},1:e=>{e.exports=y},841:e=>{e.exports=C},489:e=>{e.exports=f},838:e=>{e.exports=m},405:e=>{e.exports=P},281:e=>{e.exports=S},328:e=>{e.exports=g},950:e=>{e.exports=k},304:e=>{e.exports=I}},A={};function j(e){var t=A[e];if(void 0!==t)return t.exports;var r=A[e]={exports:{}};return U[e](r,r.exports,j),r.exports}j.d=(e,t)=>{for(var r in t)j.o(t,r)&&!j.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},j.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),j.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var O={};return(()=>{j.r(O),j.d(O,{loadSlim:()=>R});var e=j(174),t=j(544),r=j(923),i=j(364),a=j(602),o=j(999),s=j(639),l=j(394),n=j(813),p=j(966),c=j(260),u=j(955),d=j(941),x=j(662),v=j(45),w=j(722),q=j(295),b=j(110),h=j(922),f=j(489),m=j(838),g=j(328),y=j(1),k=j(950),S=j(281),I=j(304),C=j(841),E=j(818);function P(e,t,r,i,a){var o;const s=t;if(!s||!s.enable)return;const l=(0,E.randomInRange)(r.offset),n=(null!==(o=t.velocity)&&void 0!==o?o:0)*e.factor+3.6*l;a&&s.status!==E.AnimationStatus.increasing?(s.value-=n,s.value<0&&(s.status=E.AnimationStatus.increasing,s.value+=s.value)):(s.value+=n,a&&s.value>i&&(s.status=E.AnimationStatus.decreasing,s.value-=s.value%i)),s.value>i&&(s.value%=i)}class U{constructor(e){this.container=e}init(e){var t,r;const i=this.container;e.stroke=e.options.stroke instanceof Array?(0,E.itemFromArray)(e.options.stroke,e.id,e.options.reduceDuplicates):e.options.stroke,e.strokeWidth=e.stroke.width*i.retina.pixelRatio;const a=null!==(t=(0,E.colorToHsl)(e.stroke.color))&&void 0!==t?t:e.getFillColor();a&&(e.strokeColor=(0,E.getHslAnimationFromHsl)(a,null===(r=e.stroke.color)||void 0===r?void 0:r.animation,i.retina.reduceFactor))}isEnabled(e){var t,r,i,a;const o=null===(t=e.stroke)||void 0===t?void 0:t.color;return!e.destroyed&&!e.spawning&&!!o&&(void 0!==(null===(r=e.strokeColor)||void 0===r?void 0:r.h.value)&&o.animation.h.enable||void 0!==(null===(i=e.strokeColor)||void 0===i?void 0:i.s.value)&&o.animation.s.enable||void 0!==(null===(a=e.strokeColor)||void 0===a?void 0:a.l.value)&&o.animation.l.enable)}update(e,t){this.isEnabled(e)&&function(e,t){var r,i,a,o,s,l,n,p,c,u;if(!(null===(r=e.stroke)||void 0===r?void 0:r.color))return;const d=e.stroke.color.animation,x=null!==(a=null===(i=e.strokeColor)||void 0===i?void 0:i.h)&&void 0!==a?a:null===(o=e.color)||void 0===o?void 0:o.h;x&&P(t,x,d.h,360,!1);const v=null!==(l=null===(s=e.strokeColor)||void 0===s?void 0:s.s)&&void 0!==l?l:null===(n=e.color)||void 0===n?void 0:n.s;v&&P(t,v,d.s,100,!0);const w=null!==(c=null===(p=e.strokeColor)||void 0===p?void 0:p.l)&&void 0!==c?c:null===(u=e.color)||void 0===u?void 0:u.l;w&&P(t,w,d.l,100,!0)}(e,t)}}var A=j(405);function R(E){(0,e.loadExternalAttractInteraction)(E),(0,t.loadExternalBounceInteraction)(E),(0,r.loadExternalBubbleInteraction)(E),(0,i.loadExternalConnectInteraction)(E),(0,a.loadExternalGrabInteraction)(E),(0,o.loadExternalPauseInteraction)(E),(0,s.loadExternalPushInteraction)(E),(0,l.loadExternalRemoveInteraction)(E),(0,n.loadExternalRepulseInteraction)(E),(0,p.loadParticlesAttractInteraction)(E),(0,c.loadParticlesCollisionsInteraction)(E),(0,u.loadParticlesLinksInteraction)(E),(0,d.loadCircleShape)(E),(0,x.loadImageShape)(E),(0,v.loadLineShape)(E),(0,w.loadPolygonShape)(E),(0,q.loadSquareShape)(E),(0,b.loadStarShape)(E),(0,h.loadTextShape)(E),(0,f.loadLifeUpdater)(E),(0,m.loadOpacityUpdater)(E),(0,g.loadSizeUpdater)(E),(0,y.loadAngleUpdater)(E),(0,k.loadTiltUpdater)(E),(0,S.loadRollUpdater)(E),(0,I.loadWobbleUpdater)(E),(0,C.loadColorUpdater)(E),function(e){e.addParticleUpdater("strokeColor",(e=>new U(e)))}(E),(0,A.loadOutModesUpdater)(E)}})(),O})()}));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc