Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.5 to 2.0.6

browser/bundle.js

81

package.json
{
"name": "tsparticles-slim",
"version": "2.0.5",
"version": "2.0.6",
"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.",

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

"reactjs",
"vue-particles",
"ngx-particles",
"angular-particles",
"particleground",
"vue",

@@ -49,3 +53,11 @@ "vuejs",

"animated",
"background"
"background",
"confetti",
"canvas",
"fireworks",
"fireworks-js",
"confetti-js",
"confettijs",
"fireworksjs",
"canvas-confetti"
],

@@ -62,39 +74,38 @@ "author": "Matteo Bruni <matteo.bruni@me.com>",

"dependencies": {
"tsparticles-engine": "^2.0.5",
"tsparticles-interaction-external-attract": "^2.0.5",
"tsparticles-interaction-external-bounce": "^2.0.5",
"tsparticles-interaction-external-bubble": "^2.0.5",
"tsparticles-interaction-external-connect": "^2.0.5",
"tsparticles-interaction-external-grab": "^2.0.5",
"tsparticles-interaction-external-pause": "^2.0.5",
"tsparticles-interaction-external-push": "^2.0.5",
"tsparticles-interaction-external-remove": "^2.0.5",
"tsparticles-interaction-external-repulse": "^2.0.5",
"tsparticles-interaction-particles-attract": "^2.0.5",
"tsparticles-interaction-particles-collisions": "^2.0.5",
"tsparticles-interaction-particles-links": "^2.0.5",
"tsparticles-move-base": "^2.0.5",
"tsparticles-move-parallax": "^2.0.5",
"tsparticles-particles.js": "^2.0.5",
"tsparticles-shape-circle": "^2.0.5",
"tsparticles-shape-image": "^2.0.5",
"tsparticles-shape-line": "^2.0.5",
"tsparticles-shape-polygon": "^2.0.5",
"tsparticles-shape-square": "^2.0.5",
"tsparticles-shape-star": "^2.0.5",
"tsparticles-shape-text": "^2.0.5",
"tsparticles-updater-angle": "^2.0.5",
"tsparticles-updater-color": "^2.0.5",
"tsparticles-updater-life": "^2.0.5",
"tsparticles-updater-opacity": "^2.0.5",
"tsparticles-updater-out-modes": "^2.0.5",
"tsparticles-updater-size": "^2.0.5",
"tsparticles-updater-stroke-color": "^2.0.5"
"tsparticles-engine": "^2.0.6",
"tsparticles-interaction-external-attract": "^2.0.6",
"tsparticles-interaction-external-bounce": "^2.0.6",
"tsparticles-interaction-external-bubble": "^2.0.6",
"tsparticles-interaction-external-connect": "^2.0.6",
"tsparticles-interaction-external-grab": "^2.0.6",
"tsparticles-interaction-external-pause": "^2.0.6",
"tsparticles-interaction-external-push": "^2.0.6",
"tsparticles-interaction-external-remove": "^2.0.6",
"tsparticles-interaction-external-repulse": "^2.0.6",
"tsparticles-interaction-particles-attract": "^2.0.6",
"tsparticles-interaction-particles-collisions": "^2.0.6",
"tsparticles-interaction-particles-links": "^2.0.6",
"tsparticles-move-base": "^2.0.6",
"tsparticles-move-parallax": "^2.0.6",
"tsparticles-particles.js": "^2.0.6",
"tsparticles-shape-circle": "^2.0.6",
"tsparticles-shape-image": "^2.0.6",
"tsparticles-shape-line": "^2.0.6",
"tsparticles-shape-polygon": "^2.0.6",
"tsparticles-shape-square": "^2.0.6",
"tsparticles-shape-star": "^2.0.6",
"tsparticles-shape-text": "^2.0.6",
"tsparticles-updater-angle": "^2.0.6",
"tsparticles-updater-color": "^2.0.6",
"tsparticles-updater-life": "^2.0.6",
"tsparticles-updater-opacity": "^2.0.6",
"tsparticles-updater-out-modes": "^2.0.6",
"tsparticles-updater-size": "^2.0.6",
"tsparticles-updater-stroke-color": "^2.0.6"
},
"main": "index.js",
"main": "cjs/index.js",
"module": "esm/index.js",
"jsdelivr": "tsparticles.slim.min.js",
"unpkg": "tsparticles.slim.min.js",
"browser": "index.js",
"types": "index.d.ts"
"types": "types/index.d.ts"
}

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

