@tsparticles/preset-triangles 4.0.0-beta.12 → 4.0.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +5 -6
  4. package/browser/index.lazy.js +19 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +5 -6
  8. package/cjs/index.lazy.js +19 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +5 -6
  12. package/esm/index.lazy.js +19 -0
  13. package/package.json +12 -5
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.triangles.bundle.js +7151 -967
  16. package/tsparticles.preset.triangles.bundle.min.js +1 -2
  17. package/tsparticles.preset.triangles.js +63 -362
  18. package/tsparticles.preset.triangles.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/110.min.js +0 -1
  22. package/155.min.js +0 -1
  23. package/181.min.js +0 -1
  24. package/212.min.js +0 -1
  25. package/318.min.js +0 -1
  26. package/349.min.js +0 -1
  27. package/4.min.js +0 -1
  28. package/415.min.js +0 -1
  29. package/425.min.js +0 -1
  30. package/483.min.js +0 -1
  31. package/5.min.js +0 -1
  32. package/586.min.js +0 -1
  33. package/623.min.js +0 -1
  34. package/646.min.js +0 -1
  35. package/662.min.js +0 -1
  36. package/663.min.js +0 -1
  37. package/69.min.js +0 -1
  38. package/748.min.js +0 -1
  39. package/779.min.js +0 -1
  40. package/794.min.js +0 -1
  41. package/807.min.js +0 -1
  42. package/819.min.js +0 -1
  43. package/837.min.js +0 -1
  44. package/874.min.js +0 -1
  45. package/904.min.js +0 -1
  46. package/935.min.js +0 -1
  47. package/938.min.js +0 -1
  48. package/94.min.js +0 -1
  49. package/979.min.js +0 -1
  50. package/bundles_basic_dist_browser_index_js.js +0 -30
  51. package/dist_browser_options_js.js +0 -30
  52. package/engine_dist_browser_Core_Container_js.js +0 -100
  53. package/interactions_particles_links_dist_browser_LinkInstance_js.js +0 -40
  54. package/interactions_particles_links_dist_browser_Linker_js.js +0 -140
  55. package/interactions_particles_links_dist_browser_LinksPlugin_js.js +0 -30
  56. package/interactions_particles_links_dist_browser_index_js.js +0 -60
  57. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  58. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  59. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  60. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  61. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  62. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  63. package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
  64. package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
  65. package/plugins_interactivity_dist_browser_index_js.js +0 -120
  66. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  67. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  68. package/plugins_move_dist_browser_index_js.js +0 -30
  69. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  70. package/shapes_circle_dist_browser_index_js.js +0 -30
  71. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  72. package/updaters_opacity_dist_browser_index_js.js +0 -30
  73. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  74. package/updaters_outModes_dist_browser_index_js.js +0 -30
  75. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  76. package/updaters_paint_dist_browser_index_js.js +0 -30
  77. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  78. package/updaters_size_dist_browser_index_js.js +0 -30
