@tsparticles/preset-hyperspace 4.0.0-alpha.1 → 4.0.0-alpha.2
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/121.min.js +2 -0
- package/121.min.js.LICENSE.txt +1 -0
- package/142.min.js +2 -0
- package/142.min.js.LICENSE.txt +1 -0
- package/158.min.js +2 -0
- package/158.min.js.LICENSE.txt +1 -0
- package/196.min.js +2 -0
- package/196.min.js.LICENSE.txt +1 -0
- package/2.min.js +2 -0
- package/2.min.js.LICENSE.txt +1 -0
- package/{213.min.js → 202.min.js} +2 -2
- package/202.min.js.LICENSE.txt +1 -0
- package/294.min.js +2 -0
- package/294.min.js.LICENSE.txt +1 -0
- package/30.min.js +2 -0
- package/30.min.js.LICENSE.txt +1 -0
- package/309.min.js +2 -0
- package/309.min.js.LICENSE.txt +1 -0
- package/352.min.js +2 -0
- package/352.min.js.LICENSE.txt +1 -0
- package/413.min.js +2 -0
- package/413.min.js.LICENSE.txt +1 -0
- package/414.min.js +2 -0
- package/414.min.js.LICENSE.txt +1 -0
- package/420.min.js +2 -0
- package/420.min.js.LICENSE.txt +1 -0
- package/425.min.js +2 -0
- package/425.min.js.LICENSE.txt +1 -0
- package/426.min.js +2 -0
- package/426.min.js.LICENSE.txt +1 -0
- package/429.min.js +2 -0
- package/429.min.js.LICENSE.txt +1 -0
- package/440.min.js +2 -0
- package/440.min.js.LICENSE.txt +1 -0
- package/464.min.js +2 -0
- package/464.min.js.LICENSE.txt +1 -0
- package/{22.min.js → 47.min.js} +2 -2
- package/47.min.js.LICENSE.txt +1 -0
- package/488.min.js +2 -0
- package/488.min.js.LICENSE.txt +1 -0
- package/500.min.js +2 -0
- package/500.min.js.LICENSE.txt +1 -0
- package/505.min.js +2 -0
- package/505.min.js.LICENSE.txt +1 -0
- package/56.min.js +2 -0
- package/56.min.js.LICENSE.txt +1 -0
- package/60.min.js +2 -0
- package/60.min.js.LICENSE.txt +1 -0
- package/668.min.js +2 -0
- package/668.min.js.LICENSE.txt +1 -0
- package/684.min.js +2 -0
- package/684.min.js.LICENSE.txt +1 -0
- package/685.min.js +2 -0
- package/685.min.js.LICENSE.txt +1 -0
- package/688.min.js +2 -0
- package/688.min.js.LICENSE.txt +1 -0
- package/{481.min.js → 726.min.js} +2 -2
- package/726.min.js.LICENSE.txt +1 -0
- package/778.min.js +2 -0
- package/778.min.js.LICENSE.txt +1 -0
- package/{751.min.js → 792.min.js} +2 -2
- package/792.min.js.LICENSE.txt +1 -0
- package/{264.min.js → 847.min.js} +2 -2
- package/847.min.js.LICENSE.txt +1 -0
- package/864.min.js +2 -0
- package/864.min.js.LICENSE.txt +1 -0
- package/909.min.js +2 -0
- package/909.min.js.LICENSE.txt +1 -0
- package/926.min.js +1 -1
- package/926.min.js.LICENSE.txt +1 -1
- package/933.min.js +2 -0
- package/933.min.js.LICENSE.txt +1 -0
- package/949.min.js +2 -0
- package/949.min.js.LICENSE.txt +1 -0
- package/990.min.js +2 -0
- package/990.min.js.LICENSE.txt +1 -0
- package/browser/index.js +9 -8
- package/browser/options.js +0 -1
- package/cjs/index.js +9 -8
- package/cjs/options.js +0 -1
- package/dist_browser_options_js.js +2 -2
- package/esm/index.js +9 -8
- package/esm/options.js +0 -1
- package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +30 -0
- package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +40 -0
- package/{node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a.js → node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cafd8c.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-40dd7e.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cf2f58.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-80d7f0.js} +17 -17
- package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-6bd6f8.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-051d5b.js} +11 -11
- package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-122a51.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-50442a.js} +5 -5
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-9414b7.js +90 -0
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-b376d4.js +90 -0
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-db7965.js +30 -0
- package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js} +5 -5
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js +120 -0
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +70 -0
- package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js} +5 -5
- package/{node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_2_node_modules_tsparticles_plugin-trai-a61828.js → node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-5cc589.js} +5 -5
- package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-d221e1.js +30 -0
- package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-de3f95.js +50 -0
- package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js} +8 -8
- package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-ce96e8.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-6ff909.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-210bd6.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-dbf90f.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-e3e3ae.js} +17 -17
- package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-50f821.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-ef30bd.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--4e8c57.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--ac14ff.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticles_update-cd317f.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js} +5 -5
- package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js} +5 -5
- package/package.json +7 -7
- package/report.html +1 -1
- package/tsparticles.preset.hyperspace.bundle.js +197 -389
- package/tsparticles.preset.hyperspace.bundle.min.js +1 -1
- package/tsparticles.preset.hyperspace.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.hyperspace.js +4 -16
- package/tsparticles.preset.hyperspace.min.js +1 -1
- package/tsparticles.preset.hyperspace.min.js.LICENSE.txt +1 -1
- package/types/index.d.ts +1 -1
- package/types/options.d.ts +0 -1
- package/umd/index.js +9 -8
- package/umd/options.js +1 -2
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +90 -0
- package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-302925.js +200 -0
- package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-4cf04b.js +30 -0
- package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +50 -0
- package/{vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticle-124574.js → vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js} +20 -20
- package/125.min.js +0 -2
- package/125.min.js.LICENSE.txt +0 -1
- package/157.min.js +0 -2
- package/157.min.js.LICENSE.txt +0 -1
- package/171.min.js +0 -2
- package/171.min.js.LICENSE.txt +0 -1
- package/213.min.js.LICENSE.txt +0 -1
- package/22.min.js.LICENSE.txt +0 -1
- package/226.min.js +0 -2
- package/226.min.js.LICENSE.txt +0 -1
- package/264.min.js.LICENSE.txt +0 -1
- package/267.min.js +0 -2
- package/267.min.js.LICENSE.txt +0 -1
- package/283.min.js +0 -2
- package/283.min.js.LICENSE.txt +0 -1
- package/313.min.js +0 -2
- package/313.min.js.LICENSE.txt +0 -1
- package/319.min.js +0 -2
- package/319.min.js.LICENSE.txt +0 -1
- package/349.min.js +0 -2
- package/349.min.js.LICENSE.txt +0 -1
- package/370.min.js +0 -2
- package/370.min.js.LICENSE.txt +0 -1
- package/397.min.js +0 -2
- package/397.min.js.LICENSE.txt +0 -1
- package/418.min.js +0 -2
- package/418.min.js.LICENSE.txt +0 -1
- package/453.min.js +0 -2
- package/453.min.js.LICENSE.txt +0 -1
- package/455.min.js +0 -2
- package/455.min.js.LICENSE.txt +0 -1
- package/459.min.js +0 -2
- package/459.min.js.LICENSE.txt +0 -1
- package/481.min.js.LICENSE.txt +0 -1
- package/49.min.js +0 -2
- package/49.min.js.LICENSE.txt +0 -1
- package/509.min.js +0 -2
- package/509.min.js.LICENSE.txt +0 -1
- package/633.min.js +0 -2
- package/633.min.js.LICENSE.txt +0 -1
- package/637.min.js +0 -2
- package/637.min.js.LICENSE.txt +0 -1
- package/669.min.js +0 -2
- package/669.min.js.LICENSE.txt +0 -1
- package/751.min.js.LICENSE.txt +0 -1
- package/802.min.js +0 -2
- package/802.min.js.LICENSE.txt +0 -1
- package/803.min.js +0 -2
- package/803.min.js.LICENSE.txt +0 -1
- package/819.min.js +0 -2
- package/819.min.js.LICENSE.txt +0 -1
- package/98.min.js +0 -2
- package/98.min.js.LICENSE.txt +0 -1
- package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_2_node_modules_tsparticles_basic_browser_index_js.js +0 -30
- package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +0 -40
- package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_2_node_modules_tsparticles_plugin-trai-e79d1c.js +0 -60
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_2_node_modules_tsparticles_engine_br-9c0a0f.js +0 -100
- package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_-1e60b5.js +0 -110
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.preset.hyperspace.bundle.min.js.LICENSE.txt */
|
|
2
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var s in i)("object"==typeof exports?exports:t)[s]=i[s]}}(this,()=>(()=>{var t,e,i={273(t,e,i){i.d(e,{F:()=>a});var s=i(2246),n=i(9322),o=i(594);class a{constructor(){this.maxWidth=1/0,this.options={},this.mode=s.A.canvas}load(t){(0,o.kZ)(t)||((0,o.kZ)(t.maxWidth)||(this.maxWidth=t.maxWidth),(0,o.kZ)(t.mode)||(t.mode===s.A.screen?this.mode=s.A.screen:this.mode=s.A.canvas),(0,o.kZ)(t.options)||(this.options=(0,n.zw)({},t.options)))}}},346(t,e,i){var s;i.d(e,{B:()=>s}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(s||(s={}))},516(t,e,i){i.d(e,{A:()=>a});var s=i(594),n=i(4724),o=i(8954);class a extends o.O{constructor(){super(),this.animation=new n.i}static create(t,e){const i=new a;return i.load(t),void 0!==e&&((0,s.Kg)(e)||(0,s.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}},555(t,e,i){var s;i.d(e,{jl:()=>r,M_:()=>c}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}));var n=i(604),o=i(9622);class a{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class r extends a{constructor(t,e,i){super(t,e,s.circle),this.radius=i}contains(t){return(0,n.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,n=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y),l=this.radius;if(t instanceof r||t.type===s.circle){return l+t.radius>Math.sqrt(n**o.dm+a**o.dm)}if(t instanceof c||t.type===s.rectangle){const e=t,{width:i,height:s}=e.size;return Math.pow(n-i,o.dm)+Math.pow(a-s,o.dm)<=l**o.dm||n<=l+i&&a<=l+s||n<=i||a<=s}return!1}}class c extends a{constructor(t,e,i,n){super(t,e,s.rectangle),this.size={height:n,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof r)return t.intersects(this);const e=this.size.width,i=this.size.height,s=this.position,n=t.position,o=t instanceof c?t.size:{width:0,height:0},a=o.width,l=o.height;return n.x<s.x+e&&n.x+a>s.x&&n.y<s.y+i&&n.y+l>s.y}}},580(t,e,i){i.d(e,{A:()=>o});var s=i(7075),n=i(594);class o{constructor(){this.mode=s.d.delete,this.value=0}load(t){(0,n.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},594(t,e,i){function s(t){return"boolean"==typeof t}function n(t){return"string"==typeof t}function o(t){return"number"==typeof t}function a(t){return"object"==typeof t&&null!==t}function r(t){return Array.isArray(t)}function c(t){return null==t}i.d(e,{Et:()=>o,Gv:()=>a,Kg:()=>n,Lm:()=>s,cy:()=>r,kZ:()=>c})},604(t,e,i){i.d(e,{$m:()=>M,DT:()=>b,G0:()=>d,JY:()=>z,M3:()=>P,Nx:()=>_,Sg:()=>g,VG:()=>m,W9:()=>y,Yf:()=>x,e4:()=>h,i0:()=>u,l1:()=>D,pu:()=>k,px:()=>p,qE:()=>f,vE:()=>v,vr:()=>w});var s=i(7933),n=i(9622),o=i(6723),a=i(594);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(){return f(c(),0,1-Number.EPSILON)}function h(t,e){return d()*(e-t)+t}function u(t){return l.nextFrame(t)}function p(t){l.cancel(t)}function f(t,e,i){return Math.min(Math.max(t,e),i)}function v(t){const e=y(t);let i=g(t);return e===i&&(i=0),h(i,e)}function m(t){return(0,a.Et)(t)?t:v(t)}function g(t){return(0,a.Et)(t)?t:t.min}function y(t){return(0,a.Et)(t)?t:t.max}function b(t,e){if(t===e||void 0===e&&(0,a.Et)(t))return t;const i=g(t),s=y(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:b(i,s)}function w(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.sqrt(i**2+s**2)}}function x(t,e){return w(t,e).distance}function k(t){return t*r}function z(t,e,i){if((0,a.Et)(t))return k(t);switch(t){case s.F.top:return-Math.PI*n.MX;case s.F.topRight:return-Math.PI*n.$G;case s.F.right:return n.Ie;case s.F.bottomRight:return Math.PI*n.$G;case s.F.bottom:return Math.PI*n.MX;case s.F.bottomLeft:return Math.PI*n.Rq;case s.F.left:return Math.PI;case s.F.topLeft:return-Math.PI*n.Rq;case s.F.inside:return Math.atan2(i.y-e.y,i.x-e.x);case s.F.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return d()*n.R1}}function M(t){const e=o.M.origin;return e.length=1,e.angle=t,e}function D(t){const e={x:void 0!==t.position?.x?m(t.position.x):void 0,y:void 0!==t.position?.y?m(t.position.y):void 0};return function(t){return{x:(t.position?.x??d()*n.a5)*t.size.width/n.a5,y:(t.position?.y??d()*n.a5)*t.size.height/n.a5}}({size:t.size,position:e})}function _(t){return{x:t.position?.x??d()*t.size.width,y:t.position?.y??d()*t.size.height}}function P(t){return t?t.endsWith("%")?parseFloat(t)/n.a5:parseFloat(t):1}},940(t,e,i){i.d(e,{y:()=>o});var s=i(9322),n=i(594);class o{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,n.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},1071(t,e,i){i.d(e,{w:()=>o});var s=i(6832),n=i(594);class o{constructor(){this.horizontal=new s.F,this.vertical=new s.F}load(t){(0,n.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},1688(t,e,i){i.d(e,{t:()=>n});const s={debug:console.debug,error:(t,e)=>{console.error(`tsParticles - Error - ${t}`,e)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function n(){return s}},1886(t,e,i){i.d(e,{IU:()=>c,Md:()=>r,Sn:()=>a,Wb:()=>h,e_:()=>d,l7:()=>o,p0:()=>l,yx:()=>u});var s=i(9622),n=i(6242);function o(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(s.bo.x,s.bo.y,e.width,e.height)}function r(t,e,i,n){i&&(t.globalAlpha=n,t.drawImage(i,s.bo.x,s.bo.y,e.width,e.height),t.globalAlpha=1)}function c(t,e){t.clearRect(s.bo.x,s.bo.y,e.width,e.height)}function l(t){const{container:e,context:i,particle:n,delta:o,colorStyles:a,radius:r,opacity:c,transform:l}=t,d=n.getPosition(),h=n.getAngle(),u=Math.sin(h),p=Math.cos(h),f=n.isRotating,v={a:p*(l.a??s.Ug.a),b:f?u*(l.b??s.D_):l.b??s.Ug.b,c:f?-u*(l.c??s.D_):l.c??s.Ug.c,d:p*(l.d??s.Ug.d)};i.setTransform(v.a,v.b,v.c,v.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const m=n.strokeWidth??s.Dv;i.lineWidth=m,a.stroke&&(i.strokeStyle=a.stroke);const g={container:e,context:i,particle:n,radius:r,opacity:c,delta:o,transformData:v,strokeWidth:m};!function(t){const{container:e,context:i,particle:n,radius:o,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!n.effect)return;const d=e.effectDrawers.get(n.effect);if(!d?.drawBefore)return;d.drawBefore({context:i,particle:n,radius:o,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:r>s.Dv||!n.shapeFill,transformData:{...l}})}(g),function(t){const{container:e,context:i,particle:n,radius:o,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!n.shape)return;const d=e.shapeDrawers.get(n.shape);if(!d?.beforeDraw)return;d.beforeDraw({context:i,particle:n,radius:o,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:r>s.Dv||!n.shapeFill,transformData:{...l}})}(g),function(t){const{container:e,context:i,particle:n,radius:o,opacity:a,delta:r,strokeWidth:c,transformData:l}=t;if(!n.shape)return;const d=e.shapeDrawers.get(n.shape);if(!d)return;i.beginPath(),d.draw({context:i,particle:n,radius:o,opacity:a,delta:r,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:c>s.Dv||!n.shapeFill,transformData:{...l}}),n.shapeClose&&i.closePath();c>s.Dv&&i.stroke();n.shapeFill&&i.fill()}(g),function(t){const{container:e,context:i,particle:n,radius:o,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!n.shape)return;const d=e.shapeDrawers.get(n.shape);if(!d?.afterDraw)return;d.afterDraw({context:i,particle:n,radius:o,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:r>s.Dv||!n.shapeFill,transformData:{...l}})}(g),function(t){const{container:e,context:i,particle:n,radius:o,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!n.effect)return;const d=e.effectDrawers.get(n.effect),h=d?.drawAfter;if(!h)return;h({context:i,particle:n,radius:o,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:r>s.Dv||!n.shapeFill,transformData:{...l}})}(g),i.resetTransform()}function d(t,e,i){e.draw&&e.draw(t,i)}function h(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}function u(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===n.H.darken?-s.iU:s.iU)*i}}},2246(t,e,i){var s;i.d(e,{A:()=>s}),function(t){t.screen="screen",t.canvas="canvas"}(s||(s={}))},2339(t,e,i){i.d(e,{N:()=>a});var s=i(594);class n{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,s.kZ)(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}var o=i(580);class a{constructor(){this.density=new n,this.limit=new o.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},2559(t,e,i){i.d(e,{t:()=>a});var s=i(516),n=i(594),o=i(604);class a{constructor(){this.width=0}load(t){(0,n.kZ)(t)||(void 0!==t.color&&(this.color=s.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,o.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,o.DT)(t.opacity)))}}},2623(t,e,i){i.d(e,{j:()=>r});var s=i(4072),n=i(9322),o=i(594),a=i(9622);class r{load(t){(0,o.kZ)(t)||(t.position&&(this.position={x:t.position.x??a.td,y:t.position.y??a.td,mode:t.position.mode??s.q.percent}),t.options&&(this.options=(0,n.zw)({},t.options)))}}},2680(t,e,i){var s;i.d(e,{h:()=>s}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(s||(s={}))},2909(t,e,i){var s;i.d(e,{l:()=>s}),function(t){t.any="any",t.dark="dark",t.light="light"}(s||(s={}))},2987(t,e,i){i.d(e,{BN:()=>l,Jv:()=>z,LC:()=>y,O_:()=>b,R5:()=>h,YL:()=>p,ay:()=>f,pz:()=>w,xx:()=>m});var s=i(604),n=i(9622),o=i(594),a=i(7096),r=i(9322);function c(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function l(t,e,i,s=!0){if(!e)return;const n=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(n.value))return d(t,n.value,i,s);if((0,o.cy)(n.value)){const e=(0,r.Vh)(n.value,i,s);if(!e)return;return l(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function d(t,e,i,s=!0){if(!e)return;const a=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(a.value))return a.value===n.mR?v():function(t,e){return c(t,e)}(t,a.value);if((0,o.cy)(a.value)){const e=(0,r.Vh)(a.value,i,s);if(!e)return;return d(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function h(t,e,i,s=!0){const n=l(t,e,i,s);return n?u(n):void 0}function u(t){const e=t.r/n.oi,i=t.g/n.oi,s=t.b/n.oi,o=Math.max(e,i,s),a=Math.min(e,i,s),r={h:n.L1,l:(o+a)*n.MX,s:n.yx};return o!==a&&(r.s=r.l<n.MX?(o-a)/(o+a):(o-a)/(n.gd-o-a),r.h=e===o?(i-s)/(o-a):i===o?n.gd+(s-e)/(o-a):n.gd*n.gd+(e-i)/(o-a)),r.l*=n.$_,r.s*=n.eu,r.h*=n.U0,r.h<n.L1&&(r.h+=n.vS),r.h>=n.vS&&(r.h-=n.vS),r}function p(t){const e=(t.h%n.vS+n.vS)%n.vS,i=Math.max(n.yx,Math.min(n.eu,t.s)),s=Math.max(n.vd,Math.min(n.$_,t.l)),o=e/n.vS,a=i/n.eu,r=s/n.$_;if(i===n.yx){const t=Math.round(r*n.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*n.zg<1)return t+(e-t)*n.zg*i;if(i*n.gd<1)return e;if(i*n.Nu<1*n.gd){return t+(e-t)*(n.gd/n.Nu-i)*n.zg}return t},l=r<n.MX?r*(n.aE+a):r+a-r*a,d=n.gd*r-l,h=n.BF/n.Nu,u=Math.min(n.oi,n.oi*c(d,l,o+h)),p=Math.min(n.oi,n.oi*c(d,l,o)),f=Math.min(n.oi,n.oi*c(d,l,o-h));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}function f(t){const e=p(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function v(t){const e=t??n.Fl,i=n.oi+n.D_,o=()=>Math.floor((0,s.e4)(e,i));return{b:o(),g:o(),r:o()}}function m(t,e,i){return e?g(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??n.hv).toString()})`}(t,i)}function g(t,e){return`color(display-p3 ${(t.r/n.oi).toString()} ${(t.g/n.oi).toString()} ${(t.b/n.oi).toString()} / ${(e??n.hv).toString()})`}function y(t,e,i){return e?function(t,e){return g(p(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??n.hv).toString()})`}(t,i)}function b(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function w(t,e,i){const s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(x(s.h,e.h,i),x(s.s,e.s,i),x(s.l,e.l,i)),s}function x(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,s.VG)(e.speed)/n.a5*i,t.decay=n.WH-(0,s.VG)(e.decay),t.status=a.H.increasing,t.loops=n.hK,t.maxLoops=(0,s.VG)(e.count),t.time=n.tR,t.delayTime=(0,s.VG)(e.delay)*n.Xu,e.sync||(t.velocity*=(0,s.G0)(),t.value*=(0,s.G0)()),t.initialValue=t.value,t.offset=(0,s.DT)(e.offset)):t.velocity=n.jn}function k(t,e,i,n){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=n.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const o=t.offset?(0,s.vE)(t.offset):0,r=(t.velocity??0)*n.factor+3.6*o,c=t.decay??1,l=(0,s.W9)(e),d=(0,s.Sg)(e);if(i&&t.status!==a.H.increasing){t.value-=r;const e=0;t.value<e&&(t.loops??=0,t.loops++,t.status=a.H.increasing)}else t.value+=r,t.value>l&&(t.loops??=0,t.loops++,i?t.status=a.H.decreasing:t.value-=l);t.velocity&&1!==c&&(t.velocity*=c),t.value=(0,s.qE)(t.value,d,l)}function z(t,e){if(!t)return;const{h:i,s,l:o}=t,a={h:{min:n.L1,max:n.vS},s:{min:n.yx,max:n.eu},l:{min:n.vd,max:n.$_}};k(i,a.h,!1,e),k(s,a.s,!0,e),k(o,a.l,!0,e)}},3407(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var s=i(4598),n=i(6177),o=i(594),a=i(604);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,o.kZ)(t)||(void 0!==t.count&&(this.count=(0,a.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,a.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,a.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,a.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class c extends r{constructor(){super(),this.mode=s.g.auto,this.startValue=n.S.random}load(t){super.load(t),(0,o.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},3457(t,e,i){i.d(e,{h:()=>o});var s=i(594),n=i(604);class o{constructor(){this.offset=0,this.value=90}load(t){(0,s.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,n.DT)(t.offset)),void 0!==t.value&&(this.value=(0,n.DT)(t.value)))}}},3935(t,e,i){i.d(e,{f:()=>o});var s=i(2909),n=i(594);class o{constructor(){this.auto=!1,this.mode=s.l.any,this.value=!1}load(t){(0,n.kZ)(t)||(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},3965(t,e,i){i.d(e,{t:()=>a});var s=i(9322),n=i(594),o=i(604);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,n.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,o.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,s.zw)({},t.position)))}}},4072(t,e,i){var s;i.d(e,{q:()=>s}),function(t){t.precise="precise",t.percent="percent"}(s||(s={}))},4337(t,e,i){var s;i.d(e,{Q:()=>s}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}))},4344(t,e,i){i.d(e,{U:()=>v});var s=i(9322),n=i(516),o=i(594);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if((0,o.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(9812),c=i(7568),l=i(1071),d=i(2339),h=i(940),u=i(7636),p=i(2559),f=i(9994);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new n.A,this.color.value="#fff",this.effect=new a,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new h.y,this.size=new u.o,this.stroke=new p.t,this.zIndex=new f.P}load(t){if((0,o.kZ)(t))return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,s.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(n.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),void 0!==t.interactivity&&(this.interactivity=(0,s.zw)({},t.interactivity));const e=t.stroke;if(e&&(this.stroke=(0,s.wJ)(e,t=>{const e=new p.t;return e.load(t),e})),this._container){const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t);const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}},4552(t,e,i){i.d(e,{J:()=>m});var s=i(9322),n=i(594),o=i(8954);class a{constructor(){this.color=new o.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,n.kZ)(t)||(void 0!==t.color&&(this.color=o.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{constructor(){this.enable=!0,this.zIndex=0}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}var c=i(5185),l=i(2623),d=i(273),h=i(2246),u=i(8700),p=i(2909),f=i(7900),v=i(604);class m{constructor(t,e){this._findDefaultTheme=t=>this.themes.find(e=>e.default.value&&e.default.mode===t)??this.themes.find(t=>t.default.value&&t.default.mode===p.l.any),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new a,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new r,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.interactivity=new c.k(t,e),this.manualParticles=[],this.particles=(0,f.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if((0,n.kZ)(t))return;void 0!==t.preset&&(0,s.wJ)(t.preset,t=>{this._importPreset(t)}),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,v.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,v.DT)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const o=t.fullScreen;(0,n.Lm)(o)?this.fullScreen.enable=o:this.fullScreen.load(o),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map(t=>{const e=new l.j;return e.load(t),e})),this.particles.load(t.particles),this.style=(0,s.zw)(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const a=this._engine.interactors.get(this._container);if(a)for(const e of a)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new d.F;t.load(e),this.responsive.push(t)}if(this.responsive.sort((t,e)=>t.maxWidth-e.maxWidth),void 0!==t.themes)for(const e of t.themes){const t=this.themes.find(t=>t.name===e.name);if(t)t.load(e);else{const t=new u.S;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme(p.l.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(p.l.light)?.name}setResponsive(t,e,i){this.load(i);const s=this.responsive.find(i=>i.mode===h.A.screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t);return this.load(s?.options),s?.maxWidth}setTheme(t){if(t){const e=this.themes.find(e=>e.name===t);e&&this.load(e.options)}else{const t=(0,s.lV)("(prefers-color-scheme: dark)"),e=t?.matches,i=this._findDefaultTheme(e?p.l.dark:p.l.light);i&&this.load(i.options)}}}},4598(t,e,i){var s;i.d(e,{g:()=>s}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(s||(s={}))},4636(t,e,i){i.d(e,{y:()=>o});var s=i(594),n=i(604);class o{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,s.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,n.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,n.DT)(t.maxSpeed)))}}},4724(t,e,i){i.d(e,{i:()=>o});var s=i(9972),n=i(594);class o{constructor(){this.h=new s.e,this.s=new s.e,this.l=new s.e}load(t){(0,n.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},4929(t,e,i){i.d(e,{A9e:()=>w.A,FWc:()=>p.F,Oit:()=>x.O,Yzx:()=>m.Y,v5k:()=>v.v,x_I:()=>b.x,qiC:()=>g.q,pTR:()=>h,PVU:()=>k.PV,Miz:()=>u.M,n02:()=>n.n0,l1q:()=>c.l1,AEc:()=>n.AE,qE8:()=>c.qE,zwS:()=>n.zw,puj:()=>c.pu,gdl:()=>s.gd,wJ2:()=>n.wJ,YfF:()=>c.Yf,vrU:()=>c.vr,pzy:()=>z.pz,tZQ:()=>r.t,G0i:()=>c.G0,W9e:()=>c.W9,VGA:()=>c.VG,YCE:()=>n.YC,xxz:()=>z.xx,vSh:()=>s.vS,MXx:()=>s.MX,YLU:()=>z.YL,ayx:()=>z.ay,XsS:()=>n.Xs,hBr:()=>s.hB,cyL:()=>M.cy,hnD:()=>n.hn,kZJ:()=>M.kZ,EtT:()=>M.Et,Gvm:()=>M.Gv,Tj8:()=>n.Tj,Vh1:()=>n.Vh,TA3:()=>n.TA,$_c:()=>s.$_,XuV:()=>s.Xu,M3Y:()=>c.M3,a56:()=>s.a5,vEz:()=>c.vE,R5R:()=>z.R5,BN0:()=>z.BN,euA:()=>s.eu,T5G:()=>n.T5,DT4:()=>c.DT,$k3:()=>D,UC0:()=>n.UC,JvX:()=>z.Jv});var s=i(9622),n=i(9322);class o{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,o=i.indexOf(e);o<s.z9||(n===s.LD?this._listeners.delete(t):i.splice(o,s.LD))}}var a=i(346),r=i(1688),c=i(604);async function l(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}class d{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new o,this._initialized=!1,this._loadPromises=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.2"}addColorManager(t){this.colorManagers.set(t.key,t)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(a.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addInteractor(t,e){this._initializers.interactors.set(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const e=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return l(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return l(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return l(t,this.updaters,this._initializers.updaters,e)}async init(){if(!this._initialized){for(const t of this._loadPromises)await t(this);this._loadPromises.clear(),this._initialized=!0}}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,s.JC)}async load(t){await this.init();const{Container:e}=await i.e(418).then(i.bind(i,8418)),o=t.id??t.element?.id??`tsparticles${Math.floor((0,c.G0)()*s.$v).toString()}`,{index:a,url:l}=t,d=l?await async function(t){const e=(0,n.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,r.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:l,index:a}):t.options,h=(0,n.TA)(d,a),{items:u}=this,p=u.findIndex(t=>t.id.description===o),f=new e(this,o,h);if(p>=s.PZ){const t=this.item(p),e=t?s.xH:s.dv;t&&!t.destroyed&&t.destroy(!1),u.splice(p,e,f)}else u.push(f);const v=((t,e)=>{let i=e??(0,n.T5)().getElementById(t);return i||(i=(0,n.T5)().createElement("div"),i.id=t,i.dataset[s.eb]=s.ce,(0,n.T5)().body.append(i),i)})(o,t.element),m=(t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===s.RF)e=t,e.dataset[s.eb]??=s.X$;else{const i=t.getElementsByTagName(s.RF)[s.Nx];i?(e=i,e.dataset[s.eb]=s.X$):(e=(0,n.T5)().createElement(s.RF),e.dataset[s.eb]=s.ce,t.appendChild(e))}const i="100%";return e.style.width||(e.style.width=i),e.style.height||(e.style.height=i),e})(v);return f.canvas.loadCanvas(m),await f.start(),f}loadOptions(t,e){this.plugins.forEach(i=>{i.loadOptions(t,e)})}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const{items:e}=this;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach(e=>{e.addClickHandler(t)})}}i(9495);i(555);var h,u=i(6723),p=i(7933);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(h||(h={}));var f,v=i(7799),m=(i(4598),i(7075),i(7348)),g=i(4072);i(2909),i(2246),i(6242),i(5416);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(f||(f={}));var y,b=i(9948);i(6177),i(4337);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(y||(y={}));i(7096),i(2680);var w=i(516),x=(i(3407),i(9972),i(4724),i(7180),i(7608),i(5185),i(2623),i(4552),i(8954)),k=(i(1071),i(6832),i(4344),i(2559),i(9587),i(9812),i(3457),i(7373),i(4636),i(8333),i(6823),i(3965),i(2339),i(580),i(7568),i(8152),i(940),i(7636),i(6428),i(9994),i(273),i(8700),i(3935),i(6613)),z=(i(1886),i(2987)),M=(i(7900),i(594));const D=new d;globalThis.tsParticles=D},5185(t,e,i){i.d(e,{k:()=>r});var s=i(7608),n=i(2680),o=i(594);class a{constructor(t,e){this._engine=t,this._container=e}load(t){if((0,o.kZ)(t))return;if(!this._container)return;const e=this._engine.interactors.get(this._container);if(e)for(const i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}class r{constructor(t,e){this.detectsOn=n.h.window,this.events=new s.s,this.modes=new a(t,e)}load(t){if((0,o.kZ)(t))return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},5416(t,e,i){var s;i.d(e,{V:()=>s}),function(t){t.none="none",t.max="max",t.min="min"}(s||(s={}))},6177(t,e,i){var s;i.d(e,{S:()=>s}),function(t){t.max="max",t.min="min",t.random="random"}(s||(s={}))},6242(t,e,i){var s;i.d(e,{H:()=>s}),function(t){t.darken="darken",t.enlighten="enlighten"}(s||(s={}))},6428(t,e,i){i.d(e,{q:()=>a});var s=i(5416),n=i(3407),o=i(594);class a extends n.Q{constructor(){super(),this.destroy=s.V.none,this.speed=5}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},6613(t,e,i){i.d(e,{AI:()=>c,PV:()=>a});var s=i(3407),n=i(594),o=i(604);class a{constructor(){this.value=0}load(t){(0,n.kZ)(t)||(0,n.kZ)(t.value)||(this.value=(0,o.DT)(t.value))}}class r extends a{constructor(){super(),this.animation=new s.p}load(t){if(super.load(t),(0,n.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class c extends r{constructor(){super(),this.animation=new s.Q}load(t){super.load(t)}}},6723(t,e,i){i.d(e,{M:()=>o,p:()=>n});var s=i(9622);class n{constructor(t=s.bo.x,e=s.bo.y,i=s.bo.z){this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},this.x=t,this.y=e,this.z=i}static get origin(){return n.create(s.bo.x,s.bo.y,s.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return n.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new n(t,e??s.bo.y,i??s.bo.z):new n(t.x,t.y,Object.hasOwn(t,"z")?t.z:s.bo.z)}add(t){return n.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return n.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return n.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**s.dm+this.y**s.dm}mult(t){return n.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=s.dv&&this.multTo(s.hB/t)}rotate(t){return n.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),s.bo.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:s.bo.z}sub(t){return n.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class o extends n{constructor(t=s.bo.x,e=s.bo.y){super(t,e,s.bo.z)}static get origin(){return o.create(s.bo.x,s.bo.y)}static clone(t){return o.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new o(t,e??s.bo.y):new o(t.x,t.y)}}},6823(t,e,i){i.d(e,{v:()=>a});var s=i(6613),n=i(9322),o=i(594);class a{constructor(){this.clamp=!0,this.delay=new s.PV,this.enable=!1,this.options={}}load(t){(0,o.kZ)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,n.zw)(this.options,t.options)))}}},6832(t,e,i){i.d(e,{F:()=>n});var s=i(6613);class n extends s.PV{constructor(){super(),this.value=1}}},7075(t,e,i){var s;i.d(e,{d:()=>s}),function(t){t.delete="delete",t.wait="wait"}(s||(s={}))},7096(t,e,i){var s;i.d(e,{H:()=>s}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(s||(s={}))},7180(t,e,i){i.d(e,{G:()=>o});var s=i(4337),n=i(594);class o{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=s.Q.circle}load(t){(0,n.kZ)(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))}}},7348(t,e,i){var s;i.d(e,{Y:()=>s}),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(s||(s={}))},7373(t,e,i){i.d(e,{Z:()=>o});var s=i(4072),n=i(594);class o{constructor(){this.x=50,this.y=50,this.mode=s.q.percent,this.radius=0}load(t){(0,n.kZ)(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},7568(t,e,i){i.d(e,{Y:()=>a});var s=i(8152),n=i(6613),o=i(594);class a extends n.AI{constructor(){super(),this.animation=new s.I,this.value=1}load(t){if((0,o.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},7608(t,e,i){i.d(e,{s:()=>d});var s=i(594);class n{constructor(){this.enable=!1,this.mode=[]}load(t){(0,s.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}var o=i(7180);class a{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){(0,s.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}class r{constructor(){this.enable=!1,this.mode=[],this.parallax=new a}load(t){(0,s.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class c{constructor(){this.delay=.5,this.enable=!0}load(t){(0,s.kZ)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}var l=i(9322);class d{constructor(){this.onClick=new n,this.onDiv=new o.G,this.onHover=new r,this.resize=new c}load(t){if((0,s.kZ)(t))return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,l.wJ)(e,t=>{const e=new o.G;return e.load(t),e})),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},7636(t,e,i){i.d(e,{o:()=>a});var s=i(6613),n=i(6428),o=i(594);class a extends s.AI{constructor(){super(),this.animation=new n.q,this.value=3}load(t){if(super.load(t),(0,o.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},7799(t,e,i){var s;i.d(e,{v:()=>s}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(s||(s={}))},7900(t,e,i){i.d(e,{Z:()=>n,y:()=>o});var s=i(4344);function n(t,...e){for(const i of e)t.load(i)}function o(t,e,...i){const o=new s.U(t,e);return n(o,...i),o}},7933(t,e,i){var s;i.d(e,{F:()=>s}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(s||(s={}))},8152(t,e,i){i.d(e,{I:()=>a});var s=i(5416),n=i(3407),o=i(594);class a extends n.Q{constructor(){super(),this.destroy=s.V.none,this.speed=2}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},8333(t,e,i){i.d(e,{j:()=>o});var s=i(7348),n=i(594);class o{constructor(){this.default=s.Y.out}load(t){(0,n.kZ)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},8700(t,e,i){i.d(e,{S:()=>a});var s=i(3935),n=i(9322),o=i(594);class a{constructor(){this.name="",this.default=new s.f}load(t){(0,o.kZ)(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,n.zw)({},t.options)))}}},8954(t,e,i){i.d(e,{O:()=>n});var s=i(594);class n{constructor(){this.value=""}static create(t,e){const i=new n;return i.load(t),void 0!==e&&((0,s.Kg)(e)||(0,s.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){(0,s.kZ)(t)||(0,s.kZ)(t.value)||(this.value=t.value)}}},9322(t,e,i){i.d(e,{AE:()=>w,BR:()=>f,E9:()=>_,T5:()=>u,TA:()=>z,Tj:()=>b,UC:()=>S,Vh:()=>y,Xs:()=>M,YC:()=>P,hJ:()=>E,hn:()=>m,lV:()=>p,n0:()=>g,tG:()=>v,td:()=>T,wJ:()=>k,zw:()=>x});var s=i(604),n=i(9622),o=i(594),a=i(4598),r=i(7096),c=i(5416),l=i(7799),d=i(4072),h=i(6177);i(6723);function u(){return globalThis.document}function p(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function f(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function v(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function m(t,e){return t===e||(0,o.cy)(e)&&e.includes(t)}function g(t){return Math.floor((0,s.G0)()*t.length)}function y(t,e,i=!0){return t[void 0!==e&&i?e%t.length:g(t)]}function b(t,e,i,s,n){return function(t,e,i,s){let n=!0;s&&s!==l.v.bottom||(n=t.top<e.height+i.x);!n||s&&s!==l.v.left||(n=t.right>i.x);!n||s&&s!==l.v.right||(n=t.left<e.width+i.y);!n||s&&s!==l.v.top||(n=t.bottom>i.y);return n}(w(t,s??0),e,i,n)}function w(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function x(t,...e){for(const i of e){if(null==i)continue;if(!(0,o.Gv)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,o.Gv)(t)&&t&&Array.isArray(t)?e||!(0,o.Gv)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const s=i[e],n=t;n[e]=(0,o.Gv)(s)&&Array.isArray(s)?s.map(t=>x(n[e],t)):x(n[e],s)}}return t}function k(t,e){return(0,o.cy)(t)?t.map((t,i)=>e(t,i)):e(t,0)}function z(t,e,i){return(0,o.cy)(t)?y(t,e,i):t}function M(t,e){const i=t.value,o=t.animation,c={delayTime:(0,s.VG)(o.delay)*n.Xu,enable:o.enable,value:(0,s.VG)(t.value)*e,max:(0,s.W9)(i)*e,min:(0,s.Sg)(i)*e,loops:0,maxLoops:(0,s.VG)(o.count),time:0};if(o.enable){switch(c.decay=1-(0,s.VG)(o.decay),o.mode){case a.g.increase:c.status=r.H.increasing;break;case a.g.decrease:c.status=r.H.decreasing;break;case a.g.random:c.status=(0,s.G0)()>=n.MX?r.H.increasing:r.H.decreasing}const t=o.mode===a.g.auto;switch(o.startValue){case h.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case h.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case h.S.random:default:c.value=(0,s.vE)(c),t&&(c.status=(0,s.G0)()>=n.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function D(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/n.a5*e.width,y:t.y/n.a5*e.height}:{width:t.width/n.a5*e.width,height:t.height/n.a5*e.height}}function _(t,e){return D(t,e)}function P(t,e){return D(t,e)}function S(t,e,i,n,o){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*o.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=o.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,s,n){switch(e){case c.V.max:i>=n&&t.destroy();break;case c.V.min:i<=s&&t.destroy()}}(t,n,e.value,l,d),e.value=(0,s.qE)(e.value,l,d)}}function T(t){const e=u().createElement("div").style;for(const i in t){const s=t[i];if(!Object.prototype.hasOwnProperty.call(t,i)||(0,o.kZ)(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const a=t.getPropertyPriority?.(s);a?e.setProperty(s,n,a):e.setProperty(s,n)}return e}const E=function(t){const e=new Map;return(...i)=>{const s=JSON.stringify(i);if(e.has(s))return e.get(s);const n=t(...i);return e.set(s,n),n}}(function(t){const e=u().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e})},9495(t,e,i){var s;i.d(e,{e:()=>s}),function(t){t.external="external",t.particles="particles"}(s||(s={}))},9587(t,e,i){i.d(e,{R:()=>o});var s=i(594),n=i(604);class o{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,s.kZ)(t)&&(void 0!==t.distance&&(this.distance=(0,n.DT)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},9622(t,e,i){i.d(e,{$G:()=>H,$_:()=>G,$v:()=>st,$x:()=>O,BF:()=>Et,Bp:()=>d,DG:()=>h,DN:()=>et,D_:()=>zt,Dv:()=>Mt,Eo:()=>ct,FS:()=>X,Fl:()=>Ot,G3:()=>u,Ie:()=>q,JC:()=>Q,K3:()=>gt,KZ:()=>Y,Kw:()=>T,L1:()=>V,LD:()=>bt,MX:()=>m,NF:()=>p,Nu:()=>Pt,Nx:()=>it,PZ:()=>nt,Pg:()=>R,R1:()=>k,RF:()=>_,RV:()=>N,Rb:()=>c,Rh:()=>ut,Rq:()=>j,TL:()=>J,U0:()=>$,Ug:()=>b,WH:()=>rt,X$:()=>D,X_:()=>dt,Xu:()=>g,Z0:()=>a,Zp:()=>A,a5:()=>v,aE:()=>Tt,bo:()=>y,ce:()=>M,dm:()=>S,dv:()=>at,eb:()=>s,eu:()=>L,gd:()=>x,hB:()=>Z,hK:()=>Rt,hv:()=>U,i8:()=>tt,iU:()=>Dt,jn:()=>At,l:()=>lt,lA:()=>yt,mR:()=>w,ms:()=>n,nK:()=>f,nq:()=>ft,oi:()=>F,ou:()=>pt,pH:()=>wt,rq:()=>P,s7:()=>l,sf:()=>r,tA:()=>kt,tR:()=>Zt,td:()=>xt,un:()=>ht,vF:()=>K,vS:()=>I,vd:()=>_t,vo:()=>o,w2:()=>W,wM:()=>vt,xH:()=>ot,xd:()=>E,yx:()=>C,z$:()=>z,z9:()=>mt,zg:()=>St,zs:()=>B});const s="generated",n="pointerdown",o="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",d="touchend",h="touchmove",u="touchcancel",p="resize",f="visibilitychange",v=100,m=.5,g=1e3,y={x:0,y:0,z:0},b={a:1,b:0,c:0,d:1},w="random",x=2,k=Math.PI*x,z=60,M="true",D="false",_="canvas",P=0,S=2,T=4,E=1,O=1,A=1,R=4,Z=1,F=255,I=360,L=100,G=100,V=0,C=0,$=60,q=0,H=.25,j=m+H,B=1,W=0,N=1,U=1,X=1,Y=1,J=0,Q=1,K=0,tt=120,et=0,it=0,st=1e4,nt=0,ot=1,at=0,rt=1,ct=1,lt=1,dt=0,ht=-H,ut=1.5,pt=0,ft=1,vt=0,mt=0,gt=1,yt=1,bt=1,wt=500,xt=50,kt=0,zt=1,Mt=0,Dt=1,_t=0,Pt=3,St=6,Tt=1,Et=1,Ot=0,At=0,Rt=0,Zt=0},9812(t,e,i){i.d(e,{y:()=>p});var s=i(7933),n=i(594),o=i(3457),a=i(9587),r=i(7373),c=i(4636),l=i(6823),d=i(8333),h=i(3965),u=i(604);class p{constructor(){this.angle=new o.h,this.attract=new a.R,this.center=new r.Z,this.decay=0,this.distance={},this.direction=s.F.none,this.drift=0,this.enable=!1,this.gravity=new c.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new h.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,n.kZ)(t))return;this.angle.load((0,n.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,n.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,n.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},9948(t,e,i){var s;i.d(e,{x:()=>s}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(s||(s={}))},9972(t,e,i){i.d(e,{e:()=>a});var s=i(3407),n=i(594),o=i(604);class a extends s.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,n.kZ)(t)||void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset))}}},9994(t,e,i){i.d(e,{P:()=>o});var s=i(6613),n=i(594);class o extends s.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,n.kZ)(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}}},s={};function n(t){var e=s[t];if(void 0!==e)return e.exports;var o=s[t]={exports:{}};return i[t](o,o.exports,n),o.exports}n.m=i,n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.f={},n.e=t=>Promise.all(Object.keys(n.f).reduce((e,i)=>(n.f[i](t,e),e),[])),n.u=t=>t+".min.js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/preset-hyperspace:",n.l=(i,s,o,a)=>{if(t[i])t[i].push(s);else{var r,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var h=l[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+o){r=h;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",n.nc&&r.setAttribute("nonce",n.nc),r.setAttribute("data-webpack",e+o),r.src=i),t[i]=[s];var u=(e,s)=>{r.onerror=r.onload=null,clearTimeout(p);var n=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),n&&n.forEach(t=>t(s)),e)return e(s)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),c&&document.head.appendChild(r)}},n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&(!t||!/^http(s?):/.test(t));)t=i[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t})(),(()=>{var t={358:0};n.f.j=(e,i)=>{var s=n.o(t,e)?t[e]:void 0;if(0!==s)if(s)i.push(s[2]);else{var o=new Promise((i,n)=>s=t[e]=[i,n]);i.push(s[2]=o);var a=n.p+n.u(e),r=new Error;n.l(a,i=>{if(n.o(t,e)&&(0!==(s=t[e])&&(t[e]=void 0),s)){var o=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",r.name="ChunkLoadError",r.type=o,r.request=a,s[1](r)}},"chunk-"+e,e)}};var e=(e,i)=>{var s,o,[a,r,c]=i,l=0;if(a.some(e=>0!==t[e])){for(s in r)n.o(r,s)&&(n.m[s]=r[s]);if(c)c(n)}for(e&&e(i);l<a.length;l++)o=a[l],n.o(t,o)&&t[o]&&t[o][0](),t[o]=0},i=this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var o={};function a(t){t.register(async t=>{const{loadBasic:e}=await n.e(509).then(n.bind(n,1509)),{loadEmittersPlugin:i}=await n.e(49).then(n.bind(n,9049)),{loadEmittersShapeSquare:s}=await n.e(319).then(n.bind(n,7319)),{loadTrailPlugin:o}=await n.e(157).then(n.bind(n,7157)),{loadLifeUpdater:a}=await n.e(637).then(n.bind(n,3637)),{options:r,presetName:c}=await n.e(283).then(n.bind(n,8283));e(t),i(t),s(t),o(t),a(t),t.addPreset(c,r)})}n.r(o),n.d(o,{loadHyperspacePreset:()=>a,tsParticles:()=>r.$k3});var r=n(4929);return o})());
|
|
2
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var s in i)("object"==typeof exports?exports:t)[s]=i[s]}}(this,()=>(()=>{var t,e,i={214(t,e,i){i.d(e,{t:()=>o});var s=i(1211),n=i(5933),a=i(9395);class o{constructor(){this.width=0}load(t){(0,n.kZ)(t)||(void 0!==t.color&&(this.color=s.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,a.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,a.DT)(t.opacity)))}}},248(t,e,i){i.d(e,{h:()=>a});var s=i(5933),n=i(9395);class a{constructor(){this.offset=0,this.value=90}load(t){(0,s.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,n.DT)(t.offset)),void 0!==t.value&&(this.value=(0,n.DT)(t.value)))}}},304(t,e,i){i.d(e,{N:()=>o});var s=i(5933);class n{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,s.kZ)(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}var a=i(8427);class o{constructor(){this.density=new n,this.limit=new a.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},411(t,e,i){var s;i.d(e,{H:()=>s}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(s||(s={}))},595(t,e,i){i.d(e,{$G:()=>A,$_:()=>T,$v:()=>K,$x:()=>z,BF:()=>wt,DN:()=>N,D_:()=>pt,Dv:()=>ft,Eo:()=>W,FS:()=>q,Fl:()=>xt,Ie:()=>R,JC:()=>H,K3:()=>ct,KZ:()=>G,Kw:()=>w,L1:()=>D,LD:()=>dt,MX:()=>r,NF:()=>n,Nu:()=>yt,Nx:()=>X,PZ:()=>Q,Pg:()=>M,R1:()=>p,RF:()=>y,RV:()=>Z,Rh:()=>st,Rq:()=>F,TL:()=>C,U0:()=>O,Ug:()=>d,WH:()=>J,X$:()=>g,X_:()=>et,Xu:()=>c,Zp:()=>S,a5:()=>o,aE:()=>bt,bo:()=>l,ce:()=>v,dm:()=>b,dv:()=>Y,eb:()=>s,eu:()=>E,gd:()=>u,hB:()=>k,hK:()=>St,hv:()=>V,i8:()=>j,iU:()=>vt,jn:()=>zt,l:()=>tt,lA:()=>lt,mR:()=>h,nK:()=>a,nq:()=>at,oi:()=>_,ou:()=>nt,pH:()=>ht,rq:()=>m,tA:()=>ut,tR:()=>Mt,un:()=>it,vF:()=>B,vS:()=>P,vd:()=>gt,w2:()=>$,wM:()=>ot,xH:()=>U,xd:()=>x,yx:()=>L,z$:()=>f,z9:()=>rt,zg:()=>mt,zs:()=>I});const s="generated",n="resize",a="visibilitychange",o=100,r=.5,c=1e3,l={x:0,y:0,z:0},d={a:1,b:0,c:0,d:1},h="random",u=2,p=Math.PI*u,f=60,v="true",g="false",y="canvas",m=0,b=2,w=4,x=1,z=1,S=1,M=4,k=1,_=255,P=360,E=100,T=100,D=0,L=0,O=60,R=0,A=.25,F=r+A,I=1,$=0,Z=1,V=1,q=1,G=1,C=0,H=1,B=0,j=120,N=0,X=0,K=1e4,Q=0,U=1,Y=0,J=1,W=1,tt=1,et=0,it=-A,st=1.5,nt=0,at=1,ot=0,rt=0,ct=1,lt=1,dt=1,ht=500,ut=0,pt=1,ft=0,vt=1,gt=0,yt=3,mt=6,bt=1,wt=1,xt=0,zt=0,St=0,Mt=0},1045(t,e,i){i.d(e,{e:()=>o});var s=i(3970),n=i(5933),a=i(9395);class o extends s.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,n.kZ)(t)||void 0!==t.offset&&(this.offset=(0,a.DT)(t.offset))}}},1118(t,e,i){i.d(e,{AI:()=>c,PV:()=>o});var s=i(3970),n=i(5933),a=i(9395);class o{constructor(){this.value=0}load(t){(0,n.kZ)(t)||(0,n.kZ)(t.value)||(this.value=(0,a.DT)(t.value))}}class r extends o{constructor(){super(),this.animation=new s.p}load(t){if(super.load(t),(0,n.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class c extends r{constructor(){super(),this.animation=new s.Q}load(t){super.load(t)}}},1211(t,e,i){i.d(e,{A:()=>o});var s=i(5933),n=i(6285),a=i(1755);class o extends a.O{constructor(){super(),this.animation=new n.i}static create(t,e){const i=new o;return i.load(t),void 0!==e&&((0,s.Kg)(e)||(0,s.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}},1512(t,e,i){var s;i.d(e,{d:()=>s}),function(t){t.delete="delete",t.wait="wait"}(s||(s={}))},1755(t,e,i){i.d(e,{O:()=>n});var s=i(5933);class n{constructor(){this.value=""}static create(t,e){const i=new n;return i.load(t),void 0!==e&&((0,s.Kg)(e)||(0,s.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){(0,s.kZ)(t)||(0,s.kZ)(t.value)||(this.value=t.value)}}},1786(t,e,i){i.d(e,{w:()=>a});var s=i(7541),n=i(5933);class a{constructor(){this.horizontal=new s.F,this.vertical=new s.F}load(t){(0,n.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},2264(t,e,i){var s;i.d(e,{v:()=>s}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(s||(s={}))},2930(t,e,i){i.d(e,{R:()=>a});var s=i(5933),n=i(9395);class a{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,s.kZ)(t)&&(void 0!==t.distance&&(this.distance=(0,n.DT)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},3019(t,e,i){var s;i.d(e,{x:()=>s}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(s||(s={}))},3057(t,e,i){var s;i.d(e,{g:()=>s}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(s||(s={}))},3233(t,e,i){i.d(e,{y:()=>a});var s=i(5933),n=i(9395);class a{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,s.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,n.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,n.DT)(t.maxSpeed)))}}},3269(t,e,i){i.d(e,{AE:()=>w,BR:()=>f,E9:()=>_,HQ:()=>O,Kp:()=>L,T5:()=>u,TA:()=>S,Tj:()=>b,UC:()=>E,Vh:()=>m,Xs:()=>M,YC:()=>P,hJ:()=>D,hn:()=>g,lV:()=>p,n0:()=>y,tG:()=>v,td:()=>T,wJ:()=>z,zw:()=>x});var s=i(9395),n=i(595),a=i(5933),o=i(3057),r=i(411),c=i(5647),l=i(2264),d=i(5235),h=i(4116);i(5450);function u(){return globalThis.document}function p(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function f(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function v(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function g(t,e){return t===e||(0,a.cy)(e)&&e.includes(t)}function y(t){return Math.floor((0,s.G0)()*t.length)}function m(t,e,i=!0){return t[void 0!==e&&i?e%t.length:y(t)]}function b(t,e,i,s,n){return function(t,e,i,s){let n=!0;s&&s!==l.v.bottom||(n=t.top<e.height+i.x);!n||s&&s!==l.v.left||(n=t.right>i.x);!n||s&&s!==l.v.right||(n=t.left<e.width+i.y);!n||s&&s!==l.v.top||(n=t.bottom>i.y);return n}(w(t,s??0),e,i,n)}function w(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function x(t,...e){for(const i of e){if(null==i)continue;if(!(0,a.Gv)(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):(0,a.Gv)(t)&&!Array.isArray(t)||(t={});for(const e in i){if("__proto__"===e)continue;const s=i[e],n=t;n[e]=(0,a.Gv)(s)&&Array.isArray(s)?s.map(t=>x(n[e],t)):x(n[e],s)}}return t}function z(t,e){return(0,a.cy)(t)?t.map((t,i)=>e(t,i)):e(t,0)}function S(t,e,i){return(0,a.cy)(t)?m(t,e,i):t}function M(t,e){const i=t.value,a=t.animation,c={delayTime:(0,s.VG)(a.delay)*n.Xu,enable:a.enable,value:(0,s.VG)(t.value)*e,max:(0,s.W9)(i)*e,min:(0,s.Sg)(i)*e,loops:0,maxLoops:(0,s.VG)(a.count),time:0};if(a.enable){switch(c.decay=1-(0,s.VG)(a.decay),a.mode){case o.g.increase:c.status=r.H.increasing;break;case o.g.decrease:c.status=r.H.decreasing;break;case o.g.random:c.status=(0,s.G0)()>=n.MX?r.H.increasing:r.H.decreasing}const t=a.mode===o.g.auto;switch(a.startValue){case h.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case h.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case h.S.random:default:c.value=(0,s.vE)(c),t&&(c.status=(0,s.G0)()>=n.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function k(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/n.a5*e.width,y:t.y/n.a5*e.height}:{width:t.width/n.a5*e.width,height:t.height/n.a5*e.height}}function _(t,e){return k(t,e)}function P(t,e){return k(t,e)}function E(t,e,i,n,a){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const o=(e.velocity??0)*a.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=a.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=o;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=o}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,s,n){switch(e){case c.V.max:i>=n&&t.destroy();break;case c.V.min:i<=s&&t.destroy()}}(t,n,e.value,l,d),e.value=(0,s.qE)(e.value,l,d)}}function T(t){const e=u().createElement("div").style;for(const i in t){const s=t[i];if(!Object.hasOwn(t,i)||(0,a.kZ)(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const o=t.getPropertyPriority?.(s);o?e.setProperty(s,n,o):e.setProperty(s,n)}return e}const D=function(t){const e=new Map;return(...i)=>{const s=JSON.stringify(i);if(e.has(s))return e.get(s);const n=t(...i);return e.set(s,n),n}}(function(t){const e=u().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e});function L(t,e,i,s,n){if(s){let s={passive:!0};(0,a.Lm)(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else{const s=n;t.removeEventListener(e,i,s)}}async function O(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}},3398(t,e,i){i.d(e,{j:()=>a});var s=i(6827),n=i(5933);class a{constructor(){this.default=s.Y.out}load(t){(0,n.kZ)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},3511(t,e,i){i.d(e,{A9e:()=>w.A,FWc:()=>p.F,Oit:()=>x.O,Yzx:()=>g.Y,v5k:()=>v.v,x_I:()=>b.x,qiC:()=>y.q,pTR:()=>h,PVU:()=>z.PV,Miz:()=>u.M,n02:()=>n.n0,l1q:()=>c.l1,AEc:()=>n.AE,qE8:()=>c.qE,FSi:()=>s.FS,zwS:()=>n.zw,puj:()=>c.pu,gdl:()=>s.gd,R1e:()=>s.R1,wJ2:()=>n.wJ,YfF:()=>c.Yf,vrU:()=>c.vr,pzy:()=>S.pz,HQK:()=>n.HQ,tZQ:()=>r.t,G0i:()=>c.G0,W9e:()=>c.W9,VGA:()=>c.VG,YCE:()=>n.YC,xxz:()=>S.xx,vSh:()=>s.vS,MXx:()=>s.MX,YLU:()=>S.YL,ayx:()=>S.ay,XsS:()=>n.Xs,hBr:()=>s.hB,cyL:()=>M.cy,hnD:()=>n.hn,kZJ:()=>M.kZ,EtT:()=>M.Et,Gvm:()=>M.Gv,Tj8:()=>n.Tj,Vh1:()=>n.Vh,TA3:()=>n.TA,$_c:()=>s.$_,K3:()=>s.K3,KpY:()=>n.Kp,XuV:()=>s.Xu,TLE:()=>s.TL,boI:()=>s.bo,M3Y:()=>c.M3,a56:()=>s.a5,vEz:()=>c.vE,R5R:()=>S.R5,BN0:()=>S.BN,euA:()=>s.eu,T5G:()=>n.T5,BRq:()=>n.BR,DT4:()=>c.DT,pHD:()=>s.pH,KZx:()=>s.KZ,$k3:()=>k,UC0:()=>n.UC,JvX:()=>S.Jv,nKi:()=>s.nK});var s=i(595),n=i(3269);class a{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,a=i.indexOf(e);a<s.z9||(n===s.LD?this._listeners.delete(t):i.splice(a,s.LD))}}var o=i(5805),r=i(9385),c=i(9395);const l="100%";class d{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new a,this._initialized=!1,this._isRunningLoaders=!1,this._loadPromises=new Set,this._allLoadersSet=new Set,this._executedSet=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={movers:new Map,updaters:new Map},this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.5"}addColorManager(t){this.colorManagers.set(t.key,t)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(o.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getMovers(t,e=!1){return(0,n.HQ)(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return(0,n.HQ)(t,this.updaters,this._initializers.updaters,e)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(const t of this._allLoadersSet)await this._runLoader(t,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,s.JC)}async load(t){await this.init();const{Container:e}=await i.e(990).then(i.bind(i,1990)),a=t.id??t.element?.id??`tsparticles${Math.floor((0,c.G0)()*s.$v).toString()}`,{index:o,url:d}=t,h=d?await async function(t){const e=(0,n.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,r.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:d,index:o}):t.options,u=(0,n.TA)(h,o),{items:p}=this,f=p.findIndex(t=>t.id.description===a),v=new e(this,a,u);if(f>=s.PZ){const t=this.item(f),e=t?s.xH:s.dv;t&&!t.destroyed&&t.destroy(!1),p.splice(f,e,v)}else p.push(v);const g=((t,e)=>{const i=(0,n.T5)();let a=e??i.getElementById(t);return a||(a=i.createElement("div"),a.id=t,a.dataset[s.eb]=s.ce,i.body.append(a),a)})(a,t.element),y=(t=>{const e=(0,n.T5)();let i;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===s.RF)i=t,i.dataset[s.eb]??=s.X$;else{const n=t.getElementsByTagName(s.RF)[s.Nx];n?(i=n,i.dataset[s.eb]=s.X$):(i=e.createElement(s.RF),i.dataset[s.eb]=s.ce,t.appendChild(i))}return i.style.width||=l,i.style.height||=l,i})(g);return v.canvas.loadCanvas(y),await v.start(),v}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}async register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._isRunningLoaders?await this._runLoader(e,this._executedSet,this._allLoadersSet):this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}async _runLoader(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this))}}i(7962);var h,u=i(5450),p=i(8096);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(h||(h={}));var f,v=i(2264),g=(i(3057),i(1512),i(6827)),y=i(5235);i(5681),i(5647);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(f||(f={}));var m,b=i(3019);i(4116);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(m||(m={}));i(411);var w=i(1211),x=(i(3970),i(1045),i(6285),i(4045),i(1755)),z=(i(1786),i(7541),i(9967),i(214),i(2930),i(3751),i(248),i(4378),i(3233),i(3398),i(9030),i(9550),i(304),i(8427),i(4055),i(7521),i(4339),i(6847),i(6073),i(4865),i(1118)),S=(i(8473),i(4338)),M=(i(9029),i(5933));const k=new d;globalThis.tsParticles=k},3751(t,e,i){i.d(e,{y:()=>p});var s=i(8096),n=i(5933),a=i(248),o=i(2930),r=i(4378),c=i(3233),l=i(9030),d=i(3398),h=i(9550),u=i(9395);class p{constructor(){this.angle=new a.h,this.attract=new o.R,this.center=new r.Z,this.decay=0,this.distance={},this.direction=s.F.none,this.drift=0,this.enable=!1,this.gravity=new c.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new h.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,n.kZ)(t))return;this.angle.load((0,n.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,n.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,n.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},3970(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var s=i(3057),n=i(4116),a=i(5933),o=i(9395);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,a.kZ)(t)||(void 0!==t.count&&(this.count=(0,o.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,o.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,o.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,o.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class c extends r{constructor(){super(),this.mode=s.g.auto,this.startValue=n.S.random}load(t){super.load(t),(0,a.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},4045(t,e,i){i.d(e,{J:()=>h});var s=i(3269),n=i(5933),a=i(1755);class o{constructor(){this.color=new a.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,n.kZ)(t)||(void 0!==t.color&&(this.color=a.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{constructor(){this.enable=!0,this.zIndex=0}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class c{constructor(){this.delay=.5,this.enable=!0}load(t){(0,n.kZ)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}var l=i(9029),d=i(9395);class h{constructor(t,e){this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new o,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new r,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,l.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new c,this.smooth=!1,this.style={},this.zLayers=100}load(t){if((0,n.kZ)(t))return;void 0!==t.preset&&(0,s.wJ)(t.preset,t=>{this._importPreset(t)}),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,d.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,d.DT)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const a=t.fullScreen;(0,n.Lm)(a)?this.fullScreen.enable=a:this.fullScreen.load(a),this.particles.load(t.particles),this.resize.load(t.resize),this.style=(0,s.zw)(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._engine.plugins.forEach(e=>{e.loadOptions(this._container,this,t)})}}},4055(t,e,i){i.d(e,{Y:()=>o});var s=i(7521),n=i(1118),a=i(5933);class o extends n.AI{constructor(){super(),this.animation=new s.I,this.value=1}load(t){if((0,a.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},4116(t,e,i){var s;i.d(e,{S:()=>s}),function(t){t.max="max",t.min="min",t.random="random"}(s||(s={}))},4338(t,e,i){i.d(e,{BN:()=>h,Jv:()=>k,LC:()=>w,O_:()=>x,R5:()=>p,YL:()=>v,ay:()=>g,pz:()=>z,xx:()=>m});var s=i(9395),n=i(595),a=i(5933),o=i(411),r=i(3269);const c=new Map;function l(t,e){let i=c.get(t);if(!i){if(i=e(),c.size>=1e3){[...c.keys()].slice(0,1e3*n.MX).forEach(t=>c.delete(t))}c.set(t,i)}return i}function d(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function h(t,e,i,s=!0){if(!e)return;const n=(0,a.Kg)(e)?{value:e}:e;if((0,a.Kg)(n.value))return u(t,n.value,i,s);if((0,a.cy)(n.value)){const e=(0,r.Vh)(n.value,i,s);if(!e)return;return h(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function u(t,e,i,s=!0){if(!e)return;const o=(0,a.Kg)(e)?{value:e}:e;if((0,a.Kg)(o.value))return o.value===n.mR?y():function(t,e){return d(t,e)}(t,o.value);if((0,a.cy)(o.value)){const e=(0,r.Vh)(o.value,i,s);if(!e)return;return u(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(o);if(t)return t}}function p(t,e,i,s=!0){const n=h(t,e,i,s);return n?f(n):void 0}function f(t){const e=t.r/n.oi,i=t.g/n.oi,s=t.b/n.oi,a=Math.max(e,i,s),o=Math.min(e,i,s),r={h:n.L1,l:(a+o)*n.MX,s:n.yx};return a!==o&&(r.s=r.l<n.MX?(a-o)/(a+o):(a-o)/(n.gd-a-o),r.h=e===a?(i-s)/(a-o):i===a?n.gd+(s-e)/(a-o):n.gd*n.gd+(e-i)/(a-o)),r.l*=n.$_,r.s*=n.eu,r.h*=n.U0,r.h<n.L1&&(r.h+=n.vS),r.h>=n.vS&&(r.h-=n.vS),r}function v(t){const e=(t.h%n.vS+n.vS)%n.vS,i=Math.max(n.yx,Math.min(n.eu,t.s)),s=Math.max(n.vd,Math.min(n.$_,t.l)),a=e/n.vS,o=i/n.eu,r=s/n.$_;if(i===n.yx){const t=Math.round(r*n.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*n.zg<1)return t+(e-t)*n.zg*i;if(i*n.gd<1)return e;if(i*n.Nu<1*n.gd){return t+(e-t)*(n.gd/n.Nu-i)*n.zg}return t},l=r<n.MX?r*(n.aE+o):r+o-r*o,d=n.gd*r-l,h=n.BF/n.Nu,u=Math.min(n.oi,n.oi*c(d,l,a+h)),p=Math.min(n.oi,n.oi*c(d,l,a)),f=Math.min(n.oi,n.oi*c(d,l,a-h));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}function g(t){const e=v(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function y(t){const e=t??n.Fl,i=n.oi+n.D_,a=()=>Math.floor((0,s.e4)(e,i));return{b:a(),g:a(),r:a()}}function m(t,e,i){const s=i??n.hv;return l(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?b(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??n.hv).toString()})`}(t,i))}function b(t,e){return`color(display-p3 ${(t.r/n.oi).toString()} ${(t.g/n.oi).toString()} ${(t.b/n.oi).toString()} / ${(e??n.hv).toString()})`}function w(t,e,i){const s=i??n.hv;return l(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?function(t,e){return b(v(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??n.hv).toString()})`}(t,i))}function x(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function z(t,e,i){const s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(S(s.h,e.h,i),S(s.s,e.s,i),S(s.l,e.l,i)),s}function S(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,s.VG)(e.speed)/n.a5*i,t.decay=n.WH-(0,s.VG)(e.decay),t.status=o.H.increasing,t.loops=n.hK,t.maxLoops=(0,s.VG)(e.count),t.time=n.tR,t.delayTime=(0,s.VG)(e.delay)*n.Xu,e.sync||(t.velocity*=(0,s.G0)(),t.value*=(0,s.G0)()),t.initialValue=t.value,t.offset=(0,s.DT)(e.offset)):t.velocity=n.jn}function M(t,e,i,n){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=n.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const a=t.offset?(0,s.vE)(t.offset):0,r=(t.velocity??0)*n.factor+3.6*a,c=t.decay??1,l=(0,s.W9)(e),d=(0,s.Sg)(e);if(i&&t.status!==o.H.increasing){t.value-=r;const e=0;t.value<e&&(t.loops??=0,t.loops++,t.status=o.H.increasing)}else t.value+=r,t.value>l&&(t.loops??=0,t.loops++,i?t.status=o.H.decreasing:t.value-=l);t.velocity&&1!==c&&(t.velocity*=c),t.value=(0,s.qE)(t.value,d,l)}function k(t,e){if(!t)return;const{h:i,s,l:a}=t,o={h:{min:n.L1,max:n.vS},s:{min:n.yx,max:n.eu},l:{min:n.vd,max:n.$_}};M(i,o.h,!1,e),M(s,o.s,!0,e),M(a,o.l,!0,e)}},4339(t,e,i){i.d(e,{y:()=>a});var s=i(3269),n=i(5933);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,n.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},4378(t,e,i){i.d(e,{Z:()=>a});var s=i(5235),n=i(5933);class a{constructor(){this.x=50,this.y=50,this.mode=s.q.percent,this.radius=0}load(t){(0,n.kZ)(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},4865(t,e,i){i.d(e,{P:()=>a});var s=i(1118),n=i(5933);class a extends s.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,n.kZ)(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}},5235(t,e,i){var s;i.d(e,{q:()=>s}),function(t){t.precise="precise",t.percent="percent"}(s||(s={}))},5450(t,e,i){i.d(e,{M:()=>a,p:()=>n});var s=i(595);class n{constructor(t=s.bo.x,e=s.bo.y,i=s.bo.z){this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},this.x=t,this.y=e,this.z=i}static get origin(){return n.create(s.bo.x,s.bo.y,s.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return n.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new n(t,e??s.bo.y,i??s.bo.z):new n(t.x,t.y,Object.hasOwn(t,"z")?t.z:s.bo.z)}add(t){return n.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return n.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return n.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**s.dm+this.y**s.dm}mult(t){return n.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=s.dv&&this.multTo(s.hB/t)}rotate(t){return n.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),s.bo.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:s.bo.z}sub(t){return n.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class a extends n{constructor(t=s.bo.x,e=s.bo.y){super(t,e,s.bo.z)}static get origin(){return a.create(s.bo.x,s.bo.y)}static clone(t){return a.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new a(t,e??s.bo.y):new a(t.x,t.y)}}},5647(t,e,i){var s;i.d(e,{V:()=>s}),function(t){t.none="none",t.max="max",t.min="min"}(s||(s={}))},5681(t,e,i){var s;i.d(e,{H:()=>s}),function(t){t.darken="darken",t.enlighten="enlighten"}(s||(s={}))},5805(t,e,i){var s;i.d(e,{B:()=>s}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(s||(s={}))},5933(t,e,i){function s(t){return"boolean"==typeof t}function n(t){return"string"==typeof t}function a(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function r(t){return Array.isArray(t)}function c(t){return null==t}i.d(e,{Et:()=>a,Gv:()=>o,Kg:()=>n,Lm:()=>s,cy:()=>r,kZ:()=>c})},6073(t,e,i){i.d(e,{q:()=>o});var s=i(5647),n=i(3970),a=i(5933);class o extends n.Q{constructor(){super(),this.destroy=s.V.none,this.speed=5}load(t){super.load(t),(0,a.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},6285(t,e,i){i.d(e,{i:()=>a});var s=i(1045),n=i(5933);class a{constructor(){this.h=new s.e,this.s=new s.e,this.l=new s.e}load(t){(0,n.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},6827(t,e,i){var s;i.d(e,{Y:()=>s}),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(s||(s={}))},6847(t,e,i){i.d(e,{o:()=>o});var s=i(1118),n=i(6073),a=i(5933);class o extends s.AI{constructor(){super(),this.animation=new n.q,this.value=3}load(t){if(super.load(t),(0,a.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},7521(t,e,i){i.d(e,{I:()=>o});var s=i(5647),n=i(3970),a=i(5933);class o extends n.Q{constructor(){super(),this.destroy=s.V.none,this.speed=2}load(t){super.load(t),(0,a.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},7541(t,e,i){i.d(e,{F:()=>n});var s=i(1118);class n extends s.PV{constructor(){super(),this.value=1}}},7962(t,e,i){var s;i.d(e,{jl:()=>r,M_:()=>c}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}));var n=i(9395),a=i(595);class o{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class r extends o{constructor(t,e,i){super(t,e,s.circle),this.radius=i}contains(t){return(0,n.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,n=Math.abs(i.x-e.x),o=Math.abs(i.y-e.y),l=this.radius;if(t instanceof r||t.type===s.circle){return l+t.radius>Math.sqrt(n**a.dm+o**a.dm)}if(t instanceof c||t.type===s.rectangle){const e=t,{width:i,height:s}=e.size;return Math.pow(n-i,a.dm)+Math.pow(o-s,a.dm)<=l**a.dm||n<=l+i&&o<=l+s||n<=i||o<=s}return!1}}class c extends o{constructor(t,e,i,n){super(t,e,s.rectangle),this.size={height:n,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof r)return t.intersects(this);const e=this.size.width,i=this.size.height,s=this.position,n=t.position,a=t instanceof c?t.size:{width:0,height:0},o=a.width,l=a.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+l>s.y}}},8096(t,e,i){var s;i.d(e,{F:()=>s}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(s||(s={}))},8427(t,e,i){i.d(e,{A:()=>a});var s=i(1512),n=i(5933);class a{constructor(){this.mode=s.d.delete,this.value=0}load(t){(0,n.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8473(t,e,i){i.d(e,{IU:()=>c,Md:()=>r,Sn:()=>o,Wb:()=>h,e_:()=>d,l7:()=>a,p0:()=>l,yx:()=>u});var s=i(595),n=i(5681);function a(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function o(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(s.bo.x,s.bo.y,e.width,e.height)}function r(t,e,i,n){i&&(t.globalAlpha=n,t.drawImage(i,s.bo.x,s.bo.y,e.width,e.height),t.globalAlpha=1)}function c(t,e){t.clearRect(s.bo.x,s.bo.y,e.width,e.height)}function l(t){const{container:e,context:i,particle:n,delta:a,colorStyles:o,radius:r,opacity:c,transform:l}=t,d=n.getPosition(),h=n.getTransformData(l);i.setTransform(h.a,h.b,h.c,h.d,d.x,d.y),o.fill&&(i.fillStyle=o.fill);const u=n.strokeWidth??s.Dv;i.lineWidth=u,o.stroke&&(i.strokeStyle=o.stroke);const p={context:i,particle:n,radius:r,opacity:c,delta:a,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:u>s.Dv||!n.shapeFill,transformData:h};!function(t,e){const{particle:i}=e;if(!i.effect)return;const s=t.effectDrawers.get(i.effect);if(!s?.drawBefore)return;s.drawBefore(e)}(e,p),function(t,e){const{particle:i}=e;if(!i.shape)return;const s=t.shapeDrawers.get(i.shape);if(!s?.beforeDraw)return;s.beforeDraw(e)}(e,p),function(t,e){const{context:i,particle:s,stroke:n}=e;if(!s.shape)return;const a=t.shapeDrawers.get(s.shape);if(!a)return;i.beginPath(),a.draw(e),s.shapeClose&&i.closePath();n&&i.stroke();s.shapeFill&&i.fill()}(e,p),function(t,e){const{particle:i}=e;if(!i.shape)return;const s=t.shapeDrawers.get(i.shape);if(!s?.afterDraw)return;s.afterDraw(e)}(e,p),function(t,e){const{particle:i}=e;if(!i.effect)return;const s=t.effectDrawers.get(i.effect),n=s?.drawAfter;if(!n)return;n(e)}(e,p),i.resetTransform()}function d(t,e,i){e.draw&&e.draw(t,i)}function h(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}function u(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===n.H.darken?-s.iU:s.iU)*i}}},9029(t,e,i){i.d(e,{Z:()=>n,y:()=>a});var s=i(9967);function n(t,...e){for(const i of e)t.load(i)}function a(t,e,...i){const a=new s.U(t,e);return n(a,...i),a}},9030(t,e,i){i.d(e,{v:()=>o});var s=i(1118),n=i(3269),a=i(5933);class o{constructor(){this.clamp=!0,this.delay=new s.PV,this.enable=!1,this.options={}}load(t){(0,a.kZ)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,n.zw)(this.options,t.options)))}}},9385(t,e,i){i.d(e,{t:()=>n});const s={debug:console.debug,error:(t,e)=>{console.error(`tsParticles - Error - ${t}`,e)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function n(){return s}},9395(t,e,i){i.d(e,{$m:()=>M,DT:()=>b,G0:()=>d,JY:()=>S,M3:()=>P,Nx:()=>_,Sg:()=>y,VG:()=>g,W9:()=>m,Yf:()=>x,e4:()=>h,i0:()=>u,l1:()=>k,pu:()=>z,px:()=>p,qE:()=>f,vE:()=>v,vr:()=>w});var s=i(8096),n=i(595),a=i(5450),o=i(5933);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(){return f(c(),0,1-Number.EPSILON)}function h(t,e){return d()*(e-t)+t}function u(t){return l.nextFrame(t)}function p(t){l.cancel(t)}function f(t,e,i){return Math.min(Math.max(t,e),i)}function v(t){const e=m(t);let i=y(t);return e===i&&(i=0),h(i,e)}function g(t){return(0,o.Et)(t)?t:v(t)}function y(t){return(0,o.Et)(t)?t:t.min}function m(t){return(0,o.Et)(t)?t:t.max}function b(t,e){if(t===e||void 0===e&&(0,o.Et)(t))return t;const i=y(t),s=m(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:b(i,s)}function w(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.sqrt(i**2+s**2)}}function x(t,e){return w(t,e).distance}function z(t){return t*r}function S(t,e,i){if((0,o.Et)(t))return z(t);switch(t){case s.F.top:return-Math.PI*n.MX;case s.F.topRight:return-Math.PI*n.$G;case s.F.right:return n.Ie;case s.F.bottomRight:return Math.PI*n.$G;case s.F.bottom:return Math.PI*n.MX;case s.F.bottomLeft:return Math.PI*n.Rq;case s.F.left:return Math.PI;case s.F.topLeft:return-Math.PI*n.Rq;case s.F.inside:return Math.atan2(i.y-e.y,i.x-e.x);case s.F.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return d()*n.R1}}function M(t){const e=a.M.origin;return e.length=1,e.angle=t,e}function k(t){const e={x:void 0!==t.position?.x?g(t.position.x):void 0,y:void 0!==t.position?.y?g(t.position.y):void 0};return function(t){return{x:(t.position?.x??d()*n.a5)*t.size.width/n.a5,y:(t.position?.y??d()*n.a5)*t.size.height/n.a5}}({size:t.size,position:e})}function _(t){const{position:e,size:i}=t;return{x:e?.x??d()*i.width,y:e?.y??d()*i.height}}function P(t){return t?t.endsWith("%")?parseFloat(t)/n.a5:parseFloat(t):1}},9550(t,e,i){i.d(e,{t:()=>o});var s=i(3269),n=i(5933),a=i(9395);class o{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,n.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,a.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,s.zw)({},t.position)))}}},9967(t,e,i){i.d(e,{U:()=>v});var s=i(3269),n=i(1211),a=i(5933);class o{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if((0,a.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(3751),c=i(4055),l=i(1786),d=i(304),h=i(4339),u=i(6847),p=i(214),f=i(4865);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new n.A,this.color.value="#fff",this.effect=new o,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new h.y,this.size=new u.o,this.stroke=new p.t,this.zIndex=new f.P}load(t){if((0,a.kZ)(t))return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,s.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(n.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex);const e=t.stroke;if(e&&(this.stroke=(0,s.wJ)(e,t=>{const e=new p.t;return e.load(t),e})),this._container){for(const e of this._engine.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this._container,this,t);const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}}}},s={};function n(t){var e=s[t];if(void 0!==e)return e.exports;var a=s[t]={exports:{}};return i[t](a,a.exports,n),a.exports}n.m=i,n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.f={},n.e=t=>Promise.all(Object.keys(n.f).reduce((e,i)=>(n.f[i](t,e),e),[])),n.u=t=>t+".min.js",n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/preset-hyperspace:",n.l=(i,s,a,o)=>{if(t[i])t[i].push(s);else{var r,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var h=l[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+a){r=h;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",n.nc&&r.setAttribute("nonce",n.nc),r.setAttribute("data-webpack",e+a),r.src=i),t[i]=[s];var u=(e,s)=>{r.onerror=r.onload=null,clearTimeout(p);var n=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),n&&n.forEach(t=>t(s)),e)return e(s)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),c&&document.head.appendChild(r)}},n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&(!t||!/^http(s?):/.test(t));)t=i[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t})(),(()=>{var t={358:0};n.f.j=(e,i)=>{var s=n.o(t,e)?t[e]:void 0;if(0!==s)if(s)i.push(s[2]);else{var a=new Promise((i,n)=>s=t[e]=[i,n]);i.push(s[2]=a);var o=n.p+n.u(e),r=new Error;n.l(o,i=>{if(n.o(t,e)&&(0!==(s=t[e])&&(t[e]=void 0),s)){var a=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",r.name="ChunkLoadError",r.type=a,r.request=o,s[1](r)}},"chunk-"+e,e)}};var e=(e,i)=>{var s,a,[o,r,c]=i,l=0;if(o.some(e=>0!==t[e])){for(s in r)n.o(r,s)&&(n.m[s]=r[s]);if(c)c(n)}for(e&&e(i);l<o.length;l++)a=o[l],n.o(t,a)&&t[a]&&t[a][0](),t[a]=0},i=this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var a={};n.r(a),n.d(a,{loadHyperspacePreset:()=>r,tsParticles:()=>c.$k3});const o="hyperspace";async function r(t){await t.register(async t=>{const{loadBasic:e}=await n.e(196).then(n.bind(n,1196)),{loadEmittersPlugin:i}=await n.e(309).then(n.bind(n,7309)),{loadEmittersShapeSquare:s}=await n.e(488).then(n.bind(n,9488)),{loadTrailPlugin:a}=await n.e(158).then(n.bind(n,2158)),{loadLifeUpdater:r}=await n.e(142).then(n.bind(n,8142)),{options:c}=await n.e(778).then(n.bind(n,8778));await e(t),await i(t),await s(t),await a(t),await r(t),t.addPreset(o,c)})}var c=n(3511);return a})());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Hyperspace Preset v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Hyperspace Preset v4.0.0-alpha.2 by Matteo Bruni */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v4.0.0-alpha.
|
|
7
|
+
* v4.0.0-alpha.2
|
|
8
8
|
*/
|
|
9
9
|
/*
|
|
10
10
|
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
@@ -34,7 +34,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
34
34
|
\*******************************/
|
|
35
35
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
36
36
|
|
|
37
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHyperspacePreset: () => (/* binding */ loadHyperspacePreset)\n/* harmony export */ });\
|
|
37
|
+
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.register(async e => {\n const {\n loadBasic\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n {\n loadEmittersPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\", 19)),\n {\n loadEmittersShapeSquare\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\", 19)),\n {\n loadTrailPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-trail */ \"@tsparticles/plugin-trail\", 19)),\n {\n loadLifeUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n {\n options\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"));\n await loadBasic(e);\n await loadEmittersPlugin(e);\n await loadEmittersShapeSquare(e);\n await loadTrailPlugin(e);\n await loadLifeUpdater(e);\n e.addPreset(presetName, options);\n });\n}\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/./dist/browser/index.js?\n}");
|
|
38
38
|
|
|
39
39
|
/***/ },
|
|
40
40
|
|
|
@@ -198,18 +198,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
|
|
|
198
198
|
/******/ };
|
|
199
199
|
/******/ })();
|
|
200
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
201
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
214
202
|
/******/ (() => {
|
|
215
203
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
@@ -274,8 +262,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
|
|
|
274
262
|
/******/ /* webpack/runtime/publicPath */
|
|
275
263
|
/******/ (() => {
|
|
276
264
|
/******/ var scriptUrl;
|
|
277
|
-
/******/ if (
|
|
278
|
-
/******/ var document =
|
|
265
|
+
/******/ if (globalThis.importScripts) scriptUrl = globalThis.location + "";
|
|
266
|
+
/******/ var document = globalThis.document;
|
|
279
267
|
/******/ if (!scriptUrl && document) {
|
|
280
268
|
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
281
269
|
/******/ scriptUrl = document.currentScript.src;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.preset.hyperspace.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/updater-life"),require("@tsparticles/plugin-trail"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-life","@tsparticles/plugin-trail","@tsparticles/plugin-emitters-shape-square","@tsparticles/plugin-emitters","@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/updater-life"),require("@tsparticles/plugin-trail"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r,i,o
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/updater-life"),require("@tsparticles/plugin-trail"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-life","@tsparticles/plugin-trail","@tsparticles/plugin-emitters-shape-square","@tsparticles/plugin-emitters","@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/updater-life"),require("@tsparticles/plugin-trail"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r,i,a,o)=>(()=>{var s,n,p,l,c={75(t){t.exports=e},140(e){e.exports=r},145(e){e.exports=a},303(e){e.exports=o},383(e){e.exports=t},526(e){e.exports=i}},u={};function d(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return c[e](r,r.exports,d),r.exports}d.m=c,n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);d.r(r);var i={};s=s||[null,n({}),n([]),n(n)];for(var a=2&t&&e;("object"==typeof a||"function"==typeof a)&&!~s.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,d.d(r,i),r},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce((t,r)=>(d.f[r](e,t),t),[])),d.u=e=>e+".min.js",d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p={},l="@tsparticles/preset-hyperspace:",d.l=(e,t,r,i)=>{if(p[e])p[e].push(t);else{var a,o;if(void 0!==r)for(var s=document.getElementsByTagName("script"),n=0;n<s.length;n++){var c=s[n];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==l+r){a=c;break}}a||(o=!0,(a=document.createElement("script")).charset="utf-8",d.nc&&a.setAttribute("nonce",d.nc),a.setAttribute("data-webpack",l+r),a.src=e),p[e]=[t];var u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(f);var i=p[e];if(delete p[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(r)),t)return t(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),o&&document.head.appendChild(a)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=r[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),d.p=e})(),(()=>{var e={480:0};d.f.j=(t,r)=>{var i=d.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var a=new Promise((r,a)=>i=e[t]=[r,a]);r.push(i[2]=a);var o=d.p+d.u(t),s=new Error;d.l(o,r=>{if(d.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,i[1](s)}},"chunk-"+t,t)}};var t=(t,r)=>{var i,a,[o,s,n]=r,p=0;if(o.some(t=>0!==e[t])){for(i in s)d.o(s,i)&&(d.m[i]=s[i]);if(n)n(d)}for(t&&t(r);p<o.length;p++)a=o[p],d.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=this.webpackChunk_tsparticles_preset_hyperspace=this.webpackChunk_tsparticles_preset_hyperspace||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var f={};d.r(f),d.d(f,{loadHyperspacePreset:()=>h});const b="hyperspace";async function h(e){await e.register(async e=>{const{loadBasic:t}=await Promise.resolve().then(d.t.bind(d,145,19)),{loadEmittersPlugin:r}=await Promise.resolve().then(d.t.bind(d,526,19)),{loadEmittersShapeSquare:i}=await Promise.resolve().then(d.t.bind(d,140,19)),{loadTrailPlugin:a}=await Promise.resolve().then(d.t.bind(d,383,19)),{loadLifeUpdater:o}=await Promise.resolve().then(d.t.bind(d,75,19)),{options:s}=await d.e(778).then(d.bind(d,778));await t(e),await r(e),await i(e),await a(e),await o(e),e.addPreset(b,s)})}return f})());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Hyperspace Preset v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Hyperspace Preset v4.0.0-alpha.2 by Matteo Bruni */
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Engine } from "@tsparticles/engine";
|
|
2
|
-
export declare function loadHyperspacePreset(engine: Engine): void
|
|
2
|
+
export declare function loadHyperspacePreset(engine: Engine): Promise<void>;
|
package/types/options.d.ts
CHANGED
package/umd/index.js
CHANGED
|
@@ -44,14 +44,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
44
44
|
var __syncRequire = typeof module === "object" && typeof module.exports === "object";
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
46
|
exports.loadHyperspacePreset = loadHyperspacePreset;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
loadBasic(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
const presetName = "hyperspace";
|
|
48
|
+
async function loadHyperspacePreset(engine) {
|
|
49
|
+
await engine.register(async (e) => {
|
|
50
|
+
const { loadBasic } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/basic"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/basic"], resolve_1, reject_1); }).then(__importStar)), { loadEmittersPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-emitters"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/plugin-emitters"], resolve_2, reject_2); }).then(__importStar)), { loadEmittersShapeSquare } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-emitters-shape-square"))) : new Promise((resolve_3, reject_3) => { require(["@tsparticles/plugin-emitters-shape-square"], resolve_3, reject_3); }).then(__importStar)), { loadTrailPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-trail"))) : new Promise((resolve_4, reject_4) => { require(["@tsparticles/plugin-trail"], resolve_4, reject_4); }).then(__importStar)), { loadLifeUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-life"))) : new Promise((resolve_5, reject_5) => { require(["@tsparticles/updater-life"], resolve_5, reject_5); }).then(__importStar)), { options } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./options.js"))) : new Promise((resolve_6, reject_6) => { require(["./options.js"], resolve_6, reject_6); }).then(__importStar));
|
|
51
|
+
await loadBasic(e);
|
|
52
|
+
await loadEmittersPlugin(e);
|
|
53
|
+
await loadEmittersShapeSquare(e);
|
|
54
|
+
await loadTrailPlugin(e);
|
|
55
|
+
await loadLifeUpdater(e);
|
|
55
56
|
e.addPreset(presetName, options);
|
|
56
57
|
});
|
|
57
58
|
}
|
package/umd/options.js
CHANGED
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
})(function (require, exports) {
|
|
10
10
|
"use strict";
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.options =
|
|
12
|
+
exports.options = void 0;
|
|
13
13
|
const engine_1 = require("@tsparticles/engine");
|
|
14
|
-
exports.presetName = "hyperspace";
|
|
15
14
|
exports.options = {
|
|
16
15
|
background: {
|
|
17
16
|
color: "#000000",
|