* How to use? : Check the GitHub README
* v2.0.5
* v2.0.6
*/

@@ -19,3 +19,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
})(this, function(__WEBPACK_EXTERNAL_MODULE__995__, __WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__919__, __WEBPACK_EXTERNAL_MODULE__941__, __WEBPACK_EXTERNAL_MODULE__841__, __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__662__, __WEBPACK_EXTERNAL_MODULE__489__, __WEBPACK_EXTERNAL_MODULE__45__, __WEBPACK_EXTERNAL_MODULE__838__, __WEBPACK_EXTERNAL_MODULE__405__, __WEBPACK_EXTERNAL_MODULE__387__, __WEBPACK_EXTERNAL_MODULE__966__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__955__, __WEBPACK_EXTERNAL_MODULE__722__, __WEBPACK_EXTERNAL_MODULE__328__, __WEBPACK_EXTERNAL_MODULE__295__, __WEBPACK_EXTERNAL_MODULE__110__, __WEBPACK_EXTERNAL_MODULE__818__, __WEBPACK_EXTERNAL_MODULE__922__) {
})(this, (__WEBPACK_EXTERNAL_MODULE__995__, __WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__919__, __WEBPACK_EXTERNAL_MODULE__941__, __WEBPACK_EXTERNAL_MODULE__841__, __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__662__, __WEBPACK_EXTERNAL_MODULE__489__, __WEBPACK_EXTERNAL_MODULE__45__, __WEBPACK_EXTERNAL_MODULE__838__, __WEBPACK_EXTERNAL_MODULE__405__, __WEBPACK_EXTERNAL_MODULE__387__, __WEBPACK_EXTERNAL_MODULE__966__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__955__, __WEBPACK_EXTERNAL_MODULE__722__, __WEBPACK_EXTERNAL_MODULE__328__, __WEBPACK_EXTERNAL_MODULE__295__, __WEBPACK_EXTERNAL_MODULE__110__, __WEBPACK_EXTERNAL_MODULE__818__, __WEBPACK_EXTERNAL_MODULE__922__) => {
return /******/ (() => { // webpackBootstrap

@@ -351,3 +351,3 @@ /******/ "use strict";

var external_commonjs_tsparticles_engine_commonjs2_tsparticles_engine_amd_tsparticles_engine_root_window_ = __webpack_require__(818);
;// CONCATENATED MODULE: ../../updaters/strokeColor/dist/StrokeColorUpdater.js
;// CONCATENATED MODULE: ../../updaters/strokeColor/dist/esm/StrokeColorUpdater.js

@@ -449,75 +449,14 @@

}
;// CONCATENATED MODULE: ../../updaters/strokeColor/dist/index.js
var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function (resolve) {
resolve(value);
});
}
;// CONCATENATED MODULE: ../../updaters/strokeColor/dist/esm/index.js
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
function loadStrokeColorUpdater(engine) {
return __awaiter(this, void 0, void 0, function* () {
yield engine.addParticleUpdater("strokeColor", container => new StrokeColorUpdater(container));
});
async function loadStrokeColorUpdater(engine) {
await engine.addParticleUpdater("strokeColor", container => new StrokeColorUpdater(container));
}
// 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);
;// CONCATENATED MODULE: ./dist/index.js
var dist_awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function (resolve) {
resolve(value);
});
}
;// CONCATENATED MODULE: ./dist/browser/index.js
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};

@@ -548,39 +487,32 @@

