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.3 to 2.0.0-alpha.4

5

index.d.ts

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

import { loadSlim } from "./main";
export * from "tsparticles-core";
export { loadSlim };
import type { Main } from "tsparticles-engine";
export declare function loadSlim(tsParticles: Main): void;

59

index.js

@@ -1,5 +0,54 @@

import { tsParticles } from "tsparticles-core";
import { loadSlim } from "./main";
loadSlim(tsParticles);
export * from "tsparticles-core";
export { loadSlim };
import { loadExternalAttractInteraction } from "tsparticles-interaction-external-attract";
import { loadExternalBounceInteraction } from "tsparticles-interaction-external-bounce";
import { loadExternalBubbleInteraction } from "tsparticles-interaction-external-bubble";
import { loadExternalConnectInteraction } from "tsparticles-interaction-external-connect";
import { loadExternalGrabInteraction } from "tsparticles-interaction-external-grab";
import { loadExternalRepulseInteraction } from "tsparticles-interaction-external-repulse";
import { loadParticlesAttractInteraction } from "tsparticles-interaction-particles-attract";
import { loadParticlesCollisionsInteraction } from "tsparticles-interaction-particles-collisions";
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";
import { loadImageShape } from "tsparticles-shape-image";
import { loadLineShape } from "tsparticles-shape-line";
import { loadPolygonShape } from "tsparticles-shape-polygon";
import { loadSquareShape } from "tsparticles-shape-square";
import { loadStarShape } from "tsparticles-shape-star";
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 { loadStrokeColorUpdater } from "tsparticles-updater-stroke-color";
export function loadSlim(tsParticles) {
loadAngleUpdater(tsParticles);
loadColorUpdater(tsParticles);
loadLifeUpdater(tsParticles);
loadOpacityUpdater(tsParticles);
loadOutModesUpdater(tsParticles);
loadSizeUpdater(tsParticles);
loadStrokeColorUpdater(tsParticles);
loadExternalAttractInteraction(tsParticles);
loadExternalBounceInteraction(tsParticles);
loadExternalBubbleInteraction(tsParticles);
loadExternalConnectInteraction(tsParticles);
loadExternalGrabInteraction(tsParticles);
loadExternalRepulseInteraction(tsParticles);
loadParticlesMoveInteraction(tsParticles);
loadParticlesParallaxInteraction(tsParticles);
loadParticlesAttractInteraction(tsParticles);
loadParticlesCollisionsInteraction(tsParticles);
loadParticlesRepulseInteraction(tsParticles);
loadParticlesLinksInteraction(tsParticles);
loadCircleShape(tsParticles);
loadImageShape(tsParticles);
loadLineShape(tsParticles);
loadPolygonShape(tsParticles);
loadSquareShape(tsParticles);
loadStarShape(tsParticles);
loadTextShape(tsParticles);
}
{
"name": "tsparticles-slim",
"version": "2.0.0-alpha.3",
"version": "2.0.0-alpha.4",
"description": "tsParticles slim version",

@@ -51,30 +51,30 @@ "homepage": "https://particles.js.org/",

"dependencies": {
"tsparticles-core": "^2.0.0-alpha.0",
"tsparticles-shape-circle": "^2.0.0-alpha.0",
"tsparticles-shape-image": "^2.0.0-alpha.0",
"tsparticles-shape-line": "^2.0.0-alpha.0",
"tsparticles-shape-polygon": "^2.0.0-alpha.0",
"tsparticles-shape-square": "^2.0.0-alpha.0",
"tsparticles-shape-star": "^2.0.0-alpha.0",
"tsparticles-shape-text": "^2.0.0-alpha.0",
"tsparticles-interaction-external-attract": "^2.0.0-alpha.0",
"tsparticles-interaction-external-bounce": "^2.0.0-alpha.0",
"tsparticles-interaction-external-bubble": "^2.0.0-alpha.0",
"tsparticles-interaction-external-connect": "^2.0.0-alpha.0",
"tsparticles-interaction-external-grab": "^2.0.0-alpha.0",
"tsparticles-interaction-external-repulse": "^2.0.0-alpha.0",
"tsparticles-interaction-particles-attract": "^2.0.0-alpha.0",
"tsparticles-interaction-particles-collisions": "^2.0.0-alpha.0",
"tsparticles-interaction-particles-links": "^2.0.0-alpha.0",
"tsparticles-interaction-particles-repulse": "^2.0.0-alpha.0",
"tsparticles-interaction-particles-move": "^2.0.0-alpha.2",
"tsparticles-interaction-particles-parallax": "^2.0.0-alpha.2",
"tsparticles-updater-angle": "^2.0.0-alpha.0",
"tsparticles-updater-color": "^2.0.0-alpha.0",
"tsparticles-updater-life": "^2.0.0-alpha.0",
"tsparticles-updater-opacity": "^2.0.0-alpha.0",
"tsparticles-updater-out-modes": "^2.0.0-alpha.0",
"tsparticles-updater-stroke-color": "^2.0.0-alpha.0",
"tsparticles-updater-size": "^2.0.0-alpha.0"
"tsparticles-engine": "^2.0.0-alpha.4",
"tsparticles-interaction-external-attract": "^2.0.0-alpha.4",
"tsparticles-interaction-external-bounce": "^2.0.0-alpha.4",
"tsparticles-interaction-external-bubble": "^2.0.0-alpha.4",
"tsparticles-interaction-external-connect": "^2.0.0-alpha.4",
"tsparticles-interaction-external-grab": "^2.0.0-alpha.4",
"tsparticles-interaction-external-repulse": "^2.0.0-alpha.4",
"tsparticles-interaction-particles-attract": "^2.0.0-alpha.4",
"tsparticles-interaction-particles-collisions": "^2.0.0-alpha.4",
"tsparticles-interaction-particles-links": "^2.0.0-alpha.4",
"tsparticles-interaction-particles-move": "^2.0.0-alpha.4",
"tsparticles-interaction-particles-parallax": "^2.0.0-alpha.4",
"tsparticles-interaction-particles-repulse": "^2.0.0-alpha.4",
"tsparticles-shape-circle": "^2.0.0-alpha.4",
"tsparticles-shape-image": "^2.0.0-alpha.4",
"tsparticles-shape-line": "^2.0.0-alpha.4",
"tsparticles-shape-polygon": "^2.0.0-alpha.4",
"tsparticles-shape-square": "^2.0.0-alpha.4",
"tsparticles-shape-star": "^2.0.0-alpha.4",
"tsparticles-shape-text": "^2.0.0-alpha.4",
"tsparticles-updater-angle": "^2.0.0-alpha.4",
"tsparticles-updater-color": "^2.0.0-alpha.4",
"tsparticles-updater-life": "^2.0.0-alpha.4",
"tsparticles-updater-opacity": "^2.0.0-alpha.4",
"tsparticles-updater-out-modes": "^2.0.0-alpha.4",
"tsparticles-updater-size": "^2.0.0-alpha.4",
"tsparticles-updater-stroke-color": "^2.0.0-alpha.4"
}
}

