@tsparticles/preset-hyperspace 4.0.0-beta.12 → 4.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/browser.js +5 -0
- package/browser/bundle.js +4 -0
- package/browser/index.js +6 -8
- package/browser/index.lazy.js +23 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +6 -8
- package/cjs/index.lazy.js +23 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +6 -8
- package/esm/index.lazy.js +23 -0
- package/package.json +14 -7
- package/report.html +4949 -94
- package/tsparticles.preset.hyperspace.bundle.js +7051 -967
- package/tsparticles.preset.hyperspace.bundle.min.js +1 -2
- package/tsparticles.preset.hyperspace.js +96 -397
- package/tsparticles.preset.hyperspace.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/147.min.js +0 -1
- package/155.min.js +0 -1
- package/181.min.js +0 -1
- package/210.min.js +0 -1
- package/218.min.js +0 -1
- package/240.min.js +0 -1
- package/268.min.js +0 -1
- package/335.min.js +0 -1
- package/336.min.js +0 -1
- package/349.min.js +0 -1
- package/379.min.js +0 -1
- package/4.min.js +0 -1
- package/415.min.js +0 -1
- package/425.min.js +0 -1
- package/434.min.js +0 -1
- package/436.min.js +0 -1
- package/454.min.js +0 -1
- package/483.min.js +0 -1
- package/5.min.js +0 -1
- package/586.min.js +0 -1
- package/587.min.js +0 -1
- package/623.min.js +0 -1
- package/627.min.js +0 -1
- package/646.min.js +0 -1
- package/662.min.js +0 -1
- package/663.min.js +0 -1
- package/673.min.js +0 -1
- package/69.min.js +0 -1
- package/748.min.js +0 -1
- package/779.min.js +0 -1
- package/794.min.js +0 -1
- package/807.min.js +0 -1
- package/819.min.js +0 -1
- package/837.min.js +0 -1
- package/846.min.js +0 -1
- package/874.min.js +0 -1
- package/879.min.js +0 -1
- package/89.min.js +0 -1
- package/935.min.js +0 -1
- package/938.min.js +0 -1
- package/94.min.js +0 -1
- package/979.min.js +0 -1
- package/bundles_basic_dist_browser_index_js.js +0 -30
- package/dist_browser_options_js.js +0 -30
- package/engine_dist_browser_Core_Container_js.js +0 -100
- package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
- package/plugins_colors_hex_dist_browser_index_js.js +0 -30
- package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
- package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
- package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
- package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +0 -100
- package/plugins_emittersShapes_square_dist_browser_index_js.js +0 -30
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
- package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +0 -100
- package/plugins_emitters_dist_browser_EmittersInteractor_js.js +0 -210
- package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +0 -30
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -100
- package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
- package/plugins_emitters_dist_browser_addEmittersShapesManager_js.js +0 -30
- package/plugins_emitters_dist_browser_getEmittersInstancesManager_js.js +0 -30
- package/plugins_emitters_dist_browser_index_js.js +0 -80
- package/plugins_emitters_dist_browser_plugin_js.js +0 -50
- package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
- package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
- package/plugins_interactivity_dist_browser_index_js.js +0 -120
- package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
- package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
- package/plugins_move_dist_browser_index_js.js +0 -30
- package/plugins_trail_dist_browser_TrailPluginInstance_js.js +0 -30
- package/plugins_trail_dist_browser_TrailPlugin_js.js +0 -50
- package/plugins_trail_dist_browser_index_js.js +0 -30
- package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
- package/shapes_circle_dist_browser_index_js.js +0 -30
- package/updaters_life_dist_browser_LifeUpdater_js.js +0 -70
- package/updaters_life_dist_browser_index_js.js +0 -30
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
- package/updaters_opacity_dist_browser_index_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
- package/updaters_outModes_dist_browser_index_js.js +0 -30
- package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
- package/updaters_paint_dist_browser_index_js.js +0 -30
- package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
- package/updaters_size_dist_browser_index_js.js +0 -30
|
@@ -1,397 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
(
|
|
96
|
-
|
|
97
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHyperspacePreset: () => (/* binding */ loadHyperspacePreset)\n/* harmony export */ });\nconst presetName = \"hyperspace\";\nasync function loadHyperspacePreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { loadEmittersPluginSimple }, { loadEmittersShapeSquare }, { loadTrailPlugin }, { loadLifeUpdater }, { 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/plugin-emitters/plugin */ \"@tsparticles/plugin-emitters/plugin\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-trail */ \"@tsparticles/plugin-trail\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"))\n ]);\n await Promise.all([\n loadBasic(e),\n (async ()=>{\n await loadEmittersPluginSimple(e);\n await loadEmittersShapeSquare(e);\n })(),\n loadTrailPlugin(e),\n loadLifeUpdater(e)\n ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/./dist/browser/index.js?\n}");
|
|
98
|
-
|
|
99
|
-
/***/ }
|
|
100
|
-
|
|
101
|
-
/******/ });
|
|
102
|
-
/************************************************************************/
|
|
103
|
-
/******/ // The module cache
|
|
104
|
-
/******/ var __webpack_module_cache__ = {};
|
|
105
|
-
/******/
|
|
106
|
-
/******/ // The require function
|
|
107
|
-
/******/ function __webpack_require__(moduleId) {
|
|
108
|
-
/******/ // Check if module is in cache
|
|
109
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
110
|
-
/******/ if (cachedModule !== undefined) {
|
|
111
|
-
/******/ return cachedModule.exports;
|
|
112
|
-
/******/ }
|
|
113
|
-
/******/ // Create a new module (and put it into the cache)
|
|
114
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
115
|
-
/******/ // no module.id needed
|
|
116
|
-
/******/ // no module.loaded needed
|
|
117
|
-
/******/ exports: {}
|
|
118
|
-
/******/ };
|
|
119
|
-
/******/
|
|
120
|
-
/******/ // Execute the module function
|
|
121
|
-
/******/ if (!(moduleId in __webpack_modules__)) {
|
|
122
|
-
/******/ delete __webpack_module_cache__[moduleId];
|
|
123
|
-
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
124
|
-
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
125
|
-
/******/ throw e;
|
|
126
|
-
/******/ }
|
|
127
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
128
|
-
/******/
|
|
129
|
-
/******/ // Return the exports of the module
|
|
130
|
-
/******/ return module.exports;
|
|
131
|
-
/******/ }
|
|
132
|
-
/******/
|
|
133
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
134
|
-
/******/ __webpack_require__.m = __webpack_modules__;
|
|
135
|
-
/******/
|
|
136
|
-
/************************************************************************/
|
|
137
|
-
/******/ /* webpack/runtime/create fake namespace object */
|
|
138
|
-
/******/ (() => {
|
|
139
|
-
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
140
|
-
/******/ var leafPrototypes;
|
|
141
|
-
/******/ // create a fake namespace object
|
|
142
|
-
/******/ // mode & 1: value is a module id, require it
|
|
143
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
144
|
-
/******/ // mode & 4: return value when already ns object
|
|
145
|
-
/******/ // mode & 16: return value when it's Promise-like
|
|
146
|
-
/******/ // mode & 8|1: behave like require
|
|
147
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
148
|
-
/******/ if(mode & 1) value = this(value);
|
|
149
|
-
/******/ if(mode & 8) return value;
|
|
150
|
-
/******/ if(typeof value === 'object' && value) {
|
|
151
|
-
/******/ if((mode & 4) && value.__esModule) return value;
|
|
152
|
-
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
153
|
-
/******/ }
|
|
154
|
-
/******/ var ns = Object.create(null);
|
|
155
|
-
/******/ __webpack_require__.r(ns);
|
|
156
|
-
/******/ var def = {};
|
|
157
|
-
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
158
|
-
/******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
159
|
-
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
160
|
-
/******/ }
|
|
161
|
-
/******/ def['default'] = () => (value);
|
|
162
|
-
/******/ __webpack_require__.d(ns, def);
|
|
163
|
-
/******/ return ns;
|
|
164
|
-
/******/ };
|
|
165
|
-
/******/ })();
|
|
166
|
-
/******/
|
|
167
|
-
/******/ /* webpack/runtime/define property getters */
|
|
168
|
-
/******/ (() => {
|
|
169
|
-
/******/ // define getter functions for harmony exports
|
|
170
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
171
|
-
/******/ for(var key in definition) {
|
|
172
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
173
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
174
|
-
/******/ }
|
|
175
|
-
/******/ }
|
|
176
|
-
/******/ };
|
|
177
|
-
/******/ })();
|
|
178
|
-
/******/
|
|
179
|
-
/******/ /* webpack/runtime/ensure chunk */
|
|
180
|
-
/******/ (() => {
|
|
181
|
-
/******/ __webpack_require__.f = {};
|
|
182
|
-
/******/ // This file contains only the entry chunk.
|
|
183
|
-
/******/ // The chunk loading function for additional chunks
|
|
184
|
-
/******/ __webpack_require__.e = (chunkId) => {
|
|
185
|
-
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
186
|
-
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
187
|
-
/******/ return promises;
|
|
188
|
-
/******/ }, []));
|
|
189
|
-
/******/ };
|
|
190
|
-
/******/ })();
|
|
191
|
-
/******/
|
|
192
|
-
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
193
|
-
/******/ (() => {
|
|
194
|
-
/******/ // This function allow to reference async chunks
|
|
195
|
-
/******/ __webpack_require__.u = (chunkId) => {
|
|
196
|
-
/******/ // return url for filenames based on template
|
|
197
|
-
/******/ return "" + chunkId + ".js";
|
|
198
|
-
/******/ };
|
|
199
|
-
/******/ })();
|
|
200
|
-
/******/
|
|
201
|
-
/******/ /* webpack/runtime/global */
|
|
202
|
-
/******/ (() => {
|
|
203
|
-
/******/ __webpack_require__.g = (function() {
|
|
204
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
205
|
-
/******/ try {
|
|
206
|
-
/******/ return this || new Function('return this')();
|
|
207
|
-
/******/ } catch (e) {
|
|
208
|
-
/******/ if (typeof window === 'object') return window;
|
|
209
|
-
/******/ }
|
|
210
|
-
/******/ })();
|
|
211
|
-
/******/ })();
|
|
212
|
-
/******/
|
|
213
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
214
|
-
/******/ (() => {
|
|
215
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
216
|
-
/******/ })();
|
|
217
|
-
/******/
|
|
218
|
-
/******/ /* webpack/runtime/load script */
|
|
219
|
-
/******/ (() => {
|
|
220
|
-
/******/ var inProgress = {};
|
|
221
|
-
/******/ var dataWebpackPrefix = "@tsparticles/preset-hyperspace:";
|
|
222
|
-
/******/ // loadScript function to load a script via script tag
|
|
223
|
-
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
|
|
224
|
-
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
|
225
|
-
/******/ var script, needAttach;
|
|
226
|
-
/******/ if(key !== undefined) {
|
|
227
|
-
/******/ var scripts = document.getElementsByTagName("script");
|
|
228
|
-
/******/ for(var i = 0; i < scripts.length; i++) {
|
|
229
|
-
/******/ var s = scripts[i];
|
|
230
|
-
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
|
231
|
-
/******/ }
|
|
232
|
-
/******/ }
|
|
233
|
-
/******/ if(!script) {
|
|
234
|
-
/******/ needAttach = true;
|
|
235
|
-
/******/ script = document.createElement('script');
|
|
236
|
-
/******/
|
|
237
|
-
/******/ script.charset = 'utf-8';
|
|
238
|
-
/******/ if (__webpack_require__.nc) {
|
|
239
|
-
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|
240
|
-
/******/ }
|
|
241
|
-
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
|
242
|
-
/******/
|
|
243
|
-
/******/ script.src = url;
|
|
244
|
-
/******/ }
|
|
245
|
-
/******/ inProgress[url] = [done];
|
|
246
|
-
/******/ var onScriptComplete = (prev, event) => {
|
|
247
|
-
/******/ // avoid mem leaks in IE.
|
|
248
|
-
/******/ script.onerror = script.onload = null;
|
|
249
|
-
/******/ clearTimeout(timeout);
|
|
250
|
-
/******/ var doneFns = inProgress[url];
|
|
251
|
-
/******/ delete inProgress[url];
|
|
252
|
-
/******/ script.parentNode && script.parentNode.removeChild(script);
|
|
253
|
-
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
|
|
254
|
-
/******/ if(prev) return prev(event);
|
|
255
|
-
/******/ }
|
|
256
|
-
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
|
257
|
-
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
|
258
|
-
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
|
259
|
-
/******/ needAttach && document.head.appendChild(script);
|
|
260
|
-
/******/ };
|
|
261
|
-
/******/ })();
|
|
262
|
-
/******/
|
|
263
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
264
|
-
/******/ (() => {
|
|
265
|
-
/******/ // define __esModule on exports
|
|
266
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
267
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
268
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
269
|
-
/******/ }
|
|
270
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
271
|
-
/******/ };
|
|
272
|
-
/******/ })();
|
|
273
|
-
/******/
|
|
274
|
-
/******/ /* webpack/runtime/publicPath */
|
|
275
|
-
/******/ (() => {
|
|
276
|
-
/******/ var scriptUrl;
|
|
277
|
-
/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
|
|
278
|
-
/******/ var document = __webpack_require__.g.document;
|
|
279
|
-
/******/ if (!scriptUrl && document) {
|
|
280
|
-
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
281
|
-
/******/ scriptUrl = document.currentScript.src;
|
|
282
|
-
/******/ if (!scriptUrl) {
|
|
283
|
-
/******/ var scripts = document.getElementsByTagName("script");
|
|
284
|
-
/******/ if(scripts.length) {
|
|
285
|
-
/******/ var i = scripts.length - 1;
|
|
286
|
-
/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
|
|
287
|
-
/******/ }
|
|
288
|
-
/******/ }
|
|
289
|
-
/******/ }
|
|
290
|
-
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
291
|
-
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
292
|
-
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
293
|
-
/******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
294
|
-
/******/ __webpack_require__.p = scriptUrl;
|
|
295
|
-
/******/ })();
|
|
296
|
-
/******/
|
|
297
|
-
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
298
|
-
/******/ (() => {
|
|
299
|
-
/******/ // no baseURI
|
|
300
|
-
/******/
|
|
301
|
-
/******/ // object to store loaded and loading chunks
|
|
302
|
-
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
303
|
-
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
304
|
-
/******/ var installedChunks = {
|
|
305
|
-
/******/ "tsparticles.preset.hyperspace": 0
|
|
306
|
-
/******/ };
|
|
307
|
-
/******/
|
|
308
|
-
/******/ __webpack_require__.f.j = (chunkId, promises) => {
|
|
309
|
-
/******/ // JSONP chunk loading for javascript
|
|
310
|
-
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
311
|
-
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|
312
|
-
/******/
|
|
313
|
-
/******/ // a Promise means "currently loading".
|
|
314
|
-
/******/ if(installedChunkData) {
|
|
315
|
-
/******/ promises.push(installedChunkData[2]);
|
|
316
|
-
/******/ } else {
|
|
317
|
-
/******/ if(true) { // all chunks have JS
|
|
318
|
-
/******/ // setup Promise in chunk cache
|
|
319
|
-
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
|
|
320
|
-
/******/ promises.push(installedChunkData[2] = promise);
|
|
321
|
-
/******/
|
|
322
|
-
/******/ // start chunk loading
|
|
323
|
-
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
|
324
|
-
/******/ // create error before stack unwound to get useful stacktrace later
|
|
325
|
-
/******/ var error = new Error();
|
|
326
|
-
/******/ var loadingEnded = (event) => {
|
|
327
|
-
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
|
328
|
-
/******/ installedChunkData = installedChunks[chunkId];
|
|
329
|
-
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
|
330
|
-
/******/ if(installedChunkData) {
|
|
331
|
-
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
332
|
-
/******/ var realSrc = event && event.target && event.target.src;
|
|
333
|
-
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|
334
|
-
/******/ error.name = 'ChunkLoadError';
|
|
335
|
-
/******/ error.type = errorType;
|
|
336
|
-
/******/ error.request = realSrc;
|
|
337
|
-
/******/ installedChunkData[1](error);
|
|
338
|
-
/******/ }
|
|
339
|
-
/******/ }
|
|
340
|
-
/******/ };
|
|
341
|
-
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
|
342
|
-
/******/ }
|
|
343
|
-
/******/ }
|
|
344
|
-
/******/ }
|
|
345
|
-
/******/ };
|
|
346
|
-
/******/
|
|
347
|
-
/******/ // no prefetching
|
|
348
|
-
/******/
|
|
349
|
-
/******/ // no preloaded
|
|
350
|
-
/******/
|
|
351
|
-
/******/ // no HMR
|
|
352
|
-
/******/
|
|
353
|
-
/******/ // no HMR manifest
|
|
354
|
-
/******/
|
|
355
|
-
/******/ // no on chunks loaded
|
|
356
|
-
/******/
|
|
357
|
-
/******/ // install a JSONP callback for chunk loading
|
|
358
|
-
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
359
|
-
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
360
|
-
/******/ // add "moreModules" to the modules object,
|
|
361
|
-
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
362
|
-
/******/ var moduleId, chunkId, i = 0;
|
|
363
|
-
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
364
|
-
/******/ for(moduleId in moreModules) {
|
|
365
|
-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
366
|
-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
367
|
-
/******/ }
|
|
368
|
-
/******/ }
|
|
369
|
-
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
370
|
-
/******/ }
|
|
371
|
-
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
372
|
-
/******/ for(;i < chunkIds.length; i++) {
|
|
373
|
-
/******/ chunkId = chunkIds[i];
|
|
374
|
-
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
375
|
-
/******/ installedChunks[chunkId][0]();
|
|
376
|
-
/******/ }
|
|
377
|
-
/******/ installedChunks[chunkId] = 0;
|
|
378
|
-
/******/ }
|
|
379
|
-
/******/
|
|
380
|
-
/******/ }
|
|
381
|
-
/******/
|
|
382
|
-
/******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || [];
|
|
383
|
-
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
384
|
-
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
385
|
-
/******/ })();
|
|
386
|
-
/******/
|
|
387
|
-
/************************************************************************/
|
|
388
|
-
/******/
|
|
389
|
-
/******/ // startup
|
|
390
|
-
/******/ // Load entry module and return exports
|
|
391
|
-
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|
392
|
-
/******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
|
|
393
|
-
/******/
|
|
394
|
-
/******/ return __webpack_exports__;
|
|
395
|
-
/******/ })()
|
|
396
|
-
;
|
|
397
|
-
});
|
|
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.16 */
|
|
3
|
+
(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/basic'), require('@tsparticles/plugin-emitters/plugin'), require('@tsparticles/plugin-emitters-shape-square'), require('@tsparticles/updater-life'), require('@tsparticles/plugin-trail'), require('@tsparticles/engine')) :
|
|
5
|
+
typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@tsparticles/plugin-emitters/plugin', '@tsparticles/plugin-emitters-shape-square', '@tsparticles/updater-life', '@tsparticles/plugin-trail', '@tsparticles/engine'], factory) :
|
|
6
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.presets = global.__tsParticlesInternals.presets || {}, global.__tsParticlesInternals.presets.hyperspace = global.__tsParticlesInternals.presets.hyperspace || {}), global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.plugins["emitters/plugin"], global.__tsParticlesInternals.plugins.emittersShapes.square, global.__tsParticlesInternals.updaters.life, global.__tsParticlesInternals.plugins.trail, global.__tsParticlesInternals.engine));
|
|
7
|
+
})(this, (function (exports, basic, plugin, pluginEmittersShapeSquare, updaterLife, pluginTrail, engine) { 'use strict';
|
|
8
|
+
|
|
9
|
+
const options = {
|
|
10
|
+
background: {
|
|
11
|
+
color: "#000000",
|
|
12
|
+
},
|
|
13
|
+
particles: {
|
|
14
|
+
number: {
|
|
15
|
+
value: 100,
|
|
16
|
+
},
|
|
17
|
+
paint: {
|
|
18
|
+
fill: {
|
|
19
|
+
color: {
|
|
20
|
+
value: "#ffffff",
|
|
21
|
+
},
|
|
22
|
+
enable: true,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
life: {
|
|
26
|
+
count: 1,
|
|
27
|
+
duration: {
|
|
28
|
+
value: 5,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
shape: {
|
|
32
|
+
type: "circle",
|
|
33
|
+
},
|
|
34
|
+
opacity: {
|
|
35
|
+
value: 1,
|
|
36
|
+
},
|
|
37
|
+
size: {
|
|
38
|
+
value: 3,
|
|
39
|
+
},
|
|
40
|
+
move: {
|
|
41
|
+
enable: true,
|
|
42
|
+
speed: 10,
|
|
43
|
+
decay: 0.005,
|
|
44
|
+
direction: engine.MoveDirection.outside,
|
|
45
|
+
straight: true,
|
|
46
|
+
outModes: engine.OutMode.destroy,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
emitters: {
|
|
50
|
+
position: {
|
|
51
|
+
x: 50,
|
|
52
|
+
y: 50,
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
width: 100,
|
|
56
|
+
height: 100,
|
|
57
|
+
},
|
|
58
|
+
rate: {
|
|
59
|
+
quantity: 10,
|
|
60
|
+
delay: 0.1,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
trail: {
|
|
64
|
+
enable: true,
|
|
65
|
+
length: 15,
|
|
66
|
+
fill: {
|
|
67
|
+
color: "#000000",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const presetName = "hyperspace";
|
|
73
|
+
async function loadHyperspacePreset(engine) {
|
|
74
|
+
await engine.pluginManager.register(async (e) => {
|
|
75
|
+
await Promise.all([
|
|
76
|
+
basic.loadBasic(e),
|
|
77
|
+
(async () => {
|
|
78
|
+
await plugin.loadEmittersPluginSimple(e);
|
|
79
|
+
await pluginEmittersShapeSquare.loadEmittersShapeSquare(e);
|
|
80
|
+
})(),
|
|
81
|
+
pluginTrail.loadTrailPlugin(e),
|
|
82
|
+
updaterLife.loadLifeUpdater(e),
|
|
83
|
+
]);
|
|
84
|
+
e.pluginManager.addPreset(presetName, options);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const globalObject = globalThis;
|
|
89
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
90
|
+
globalObject.loadHyperspacePreset = loadHyperspacePreset;
|
|
91
|
+
|
|
92
|
+
exports.loadHyperspacePreset = loadHyperspacePreset;
|
|
93
|
+
|
|
94
|
+
}));
|
|
95
|
+
Object.assign(globalThis.window || globalThis, { loadHyperspacePreset: (globalThis.__tsParticlesInternals.presets.hyperspace || {}).loadHyperspacePreset });
|
|
96
|
+
delete (globalThis.window || globalThis).tsparticlesInternalExports;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
!function(
|
|
2
|
-
(`+i+": "+s+")",o.name="ChunkLoadError",o.type=i,o.request=s,r[1](o)}},"chunk-"+e,e)}},n=(e,t)=>{var r,i,[s,o,n]=t,p=0;if(s.some(e=>0!==a[e])){for(r in o)u.o(o,r)&&(u.m[r]=o[r]);n&&n(u)}for(e&&e(t);p<s.length;p++)i=s[p],u.o(a,i)&&a[i]&&a[i][0](),a[i]=0},(p=this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).forEach(n.bind(null,0)),p.push=n.bind(null,p.push.bind(p));var v={};async function w(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadEmittersPluginSimple:r},{loadEmittersShapeSquare:i},{loadTrailPlugin:s},{loadLifeUpdater:o},{options:a}]=await Promise.all([Promise.resolve().then(u.t.bind(u,145,19)),Promise.resolve().then(u.t.bind(u,90,19)),Promise.resolve().then(u.t.bind(u,140,19)),Promise.resolve().then(u.t.bind(u,383,19)),Promise.resolve().then(u.t.bind(u,75,19)),u.e(837).then(u.bind(u,837))]);await Promise.all([t(e),(async()=>{await r(e),await i(e)})(),s(e),o(e)]),e.pluginManager.addPreset("hyperspace",a)})}return u.r(v),u.d(v,{loadHyperspacePreset:()=>w}),v})());
|
|
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-emitters/plugin"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-trail"),require("@tsparticles/engine")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/basic","@tsparticles/plugin-emitters/plugin","@tsparticles/plugin-emitters-shape-square","@tsparticles/updater-life","@tsparticles/plugin-trail","@tsparticles/engine"],t):t(((s="undefined"!=typeof globalThis?globalThis:s||self).__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.presets.hyperspace=s.__tsParticlesInternals.presets.hyperspace||{}),s.__tsParticlesInternals.bundles.basic,s.__tsParticlesInternals.plugins["emitters/plugin"],s.__tsParticlesInternals.plugins.emittersShapes.square,s.__tsParticlesInternals.updaters.life,s.__tsParticlesInternals.plugins.trail,s.__tsParticlesInternals.engine)}(this,function(s,t,e,a,l,n,r){"use strict";const i={background:{color:"#000000"},particles:{number:{value:100},paint:{fill:{color:{value:"#ffffff"},enable:!0}},life:{count:1,duration:{value:5}},shape:{type:"circle"},opacity:{value:1},size:{value:3},move:{enable:!0,speed:10,decay:.005,direction:r.MoveDirection.outside,straight:!0,outModes:r.OutMode.destroy}},emitters:{position:{x:50,y:50},size:{width:100,height:100},rate:{quantity:10,delay:.1}},trail:{enable:!0,length:15,fill:{color:"#000000"}}};async function _(s){await s.pluginManager.register(async s=>{await Promise.all([t.loadBasic(s),(async()=>{await e.loadEmittersPluginSimple(s),await a.loadEmittersShapeSquare(s)})(),n.loadTrailPlugin(s),l.loadLifeUpdater(s)]),s.pluginManager.addPreset("hyperspace",i)})}const c=globalThis;c.__tsParticlesInternals=c.__tsParticlesInternals??{},c.loadHyperspacePreset=_,s.loadHyperspacePreset=_}),Object.assign(globalThis.window||globalThis,{loadHyperspacePreset:(globalThis.__tsParticlesInternals.presets.hyperspace||{}).loadHyperspacePreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./index.js";
|
package/147.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).push([[147],{3147(t,i,s){s.r(i),s.d(i,{EmittersPlugin:()=>a});var o=s(7279),e=s(2008);class a{id="emitters";_instancesManager;constructor(t){this._instancesManager=t}async getPlugin(t){let{EmittersPluginInstance:i}=await s.e(436).then(s.bind(s,5436));return new i(this._instancesManager,t)}loadOptions(t,i,s){(this.needsPlugin(i)||this.needsPlugin(s))&&s?.emitters&&(i.emitters=(0,o.wJ2)(s.emitters,t=>{let i=new e.v;return i.load(t),i}))}needsPlugin(t){if(!t)return!1;let i=t.emitters;return(0,o.cyL)(i)&&!!i.length||void 0!==i}}},2008(t,i,s){s.d(i,{v:()=>d});var o=s(7279);class e{count;delay;duration;wait;constructor(){this.wait=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,o.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class a{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){(0,o.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,o.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)))}}class l{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class n{options;replace;type;constructor(){this.options={},this.replace=new l,this.type="square"}load(t){(0,o.kZJ)(t)||(void 0!==t.options&&(this.options=(0,o.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var r=s(6898);class h{fill;stroke;load(t){!(0,o.kZJ)(t)&&(t.fill&&(this.fill??=new o.SQl,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new o.tcj,this.stroke.load(t.stroke)))}}class d{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new e,this.rate=new a,this.shape=new n,this.spawn=new h,this.startCount=0}load(t){(0,o.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new r.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,o.wJ2)(t.particles,t=>(0,o.zwS)({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,o.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,o.DT4)(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new o.A9e,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new o.A9e,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}},6898(t,i,s){s.d(i,{G:()=>e});var o=s(7279);class e{height;mode;width;constructor(){this.mode=o.qiC.percent,this.height=0,this.width=0}load(t){(0,o.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}}}]);
|
package/155.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).push([[155],{7155(t,a,i){i.d(a,{OpacityUpdater:()=>e});var o=i(7279);class e{container;constructor(t){this.container=t}init(t){let a=t.options.opacity;t.opacity=(0,o.XsS)(a,1);let i=a.animation;i.enable&&(t.opacity.velocity=(0,o.VGA)(i.speed)/o.a56*this.container.retina.reduceFactor,i.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,a){this.isEnabled(t)&&t.opacity&&(0,o.UC0)(t,t.opacity,!0,t.options.opacity.animation.destroy,a)}}}}]);
|
package/181.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).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/210.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).push([[210],{4210(t,i,s){s.d(i,{EmitterInstance:()=>h});var e=s(7279),o=s(2008),a=s(6898);let n=1;function r(t,i,s,o){(t.paint??=new e.PiR).fill={color:e.A9e.create(void 0,{value:i}),enable:o,opacity:s}}class h{fill;name;options;position;size;spawnFillColor;spawnFillEnabled;spawnFillOpacity;spawnStrokeColor;spawnStrokeOpacity;spawnStrokeWidth;_container;_currentDuration;_currentEmitDelay;_currentSpawnDelay;_duration;_emitDelay;_firstSpawn;_immortal;_initialPosition;_lifeCount;_mutationObserver;_particlesOptions;_paused;_pluginManager;_removeCallback;_resizeObserver;_shape;_size;_spawnDelay;_startParticlesAdded;constructor(t,i,s,a,n){this._pluginManager=t,this._container=i,this._removeCallback=s,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=n,a instanceof o.v?this.options=a:(this.options=new o.v,this.options.load(a)),this._spawnDelay=i.retina.reduceFactor?(0,e.VGA)(this.options.life.delay??0)*e.XuV/i.retina.reduceFactor:1/0,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;const r=(0,e.zwS)({},this.options.particles);if(r.move??={},r.move.direction??=this.options.direction,this.options.spawn.fill?.color&&(this.spawnFillColor=(0,e.R5R)(this._pluginManager,this.options.spawn.fill.color)),this.options.spawn.stroke?.color&&(this.spawnStrokeColor=(0,e.R5R)(this._pluginManager,this.options.spawn.stroke.color)),this._paused=!this.options.autoPlay,this._particlesOptions=r,this._size=this._calcSize(),this.size=(0,e.YCE)(this._size,this._container.canvas.size),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this.options.domId){const t=(0,e.T5G)().getElementById(this.options.domId);t&&(this._mutationObserver=new MutationObserver(()=>{this.resize()}),this._resizeObserver=new ResizeObserver(()=>{this.resize()}),this._mutationObserver.observe(t,{attributes:!0,attributeFilter:["style","width","height"]}),this._resizeObserver.observe(t))}const h=this.options.shape,l=this._pluginManager.emitterShapeManager?.getShapeGenerator(h.type);l&&(this._shape=l.generate(this._container,this.position,this.size,this.fill,h.options)),this._container.dispatchEvent("emitterCreated",{emitter:this}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}async init(){await this._shape?.init()}pause(){this._paused||delete this._emitDelay}play(){if(this._paused||!((this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0))))return;let t=this._container;if(void 0===this._emitDelay){let i=(0,e.VGA)(this.options.rate.delay);this._emitDelay=t.retina.reduceFactor?i*e.XuV/t.retina.reduceFactor:1/0}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}resize(){let t=this._initialPosition,i=this._container;this.position=t&&(0,e.Tj8)(t,i.canvas.size,e.Miz.origin)?t:this._calcPosition(),this._size=this._calcSize(),this.size=(0,e.YCE)(this._size,i.canvas.size),this._shape?.resize(this.position,this.size)}update(t){if(this._paused)return;let i=this._container;this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=t.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,!this._immortal&&this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._shape?.resize(this.position,this.size),this._spawnDelay=i.retina.reduceFactor?(0,e.VGA)(this.options.life.delay??0)*e.XuV/i.retina.reduceFactor:1/0):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=t.value,this._currentSpawnDelay>=this._spawnDelay&&(this._container.dispatchEvent("emitterPlay"),this.play(),this._currentSpawnDelay-=this._spawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=t.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay))}_calcPosition(){let t=this._container;if(this.options.domId){let i=(0,e.T5G)().getElementById(this.options.domId);if(i){let s=i.getBoundingClientRect(),o=t.retina.pixelRatio;return{x:(s.x+s.width*e.MXx)*o,y:(s.y+s.height*e.MXx)*o}}}return(0,e.l1q)({size:t.canvas.size,position:this.options.position})}_calcSize(){let t,i=this._container;if(this.options.domId){let t=(0,e.T5G)().getElementById(this.options.domId);if(t){let s=t.getBoundingClientRect();return{width:s.width*i.retina.pixelRatio,height:s.height*i.retina.pixelRatio,mode:e.qiC.precise}}}return this.options.size??((t=new a.G).load({height:0,mode:e.qiC.percent,width:0}),t)}_destroy=()=>{this._mutationObserver?.disconnect(),this._mutationObserver=void 0,this._resizeObserver?.disconnect(),this._resizeObserver=void 0,this._removeCallback(this),this._container.dispatchEvent("emitterDestroyed",{emitter:this})};_emit(){if(this._paused)return;let t=(0,e.VGA)(this.options.rate.quantity);this._emitParticles(t)}_emitParticles(t){let i=(0,e.TA3)(this._particlesOptions)??{},s=this.options.spawn.fill?.color.animation,o=this.options.spawn.fill?.enable??!!this.options.spawn.fill?.color,a=this.options.spawn.fill?.opacity===void 0?e.hvP:(0,e.VGA)(this.options.spawn.fill.opacity),n=this.options.spawn.stroke?.color?.animation,h=this.options.spawn.stroke?.opacity===void 0?e.hvP:(0,e.VGA)(this.options.spawn.stroke.opacity),l=this.options.spawn.stroke?.width===void 0?1:(0,e.VGA)(this.options.spawn.stroke.width),p=this._container.retina.reduceFactor,_=!!s,c=!!n,d=!!this._shape,u=_||c,w=u||d,m=u?{h:e.vSh,s:e.euA,l:e.$_c}:null,y=this.options.shape;for(let _=0;_<t*p;_++){let t=w?(0,e.zwS)({},i):i;if(this.spawnFillOpacity=a,this.spawnFillEnabled=o,this.spawnStrokeOpacity=h,this.spawnStrokeWidth=l,this.spawnFillColor&&(s&&m&&(this.spawnFillColor.h=this._setColorAnimation(s.h,this.spawnFillColor.h,m.h,3.6),this.spawnFillColor.s=this._setColorAnimation(s.s,this.spawnFillColor.s,m.s),this.spawnFillColor.l=this._setColorAnimation(s.l,this.spawnFillColor.l,m.l)),r(t,this.spawnFillColor,this.spawnFillOpacity,this.spawnFillEnabled)),this.spawnStrokeColor){var v,f,C;n&&m&&(this.spawnStrokeColor.h=this._setColorAnimation(n.h,this.spawnStrokeColor.h,m.h,3.6),this.spawnStrokeColor.s=this._setColorAnimation(n.s,this.spawnStrokeColor.s,m.s),this.spawnStrokeColor.l=this._setColorAnimation(n.l,this.spawnStrokeColor.l,m.l)),v=this.spawnStrokeColor,f=this.spawnStrokeOpacity,C=this.spawnStrokeWidth,(t.paint??=new e.PiR).stroke={color:e.A9e.create(void 0,{value:v}),opacity:f,width:C}}let p=this.position;if(this._shape){let i=this._shape.randomPosition();if(i){p=i.position;let s=y.replace;s.color&&i.color&&r(t,i.color,s.opacity?i.opacity??e.hvP:e.hvP,!0)}else p=null}p&&this._container.particles.addParticle(p,t)}}_prepareToDie=()=>{if(this._paused)return;let t=void 0!==this.options.life.duration?(0,e.VGA)(this.options.life.duration):void 0;(this._lifeCount>0||this._immortal)&&void 0!==t&&t>0&&(this._duration=t*e.XuV)};_setColorAnimation=(t,i,s,o=n)=>{let a=this._container;if(!t.enable)return i;let r=(0,e.vEz)(t.offset),h=(0,e.VGA)(this.options.rate.delay),l=a.retina.reduceFactor?h*e.XuV/a.retina.reduceFactor:1/0;return(i+(0,e.VGA)(t.speed)*a.fpsLimit/l+r*o)%s}}}}]);
|
package/218.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).push([[218],{6837(e,l,i){i.d(l,{TrailPlugin:()=>n});var t=i(7279);class a{color;image;load(e){(0,t.kZJ)(e)||(void 0!==e.color&&(this.color=t.Oit.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image))}}class s{enable;fill;length;constructor(){this.enable=!1,this.length=10,this.fill=new a}load(e){(0,t.kZJ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.fill&&this.fill.load(e.fill),void 0!==e.length&&(this.length=e.length))}}class n{id="trail";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{TrailPluginInstance:l}=await i.e(846).then(i.bind(i,7846));return new l(this._pluginManager,e)}loadOptions(e,l,i){if(!this.needsPlugin())return;let t=l.trail;t?.load||(l.trail=t=new s),t.load(i?.trail)}needsPlugin(){return!0}}}}]);
|
package/240.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).push([[240],{240(e,a,t){async function r(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("life",async e=>{let{LifeUpdater:a}=await t.e(335).then(t.bind(t,7335));return new a(e)})})}t.r(a),t.d(a,{loadLifeUpdater:()=>r})}}]);
|
package/268.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[]).push([[268,586],{7268(t,e,i){i.d(e,{EmittersInteractor:()=>l});var a=i(4586),o=i(7279),s=i(2008);let n={count:1,enable:!0},r="emitters";class l extends a.ExternalInteractorBase{handleClickMode;maxDistance;_instancesManager;constructor(t,e){super(e),this._instancesManager=t,this.maxDistance=0,this.handleClickMode=(t,e)=>{let i,a=this.container.actualOptions.interactivity.modes.emitters;if(!a||t!==r)return;if((0,o.cyL)(a.value)){let t=a.value.length;if(t>0&&a.random.enable){i=[];let e=new Set;for(let s=0;s<a.random.count;s++){let n=(0,o.n02)(a.value);if(e.has(n)&&e.size<t){s--;continue}e.add(n);let r=(0,o.Vh1)(a.value,n);r&&i.push(r)}}else i=a.value}else i=a.value;let s=i,n=e.mouse.clickPosition;(0,o.wJ2)(s,async t=>{await this._instancesManager.addEmitter(this.container,t,n)})}}clear(){}init(){}interact(t,e){for(let t of this._instancesManager.getArray(this.container))t.update(e)}isEnabled(t,e){let i=this.container.actualOptions,a=t.mouse,s=(e?.interactivity??i.interactivity).events;return!!a.clickPosition&&!!s.onClick.enable&&(0,o.hnD)(r,s.onClick.mode)}loadModeOptions(t,...e){for(let i of(t.emitters={random:n,value:[]},e))if(i?.emitters)if((0,o.cyL)(i.emitters))for(let e of i.emitters){let i=new s.v;i.load(e),t.emitters.value.push(i)}else if("value"in i.emitters){let e=i.emitters;if(t.emitters.random.enable=e.random?.enable??t.emitters.random.enable,t.emitters.random.count=e.random?.count??t.emitters.random.count,(0,o.cyL)(e.value))for(let i of e.value){let e=new s.v;e.load(i),t.emitters.value.push(e)}else{let i=new s.v;i.load(e.value),t.emitters.value.push(i)}}else{let e=new s.v;e.load(i.emitters),t.emitters.value.push(e)}}removeEmitter(t){let e=this._instancesManager.getArray(this.container).indexOf(t);e>=0&&this._instancesManager.getArray(this.container).splice(e,1)}reset(){}}},2008(t,e,i){i.d(e,{v:()=>d});var a=i(7279);class o{count;delay;duration;wait;constructor(){this.wait=!1}load(t){(0,a.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,a.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,a.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class s{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){(0,a.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,a.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,a.DT4)(t.delay)))}}class n{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){(0,a.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{options;replace;type;constructor(){this.options={},this.replace=new n,this.type="square"}load(t){(0,a.kZJ)(t)||(void 0!==t.options&&(this.options=(0,a.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var l=i(6898);class c{fill;stroke;load(t){!(0,a.kZJ)(t)&&(t.fill&&(this.fill??=new a.SQl,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new a.tcj,this.stroke.load(t.stroke)))}}class d{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new o,this.rate=new s,this.shape=new r,this.spawn=new c,this.startCount=0}load(t){(0,a.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new l.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,a.wJ2)(t.particles,t=>(0,a.zwS)({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,a.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,a.DT4)(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new a.A9e,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new a.A9e,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}},6898(t,e,i){i.d(e,{G:()=>o});var a=i(7279);class o{height;mode;width;constructor(){this.mode=a.qiC.percent,this.height=0,this.width=0}load(t){(0,a.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}},9757(t,e,i){var a,o;i.d(e,{Q:()=>a}),(o=a||(a={})).circle="circle",o.rectangle="rectangle"},6210(t,e,i){var a,o;i.d(e,{h:()=>a}),(o=a||(a={})).canvas="canvas",o.parent="parent",o.window="window"},6115(t,e,i){var a,o;i.d(e,{e:()=>a}),(o=a||(a={})).external="external",o.particles="particles"},3383(t,e,i){i.d(e,{Bp:()=>c,DG:()=>d,G3:()=>h,Rb:()=>r,Z0:()=>n,ms:()=>o,s7:()=>l,vo:()=>s,xO:()=>a});let a="click",o="pointerdown",s="pointerup",n="pointerleave",r="pointermove",l="touchstart",c="touchend",d="touchmove",h="touchcancel"},7226(t,e,i){i.d(e,{G:()=>s});var a=i(7279),o=i(9757);class s{enable;mode;selectors;type;constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=o.Q.circle}load(t){(0,a.kZJ)(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}},5070(t,e,i){i.d(e,{d:()=>o});var a=i(7279);class o{_container;_pluginManager;constructor(t,e){this._pluginManager=t,this._container=e}load(t){if((0,a.kZJ)(t)||!this._container)return;let e=this._pluginManager.interactors?.get(this._container);if(e)for(let i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}},4586(t,e,i){i.r(e),i.d(e,{DivEvent:()=>v.G,DivType:()=>l.Q,ExternalInteractorBase:()=>s,InteractivityDetect:()=>c.h,InteractorType:()=>o.e,Modes:()=>w.d,ParticlesInteractorBase:()=>n,clickEvent:()=>r.xO,divMode:()=>p,divModeExecute:()=>h,ensureInteractivityPluginLoaded:()=>y,isDivModeEnabled:()=>d,loadInteractivityPlugin:()=>m,mouseDownEvent:()=>r.ms,mouseLeaveEvent:()=>r.Z0,mouseMoveEvent:()=>r.Rb,mouseUpEvent:()=>r.vo,singleDivModeExecute:()=>u,touchCancelEvent:()=>r.G3,touchEndEvent:()=>r.Bp,touchMoveEvent:()=>r.DG,touchStartEvent:()=>r.s7});var a=i(7279),o=i(6115);class s{type=o.e.external;container;constructor(t){this.container=t}}class n{type=o.e.particles;container;constructor(t){this.container=t}}var r=i(3383),l=i(9757),c=i(6210);function d(t,e){return!!(0,a.w3Z)(e,e=>e.enable&&(0,a.hnD)(t,e.mode))}function h(t,e,i){(0,a.wJ2)(e,e=>{let o=e.mode;e.enable&&(0,a.hnD)(t,o)&&u(e,i)})}function u(t,e){let i=t.selectors;(0,a.wJ2)(i,i=>{e(i,t)})}function p(t,e){if(e&&t)return(0,a.w3Z)(t,t=>{var i;let o;return i=t.selectors,o=(0,a.wJ2)(i,t=>e.matches(t)),(0,a.cyL)(o)?o.some(t=>t):o})}var v=i(7226),w=i(5070);async function m(t){t.checkVersion("4.0.0-beta.12"),await t.pluginManager.register(async t=>{let e=t.pluginManager,{InteractivityPlugin:o}=await i.e(779).then(i.bind(i,779));e.addPlugin(new o(e)),e.initializers.interactors??=new Map,e.interactors??=new Map,e.addInteractor=(t,i)=>{e.initializers.interactors??=new Map,e.initializers.interactors.set(t,i)},e.getInteractors=async(t,i=!1)=>(e.interactors??=new Map,e.initializers.interactors??=new Map,(0,a.HQK)(t,e.interactors,e.initializers.interactors,i)),e.setOnClickHandler=e=>{let{items:i}=t;if(!i.length)throw Error("Click handlers can only be set after calling tsParticles.load()");i.forEach(t=>{t.addClickHandler?.(e)})}})}function y(t){if(!t.pluginManager.addInteractor)throw Error("tsParticles Interactivity Plugin is not loaded")}}}]);
|