function loadSlim(engine) {
return dist_awaiter(this, void 0, void 0, function* () {
yield (0,external_commonjs_tsparticles_move_base_commonjs2_tsparticles_move_base_amd_tsparticles_move_base_root_window_.loadBaseMover)(engine);
yield (0,external_commonjs_tsparticles_move_parallax_commonjs2_tsparticles_move_parallax_amd_tsparticles_move_parallax_root_window_.loadParallaxMover)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_.loadExternalAttractInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_bounce_commonjs2_tsparticles_interaction_external_bounce_amd_tsparticles_interaction_external_bounce_root_window_.loadExternalBounceInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_bubble_commonjs2_tsparticles_interaction_external_bubble_amd_tsparticles_interaction_external_bubble_root_window_.loadExternalBubbleInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_connect_commonjs2_tsparticles_interaction_external_connect_amd_tsparticles_interaction_external_connect_root_window_.loadExternalConnectInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_grab_commonjs2_tsparticles_interaction_external_grab_amd_tsparticles_interaction_external_grab_root_window_.loadExternalGrabInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_pause_commonjs2_tsparticles_interaction_external_pause_amd_tsparticles_interaction_external_pause_root_window_.loadExternalPauseInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_push_commonjs2_tsparticles_interaction_external_push_amd_tsparticles_interaction_external_push_root_window_.loadExternalPushInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_remove_commonjs2_tsparticles_interaction_external_remove_amd_tsparticles_interaction_external_remove_root_window_.loadExternalRemoveInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_external_repulse_commonjs2_tsparticles_interaction_external_repulse_amd_tsparticles_interaction_external_repulse_root_window_.loadExternalRepulseInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_particles_attract_commonjs2_tsparticles_interaction_particles_attract_amd_tsparticles_interaction_particles_attract_root_window_.loadParticlesAttractInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_particles_collisions_commonjs2_tsparticles_interaction_particles_collisions_amd_tsparticles_interaction_particles_collisions_root_window_.loadParticlesCollisionsInteraction)(engine);
yield (0,external_commonjs_tsparticles_interaction_particles_links_commonjs2_tsparticles_interaction_particles_links_amd_tsparticles_interaction_particles_links_root_window_.loadParticlesLinksInteraction)(engine);
yield (0,external_commonjs_tsparticles_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_.loadCircleShape)(engine);
yield (0,external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_.loadImageShape)(engine);
yield (0,external_commonjs_tsparticles_shape_line_commonjs2_tsparticles_shape_line_amd_tsparticles_shape_line_root_window_.loadLineShape)(engine);
yield (0,external_commonjs_tsparticles_shape_polygon_commonjs2_tsparticles_shape_polygon_amd_tsparticles_shape_polygon_root_window_.loadPolygonShape)(engine);
yield (0,external_commonjs_tsparticles_shape_square_commonjs2_tsparticles_shape_square_amd_tsparticles_shape_square_root_window_.loadSquareShape)(engine);
yield (0,external_commonjs_tsparticles_shape_star_commonjs2_tsparticles_shape_star_amd_tsparticles_shape_star_root_window_.loadStarShape)(engine);
yield (0,external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_.loadTextShape)(engine);
yield (0,external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_.loadLifeUpdater)(engine);
yield (0,external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_opacity_root_window_.loadOpacityUpdater)(engine);
yield (0,external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_.loadSizeUpdater)(engine);
yield (0,external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_.loadAngleUpdater)(engine);
yield (0,external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_.loadColorUpdater)(engine);
yield loadStrokeColorUpdater(engine);
yield (0,external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_.loadOutModesUpdater)(engine);
yield (0,external_commonjs_tsparticles_particles_js_commonjs2_tsparticles_particles_js_amd_tsparticles_particles_js_root_window_.initPjs)(engine);
});
async function loadSlim(engine) {
await (0,external_commonjs_tsparticles_move_base_commonjs2_tsparticles_move_base_amd_tsparticles_move_base_root_window_.loadBaseMover)(engine);
await (0,external_commonjs_tsparticles_move_parallax_commonjs2_tsparticles_move_parallax_amd_tsparticles_move_parallax_root_window_.loadParallaxMover)(engine);
await (0,external_commonjs_tsparticles_interaction_external_attract_commonjs2_tsparticles_interaction_external_attract_amd_tsparticles_interaction_external_attract_root_window_.loadExternalAttractInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_bounce_commonjs2_tsparticles_interaction_external_bounce_amd_tsparticles_interaction_external_bounce_root_window_.loadExternalBounceInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_bubble_commonjs2_tsparticles_interaction_external_bubble_amd_tsparticles_interaction_external_bubble_root_window_.loadExternalBubbleInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_connect_commonjs2_tsparticles_interaction_external_connect_amd_tsparticles_interaction_external_connect_root_window_.loadExternalConnectInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_grab_commonjs2_tsparticles_interaction_external_grab_amd_tsparticles_interaction_external_grab_root_window_.loadExternalGrabInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_pause_commonjs2_tsparticles_interaction_external_pause_amd_tsparticles_interaction_external_pause_root_window_.loadExternalPauseInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_push_commonjs2_tsparticles_interaction_external_push_amd_tsparticles_interaction_external_push_root_window_.loadExternalPushInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_remove_commonjs2_tsparticles_interaction_external_remove_amd_tsparticles_interaction_external_remove_root_window_.loadExternalRemoveInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_external_repulse_commonjs2_tsparticles_interaction_external_repulse_amd_tsparticles_interaction_external_repulse_root_window_.loadExternalRepulseInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_particles_attract_commonjs2_tsparticles_interaction_particles_attract_amd_tsparticles_interaction_particles_attract_root_window_.loadParticlesAttractInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_particles_collisions_commonjs2_tsparticles_interaction_particles_collisions_amd_tsparticles_interaction_particles_collisions_root_window_.loadParticlesCollisionsInteraction)(engine);
await (0,external_commonjs_tsparticles_interaction_particles_links_commonjs2_tsparticles_interaction_particles_links_amd_tsparticles_interaction_particles_links_root_window_.loadParticlesLinksInteraction)(engine);
await (0,external_commonjs_tsparticles_shape_circle_commonjs2_tsparticles_shape_circle_amd_tsparticles_shape_circle_root_window_.loadCircleShape)(engine);
await (0,external_commonjs_tsparticles_shape_image_commonjs2_tsparticles_shape_image_amd_tsparticles_shape_image_root_window_.loadImageShape)(engine);
await (0,external_commonjs_tsparticles_shape_line_commonjs2_tsparticles_shape_line_amd_tsparticles_shape_line_root_window_.loadLineShape)(engine);
await (0,external_commonjs_tsparticles_shape_polygon_commonjs2_tsparticles_shape_polygon_amd_tsparticles_shape_polygon_root_window_.loadPolygonShape)(engine);
await (0,external_commonjs_tsparticles_shape_square_commonjs2_tsparticles_shape_square_amd_tsparticles_shape_square_root_window_.loadSquareShape)(engine);
await (0,external_commonjs_tsparticles_shape_star_commonjs2_tsparticles_shape_star_amd_tsparticles_shape_star_root_window_.loadStarShape)(engine);
await (0,external_commonjs_tsparticles_shape_text_commonjs2_tsparticles_shape_text_amd_tsparticles_shape_text_root_window_.loadTextShape)(engine);
await (0,external_commonjs_tsparticles_updater_life_commonjs2_tsparticles_updater_life_amd_tsparticles_updater_life_root_window_.loadLifeUpdater)(engine);
await (0,external_commonjs_tsparticles_updater_opacity_commonjs2_tsparticles_updater_opacity_amd_tsparticles_updater_opacity_root_window_.loadOpacityUpdater)(engine);
await (0,external_commonjs_tsparticles_updater_size_commonjs2_tsparticles_updater_size_amd_tsparticles_updater_size_root_window_.loadSizeUpdater)(engine);
await (0,external_commonjs_tsparticles_updater_angle_commonjs2_tsparticles_updater_angle_amd_tsparticles_updater_angle_root_window_.loadAngleUpdater)(engine);
await (0,external_commonjs_tsparticles_updater_color_commonjs2_tsparticles_updater_color_amd_tsparticles_updater_color_root_window_.loadColorUpdater)(engine);
await loadStrokeColorUpdater(engine);
await (0,external_commonjs_tsparticles_updater_out_modes_commonjs2_tsparticles_updater_out_modes_amd_tsparticles_updater_out_modes_root_window_.loadOutModesUpdater)(engine);
await (0,external_commonjs_tsparticles_particles_js_commonjs2_tsparticles_particles_js_amd_tsparticles_particles_js_root_window_.initPjs)(engine);
}

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

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