@@ -7,14 +7,14 @@ /*!

* How to use? : Check the GitHub README
* v2.0.0-alpha.3
* v2.0.0-alpha.4
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("tsparticles-core"), require("tsparticles-interaction-external-attract"), 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-stroke-color"), require("tsparticles-updater-size"));
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"));
else if(typeof define === 'function' && define.amd)
define(["tsparticles-core", "tsparticles-interaction-external-attract", "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-stroke-color", "tsparticles-updater-size"], factory);
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);
else {
var a = typeof exports === 'object' ? factory(require("tsparticles-core"), require("tsparticles-interaction-external-attract"), 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-stroke-color"), require("tsparticles-updater-size")) : 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-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"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(this, function(__WEBPACK_EXTERNAL_MODULE__646__, __WEBPACK_EXTERNAL_MODULE__158__, __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__800__, __WEBPACK_EXTERNAL_MODULE__79__) {
})(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__) {
return /******/ (() => { // webpackBootstrap

@@ -24,30 +24,11 @@ /******/ "use strict";

/***/ 153:
/***/ 615:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "loadSlim": () => /* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_1__.S
/* harmony export */ });
/* harmony import */ var tsparticles_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(646);
/* harmony import */ var tsparticles_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tsparticles_core__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _main__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(835);
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in tsparticles_core__WEBPACK_IMPORTED_MODULE_0__) if(["default","loadSlim"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => tsparticles_core__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__]
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
(0,_main__WEBPACK_IMPORTED_MODULE_1__/* .loadSlim */ .S)(tsparticles_core__WEBPACK_IMPORTED_MODULE_0__.tsParticles);
/***/ }),
/***/ 835:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"S": () => /* binding */ loadSlim
"loadSlim": () => /* binding */ loadSlim
});