@@ -1,367 +1,68 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v4.0.0-beta.12
8
- */
9
- /*
10
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
11
- * This devtool is neither made for production nor for readable output files.
12
- * It uses "eval()" calls to create a separate source file in the browser devtools.
13
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
14
- * or disable the default devtool with "devtool: false".
15
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
16
- */
17
- (function webpackUniversalModuleDefinition(root, factory) {
18
- if(typeof exports === 'object' && typeof module === 'object')
19
- module.exports = factory(require("@tsparticles/plugin-interactivity"), require("@tsparticles/interaction-particles-links"), require("@tsparticles/basic"));
20
- else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/plugin-interactivity", "@tsparticles/interaction-particles-links", "@tsparticles/basic"], factory);
22
- else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/plugin-interactivity"), require("@tsparticles/interaction-particles-links"), require("@tsparticles/basic")) : factory(root["window"], root["window"], root["window"]);
24
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
- }
26
- })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_interactivity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_particles_links__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__) => {
27
- return /******/ (() => { // webpackBootstrap
28
- /******/ "use strict";
29
- /******/ var __webpack_modules__ = ({
1
+ (function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
2
+ /* Preset v4.0.0-beta.15 */
3
+ (function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/basic'), require('@tsparticles/plugin-interactivity'), require('@tsparticles/interaction-particles-links')) :
5
+ typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@tsparticles/plugin-interactivity', '@tsparticles/interaction-particles-links'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.presets = global.__tsParticlesInternals.presets || {}, global.__tsParticlesInternals.presets.triangles = global.__tsParticlesInternals.presets.triangles || {}), global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.plugins.interactivity, global.__tsParticlesInternals.interactions.particlesLinks));
7
+ })(this, (function (exports, basic, pluginInteractivity, interactionParticlesLinks) { 'use strict';
30
8
 
31
- /***/ "@tsparticles/basic"
32
- /*!******************************************************************************************************************************!*\
33
- !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
34
- \******************************************************************************************************************************/
35
- (module) {
9
+ const options = {
10
+ background: {
11
+ color: "#000000",
12
+ },
13
+ particles: {
14
+ number: {
15
+ value: 100,
16
+ },
17
+ links: {
18
+ distance: 125,
19
+ enable: true,
20
+ triangles: {
21
+ enable: true,
22
+ opacity: 0.1,
23
+ },
24
+ },
25
+ move: {
26
+ enable: true,
27
+ speed: 5,
28
+ },
29
+ paint: {
30
+ fill: {
31
+ color: {
32
+ value: "#ffffff",
33
+ },
34
+ },
35
+ },
36
+ size: {
37
+ value: 1,
38
+ },
39
+ shape: {
40
+ type: "circle",
41
+ },
42
+ },
43
+ };
36
44
 
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
45
+ const presetName = "triangles";
46
+ async function loadTrianglesPreset(engine) {
47
+ await engine.pluginManager.register(async (e) => {
48
+ const loadInteractivityForTriangles = async (e) => {
49
+ await pluginInteractivity.loadInteractivityPlugin(e);
50
+ await interactionParticlesLinks.loadParticlesLinksInteraction(e);
51
+ };
52
+ await Promise.all([
53
+ basic.loadBasic(e),
54
+ loadInteractivityForTriangles(e),
55
+ ]);
56
+ e.pluginManager.addPreset(presetName, options);
57
+ });
58
+ }
38
59
 
39
- /***/ },
60
+ const globalObject = globalThis;
61
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
62
+ globalObject.loadTrianglesPreset = loadTrianglesPreset;
40
63
 
41
- /***/ "@tsparticles/interaction-particles-links"
42
- /*!************************************************************************************************************************************************************************************************!*\
43
- !*** external {"commonjs":"@tsparticles/interaction-particles-links","commonjs2":"@tsparticles/interaction-particles-links","amd":"@tsparticles/interaction-particles-links","root":"window"} ***!
44
- \************************************************************************************************************************************************************************************************/
45
- (module) {
64
+ exports.loadTrianglesPreset = loadTrianglesPreset;
46
65
 
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_particles_links__;
48
-
49
- /***/ },
50
-
51
- /***/ "@tsparticles/plugin-interactivity"
52
- /*!***************************************************************************************************************************************************************************!*\
53
- !*** external {"commonjs":"@tsparticles/plugin-interactivity","commonjs2":"@tsparticles/plugin-interactivity","amd":"@tsparticles/plugin-interactivity","root":"window"} ***!
54
- \***************************************************************************************************************************************************************************/
55
- (module) {
56
-
57
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_interactivity__;
58
-
59
- /***/ },
60
-
61
- /***/ "./dist/browser/index.js"
62
- /*!*******************************!*\
63
- !*** ./dist/browser/index.js ***!
64
- \*******************************/
65
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
66
-
67
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadTrianglesPreset: () => (/* binding */ loadTrianglesPreset)\n/* harmony export */ });\nconst presetName = \"triangles\";\nasync function loadTrianglesPreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/interaction-particles-links */ \"@tsparticles/interaction-particles-links\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-interactivity */ \"@tsparticles/plugin-interactivity\", 19)),\n __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"))\n ]), loadInteractivityForTriangles = async (e)=>{\n await loadInteractivityPlugin(e);\n await loadParticlesLinksInteraction(e);\n };\n await Promise.all([\n loadBasic(e),\n loadInteractivityForTriangles(e)\n ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/./dist/browser/index.js?\n}");
68
-
69
- /***/ }
70
-
71
- /******/ });
72
- /************************************************************************/
73
- /******/ // The module cache
74
- /******/ var __webpack_module_cache__ = {};
75
- /******/
76
- /******/ // The require function
77
- /******/ function __webpack_require__(moduleId) {
78
- /******/ // Check if module is in cache
79
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
80
- /******/ if (cachedModule !== undefined) {
81
- /******/ return cachedModule.exports;
82
- /******/ }
83
- /******/ // Create a new module (and put it into the cache)
84
- /******/ var module = __webpack_module_cache__[moduleId] = {
85
- /******/ // no module.id needed
86
- /******/ // no module.loaded needed
87
- /******/ exports: {}
88
- /******/ };
89
- /******/
90
- /******/ // Execute the module function
91
- /******/ if (!(moduleId in __webpack_modules__)) {
92
- /******/ delete __webpack_module_cache__[moduleId];
93
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
94
- /******/ e.code = 'MODULE_NOT_FOUND';
95
- /******/ throw e;
96
- /******/ }
97
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
98
- /******/
99
- /******/ // Return the exports of the module
100
- /******/ return module.exports;
101
- /******/ }
102
- /******/
103
- /******/ // expose the modules object (__webpack_modules__)
104
- /******/ __webpack_require__.m = __webpack_modules__;
105
- /******/
106
- /************************************************************************/
107
- /******/ /* webpack/runtime/create fake namespace object */
108
- /******/ (() => {
109
- /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
110
- /******/ var leafPrototypes;
111
- /******/ // create a fake namespace object
112
- /******/ // mode & 1: value is a module id, require it
113
- /******/ // mode & 2: merge all properties of value into the ns
114
- /******/ // mode & 4: return value when already ns object
115
- /******/ // mode & 16: return value when it's Promise-like
116
- /******/ // mode & 8|1: behave like require
117
- /******/ __webpack_require__.t = function(value, mode) {
118
- /******/ if(mode & 1) value = this(value);
119
- /******/ if(mode & 8) return value;
120
- /******/ if(typeof value === 'object' && value) {
121
- /******/ if((mode & 4) && value.__esModule) return value;
122
- /******/ if((mode & 16) && typeof value.then === 'function') return value;
123
- /******/ }
124
- /******/ var ns = Object.create(null);
125
- /******/ __webpack_require__.r(ns);
126
- /******/ var def = {};
127
- /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
128
- /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
129
- /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
130
- /******/ }
131
- /******/ def['default'] = () => (value);
132
- /******/ __webpack_require__.d(ns, def);
133
- /******/ return ns;
134
- /******/ };
135
- /******/ })();
136
- /******/
137
- /******/ /* webpack/runtime/define property getters */
138
- /******/ (() => {
139
- /******/ // define getter functions for harmony exports
140
- /******/ __webpack_require__.d = (exports, definition) => {
141
- /******/ for(var key in definition) {
142
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
143
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
144
- /******/ }
145
- /******/ }
146
- /******/ };
147
- /******/ })();
148
- /******/
149
- /******/ /* webpack/runtime/ensure chunk */
150
- /******/ (() => {
151
- /******/ __webpack_require__.f = {};
152
- /******/ // This file contains only the entry chunk.
153
- /******/ // The chunk loading function for additional chunks
154
- /******/ __webpack_require__.e = (chunkId) => {
155
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
156
- /******/ __webpack_require__.f[key](chunkId, promises);
157
- /******/ return promises;
158
- /******/ }, []));
159
- /******/ };
160
- /******/ })();
161
- /******/
162
- /******/ /* webpack/runtime/get javascript chunk filename */
163
- /******/ (() => {
164
- /******/ // This function allow to reference async chunks
165
- /******/ __webpack_require__.u = (chunkId) => {
166
- /******/ // return url for filenames based on template
167
- /******/ return "" + chunkId + ".js";
168
- /******/ };
169
- /******/ })();
170
- /******/
171
- /******/ /* webpack/runtime/global */
172
- /******/ (() => {
173
- /******/ __webpack_require__.g = (function() {
174
- /******/ if (typeof globalThis === 'object') return globalThis;
175
- /******/ try {
176
- /******/ return this || new Function('return this')();
177
- /******/ } catch (e) {
178
- /******/ if (typeof window === 'object') return window;
179
- /******/ }
180
- /******/ })();
181
- /******/ })();
182
- /******/
183
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
184
- /******/ (() => {
185
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
186
- /******/ })();
187
- /******/
188
- /******/ /* webpack/runtime/load script */
189
- /******/ (() => {
190
- /******/ var inProgress = {};
191
- /******/ var dataWebpackPrefix = "@tsparticles/preset-triangles:";
192
- /******/ // loadScript function to load a script via script tag
193
- /******/ __webpack_require__.l = (url, done, key, chunkId) => {
194
- /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
195
- /******/ var script, needAttach;
196
- /******/ if(key !== undefined) {
197
- /******/ var scripts = document.getElementsByTagName("script");
198
- /******/ for(var i = 0; i < scripts.length; i++) {
199
- /******/ var s = scripts[i];
200
- /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
201
- /******/ }
202
- /******/ }
203
- /******/ if(!script) {
204
- /******/ needAttach = true;
205
- /******/ script = document.createElement('script');
206
- /******/
207
- /******/ script.charset = 'utf-8';
208
- /******/ if (__webpack_require__.nc) {
209
- /******/ script.setAttribute("nonce", __webpack_require__.nc);
210
- /******/ }
211
- /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
212
- /******/
213
- /******/ script.src = url;
214
- /******/ }
215
- /******/ inProgress[url] = [done];
216
- /******/ var onScriptComplete = (prev, event) => {
217
- /******/ // avoid mem leaks in IE.
218
- /******/ script.onerror = script.onload = null;
219
- /******/ clearTimeout(timeout);
220
- /******/ var doneFns = inProgress[url];
221
- /******/ delete inProgress[url];
222
- /******/ script.parentNode && script.parentNode.removeChild(script);
223
- /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
224
- /******/ if(prev) return prev(event);
225
- /******/ }
226
- /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
227
- /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
228
- /******/ script.onload = onScriptComplete.bind(null, script.onload);
229
- /******/ needAttach && document.head.appendChild(script);
230
- /******/ };
231
- /******/ })();
232
- /******/
233
- /******/ /* webpack/runtime/make namespace object */
234
- /******/ (() => {
235
- /******/ // define __esModule on exports
236
- /******/ __webpack_require__.r = (exports) => {
237
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
238
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
239
- /******/ }
240
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
241
- /******/ };
242
- /******/ })();
243
- /******/
244
- /******/ /* webpack/runtime/publicPath */
245
- /******/ (() => {
246
- /******/ var scriptUrl;
247
- /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
248
- /******/ var document = __webpack_require__.g.document;
249
- /******/ if (!scriptUrl && document) {
250
- /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
251
- /******/ scriptUrl = document.currentScript.src;
252
- /******/ if (!scriptUrl) {
253
- /******/ var scripts = document.getElementsByTagName("script");
254
- /******/ if(scripts.length) {
255
- /******/ var i = scripts.length - 1;
256
- /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
257
- /******/ }
258
- /******/ }
259
- /******/ }
260
- /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
261
- /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
262
- /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
263
- /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
264
- /******/ __webpack_require__.p = scriptUrl;
265
- /******/ })();
266
- /******/
267
- /******/ /* webpack/runtime/jsonp chunk loading */
268
- /******/ (() => {
269
- /******/ // no baseURI
270
- /******/
271
- /******/ // object to store loaded and loading chunks
272
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
273
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
274
- /******/ var installedChunks = {
275
- /******/ "tsparticles.preset.triangles": 0
276
- /******/ };
277
- /******/
278
- /******/ __webpack_require__.f.j = (chunkId, promises) => {
279
- /******/ // JSONP chunk loading for javascript
280
- /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
281
- /******/ if(installedChunkData !== 0) { // 0 means "already installed".
282
- /******/
283
- /******/ // a Promise means "currently loading".
284
- /******/ if(installedChunkData) {
285
- /******/ promises.push(installedChunkData[2]);
286
- /******/ } else {
287
- /******/ if(true) { // all chunks have JS
288
- /******/ // setup Promise in chunk cache
289
- /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
290
- /******/ promises.push(installedChunkData[2] = promise);
291
- /******/
292
- /******/ // start chunk loading
293
- /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
294
- /******/ // create error before stack unwound to get useful stacktrace later
295
- /******/ var error = new Error();
296
- /******/ var loadingEnded = (event) => {
297
- /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
298
- /******/ installedChunkData = installedChunks[chunkId];
299
- /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
300
- /******/ if(installedChunkData) {
301
- /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
302
- /******/ var realSrc = event && event.target && event.target.src;
303
- /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
304
- /******/ error.name = 'ChunkLoadError';
305
- /******/ error.type = errorType;
306
- /******/ error.request = realSrc;
307
- /******/ installedChunkData[1](error);
308
- /******/ }
309
- /******/ }
310
- /******/ };
311
- /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
312
- /******/ }
313
- /******/ }
314
- /******/ }
315
- /******/ };
316
- /******/
317
- /******/ // no prefetching
318
- /******/
319
- /******/ // no preloaded
320
- /******/
321
- /******/ // no HMR
322
- /******/
323
- /******/ // no HMR manifest
324
- /******/
325
- /******/ // no on chunks loaded
326
- /******/
327
- /******/ // install a JSONP callback for chunk loading
328
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
329
- /******/ var [chunkIds, moreModules, runtime] = data;
330
- /******/ // add "moreModules" to the modules object,
331
- /******/ // then flag all "chunkIds" as loaded and fire callback
332
- /******/ var moduleId, chunkId, i = 0;
333
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
334
- /******/ for(moduleId in moreModules) {
335
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
336
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
337
- /******/ }
338
- /******/ }
339
- /******/ if(runtime) var result = runtime(__webpack_require__);
340
- /******/ }
341
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
342
- /******/ for(;i < chunkIds.length; i++) {
343
- /******/ chunkId = chunkIds[i];
344
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
345
- /******/ installedChunks[chunkId][0]();
346
- /******/ }
347
- /******/ installedChunks[chunkId] = 0;
348
- /******/ }
349
- /******/
350
- /******/ }
351
- /******/
352
- /******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || [];
353
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
354
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
355
- /******/ })();
356
- /******/
357
- /************************************************************************/
358
- /******/
359
- /******/ // startup
360
- /******/ // Load entry module and return exports
361
- /******/ // This entry module can't be inlined because the eval devtool is used.
362
- /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
363
- /******/
364
- /******/ return __webpack_exports__;
365
- /******/ })()
366
- ;
367
- });
66
+ }));
67
+ Object.assign(globalThis.window || globalThis, { loadTrianglesPreset: (globalThis.__tsParticlesInternals.presets.triangles || {}).loadTrianglesPreset });
68
+ delete (globalThis.window || globalThis).tsparticlesInternalExports;
@@ -1,2 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/plugin-interactivity"),require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/plugin-interactivity","@tsparticles/interaction-particles-links","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/plugin-interactivity"),require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic")):t(e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r)=>(()=>{"use strict";var i,o,n,a={145(e){e.exports=r},613(e){e.exports=t},702(t){t.exports=e}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return a[e](r,r.exports,l),r.exports}l.m=a,p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);l.r(r);var i={};c=c||[null,p({}),p([]),p(p)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~c.indexOf(o);o=p(o))Object.getOwnPropertyNames(o).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,l.d(r,i),r},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((t,r)=>(l.f[r](e,t),t),[])),l.u=e=>""+e+".min.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},l.l=(e,t,r,i)=>{if(u[e])return void u[e].push(t);if(void 0!==r)for(var o,n,a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var c=a[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@tsparticles/preset-triangles:"+r){o=c;break}}o||(n=!0,(o=document.createElement("script")).charset="utf-8",l.nc&&o.setAttribute("nonce",l.nc),o.setAttribute("data-webpack","@tsparticles/preset-triangles:"+r),o.src=e),u[e]=[t];var p=(t,r)=>{o.onerror=o.onload=null,clearTimeout(d);var i=u[e];if(delete u[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(r)),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),n&&document.head.appendChild(o)},l.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.g.importScripts&&(d=l.g.location+"");var c,p,u,d,f=l.g.document;if(!d&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(d=f.currentScript.src),!d)){var b=f.getElementsByTagName("script");if(b.length)for(var g=b.length-1;g>-1&&(!d||!/^http(s?):/.test(d));)d=b[g--].src}if(!d)throw Error("Automatic publicPath is not supported in this browser");l.p=d=d.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i={859:0},l.f.j=(e,t)=>{var r=l.o(i,e)?i[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((t,o)=>r=i[e]=[t,o]);t.push(r[2]=o);var n=l.p+l.u(e),a=Error();l.l(n,t=>{if(l.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+` failed.
2
- (`+o+": "+n+")",a.name="ChunkLoadError",a.type=o,a.request=n,r[1](a)}},"chunk-"+e,e)}},o=(e,t)=>{var r,o,[n,a,s]=t,c=0;if(n.some(e=>0!==i[e])){for(r in a)l.o(a,r)&&(l.m[r]=a[r]);s&&s(l)}for(e&&e(t);c<n.length;c++)o=n[c],l.o(i,o)&&i[o]&&i[o][0](),i[o]=0},(n=this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n));var h={};async function m(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadParticlesLinksInteraction:r},{loadInteractivityPlugin:i},{options:o}]=await Promise.all([Promise.resolve().then(l.t.bind(l,145,19)),Promise.resolve().then(l.t.bind(l,613,19)),Promise.resolve().then(l.t.bind(l,702,19)),l.e(837).then(l.bind(l,837))]),n=async e=>{await i(e),await r(e)};await Promise.all([t(e),n(e)]),e.pluginManager.addPreset("triangles",o)})}return l.r(h),l.d(h,{loadTrianglesPreset:()=>m}),h})());
1
+ !function(s){s.__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.bundles=s.__tsParticlesInternals.bundles||{},s.__tsParticlesInternals.effects=s.__tsParticlesInternals.effects||{},s.__tsParticlesInternals.engine=s.__tsParticlesInternals.engine||{},s.__tsParticlesInternals.interactions=s.__tsParticlesInternals.interactions||{},s.__tsParticlesInternals.palettes=s.__tsParticlesInternals.palettes||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins.emittersShapes=s.__tsParticlesInternals.plugins.emittersShapes||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.shapes=s.__tsParticlesInternals.shapes||{},s.__tsParticlesInternals.updaters=s.__tsParticlesInternals.updaters||{},s.__tsParticlesInternals.utils=s.__tsParticlesInternals.utils||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas.utils=s.__tsParticlesInternals.canvas.utils||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path.utils=s.__tsParticlesInternals.path.utils||{};var t="undefined"!=typeof Proxy?function(s){return new Proxy(s,{get:function(s,t){return t in s||(s[t]={}),s[t]}})}:function(s){return s};s.__tsParticlesInternals.bundles=t(s.__tsParticlesInternals.bundles),s.__tsParticlesInternals.effects=t(s.__tsParticlesInternals.effects),s.__tsParticlesInternals.interactions=t(s.__tsParticlesInternals.interactions),s.__tsParticlesInternals.palettes=t(s.__tsParticlesInternals.palettes),s.__tsParticlesInternals.paths=t(s.__tsParticlesInternals.paths),s.__tsParticlesInternals.plugins=t(s.__tsParticlesInternals.plugins),s.__tsParticlesInternals.plugins.emittersShapes=t(s.__tsParticlesInternals.plugins.emittersShapes),s.__tsParticlesInternals.presets=t(s.__tsParticlesInternals.presets),s.__tsParticlesInternals.shapes=t(s.__tsParticlesInternals.shapes),s.__tsParticlesInternals.updaters=t(s.__tsParticlesInternals.updaters),s.__tsParticlesInternals.utils=t(s.__tsParticlesInternals.utils),s.__tsParticlesInternals.canvas=t(s.__tsParticlesInternals.canvas),s.__tsParticlesInternals.path=t(s.__tsParticlesInternals.path),s.tsparticlesInternalExports=s.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(s,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tsparticles/basic"),require("@tsparticles/plugin-interactivity"),require("@tsparticles/interaction-particles-links")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/basic","@tsparticles/plugin-interactivity","@tsparticles/interaction-particles-links"],t):t(((s="undefined"!=typeof globalThis?globalThis:s||self).__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.presets.triangles=s.__tsParticlesInternals.presets.triangles||{}),s.__tsParticlesInternals.bundles.basic,s.__tsParticlesInternals.plugins.interactivity,s.__tsParticlesInternals.interactions.particlesLinks)}(this,function(s,t,e,a){"use strict";const n={background:{color:"#000000"},particles:{number:{value:100},links:{distance:125,enable:!0,triangles:{enable:!0,opacity:.1}},move:{enable:!0,speed:5},paint:{fill:{color:{value:"#ffffff"}}},size:{value:1},shape:{type:"circle"}}};async function l(s){await s.pluginManager.register(async s=>{await Promise.all([t.loadBasic(s),(async s=>{await e.loadInteractivityPlugin(s),await a.loadParticlesLinksInteraction(s)})(s)]),s.pluginManager.addPreset("triangles",n)})}const r=globalThis;r.__tsParticlesInternals=r.__tsParticlesInternals??{},r.loadTrianglesPreset=l,s.loadTrianglesPreset=l}),Object.assign(globalThis.window||globalThis,{loadTrianglesPreset:(globalThis.__tsParticlesInternals.presets.triangles||{}).loadTrianglesPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
@@ -0,0 +1 @@
1
+ export * from "./index.js";
@@ -0,0 +1,2 @@
1
+ import type { Engine } from "@tsparticles/engine/lazy";
2
+ export declare function loadTrianglesPreset(engine: Engine): Promise<void>;
package/110.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[110],{3110(e,i,t){t.d(i,{LinkInstance:()=>l});var n=t(7279);function s(e,i){let t=[...e.map(e=>e.id)].sort((e,i)=>e-i).join("_"),s=i.get(t);return void 0===s&&(s=(0,n.G0i)(),i.set(t,s)),s}class l{_colorCache=new Map;_container;_freqs;_pluginManager;constructor(e,i){this._pluginManager=e,this._container=i,this._freqs={links:new Map,triangles:new Map}}drawParticle(e,i){let{links:t,options:s}=i;if(!t?.length||!s.links)return;let l=s.links,a=i.retina.linksWidth??0,r=i.getPosition(),o=i.options.twinkle?.links,c=l.triangles.enable,h=c?new Set(t.map(e=>e.destination.id)):null,g=e.globalAlpha,p="",d=-1,_=-1,k=!1,u=()=>{k&&(e.stroke(),k=!1)};for(let g of t){if(l.frequency<1&&this._getLinkFrequency(i,g.destination)>l.frequency)continue;let t=g.destination.getPosition();if(c&&!g.isWarped&&h&&(u(),this._drawTriangles(s,i,g,h,r,t,e)),g.opacity<=0||a<=0||!l.enable)continue;let y=g.opacity,f=g.color,b=o?.enable&&(0,n.G0i)()<o.frequency?(0,n.BN0)(this._pluginManager,o.color):void 0;if(o&&b&&(f=b,y=(0,n.VGA)(o.opacity)),!f){let e=void 0!==l.id?this._container.particles.linksColors.get(l.id):this._container.particles.linksColor;f=(0,n._hh)(i,g.destination,e)}if(!f)continue;let x=this._getCachedStyle(f);if((x!==p||a!==d||y!==_)&&(u(),e.strokeStyle=x,e.lineWidth=a,e.globalAlpha=y,p=x,d=a,_=y,e.beginPath(),k=!0),g.isWarped){let i=this._container.canvas.size,s=t.x-r.x,l=t.y-r.y,a=n.boI.x,o=n.boI.y;Math.abs(s)>i.width*n.MXx&&(a=s>0?-i.width:i.width),Math.abs(l)>i.height*n.MXx&&(o=l>0?-i.height:i.height),e.moveTo(r.x,r.y),e.lineTo(t.x+a,t.y+o),e.moveTo(r.x-a,r.y-o),e.lineTo(t.x,t.y)}else e.moveTo(r.x,r.y),e.lineTo(t.x,t.y)}u(),e.globalAlpha=g}init(){return this._freqs.links.clear(),this._freqs.triangles.clear(),this._colorCache.clear(),Promise.resolve()}particleCreated(e){if(e.links=[],!e.options.links)return;e.linksDistance=e.options.links.distance,e.linksWidth=e.options.links.width;let i=this._container.retina.pixelRatio;e.retina.linksDistance=e.linksDistance*i,e.retina.linksWidth=e.linksWidth*i}particleDestroyed(e){e.links=[]}_drawTriangles(e,i,t,s,l,a,r){let o=t.destination,c=e.links?.triangles;if(!c?.enable||!o.options.links?.triangles.enable)return;let h=o.links;if(h?.length)for(let g of h){if(g.isWarped||this._getLinkFrequency(o,g.destination)>o.options.links.frequency||!s.has(g.destination.id))continue;let h=g.destination;if(this._getTriangleFrequency(i,o,h)>(e.links?.triangles.frequency??0))continue;let p=c.opacity??(t.opacity+g.opacity)*n.MXx,d=(0,n.BN0)(this._pluginManager,c.color)??t.color;if(!d||p<=0)continue;let _=h.getPosition();r.save(),r.fillStyle=this._getCachedStyle(d),r.globalAlpha=p,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(a.x,a.y),r.lineTo(_.x,_.y),r.closePath(),r.fill(),r.restore()}}_getCachedStyle(e){let i=`${e.r},${e.g},${e.b}`,t=this._colorCache.get(i);return t||(t=(0,n.xxz)(e,this._container.hdr),this._colorCache.set(i,t)),t}_getLinkFrequency(e,i){return s([e,i],this._freqs.links)}_getTriangleFrequency(e,i,t){return s([e,i,t],this._freqs.triangles)}}}}]);
package/155.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[155],{7155(t,i,a){a.d(i,{OpacityUpdater:()=>e});var o=a(7279);class e{container;constructor(t){this.container=t}init(t){let i=t.options.opacity;t.opacity=(0,o.XsS)(i,1);let a=i.animation;a.enable&&(t.opacity.velocity=(0,o.VGA)(a.speed)/o.a56*this.container.retina.reduceFactor,a.sync||(t.opacity.velocity*=(0,o.G0i)()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,i){this.isEnabled(t)&&t.opacity&&(0,o.UC0)(t,t.opacity,!0,t.options.opacity.animation.destroy,i)}}}}]);
package/181.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[181],{2181(i,e,l){l.d(e,{PaintUpdater:()=>a});var t=l(7279);class a{_container;_pluginManager;constructor(i,e){this._container=e,this._pluginManager=i}init(i){let e=this._container,l=i.options,a=(0,t.TA3)(l.paint,i.id,l.reduceDuplicates),o=a?.fill,n=a?.stroke;if(o){i.fillEnabled=o.enable,i.fillOpacity=(0,t.VGA)(o.opacity),i.fillAnimation=o.color.animation;let l=(0,t.R5R)(this._pluginManager,o.color);l&&(i.fillColor=(0,t.pzy)(l,i.fillAnimation,e.retina.reduceFactor))}else i.fillEnabled=!1,i.fillAnimation=void 0,i.fillColor=void 0,i.fillOpacity=1;if(n){i.strokeWidth=(0,t.VGA)(n.width)*e.retina.pixelRatio,i.strokeOpacity=(0,t.VGA)(n.opacity??1),i.strokeAnimation=n.color?.animation;let l=(0,t.R5R)(this._pluginManager,n.color)??i.getFillColor();l&&(i.strokeColor=(0,t.pzy)(l,i.strokeAnimation,e.retina.reduceFactor))}else i.strokeAnimation=void 0,i.strokeColor=void 0,i.strokeOpacity=1,i.strokeWidth=0}isEnabled(i){let{fillAnimation:e,fillColor:l,strokeAnimation:t,strokeColor:a}=i,o=!!e&&(l?.h.value!==void 0&&l.h.enable||l?.s.value!==void 0&&l.s.enable||l?.l.value!==void 0&&l.l.enable),n=!!t&&(a?.h.value!==void 0&&a.h.enable||a?.s.value!==void 0&&a.s.enable||a?.l.value!==void 0&&a.l.enable);return!i.destroyed&&!i.spawning&&(o||n)}update(i,e){this.isEnabled(i)&&((0,t.JvX)(i.fillColor,e),(0,t.JvX)(i.strokeColor,e))}}}}]);
package/212.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[212],{6903(i,t,e){e.d(t,{q:()=>o});var s=e(7279),a=e(9531),n=e(2299);class o{blink;color;consent;distance;enable;frequency;id;opacity;shadow;triangles;warp;width;constructor(){this.blink=!1,this.color=new s.Oit,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new a.s,this.triangles=new n.G,this.width=1,this.warp=!1}load(i){(0,s.kZJ)(i)||(void 0!==i.id&&(this.id=i.id),void 0!==i.blink&&(this.blink=i.blink),this.color=s.Oit.create(this.color,i.color),void 0!==i.consent&&(this.consent=i.consent),void 0!==i.distance&&(this.distance=i.distance),void 0!==i.enable&&(this.enable=i.enable),void 0!==i.frequency&&(this.frequency=i.frequency),void 0!==i.opacity&&(this.opacity=i.opacity),this.shadow.load(i.shadow),this.triangles.load(i.triangles),void 0!==i.width&&(this.width=i.width),void 0!==i.warp&&(this.warp=i.warp))}}},9531(i,t,e){e.d(t,{s:()=>a});var s=e(7279);class a{blur;color;enable;constructor(){this.blur=5,this.color=new s.Oit,this.color.value="#000",this.enable=!1}load(i){(0,s.kZJ)(i)||(void 0!==i.blur&&(this.blur=i.blur),this.color=s.Oit.create(this.color,i.color),void 0!==i.enable&&(this.enable=i.enable))}}},2299(i,t,e){e.d(t,{G:()=>a});var s=e(7279);class a{color;enable;frequency;opacity;constructor(){this.enable=!1,this.frequency=1}load(i){(0,s.kZJ)(i)||(void 0!==i.color&&(this.color=s.Oit.create(this.color,i.color)),void 0!==i.enable&&(this.enable=i.enable),void 0!==i.frequency&&(this.frequency=i.frequency),void 0!==i.opacity&&(this.opacity=i.opacity))}}},1212(i,t,e){e.r(t),e.d(t,{Links:()=>s.q,LinksShadow:()=>a.s,LinksTriangle:()=>n.G,loadParticlesLinksInteraction:()=>o});var s=e(6903),a=e(9531),n=e(2299);async function o(i){i.checkVersion("4.0.0-beta.12"),await i.pluginManager.register(async i=>{let t=i.pluginManager,[{ensureInteractivityPluginLoaded:s},{LinksPlugin:a}]=await Promise.all([e.e(586).then(e.bind(e,4586)),e.e(318).then(e.bind(e,2318))]);s(i),t.addPlugin(new a(t)),t.addInteractor?.("particlesLinks",async i=>{let{Linker:s}=await e.e(904).then(e.bind(e,904));return new s(t,i)})})}}}]);
package/318.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[318],{2318(n,e,s){s.r(e),s.d(e,{LinksPlugin:()=>t});class t{id="links";_pluginManager;constructor(n){this._pluginManager=n}async getPlugin(n){let{LinkInstance:e}=await s.e(110).then(s.bind(s,3110));return new e(this._pluginManager,n)}loadOptions(){}needsPlugin(){return!0}}}}]);
package/349.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[349],{1349(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("opacity",async e=>{let{OpacityUpdater:t}=await a.e(155).then(a.bind(a,7155));return new t(e)})})}a.r(t),a.d(t,{loadOpacityUpdater:()=>i})}}]);
package/4.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[4],{6623(e,i,s){s.d(i,{SizeUpdater:()=>a});var t=s(7279);class a{_container;constructor(e){this._container=e}init(e){let i=this._container,s=e.options.size.animation;s.enable&&(e.size.velocity=e.retina.sizeAnimationSpeed/t.a56*i.retina.reduceFactor,s.sync||(e.size.velocity*=(0,t.G0i)()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??0)<=0||(e.size.maxLoops??0)>0&&(e.size.loops??0)<(e.size.maxLoops??0))}reset(e){e.size.time=0,e.size.loops=0}update(e,i){this.isEnabled(e)&&(0,t.UC0)(e,e.size,!0,e.options.size.animation.destroy,i)}}}}]);
package/415.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[415],{1415(e,t,n){n.d(t,{MovePlugin:()=>s});class s{id="move";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{MovePluginInstance:t}=await n.e(807).then(n.bind(n,4807));return new t(this._pluginManager,e)}loadOptions(){}needsPlugin(){return!0}}}}]);
package/425.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[425],{425(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("size",async e=>{let{SizeUpdater:t}=await a.e(4).then(a.bind(a,6623));return new t(e)})})}a.r(t),a.d(t,{loadSizeUpdater:()=>i})}}]);
package/483.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[483],{483(r,e,s){s.d(e,{RgbColorManager:()=>g});var t,a,n=s(7279);(t=a||(a={}))[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a";let i=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class g{accepts(r){return r.startsWith("rgb")}handleColor(r){let e=r.value.rgb??r.value;if("r"in e&&"g"in e&&"b"in e)return e}handleRangeColor(r){let e=r.value.rgb??r.value;if("r"in e&&"g"in e&&"b"in e)return{r:(0,n.VGA)(e.r),g:(0,n.VGA)(e.g),b:(0,n.VGA)(e.b)}}parseString(r){if(!this.accepts(r))return;let e=i.exec(r);return e?{a:e.length>4?(0,n.M3Y)(e[a.a]):1,b:parseInt(e[a.b]??"0",10),g:parseInt(e[a.g]??"0",10),r:parseInt(e[a.r]??"0",10)}:void 0}}}}]);
package/5.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[5],{1005(e,a,t){t.d(a,{CircleDrawer:()=>n});var i=t(7279);class n{draw(e){!function(e){let{context:a,particle:t,radius:n}=e;t.circleRange??={min:0,max:i.R1e};let r=t.circleRange;a.arc(i.boI.x,i.boI.y,n,r.min,r.max,!1)}(e)}getSidesCount(){return 12}particleInit(e,a){let t=a.shapeData,n=t?.angle??{max:360,min:0};a.circleRange=(0,i.Gvm)(n)?{min:(0,i.puj)(n.min),max:(0,i.puj)(n.max)}:{min:0,max:(0,i.puj)(n)}}}}}]);
package/586.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[586],{9757(e,t,n){var r,a;n.d(t,{Q:()=>r}),(a=r||(r={})).circle="circle",a.rectangle="rectangle"},6210(e,t,n){var r,a;n.d(t,{h:()=>r}),(a=r||(r={})).canvas="canvas",a.parent="parent",a.window="window"},6115(e,t,n){var r,a;n.d(t,{e:()=>r}),(a=r||(r={})).external="external",a.particles="particles"},3383(e,t,n){n.d(t,{Bp:()=>l,DG:()=>d,G3:()=>u,Rb:()=>s,Z0:()=>o,ms:()=>a,s7:()=>c,vo:()=>i,xO:()=>r});let r="click",a="pointerdown",i="pointerup",o="pointerleave",s="pointermove",c="touchstart",l="touchend",d="touchmove",u="touchcancel"},7226(e,t,n){n.d(t,{G:()=>i});var r=n(7279),a=n(9757);class i{enable;mode;selectors;type;constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=a.Q.circle}load(e){(0,r.kZJ)(e)||(void 0!==e.selectors&&(this.selectors=e.selectors),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.type&&(this.type=e.type))}}},5070(e,t,n){n.d(t,{d:()=>a});var r=n(7279);class a{_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t}load(e){if((0,r.kZJ)(e)||!this._container)return;let t=this._pluginManager.interactors?.get(this._container);if(t)for(let n of t)n.loadModeOptions&&n.loadModeOptions(this,e)}}},4586(e,t,n){n.r(t),n.d(t,{DivEvent:()=>h.G,DivType:()=>c.Q,ExternalInteractorBase:()=>i,InteractivityDetect:()=>l.h,InteractorType:()=>a.e,Modes:()=>g.d,ParticlesInteractorBase:()=>o,clickEvent:()=>s.xO,divMode:()=>p,divModeExecute:()=>u,ensureInteractivityPluginLoaded:()=>M,isDivModeEnabled:()=>d,loadInteractivityPlugin:()=>w,mouseDownEvent:()=>s.ms,mouseLeaveEvent:()=>s.Z0,mouseMoveEvent:()=>s.Rb,mouseUpEvent:()=>s.vo,singleDivModeExecute:()=>v,touchCancelEvent:()=>s.G3,touchEndEvent:()=>s.Bp,touchMoveEvent:()=>s.DG,touchStartEvent:()=>s.s7});var r=n(7279),a=n(6115);class i{type=a.e.external;container;constructor(e){this.container=e}}class o{type=a.e.particles;container;constructor(e){this.container=e}}var s=n(3383),c=n(9757),l=n(6210);function d(e,t){return!!(0,r.w3Z)(t,t=>t.enable&&(0,r.hnD)(e,t.mode))}function u(e,t,n){(0,r.wJ2)(t,t=>{let a=t.mode;t.enable&&(0,r.hnD)(e,a)&&v(t,n)})}function v(e,t){let n=e.selectors;(0,r.wJ2)(n,n=>{t(n,e)})}function p(e,t){if(t&&e)return(0,r.w3Z)(e,e=>{var n;let a;return n=e.selectors,a=(0,r.wJ2)(n,e=>t.matches(e)),(0,r.cyL)(a)?a.some(e=>e):a})}var h=n(7226),g=n(5070);async function w(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let t=e.pluginManager,{InteractivityPlugin:a}=await n.e(779).then(n.bind(n,779));t.addPlugin(new a(t)),t.initializers.interactors??=new Map,t.interactors??=new Map,t.addInteractor=(e,n)=>{t.initializers.interactors??=new Map,t.initializers.interactors.set(e,n)},t.getInteractors=async(e,n=!1)=>(t.interactors??=new Map,t.initializers.interactors??=new Map,(0,r.HQK)(e,t.interactors,t.initializers.interactors,n)),t.setOnClickHandler=t=>{let{items:n}=e;if(!n.length)throw Error("Click handlers can only be set after calling tsParticles.load()");n.forEach(e=>{e.addClickHandler?.(t)})}})}function M(e){if(!e.pluginManager.addInteractor)throw Error("tsParticles Interactivity Plugin is not loaded")}}}]);
package/623.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[623],{4623(e,n,t){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let[{loadHexColorPlugin:n},{loadHslColorPlugin:i},{loadRgbColorPlugin:a},{loadMovePlugin:s},{loadCircleShape:h},{loadPaintUpdater:r},{loadOpacityUpdater:b},{loadOutModesUpdater:c},{loadSizeUpdater:d}]=await Promise.all([t.e(748).then(t.bind(t,2748)),t.e(94).then(t.bind(t,94)),t.e(794).then(t.bind(t,1794)),t.e(69).then(t.bind(t,1069)),t.e(938).then(t.bind(t,5938)),t.e(646).then(t.bind(t,7646)),t.e(349).then(t.bind(t,1349)),t.e(662).then(t.bind(t,7662)),t.e(425).then(t.bind(t,425))]);await Promise.all([n(e),i(e),a(e),s(e),h(e),r(e),b(e),c(e),d(e)])})}t.r(n),t.d(n,{loadBasic:()=>i})}}]);
package/646.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[646],{7646(e,a,t){async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("paint",async a=>{let{PaintUpdater:n}=await t.e(181).then(t.bind(t,2181));return new n(e.pluginManager,a)})})}t.r(a),t.d(a,{loadPaintUpdater:()=>n})}}]);
package/662.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[662],{7662(e,t,a){async function s(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("outModes",async e=>{let{OutOfCanvasUpdater:t}=await a.e(663).then(a.bind(a,4663));return new t(e)})})}a.r(t),a.d(t,{loadOutModesUpdater:()=>s})}}]);
package/663.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[663],{4663(t,i,e){e.d(i,{OutOfCanvasUpdater:()=>c});var o=e(7279);class s{container;modes;_particleBouncePlugins;constructor(t){this.container=t,this.modes=[o.Yzx.bounce,o.Yzx.split],this._particleBouncePlugins=t.plugins.filter(t=>void 0!==t.particleBounce)}update(t,i,e,s){if(!this.modes.includes(s))return;let n=this.container,a=!1;for(let o of this._particleBouncePlugins)if(a=o.particleBounce?.(t,e,i)??!1)break;if(a)return;let r=t.getPosition(),d=t.offset,c=t.getRadius(),l=(0,o.AEc)(r,c),p=n.canvas.size;!function(t){if(t.outMode!==o.Yzx.bounce&&t.outMode!==o.Yzx.split||t.direction!==o.v5k.left&&t.direction!==o.v5k.right)return;t.bounds.right<0&&t.direction===o.v5k.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===o.v5k.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);let i=t.particle.velocity.x,e=!1;if(t.direction===o.v5k.right&&t.bounds.right>=t.canvasSize.width&&i>0||t.direction===o.v5k.left&&t.bounds.left<=0&&i<0){let i=(0,o.VGA)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-i,e=!0}if(!e)return;let s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===o.v5k.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=0&&t.direction===o.v5k.left&&(t.particle.position.x=s),t.outMode===o.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:l,canvasSize:p,offset:d,size:c}),function(t){if(t.outMode!==o.Yzx.bounce&&t.outMode!==o.Yzx.split||t.direction!==o.v5k.bottom&&t.direction!==o.v5k.top)return;t.bounds.bottom<0&&t.direction===o.v5k.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===o.v5k.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);let i=t.particle.velocity.y,e=!1;if(t.direction===o.v5k.bottom&&t.bounds.bottom>=t.canvasSize.height&&i>0||t.direction===o.v5k.top&&t.bounds.top<=0&&i<0){let i=(0,o.VGA)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-i,e=!0}if(!e)return;let s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===o.v5k.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=0&&t.direction===o.v5k.top&&(t.particle.position.y=s),t.outMode===o.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:l,canvasSize:p,offset:d,size:c})}}class n{container;modes;constructor(t){this.container=t,this.modes=[o.Yzx.destroy]}update(t,i,e,s){if(!this.modes.includes(s))return;let n=this.container;switch(t.outType){case o.x_I.normal:case o.x_I.outside:if((0,o.Tj8)(t.position,n.canvas.size,o.boI,t.getRadius(),i))return;break;case o.x_I.inside:{let{dx:i,dy:e}=(0,o.vrU)(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&i>t.moveCenter.radius||n<0&&e>t.moveCenter.radius||s>=0&&i<-t.moveCenter.radius||n>=0&&e<-t.moveCenter.radius)return}}t.destroy(!0)}}class a{container;modes;constructor(t){this.container=t,this.modes=[o.Yzx.none]}update(t,i,e,s){if(!this.modes.includes(s)||((t.options.move.distance.horizontal&&(i===o.v5k.left||i===o.v5k.right))??(t.options.move.distance.vertical&&(i===o.v5k.top||i===o.v5k.bottom))))return;let n=t.options.move.gravity,a=this.container,r=a.canvas.size,d=t.getRadius();if(n.enable){let e=t.position;(!n.inverse&&e.y>r.height+d&&i===o.v5k.bottom||n.inverse&&e.y<-d&&i===o.v5k.top)&&t.destroy()}else{if(t.velocity.y>0&&t.position.y<=r.height+d||t.velocity.y<0&&t.position.y>=-d||t.velocity.x>0&&t.position.x<=r.width+d||t.velocity.x<0&&t.position.x>=-d)return;(0,o.Tj8)(t.position,a.canvas.size,o.boI,d,i)||t.destroy()}}}let r=o.Miz.origin;class d{container;modes;constructor(t){this.container=t,this.modes=[o.Yzx.out]}update(t,i,e,s){if(!this.modes.includes(s))return;let n=this.container;if(t.outType===o.x_I.inside){let{x:i,y:e}=t.velocity;r.setTo(o.boI),r.length=t.moveCenter.radius,r.angle=t.velocity.angle+Math.PI,r.addTo(t.moveCenter);let{dx:s,dy:a}=(0,o.vrU)(t.position,r);if(i<=0&&s>=0||e<=0&&a>=0||i>=0&&s<=0||e>=0&&a<=0)return;t.position.x=Math.floor((0,o.vEz)({min:0,max:n.canvas.size.width})),t.position.y=Math.floor((0,o.vEz)({min:0,max:n.canvas.size.height}));let{dx:d,dy:c}=(0,o.vrU)(t.position,t.moveCenter);t.direction=Math.atan2(-c,-d),t.velocity.angle=t.direction}else{if((0,o.Tj8)(t.position,n.canvas.size,o.boI,t.getRadius(),i))return;switch(t.outType){case o.x_I.outside:{t.position.x=Math.floor((0,o.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,o.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;let{dx:i,dy:e}=(0,o.vrU)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(e,i),t.velocity.angle=t.direction);break}case o.x_I.normal:{let e=t.options.move.warp,s=n.canvas.size,a={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},r=t.getRadius(),d=(0,o.AEc)(t.position,r);i===o.v5k.right&&d.left>s.width+t.offset.x?(t.position.x=a.left,t.initialPosition.x=t.position.x,e||(t.position.y=(0,o.G0i)()*s.height,t.initialPosition.y=t.position.y)):i===o.v5k.left&&d.right<-t.offset.x&&(t.position.x=a.right,t.initialPosition.x=t.position.x,e||(t.position.y=(0,o.G0i)()*s.height,t.initialPosition.y=t.position.y)),i===o.v5k.bottom&&d.top>s.height+t.offset.y?(e||(t.position.x=(0,o.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.top,t.initialPosition.y=t.position.y):i===o.v5k.top&&d.bottom<-t.offset.y&&(e||(t.position.x=(0,o.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.bottom,t.initialPosition.y=t.position.y)}}}}}class c{updaters;container;constructor(t){this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,o.Yzx.bounce,t=>new s(t)),this._addUpdaterIfMissing(t,o.Yzx.out,t=>new d(t)),this._addUpdaterIfMissing(t,o.Yzx.destroy,t=>new n(t)),this._addUpdaterIfMissing(t,o.Yzx.none,t=>new a(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,i){let e=t.options.move.outModes;this._updateOutMode(t,i,e.bottom??e.default,o.v5k.bottom),this._updateOutMode(t,i,e.left??e.default,o.v5k.left),this._updateOutMode(t,i,e.right??e.default,o.v5k.right),this._updateOutMode(t,i,e.top??e.default,o.v5k.top)}_addUpdaterIfMissing=(t,i,e)=>{let o=t.options.move.outModes;this.updaters.has(i)||o.default!==i&&o.bottom!==i&&o.left!==i&&o.right!==i&&o.top!==i||this.updaters.set(i,e(this.container))};_updateOutMode=(t,i,e,o)=>{for(let s of this.updaters.values())s.update(t,o,i,e)}}}}]);
package/69.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[69],{1069(e,a,t){t.r(a),t.d(a,{ensureBaseMoverLoaded:()=>i,loadMovePlugin:()=>n});var r=t(7279);async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let a=e.pluginManager;a.initializers.pathGenerators??=new Map,a.pathGenerators??=new Map,a.addPathGenerator=(e,t)=>{a.initializers.pathGenerators??=new Map,a.initializers.pathGenerators.set(e,t)},a.getPathGenerators=async(e,t=!1)=>(a.initializers.pathGenerators??=new Map,a.pathGenerators??=new Map,(0,r.OtU)(e,a.pathGenerators,a.initializers.pathGenerators,t));let{MovePlugin:n}=await t.e(415).then(t.bind(t,1415));e.pluginManager.addPlugin(new n(e.pluginManager))})}function i(e){if(!e.pluginManager.addPathGenerator)throw Error("tsParticles Base Mover is not loaded")}}}]);
package/748.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[748],{2748(e,a,t){async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let{HexColorManager:a}=await t.e(935).then(t.bind(t,8935));e.pluginManager.addColorManager("hex",new a)})}t.r(a),t.d(a,{loadHexColorPlugin:()=>n})}}]);
package/779.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[779],{779(e,t,i){i.d(t,{InteractivityPlugin:()=>o});var n=i(7279),s=i(1812);class o{id="interactivity";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{InteractivityPluginInstance:t}=await i.e(874).then(i.bind(i,4874));return new t(this._pluginManager,e)}loadOptions(e,t,i){if(!this.needsPlugin())return;let n=t.interactivity;n?.load||(t.interactivity=n=new s.k(this._pluginManager,e)),n.load(i?.interactivity);let o=this._pluginManager.interactors?.get(e);if(o)for(let e of o)e.loadOptions&&e.loadOptions(t,i)}loadParticlesOptions(e,t,i){i?.interactivity&&(t.interactivity=(0,n.zwS)({},i.interactivity));let s=this._pluginManager.interactors?.get(e);if(s)for(let e of s)e.loadParticlesOptions?.(t,i)}needsPlugin(){return!0}}},1812(e,t,i){i.d(t,{k:()=>c});var n=i(7279);class s{enable;mode;constructor(){this.enable=!1,this.mode=[]}load(e){(0,n.kZJ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode))}}var o=i(7226);class a{enable;mode;constructor(){this.enable=!1,this.mode=[]}load(e){(0,n.kZJ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode))}}class l{onClick;onDiv;onHover;constructor(){this.onClick=new s,this.onDiv=new o.G,this.onHover=new a}load(e){if((0,n.kZJ)(e))return;this.onClick.load(e.onClick);let t=e.onDiv;void 0!==t&&(this.onDiv=(0,n.wJ2)(t,e=>{let t=new o.G;return t.load(e),t})),this.onHover.load(e.onHover)}}var r=i(6210),d=i(5070);class c{detectsOn;events;modes;constructor(e,t){this.detectsOn=r.h.window,this.events=new l,this.modes=new d.d(e,t)}load(e){if((0,n.kZJ)(e))return;let t=e.detectsOn;void 0!==t&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}}}]);
package/794.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[794],{1794(e,a,t){async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let{RgbColorManager:a}=await t.e(483).then(t.bind(t,483));e.pluginManager.addColorManager("rgb",new a)})}t.r(a),t.d(a,{loadRgbColorPlugin:()=>n})}}]);
package/807.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[807],{4807(e,t,i){i.d(t,{MovePluginInstance:()=>n});var a=i(7279);class n{availablePathGenerators;pathGenerators;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.availablePathGenerators=new Map,this.pathGenerators=new Map}destroy(){this.availablePathGenerators=new Map,this.pathGenerators=new Map}isEnabled(e){return!e.destroyed&&e.options.move.enable}particleCreated(e){let t=e.options.move,i=t.gravity,n=t.path;if(e.moveDecay=a.WH8-(0,a.VGA)(t.decay),e.pathDelay=(0,a.VGA)(n.delay.value)*a.XuV,n.generator){let t=this.pathGenerators.get(n.generator);!t&&(t=this.availablePathGenerators.get(n.generator))&&(this.pathGenerators.set(n.generator,t),t.init()),e.pathGenerator=t}e.gravity={enable:i.enable,acceleration:(0,a.VGA)(i.acceleration),inverse:i.inverse},function(e,t){let i=t.options.move.spin;if(!i.enable)return;let n=i.position??{x:50,y:50},s={x:.01*n.x*e.canvas.size.width,y:.01*n.y*e.canvas.size.height},r=t.getPosition(),o=(0,a.YfF)(r,s),l=(0,a.VGA)(i.acceleration);t.retina.spinAcceleration=l*e.retina.pixelRatio,t.spin={center:s,direction:t.velocity.x>=0?a.pTR.clockwise:a.pTR.counterClockwise,angle:(0,a.G0i)()*a.R1e,radius:o,acceleration:t.retina.spinAcceleration}}(this._container,e)}particleDestroyed(e){let t=e.pathGenerator;t?.reset(e)}particleUpdate(e,t){let i=e.options,n=i.move;if(!n.enable)return;let s=this._container,r=s.retina.pixelRatio,o=e.slow.inRange?e.slow.factor:1,l=s.retina.reduceFactor,c=e.retina.moveSpeed,p=e.retina.moveDrift,h=(0,a.W9e)(i.size.value)*r,y=c*(n.size?e.getRadius()/h:1)*o*(t.factor||1)*a.MXx,v=e.retina.maxSpeed;n.spin.enable?function(e,t,i,n){if(!t.spin)return;let s=t.spin.direction===a.pTR.clockwise,r={x:s?Math.cos:Math.sin,y:s?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*r.x(t.spin.angle)*n,t.position.y=t.spin.center.y+t.spin.radius*r.y(t.spin.angle)*n,t.spin.radius+=t.spin.acceleration*n;let o=Math.max(e.canvas.size.width,e.canvas.size.height),l=o*a.MXx;t.spin.radius>l?(t.spin.radius=l,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=.01*i*(1-t.spin.radius/o)}(s,e,y,l):function(e,t,i,n,s,r,o){!function(e,t){let i=e.options.move.path;if(!i.enable)return;let n=e.pathDelay??0;if(e.lastPathTime<=n){e.lastPathTime+=t.value;return}let s=e.pathGenerator?.generate(e,t);s&&e.velocity.addTo(s),i.clamp&&(e.velocity.x=(0,a.qE8)(e.velocity.x,-1,1),e.velocity.y=(0,a.qE8)(e.velocity.y,-1,1)),e.lastPathTime-=n}(e,o);let l=e.gravity,c=l?.enable&&l.inverse?-1:1;s&&i&&(e.velocity.x+=s*o.factor/(60*i)),l?.enable&&i&&(e.velocity.y+=c*(l.acceleration*o.factor)/(60*i));let p=e.moveDecay;e.velocity.multTo(p??1);let h=e.velocity.mult(i);l?.enable&&n>0&&(!l.inverse&&h.y>=0&&h.y>=n||l.inverse&&h.y<=0&&h.y<=-n)&&(h.y=c*n,i&&(e.velocity.y=h.y/i));let y=e.options.zIndex,v=(1-e.zIndexFactor)**y.velocityRate;h.multTo(v),h.multTo(r);let{position:u}=e;u.addTo(h),t.vibrate&&(u.x+=Math.sin(u.x*Math.cos(u.y))*r,u.y+=Math.cos(u.y*Math.sin(u.x))*r)}(e,n,y,v,p,l,t),function(e){let t=e.initialPosition,{dx:i,dy:n}=(0,a.vrU)(t,e.position),s=Math.abs(i),r=Math.abs(n),{maxDistance:o}=e.retina,l=o.horizontal,c=o.vertical;if(l||c){if((l&&s>=l||c&&r>=c)&&!e.misplaced)e.misplaced=!!l&&s>l||!!c&&r>c,l&&(e.velocity.x=e.velocity.y*a.MXx-e.velocity.x),c&&(e.velocity.y=e.velocity.x*a.MXx-e.velocity.y);else if((!l||s<l)&&(!c||r<c)&&e.misplaced)e.misplaced=!1;else if(e.misplaced){let i=e.position,n=e.velocity;l&&(i.x<t.x&&n.x<0||i.x>t.x&&n.x>0)&&(n.x*=-(0,a.G0i)()),c&&(i.y<t.y&&n.y<0||i.y>t.y&&n.y>0)&&(n.y*=-(0,a.G0i)())}}}(e)}preInit(){return this._init()}redrawInit(){return this._init()}update(){for(let e of this.pathGenerators.values())e.update()}async _init(){let e=await this._pluginManager.getPathGenerators?.(this._container,!0);if(e)for(let t of(this.availablePathGenerators=e,this.pathGenerators=new Map,this.pathGenerators.values()))t.init()}}}}]);
package/819.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).push([[819],{7819(s,e,l){l.d(e,{HslColorManager:()=>h});var t,r,a=l(7279);(t=r||(r={}))[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a";let n=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class h{accepts(s){return s.startsWith("hsl")}handleColor(s){let e=s.value.hsl??s.value;if("h"in e&&"s"in e&&"l"in e)return(0,a.YLU)(e)}handleRangeColor(s){let e=s.value.hsl??s.value;if("h"in e&&"s"in e&&"l"in e)return(0,a.YLU)({h:(0,a.VGA)(e.h),l:(0,a.VGA)(e.l),s:(0,a.VGA)(e.s)})}parseString(s){if(!this.accepts(s))return;let e=n.exec(s);return e?(0,a.ayx)({a:e.length>4?(0,a.M3Y)(e[r.a]):1,h:Number.parseInt(e[r.h]??"0",10),l:Number.parseInt(e[r.l]??"0",10),s:Number.parseInt(e[r.s]??"0",10)}):void 0}}}}]);