/*! tsParticles Slim v2.0.5 by Matteo Bruni */
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-particles.js"),require("tsparticles-updater-angle"),require("tsparticles-move-base"),require("tsparticles-shape-circle"),require("tsparticles-updater-color"),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-shape-image"),require("tsparticles-updater-life"),require("tsparticles-shape-line"),require("tsparticles-updater-opacity"),require("tsparticles-updater-out-modes"),require("tsparticles-move-parallax"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-particles-collisions"),require("tsparticles-interaction-particles-links"),require("tsparticles-shape-polygon"),require("tsparticles-updater-size"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-engine"),require("tsparticles-shape-text"));else if("function"==typeof define&&define.amd)define(["tsparticles-particles.js","tsparticles-updater-angle","tsparticles-move-base","tsparticles-shape-circle","tsparticles-updater-color","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-shape-image","tsparticles-updater-life","tsparticles-shape-line","tsparticles-updater-opacity","tsparticles-updater-out-modes","tsparticles-move-parallax","tsparticles-interaction-particles-attract","tsparticles-interaction-particles-collisions","tsparticles-interaction-particles-links","tsparticles-shape-polygon","tsparticles-updater-size","tsparticles-shape-square","tsparticles-shape-star","tsparticles-engine","tsparticles-shape-text"],t);else{var r="object"==typeof exports?t(require("tsparticles-particles.js"),require("tsparticles-updater-angle"),require("tsparticles-move-base"),require("tsparticles-shape-circle"),require("tsparticles-updater-color"),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-shape-image"),require("tsparticles-updater-life"),require("tsparticles-shape-line"),require("tsparticles-updater-opacity"),require("tsparticles-updater-out-modes"),require("tsparticles-move-parallax"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-particles-collisions"),require("tsparticles-interaction-particles-links"),require("tsparticles-shape-polygon"),require("tsparticles-updater-size"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-engine"),require("tsparticles-shape-text")):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,c,p,u,d,x,v,w,q,y,h,f,b,m,g,k,S,P,I,C,j){return(()=>{"use strict";var E={818:e=>{e.exports=C},174:e=>{e.exports=o},544:e=>{e.exports=s},923:e=>{e.exports=l},364:e=>{e.exports=n},602:e=>{e.exports=c},999:e=>{e.exports=p},639:e=>{e.exports=u},394:e=>{e.exports=d},813:e=>{e.exports=x},966:e=>{e.exports=b},260:e=>{e.exports=m},955:e=>{e.exports=g},919:e=>{e.exports=r},387:e=>{e.exports=f},995:t=>{t.exports=e},941:e=>{e.exports=i},662:e=>{e.exports=v},45:e=>{e.exports=q},722:e=>{e.exports=k},295:e=>{e.exports=P},110:e=>{e.exports=I},922:e=>{e.exports=j},1:e=>{e.exports=t},841:e=>{e.exports=a},489:e=>{e.exports=w},838:e=>{e.exports=y},405:e=>{e.exports=h},328:e=>{e.exports=S}},O={};function U(e){var t=O[e];if(void 0!==t)return t.exports;var r=O[e]={exports:{}};return E[e](r,r.exports,U),r.exports}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})};var A={};return(()=>{U.r(A),U.d(A,{loadSlim:()=>F});var e=U(995),t=U(1),r=U(919),i=U(941),a=U(841),o=U(174),s=U(544),l=U(923),n=U(364),c=U(602),p=U(999),u=U(639),d=U(394),x=U(813),v=U(662),w=U(489),q=U(45),y=U(838),h=U(405),f=U(387),b=U(966),m=U(260),g=U(955),k=U(722),S=U(328),P=U(295),I=U(110),C=U(818);function j(e,t,r,i,a){var o;const s=t;if(!s||!s.enable)return;const l=(0,C.randomInRange)(r.offset),n=(null!==(o=t.velocity)&&void 0!==o?o:0)*e.factor+3.6*l;a&&0!==s.status?(s.value-=n,s.value<0&&(s.status=0,s.value+=s.value)):(s.value+=n,a&&s.value>i&&(s.status=1,s.value-=s.value%i)),s.value>i&&(s.value%=i)}class E{constructor(e){this.container=e}init(e){var t,r;const i=this.container;e.stroke=e.options.stroke instanceof Array?(0,C.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,C.colorToHsl)(e.stroke.color))&&void 0!==t?t:e.getFillColor();a&&(e.strokeColor=(0,C.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,c,p,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&&j(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&&j(t,v,d.s,100,!0);const w=null!==(p=null===(c=e.strokeColor)||void 0===c?void 0:c.l)&&void 0!==p?p:null===(u=e.color)||void 0===u?void 0:u.l;w&&j(t,w,d.l,100,!0)}(e,t)}}var O=function(e,t,r,i){return new(r||(r=Promise))((function(a,o){function s(e){try{n(i.next(e))}catch(e){o(e)}}function l(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,l)}n((i=i.apply(e,t||[])).next())}))};var M=U(922),z=function(e,t,r,i){return new(r||(r=Promise))((function(a,o){function s(e){try{n(i.next(e))}catch(e){o(e)}}function l(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,l)}n((i=i.apply(e,t||[])).next())}))};function F(C){return z(this,void 0,void 0,(function*(){yield(0,r.loadBaseMover)(C),yield(0,f.loadParallaxMover)(C),yield(0,o.loadExternalAttractInteraction)(C),yield(0,s.loadExternalBounceInteraction)(C),yield(0,l.loadExternalBubbleInteraction)(C),yield(0,n.loadExternalConnectInteraction)(C),yield(0,c.loadExternalGrabInteraction)(C),yield(0,p.loadExternalPauseInteraction)(C),yield(0,u.loadExternalPushInteraction)(C),yield(0,d.loadExternalRemoveInteraction)(C),yield(0,x.loadExternalRepulseInteraction)(C),yield(0,b.loadParticlesAttractInteraction)(C),yield(0,m.loadParticlesCollisionsInteraction)(C),yield(0,g.loadParticlesLinksInteraction)(C),yield(0,i.loadCircleShape)(C),yield(0,v.loadImageShape)(C),yield(0,q.loadLineShape)(C),yield(0,k.loadPolygonShape)(C),yield(0,P.loadSquareShape)(C),yield(0,I.loadStarShape)(C),yield(0,M.loadTextShape)(C),yield(0,w.loadLifeUpdater)(C),yield(0,y.loadOpacityUpdater)(C),yield(0,S.loadSizeUpdater)(C),yield(0,t.loadAngleUpdater)(C),yield(0,a.loadColorUpdater)(C),yield function(e){return O(this,void 0,void 0,(function*(){yield e.addParticleUpdater("strokeColor",(e=>new E(e)))}))}(C),yield(0,h.loadOutModesUpdater)(C),yield(0,e.initPjs)(C)}))}})(),A})()}));
/*! tsParticles Slim v2.0.6 by Matteo Bruni */
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-particles.js"),require("tsparticles-updater-angle"),require("tsparticles-move-base"),require("tsparticles-shape-circle"),require("tsparticles-updater-color"),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-shape-image"),require("tsparticles-updater-life"),require("tsparticles-shape-line"),require("tsparticles-updater-opacity"),require("tsparticles-updater-out-modes"),require("tsparticles-move-parallax"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-particles-collisions"),require("tsparticles-interaction-particles-links"),require("tsparticles-shape-polygon"),require("tsparticles-updater-size"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-engine"),require("tsparticles-shape-text"));else if("function"==typeof define&&define.amd)define(["tsparticles-particles.js","tsparticles-updater-angle","tsparticles-move-base","tsparticles-shape-circle","tsparticles-updater-color","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-shape-image","tsparticles-updater-life","tsparticles-shape-line","tsparticles-updater-opacity","tsparticles-updater-out-modes","tsparticles-move-parallax","tsparticles-interaction-particles-attract","tsparticles-interaction-particles-collisions","tsparticles-interaction-particles-links","tsparticles-shape-polygon","tsparticles-updater-size","tsparticles-shape-square","tsparticles-shape-star","tsparticles-engine","tsparticles-shape-text"],t);else{var r="object"==typeof exports?t(require("tsparticles-particles.js"),require("tsparticles-updater-angle"),require("tsparticles-move-base"),require("tsparticles-shape-circle"),require("tsparticles-updater-color"),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-shape-image"),require("tsparticles-updater-life"),require("tsparticles-shape-line"),require("tsparticles-updater-opacity"),require("tsparticles-updater-out-modes"),require("tsparticles-move-parallax"),require("tsparticles-interaction-particles-attract"),require("tsparticles-interaction-particles-collisions"),require("tsparticles-interaction-particles-links"),require("tsparticles-shape-polygon"),require("tsparticles-updater-size"),require("tsparticles-shape-square"),require("tsparticles-shape-star"),require("tsparticles-engine"),require("tsparticles-shape-text")):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 a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(this,((e,t,r,a,i,s,o,l,n,c,p,u,d,w,x,v,q,h,b,f,m,y,g,k,S,I,C,P,j)=>(()=>{"use strict";var E={818:e=>{e.exports=P},174:e=>{e.exports=s},544:e=>{e.exports=o},923:e=>{e.exports=l},364:e=>{e.exports=n},602:e=>{e.exports=c},999:e=>{e.exports=p},639:e=>{e.exports=u},394:e=>{e.exports=d},813:e=>{e.exports=w},966:e=>{e.exports=m},260:e=>{e.exports=y},955:e=>{e.exports=g},919:e=>{e.exports=r},387:e=>{e.exports=f},995:t=>{t.exports=e},941:e=>{e.exports=a},662:e=>{e.exports=x},45:e=>{e.exports=q},722:e=>{e.exports=k},295:e=>{e.exports=I},110:e=>{e.exports=C},922:e=>{e.exports=j},1:e=>{e.exports=t},841:e=>{e.exports=i},489:e=>{e.exports=v},838:e=>{e.exports=h},405:e=>{e.exports=b},328:e=>{e.exports=S}},O={};function U(e){var t=O[e];if(void 0!==t)return t.exports;var r=O[e]={exports:{}};return E[e](r,r.exports,U),r.exports}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})};var A={};return(()=>{U.r(A),U.d(A,{loadSlim:()=>M});var e=U(995),t=U(1),r=U(919),a=U(941),i=U(841),s=U(174),o=U(544),l=U(923),n=U(364),c=U(602),p=U(999),u=U(639),d=U(394),w=U(813),x=U(662),v=U(489),q=U(45),h=U(838),b=U(405),f=U(387),m=U(966),y=U(260),g=U(955),k=U(722),S=U(328),I=U(295),C=U(110),P=U(818);function j(e,t,r,a,i){var s;const o=t;if(!o||!o.enable)return;const l=(0,P.randomInRange)(r.offset),n=(null!==(s=t.velocity)&&void 0!==s?s:0)*e.factor+3.6*l;i&&0!==o.status?(o.value-=n,o.value<0&&(o.status=0,o.value+=o.value)):(o.value+=n,i&&o.value>a&&(o.status=1,o.value-=o.value%a)),o.value>a&&(o.value%=a)}class E{constructor(e){this.container=e}init(e){var t,r;const a=this.container;e.stroke=e.options.stroke instanceof Array?(0,P.itemFromArray)(e.options.stroke,e.id,e.options.reduceDuplicates):e.options.stroke,e.strokeWidth=e.stroke.width*a.retina.pixelRatio;const i=null!==(t=(0,P.colorToHsl)(e.stroke.color))&&void 0!==t?t:e.getFillColor();i&&(e.strokeColor=(0,P.getHslAnimationFromHsl)(i,null===(r=e.stroke.color)||void 0===r?void 0:r.animation,a.retina.reduceFactor))}isEnabled(e){var t,r,a,i;const s=null===(t=e.stroke)||void 0===t?void 0:t.color;return!e.destroyed&&!e.spawning&&!!s&&(void 0!==(null===(r=e.strokeColor)||void 0===r?void 0:r.h.value)&&s.animation.h.enable||void 0!==(null===(a=e.strokeColor)||void 0===a?void 0:a.s.value)&&s.animation.s.enable||void 0!==(null===(i=e.strokeColor)||void 0===i?void 0:i.l.value)&&s.animation.l.enable)}update(e,t){this.isEnabled(e)&&function(e,t){var r,a,i,s,o,l,n,c,p,u;if(!(null===(r=e.stroke)||void 0===r?void 0:r.color))return;const d=e.stroke.color.animation,w=null!==(i=null===(a=e.strokeColor)||void 0===a?void 0:a.h)&&void 0!==i?i:null===(s=e.color)||void 0===s?void 0:s.h;w&&j(t,w,d.h,360,!1);const x=null!==(l=null===(o=e.strokeColor)||void 0===o?void 0:o.s)&&void 0!==l?l:null===(n=e.color)||void 0===n?void 0:n.s;x&&j(t,x,d.s,100,!0);const v=null!==(p=null===(c=e.strokeColor)||void 0===c?void 0:c.l)&&void 0!==p?p:null===(u=e.color)||void 0===u?void 0:u.l;v&&j(t,v,d.l,100,!0)}(e,t)}}var O=U(922);async function M(P){await(0,r.loadBaseMover)(P),await(0,f.loadParallaxMover)(P),await(0,s.loadExternalAttractInteraction)(P),await(0,o.loadExternalBounceInteraction)(P),await(0,l.loadExternalBubbleInteraction)(P),await(0,n.loadExternalConnectInteraction)(P),await(0,c.loadExternalGrabInteraction)(P),await(0,p.loadExternalPauseInteraction)(P),await(0,u.loadExternalPushInteraction)(P),await(0,d.loadExternalRemoveInteraction)(P),await(0,w.loadExternalRepulseInteraction)(P),await(0,m.loadParticlesAttractInteraction)(P),await(0,y.loadParticlesCollisionsInteraction)(P),await(0,g.loadParticlesLinksInteraction)(P),await(0,a.loadCircleShape)(P),await(0,x.loadImageShape)(P),await(0,q.loadLineShape)(P),await(0,k.loadPolygonShape)(P),await(0,I.loadSquareShape)(P),await(0,C.loadStarShape)(P),await(0,O.loadTextShape)(P),await(0,v.loadLifeUpdater)(P),await(0,h.loadOpacityUpdater)(P),await(0,S.loadSizeUpdater)(P),await(0,t.loadAngleUpdater)(P),await(0,i.loadColorUpdater)(P),await async function(e){await e.addParticleUpdater("strokeColor",(e=>new E(e)))}(P),await(0,b.loadOutModesUpdater)(P),await(0,e.initPjs)(P)}})(),A})()));

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