@@ -57,9 +38,9 @@

var external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_ = __webpack_require__(158);
// EXTERNAL MODULE: external {"commonjs":"tsparticles-core","commonjs2":"tsparticles-core","amd":"tsparticles-core","root":"window"}
var external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_ = __webpack_require__(646);
// 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
class Bouncer extends external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.ExternalInteractorBase {
class Bouncer extends external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.ExternalInteractorBase {
constructor(container) {
super(container, "bounce");
super(container);
}

@@ -73,3 +54,3 @@

const divs = events.onDiv;
return mouse.position && events.onHover.enable && (0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.isInArray)("bounce", events.onHover.mode) || (0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.isDivModeEnabled)("bounce", divs);
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);
}

@@ -81,3 +62,3 @@

const events = options.interactivity.events;
const mouseMoveStatus = container.interactivity.status === external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Constants.mouseMoveEvent;
const mouseMoveStatus = container.interactivity.status === external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Constants.mouseMoveEvent;
const hoverEnabled = events.onHover.enable;

@@ -87,6 +68,6 @@ const hoverMode = events.onHover.mode;

if (mouseMoveStatus && hoverEnabled && (0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.isInArray)("bounce", hoverMode)) {
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_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.divModeExecute)("bounce", divs, (selector, div) => this.singleSelectorBounce(selector, div));
(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));
}

@@ -105,3 +86,3 @@ }

if (mousePos) {
this.processBounce(mousePos, radius, new external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Circle(mousePos.x, mousePos.y, radius + tolerance));
this.processBounce(mousePos, radius, new external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_.Circle(mousePos.x, mousePos.y, radius + tolerance));
}

@@ -127,3 +108,3 @@ }

const tolerance = 10 * pxRatio;
const area = div.type === "circle" ? new external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Circle(pos.x, pos.y, radius + tolerance) : new external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Rectangle(elem.offsetLeft * pxRatio - tolerance, elem.offsetTop * pxRatio - tolerance, elem.offsetWidth * pxRatio + tolerance * 2, elem.offsetHeight * pxRatio + tolerance * 2);
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);

@@ -137,11 +118,11 @@ });

for (const particle of query) {
if (area instanceof external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Circle) {
(0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.circleBounce)((0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.circleBounceDataFromParticle)(particle), {
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,
velocity: new external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Vector(0, 0),
factor: new external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Vector(0, 0)
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_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.Rectangle) {
(0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.rectBounce)(particle, (0,external_commonjs_tsparticles_core_commonjs2_tsparticles_core_amd_tsparticles_core_root_window_.calculateBounds)(position, radius));
} 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));
}

