UNPKG

6.57 kBJavaScriptView Raw
1(function (factory) {
2 if (typeof module === "object" && typeof module.exports === "object") {
3 var v = factory(require, exports);
4 if (v !== undefined) module.exports = v;
5 }
6 else if (typeof define === "function" && define.amd) {
7 define(["require", "exports", "tsparticles-particles.js", "tsparticles-updater-angle", "tsparticles-move-base", "tsparticles-shape-circle", "tsparticles-updater-color", "tsparticles-interaction-external-attract", "tsparticles-interaction-external-bounce", "tsparticles-interaction-external-bubble", "tsparticles-interaction-external-connect", "tsparticles-interaction-external-grab", "tsparticles-interaction-external-pause", "tsparticles-interaction-external-push", "tsparticles-interaction-external-remove", "tsparticles-interaction-external-repulse", "tsparticles-shape-image", "tsparticles-updater-life", "tsparticles-shape-line", "tsparticles-updater-opacity", "tsparticles-updater-out-modes", "tsparticles-move-parallax", "tsparticles-interaction-particles-attract", "tsparticles-interaction-particles-collisions", "tsparticles-interaction-particles-links", "tsparticles-shape-polygon", "tsparticles-updater-size", "tsparticles-shape-square", "tsparticles-shape-star", "tsparticles-updater-stroke-color", "tsparticles-shape-text"], factory);
8 }
9})(function (require, exports) {
10 "use strict";
11 Object.defineProperty(exports, "__esModule", { value: true });
12 exports.loadSlim = void 0;
13 const tsparticles_particles_js_1 = require("tsparticles-particles.js");
14 const tsparticles_updater_angle_1 = require("tsparticles-updater-angle");
15 const tsparticles_move_base_1 = require("tsparticles-move-base");
16 const tsparticles_shape_circle_1 = require("tsparticles-shape-circle");
17 const tsparticles_updater_color_1 = require("tsparticles-updater-color");
18 const tsparticles_interaction_external_attract_1 = require("tsparticles-interaction-external-attract");
19 const tsparticles_interaction_external_bounce_1 = require("tsparticles-interaction-external-bounce");
20 const tsparticles_interaction_external_bubble_1 = require("tsparticles-interaction-external-bubble");
21 const tsparticles_interaction_external_connect_1 = require("tsparticles-interaction-external-connect");
22 const tsparticles_interaction_external_grab_1 = require("tsparticles-interaction-external-grab");
23 const tsparticles_interaction_external_pause_1 = require("tsparticles-interaction-external-pause");
24 const tsparticles_interaction_external_push_1 = require("tsparticles-interaction-external-push");
25 const tsparticles_interaction_external_remove_1 = require("tsparticles-interaction-external-remove");
26 const tsparticles_interaction_external_repulse_1 = require("tsparticles-interaction-external-repulse");
27 const tsparticles_shape_image_1 = require("tsparticles-shape-image");
28 const tsparticles_updater_life_1 = require("tsparticles-updater-life");
29 const tsparticles_shape_line_1 = require("tsparticles-shape-line");
30 const tsparticles_updater_opacity_1 = require("tsparticles-updater-opacity");
31 const tsparticles_updater_out_modes_1 = require("tsparticles-updater-out-modes");
32 const tsparticles_move_parallax_1 = require("tsparticles-move-parallax");
33 const tsparticles_interaction_particles_attract_1 = require("tsparticles-interaction-particles-attract");
34 const tsparticles_interaction_particles_collisions_1 = require("tsparticles-interaction-particles-collisions");
35 const tsparticles_interaction_particles_links_1 = require("tsparticles-interaction-particles-links");
36 const tsparticles_shape_polygon_1 = require("tsparticles-shape-polygon");
37 const tsparticles_updater_size_1 = require("tsparticles-updater-size");
38 const tsparticles_shape_square_1 = require("tsparticles-shape-square");
39 const tsparticles_shape_star_1 = require("tsparticles-shape-star");
40 const tsparticles_updater_stroke_color_1 = require("tsparticles-updater-stroke-color");
41 const tsparticles_shape_text_1 = require("tsparticles-shape-text");
42 async function loadSlim(engine) {
43 await (0, tsparticles_move_base_1.loadBaseMover)(engine);
44 await (0, tsparticles_move_parallax_1.loadParallaxMover)(engine);
45 await (0, tsparticles_interaction_external_attract_1.loadExternalAttractInteraction)(engine);
46 await (0, tsparticles_interaction_external_bounce_1.loadExternalBounceInteraction)(engine);
47 await (0, tsparticles_interaction_external_bubble_1.loadExternalBubbleInteraction)(engine);
48 await (0, tsparticles_interaction_external_connect_1.loadExternalConnectInteraction)(engine);
49 await (0, tsparticles_interaction_external_grab_1.loadExternalGrabInteraction)(engine);
50 await (0, tsparticles_interaction_external_pause_1.loadExternalPauseInteraction)(engine);
51 await (0, tsparticles_interaction_external_push_1.loadExternalPushInteraction)(engine);
52 await (0, tsparticles_interaction_external_remove_1.loadExternalRemoveInteraction)(engine);
53 await (0, tsparticles_interaction_external_repulse_1.loadExternalRepulseInteraction)(engine);
54 await (0, tsparticles_interaction_particles_attract_1.loadParticlesAttractInteraction)(engine);
55 await (0, tsparticles_interaction_particles_collisions_1.loadParticlesCollisionsInteraction)(engine);
56 await (0, tsparticles_interaction_particles_links_1.loadParticlesLinksInteraction)(engine);
57 await (0, tsparticles_shape_circle_1.loadCircleShape)(engine);
58 await (0, tsparticles_shape_image_1.loadImageShape)(engine);
59 await (0, tsparticles_shape_line_1.loadLineShape)(engine);
60 await (0, tsparticles_shape_polygon_1.loadPolygonShape)(engine);
61 await (0, tsparticles_shape_square_1.loadSquareShape)(engine);
62 await (0, tsparticles_shape_star_1.loadStarShape)(engine);
63 await (0, tsparticles_shape_text_1.loadTextShape)(engine);
64 await (0, tsparticles_updater_life_1.loadLifeUpdater)(engine);
65 await (0, tsparticles_updater_opacity_1.loadOpacityUpdater)(engine);
66 await (0, tsparticles_updater_size_1.loadSizeUpdater)(engine);
67 await (0, tsparticles_updater_angle_1.loadAngleUpdater)(engine);
68 await (0, tsparticles_updater_color_1.loadColorUpdater)(engine);
69 await (0, tsparticles_updater_stroke_color_1.loadStrokeColorUpdater)(engine);
70 await (0, tsparticles_updater_out_modes_1.loadOutModesUpdater)(engine);
71 await (0, tsparticles_particles_js_1.initPjs)(engine);
72 }
73 exports.loadSlim = loadSlim;
74});