UNPKG

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