@@ -152,6 +133,6 @@ }

}
;// CONCATENATED MODULE: ../../interactions/external/bounce/dist/interaction.js
;// CONCATENATED MODULE: ../../interactions/external/bounce/dist/index.js
function loadInteraction(tsParticles) {
tsParticles.addInteractor(container => new Bouncer(container));
function loadExternalBounceInteraction(tsParticles) {
tsParticles.addInteractor("externalBounce", container => new Bouncer(container));
}

@@ -202,7 +183,7 @@ // EXTERNAL MODULE: external {"commonjs":"tsparticles-interaction-external-bubble","commonjs2":"tsparticles-interaction-external-bubble","amd":"tsparticles-interaction-external-bubble","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);
// 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);
;// CONCATENATED MODULE: ./dist/main.js
;// CONCATENATED MODULE: ./dist/index.js

@@ -235,28 +216,28 @@

function loadSlim(tsParticles) {
(0,external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_life_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_updater_stroke_color_commonjs2_tsparticles_updater_stroke_color_amd_tsparticles_updater_stroke_color_root_window_.loadUpdater)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_.loadInteraction)(tsParticles);
loadInteraction(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_bubble_commonjs2_tsparticles_interaction_external_bubble_amd_tsparticles_interaction_external_bubble_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_connect_commonjs2_tsparticles_interaction_external_connect_amd_tsparticles_interaction_external_connect_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_grab_commonjs2_tsparticles_interaction_external_grab_amd_tsparticles_interaction_external_grab_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_repulse_commonjs2_tsparticles_interaction_external_repulse_amd_tsparticles_interaction_external_repulse_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_attract_commonjs2_tsparticles_interaction_particles_attract_amd_tsparticles_interaction_particles_attract_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_collisions_commonjs2_tsparticles_interaction_external_collisions_amd_tsparticles_interaction_external_collisions_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_repulse_commonjs2_tsparticles_interaction_particles_repulse_amd_tsparticles_interaction_particles_repulse_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_external_links_commonjs2_tsparticles_interaction_external_links_amd_tsparticles_interaction_external_links_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_move_commonjs2_tsparticles_interaction_particles_move_amd_tsparticles_interaction_particles_move_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_interaction_particles_parallax_commonjs2_tsparticles_interaction_particles_parallax_amd_tsparticles_interaction_particles_parallax_root_window_.loadInteraction)(tsParticles);
(0,external_commonjs_tsparticles_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_.loadShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_.loadShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_line_commonjs2_tsparticles_shape_line_amd_tsparticles_shape_line_root_window_.loadShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_polygon_commonjs2_tsparticles_shape_polygon_amd_tsparticles_shape_polygon_root_window_.loadShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_square_commonjs2_tsparticles_shape_square_amd_tsparticles_shape_square_root_window_.loadShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_star_commonjs2_tsparticles_shape_star_amd_tsparticles_shape_star_root_window_.loadShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_.loadShape)(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_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_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_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_.loadCircleShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_.loadImageShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_line_commonjs2_tsparticles_shape_line_amd_tsparticles_shape_line_root_window_.loadLineShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_polygon_commonjs2_tsparticles_shape_polygon_amd_tsparticles_shape_polygon_root_window_.loadPolygonShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_square_commonjs2_tsparticles_shape_square_amd_tsparticles_shape_square_root_window_.loadSquareShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_star_commonjs2_tsparticles_shape_star_amd_tsparticles_shape_star_root_window_.loadStarShape)(tsParticles);
(0,external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_.loadTextShape)(tsParticles);
}

@@ -266,6 +247,6 @@

/***/ 646:
/***/ 414:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__646__;
module.exports = __WEBPACK_EXTERNAL_MODULE__414__;

@@ -475,14 +456,2 @@ /***/ }),

/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ (() => {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => module['default'] :
/******/ () => module;
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/define property getters */

@@ -520,5 +489,5 @@ /******/ (() => {

/******/ // Load entry module and return exports
/******/ return __webpack_require__(153);
/******/ return __webpack_require__(615);
/******/ })()
;
});

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

/*! tsParticles Slim v2.0.0-alpha.3 by Matteo Bruni */
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-core"),require("tsparticles-interaction-external-attract"),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-stroke-color"),require("tsparticles-updater-size"));else if("function"==typeof define&&define.amd)define(["tsparticles-core","tsparticles-interaction-external-attract","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-stroke-color","tsparticles-updater-size"],t);else{var r="object"==typeof exports?t(require("tsparticles-core"),require("tsparticles-interaction-external-attract"),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-stroke-color"),require("tsparticles-updater-size")):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,w,f,q,h,b,y,v,m,g,S,I,B){return(()=>{"use strict";var M={153:(e,t,r)=>{r.r(t),r.d(t,{loadSlim:()=>a.S});var i=r(646),a=r(835),s={};for(const e in i)["default","loadSlim"].indexOf(e)<0&&(s[e]=()=>i[e]);r.d(t,s),(0,a.S)(i.tsParticles)},835:(e,t,r)=>{r.d(t,{S:()=>E});var i=r(158),a=r(646);class s extends a.ExternalInteractorBase{constructor(e){super(e,"bounce")}isEnabled(){const e=this.container,t=e.options,r=e.interactivity.mouse,i=t.interactivity.events,s=i.onDiv;return r.position&&i.onHover.enable&&(0,a.isInArray)("bounce",i.onHover.mode)||(0,a.isDivModeEnabled)("bounce",s)}interact(){const e=this.container,t=e.options.interactivity.events,r=e.interactivity.status===a.Constants.mouseMoveEvent,i=t.onHover.enable,s=t.onHover.mode,o=t.onDiv;r&&i&&(0,a.isInArray)("bounce",s)?this.processMouseBounce():(0,a.divModeExecute)("bounce",o,((e,t)=>this.singleSelectorBounce(e,t)))}reset(){}processMouseBounce(){const e=this.container,t=10*e.retina.pixelRatio,r=e.interactivity.mouse.position,i=e.retina.bounceModeDistance;r&&this.processBounce(r,i,new a.Circle(r.x,r.y,i+t))}singleSelectorBounce(e,t){const r=this.container,i=document.querySelectorAll(e);i.length&&i.forEach((e=>{const i=e,s=r.retina.pixelRatio,o={x:(i.offsetLeft+i.offsetWidth/2)*s,y:(i.offsetTop+i.offsetHeight/2)*s},n=i.offsetWidth/2*s,c=10*s,l="circle"===t.type?new a.Circle(o.x,o.y,n+c):new a.Rectangle(i.offsetLeft*s-c,i.offsetTop*s-c,i.offsetWidth*s+2*c,i.offsetHeight*s+2*c);this.processBounce(o,n,l)}))}processBounce(e,t,r){const i=this.container.particles.quadTree.query(r);for(const s of i)r instanceof a.Circle?(0,a.circleBounce)((0,a.circleBounceDataFromParticle)(s),{position:e,radius:t,velocity:new a.Vector(0,0),factor:new a.Vector(0,0)}):r instanceof a.Rectangle&&(0,a.rectBounce)(s,(0,a.calculateBounds)(e,t))}}var o=r(745),n=r(763),c=r(309),l=r(120),p=r(679),u=r(937),d=r(706),x=r(627),w=r(194),f=r(376),q=r(572),h=r(310),b=r(625),y=r(795),v=r(485),m=r(607),g=r(254),S=r(686),I=r(797),B=r(295),M=r(954),j=r(785),U=r(800),k=r(79);function E(e){(0,S.loadUpdater)(e),(0,I.loadUpdater)(e),(0,B.loadUpdater)(e),(0,M.loadUpdater)(e),(0,j.loadUpdater)(e),(0,k.loadUpdater)(e),(0,U.loadUpdater)(e),(0,i.loadInteraction)(e),function(e){e.addInteractor((e=>new s(e)))}(e),(0,o.loadInteraction)(e),(0,n.loadInteraction)(e),(0,c.loadInteraction)(e),(0,l.loadInteraction)(e),(0,p.loadInteraction)(e),(0,u.loadInteraction)(e),(0,f.loadInteraction)(e),(0,d.loadInteraction)(e),(0,x.loadInteraction)(e),(0,w.loadInteraction)(e),(0,q.loadShape)(e),(0,h.loadShape)(e),(0,b.loadShape)(e),(0,y.loadShape)(e),(0,v.loadShape)(e),(0,m.loadShape)(e),(0,g.loadShape)(e)}},646:t=>{t.exports=e},158:e=>{e.exports=t},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=w},795:e=>{e.exports=f},485:e=>{e.exports=q},607:e=>{e.exports=h},254:e=>{e.exports=b},686:e=>{e.exports=y},797:e=>{e.exports=v},295:e=>{e.exports=m},954:e=>{e.exports=g},785:e=>{e.exports=S},79:e=>{e.exports=B},800:e=>{e.exports=I}},j={};function U(e){if(j[e])return j[e].exports;var t=j[e]={exports:{}};return M[e](t,t.exports,U),t.exports}return U.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return U.d(t,{a:t}),t},U.d=(e,t)=>{for(var r in t)U.o(t,r)&&!U.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},U.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),U.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},U(153)})()}));
/*! tsParticles Slim v2.0.0-alpha.4 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,b,v,y,g,m,S,I,B){return(()=>{"use strict";var M={615:(e,t,r)=>{r.r(t),r.d(t,{loadSlim:()=>j});var i=r(158),a=r(414);class s extends a.ExternalInteractorBase{constructor(e){super(e)}isEnabled(){const e=this.container,t=e.options,r=e.interactivity.mouse,i=t.interactivity.events,s=i.onDiv;return r.position&&i.onHover.enable&&(0,a.isInArray)(a.HoverMode.bounce,i.onHover.mode)||(0,a.isDivModeEnabled)(a.DivMode.bounce,s)}interact(){const e=this.container,t=e.options.interactivity.events,r=e.interactivity.status===a.Constants.mouseMoveEvent,i=t.onHover.enable,s=t.onHover.mode,o=t.onDiv;r&&i&&(0,a.isInArray)(a.HoverMode.bounce,s)?this.processMouseBounce():(0,a.divModeExecute)(a.DivMode.bounce,o,((e,t)=>this.singleSelectorBounce(e,t)))}reset(){}processMouseBounce(){const e=this.container,t=10*e.retina.pixelRatio,r=e.interactivity.mouse.position,i=e.retina.bounceModeDistance;r&&this.processBounce(r,i,new a.Circle(r.x,r.y,i+t))}singleSelectorBounce(e,t){const r=this.container,i=document.querySelectorAll(e);i.length&&i.forEach((e=>{const i=e,s=r.retina.pixelRatio,o={x:(i.offsetLeft+i.offsetWidth/2)*s,y:(i.offsetTop+i.offsetHeight/2)*s},n=i.offsetWidth/2*s,c=10*s,l=t.type===a.DivType.circle?new a.Circle(o.x,o.y,n+c):new a.Rectangle(i.offsetLeft*s-c,i.offsetTop*s-c,i.offsetWidth*s+2*c,i.offsetHeight*s+2*c);this.processBounce(o,n,l)}))}processBounce(e,t,r){const i=this.container.particles.quadTree.query(r);for(const s of i)r instanceof a.Circle?(0,a.circleBounce)((0,a.circleBounceDataFromParticle)(s),{position:e,radius:t,velocity:a.Vector.origin,factor:a.Vector.origin}):r instanceof a.Rectangle&&(0,a.rectBounce)(s,(0,a.calculateBounds)(e,t))}}var o=r(745),n=r(763),c=r(309),l=r(120),p=r(679),u=r(937),d=r(706),x=r(627),q=r(194),w=r(376),f=r(572),h=r(310),b=r(625),v=r(795),y=r(485),g=r(607),m=r(254),S=r(686),I=r(797),B=r(295),M=r(954),P=r(785),E=r(79),C=r(800);function j(e){(0,S.loadAngleUpdater)(e),(0,I.loadColorUpdater)(e),(0,B.loadLifeUpdater)(e),(0,M.loadOpacityUpdater)(e),(0,P.loadOutModesUpdater)(e),(0,E.loadSizeUpdater)(e),(0,C.loadStrokeColorUpdater)(e),(0,i.loadExternalAttractInteraction)(e),function(e){e.addInteractor("externalBounce",(e=>new s(e)))}(e),(0,o.loadExternalBubbleInteraction)(e),(0,n.loadExternalConnectInteraction)(e),(0,c.loadExternalGrabInteraction)(e),(0,l.loadExternalRepulseInteraction)(e),(0,x.loadParticlesMoveInteraction)(e),(0,q.loadParticlesParallaxInteraction)(e),(0,p.loadParticlesAttractInteraction)(e),(0,u.loadParticlesCollisionsInteraction)(e),(0,w.loadParticlesRepulseInteraction)(e),(0,d.loadParticlesLinksInteraction)(e),(0,f.loadCircleShape)(e),(0,h.loadImageShape)(e),(0,b.loadLineShape)(e),(0,v.loadPolygonShape)(e),(0,y.loadSquareShape)(e),(0,g.loadStarShape)(e),(0,m.loadTextShape)(e)}},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=b},686:e=>{e.exports=v},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=B}},P={};function E(e){if(P[e])return P[e].exports;var t=P[e]={exports:{}};return M[e](t,t.exports,E),t.exports}return 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})},E(615)})()}));

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