@tsparticles/preset-links 4.0.0-alpha.0 → 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/180.min.js +2 -0
- package/180.min.js.LICENSE.txt +1 -0
- package/196.min.js +2 -0
- package/196.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/342.min.js +2 -0
- package/342.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/420.min.js +2 -0
- package/420.min.js.LICENSE.txt +1 -0
- package/426.min.js +2 -0
- package/426.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/{926.min.js → 505.min.js} +2 -2
- package/505.min.js.LICENSE.txt +1 -0
- package/557.min.js +2 -0
- package/557.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/75.min.js +2 -0
- package/75.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/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 +6 -5
- package/browser/options.js +0 -1
- package/cjs/index.js +6 -5
- package/cjs/options.js +0 -1
- package/dist_browser_options_js.js +2 -2
- package/esm/index.js +6 -5
- 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_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-b975fc.js → node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-9c1b02.js} +14 -14
- package/{node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-100d2d.js → node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-a903c4.js} +5 -5
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_5_node_modules_tspartic-dce81a.js +40 -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-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_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-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 +4 -4
- package/report.html +1 -1
- package/tsparticles.preset.links.bundle.js +197 -389
- package/tsparticles.preset.links.bundle.min.js +1 -1
- package/tsparticles.preset.links.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.links.js +4 -16
- package/tsparticles.preset.links.min.js +1 -1
- package/tsparticles.preset.links.min.js.LICENSE.txt +1 -1
- package/types/index.d.ts +1 -1
- package/types/options.d.ts +0 -1
- package/umd/index.js +6 -5
- 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_interaction-particles-links_4_0_0-alpha_5_node_modules_-a49c8d.js +140 -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/1.min.js +0 -2
- package/1.min.js.LICENSE.txt +0 -1
- package/125.min.js +0 -2
- package/125.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/248.min.js +0 -2
- package/248.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/330.min.js +0 -2
- package/330.min.js.LICENSE.txt +0 -1
- package/349.min.js +0 -2
- package/349.min.js.LICENSE.txt +0 -1
- package/40.min.js +0 -2
- package/40.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/509.min.js +0 -2
- package/509.min.js.LICENSE.txt +0 -1
- package/597.min.js +0 -2
- package/597.min.js.LICENSE.txt +0 -1
- package/633.min.js +0 -2
- package/633.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/926.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_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-2be21a.js +0 -30
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-alpha_2_node_modules_tspartic-d9c3ec.js +0 -40
- package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +0 -40
- 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_interaction-particles-links_4_0_0-alpha_2_node_modules_-9dae0c.js +0 -50
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.preset.links.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:()=>_,DT:()=>w,G0:()=>d,JY:()=>M,M3:()=>P,Nx:()=>D,Sg:()=>y,VG:()=>g,W9:()=>b,Yf:()=>k,e4:()=>h,i0:()=>u,jh:()=>v,pu:()=>z,px:()=>p,qE:()=>f,vE:()=>m,vr:()=>x});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,e,i,s){return Math.floor((t*i+e*s)/(i+s))}function m(t){const e=b(t);let i=y(t);return e===i&&(i=0),h(i,e)}function g(t){return(0,a.Et)(t)?t:m(t)}function y(t){return(0,a.Et)(t)?t:t.min}function b(t){return(0,a.Et)(t)?t:t.max}function w(t,e){if(t===e||void 0===e&&(0,a.Et)(t))return t;const i=y(t),s=b(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:w(i,s)}function x(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 k(t,e){return x(t,e).distance}function z(t){return t*r}function M(t,e,i){if((0,a.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 _(t){const e=o.M.origin;return e.length=1,e.angle=t,e}function D(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:()=>l,Md:()=>c,Sn:()=>r,V6:()=>a,Wb:()=>u,e_:()=>h,l7:()=>o,p0:()=>d,yx:()=>p});var s=i(9622),n=i(6242);function o(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function r(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(s.bo.x,s.bo.y,e.width,e.height)}function c(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 l(t,e){t.clearRect(s.bo.x,s.bo.y,e.width,e.height)}function d(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 h(t,e,i){e.draw&&e.draw(t,i)}function u(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}function p(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:()=>_,LC:()=>y,O_:()=>x,PG:()=>w,R5:()=>h,YL:()=>p,_h:()=>b,ay:()=>f,pz:()=>k,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,e,i){if(i===n.mR)return v();if(i!==n.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return function(t,e,i,n){let o=t,a=e;return Object.hasOwn(o,"r")||(o=p(t)),Object.hasOwn(a,"r")||(a=p(e)),{b:(0,s.jh)(o.b,a.b,i,n),g:(0,s.jh)(o.g,a.g,i,n),r:(0,s.jh)(o.r,a.r,i,n)}}(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return p(t)}}}function w(t,e,i,s){const a=(0,o.Kg)(e)?e:e.value;return a===n.mR?s?l(t,{value:a}):i?n.mR:n.BW:a===n.BW?n.BW:l(t,{value:a})}function x(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function k(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&&(z(s.h,e.h,i),z(s.s,e.s,i),z(s.l,e.l,i)),s}function z(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 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 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 _(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.$_}};M(i,a.h,!1,e),M(s,a.s,!0,e),M(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,{jlt:()=>f.jl,Oit:()=>x.O,Yzx:()=>y.Y,v5k:()=>g.v,x_I:()=>w.x,U4p:()=>u,M_G:()=>f.M_,pTR:()=>p,Miz:()=>v.M,AEc:()=>n.AE,qE8:()=>c.qE,puj:()=>c.pu,V6E:()=>k.V6,YfF:()=>c.Yf,vrU:()=>c.vr,pzy:()=>z.pz,_hh:()=>z._h,PGG:()=>z.PG,G0i:()=>c.G0,W9e:()=>c.W9,VGA:()=>c.VG,xxz:()=>z.xx,YLU:()=>z.YL,ayx:()=>z.ay,XsS:()=>n.Xs,kZJ:()=>M.kZ,Gvm:()=>M.Gv,Tj8:()=>n.Tj,M3Y:()=>c.M3,a56:()=>s.a5,vEz:()=>c.vE,R5R:()=>z.R5,BN0:()=>z.BN,$k3:()=>_,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)})}}var h=i(9495);class u{constructor(t){this.type=h.e.particles,this.container=t}}var p,f=i(555),v=i(6723);i(7933);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(p||(p={}));var m,g=i(7799),y=(i(4598),i(7075),i(7348));i(4072),i(2909),i(2246),i(6242),i(5416);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(m||(m={}));var b,w=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"}(b||(b={}));i(7096),i(2680),i(516),i(3407),i(9972),i(4724),i(7180),i(7608),i(5185),i(2623),i(4552);var x=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),i(1886)),z=i(2987),M=(i(7900),i(594));const _=new d;globalThis.tsParticles=_},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:()=>b,BR:()=>f,E9:()=>_,T5:()=>u,TA:()=>k,Tj:()=>y,UC:()=>D,Vh:()=>g,Xs:()=>z,hJ:()=>S,hn:()=>m,lV:()=>p,tG:()=>v,td:()=>P,wJ:()=>x,zw:()=>w});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,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor((0,s.G0)()*t.length)}(t)]}function y(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}(b(t,s??0),e,i,n)}function b(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function w(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=>w(n[e],t)):w(n[e],s)}}return t}function x(t,e){return(0,o.cy)(t)?t.map((t,i)=>e(t,i)):e(t,0)}function k(t,e,i){return(0,o.cy)(t)?g(t,e,i):t}function z(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 M(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 M(t,e)}function D(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 P(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 S=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:()=>W,$_:()=>V,$v:()=>nt,$x:()=>R,BF:()=>Et,BW:()=>x,Bp:()=>d,DG:()=>h,DN:()=>it,D_:()=>Mt,Dv:()=>_t,Eo:()=>lt,FS:()=>Q,Fl:()=>Rt,G3:()=>u,Ie:()=>q,JC:()=>K,K3:()=>yt,KZ:()=>Y,Kw:()=>T,L1:()=>C,LD:()=>wt,MX:()=>m,NF:()=>p,Nu:()=>St,Nx:()=>st,PZ:()=>ot,Pg:()=>A,R1:()=>z,RF:()=>P,RV:()=>U,Rb:()=>c,Rh:()=>pt,Rq:()=>B,TL:()=>J,U0:()=>j,Ug:()=>b,WH:()=>ct,X$:()=>D,X_:()=>ht,Xu:()=>g,Z0:()=>a,Zp:()=>Z,a5:()=>v,aE:()=>Tt,bo:()=>y,ce:()=>_,dm:()=>O,dv:()=>rt,eb:()=>s,eu:()=>G,gd:()=>k,hB:()=>F,hK:()=>At,hv:()=>X,i8:()=>et,iU:()=>Dt,jn:()=>Zt,l:()=>dt,lA:()=>bt,mR:()=>w,ms:()=>n,nK:()=>f,nq:()=>vt,oi:()=>I,ou:()=>ft,pH:()=>xt,rq:()=>S,s7:()=>l,sf:()=>r,tA:()=>zt,tR:()=>Ft,td:()=>kt,un:()=>ut,vF:()=>tt,vS:()=>L,vd:()=>Pt,vo:()=>o,w2:()=>N,wM:()=>mt,xH:()=>at,xd:()=>E,yx:()=>$,z$:()=>M,z9:()=>gt,zg:()=>Ot,zs:()=>H});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="mid",k=2,z=Math.PI*k,M=60,_="true",D="false",P="canvas",S=0,O=2,T=4,E=1,R=1,Z=1,A=4,F=1,I=255,L=360,G=100,V=100,C=0,$=0,j=60,q=0,W=.25,B=m+W,H=1,N=0,U=1,X=1,Q=1,Y=1,J=0,K=1,tt=0,et=120,it=0,st=0,nt=1e4,ot=0,at=1,rt=0,ct=1,lt=1,dt=1,ht=0,ut=-W,pt=1.5,ft=0,vt=1,mt=0,gt=0,yt=1,bt=1,wt=1,xt=500,kt=50,zt=0,Mt=1,_t=0,Dt=1,Pt=0,St=3,Ot=6,Tt=1,Et=1,Rt=0,Zt=0,At=0,Ft=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-links:",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={775: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_links=this.webpackChunk_tsparticles_preset_links||[];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)),{loadParticlesLinksInteraction:i}=await n.e(597).then(n.bind(n,8597)),{options:s,presetName:o}=await n.e(283).then(n.bind(n,8283));e(t),i(t),t.addPreset(o,s)})}n.r(o),n.d(o,{loadLinksPreset:()=>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:()=>a});var s=i(1211),n=i(5933),o=i(9395);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)))}}},248(t,e,i){i.d(e,{h:()=>o});var s=i(5933),n=i(9395);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)))}}},304(t,e,i){i.d(e,{N:()=>a});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 o=i(8427);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))}}},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:()=>F,$_:()=>L,$v:()=>Q,$x:()=>z,BF:()=>xt,BW:()=>u,DN:()=>N,D_:()=>pt,Dv:()=>vt,Eo:()=>tt,FS:()=>q,Fl:()=>kt,Ie:()=>I,JC:()=>B,K3:()=>lt,KZ:()=>C,Kw:()=>x,L1:()=>D,LD:()=>ht,MX:()=>r,NF:()=>n,Nu:()=>mt,Nx:()=>X,PZ:()=>U,Pg:()=>S,R1:()=>p,RF:()=>m,RV:()=>G,Rh:()=>nt,Rq:()=>A,TL:()=>j,U0:()=>R,Ug:()=>d,WH:()=>J,X$:()=>y,X_:()=>it,Xu:()=>c,Zp:()=>M,a5:()=>a,aE:()=>wt,bo:()=>l,ce:()=>g,dm:()=>w,dv:()=>Y,eb:()=>s,eu:()=>T,gd:()=>f,hB:()=>_,hK:()=>Mt,hv:()=>V,i8:()=>K,iU:()=>gt,jn:()=>zt,l:()=>et,lA:()=>dt,mR:()=>h,nK:()=>o,nq:()=>at,oi:()=>P,ou:()=>ot,pH:()=>ut,rq:()=>b,tA:()=>ft,tR:()=>St,un:()=>st,vF:()=>H,vS:()=>E,vd:()=>yt,w2:()=>$,wM:()=>rt,xH:()=>W,xd:()=>k,yx:()=>O,z$:()=>v,z9:()=>ct,zg:()=>bt,zs:()=>Z});const s="generated",n="resize",o="visibilitychange",a=100,r=.5,c=1e3,l={x:0,y:0,z:0},d={a:1,b:0,c:0,d:1},h="random",u="mid",f=2,p=Math.PI*f,v=60,g="true",y="false",m="canvas",b=0,w=2,x=4,k=1,z=1,M=1,S=4,_=1,P=255,E=360,T=100,L=100,D=0,O=0,R=60,I=0,F=.25,A=r+F,Z=1,$=0,G=1,V=1,q=1,C=1,j=0,B=1,H=0,K=120,N=0,X=0,Q=1e4,U=0,W=1,Y=0,J=1,tt=1,et=1,it=0,st=-F,nt=1.5,ot=0,at=1,rt=0,ct=0,lt=1,dt=1,ht=1,ut=500,ft=0,pt=1,vt=0,gt=1,yt=0,mt=3,bt=6,wt=1,xt=1,kt=0,zt=0,Mt=0,St=0},1045(t,e,i){i.d(e,{e:()=>a});var s=i(3970),n=i(5933),o=i(9395);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))}}},1118(t,e,i){i.d(e,{AI:()=>c,PV:()=>a});var s=i(3970),n=i(5933),o=i(9395);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)}}},1211(t,e,i){i.d(e,{A:()=>a});var s=i(5933),n=i(6285),o=i(1755);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))}}},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:()=>o});var s=i(7541),n=i(5933);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))}}},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:()=>o});var s=i(5933),n=i(9395);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)}}}},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:()=>o});var s=i(5933),n=i(9395);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)))}}},3269(t,e,i){i.d(e,{AE:()=>b,BR:()=>p,E9:()=>S,HQ:()=>L,Kp:()=>T,T5:()=>u,TA:()=>k,Tj:()=>m,UC:()=>_,Vh:()=>y,Xs:()=>z,hJ:()=>E,hn:()=>g,lV:()=>f,tG:()=>v,td:()=>P,wJ:()=>x,zw:()=>w});var s=i(9395),n=i(595),o=i(5933),a=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 f(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function p(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,o.cy)(e)&&e.includes(t)}function y(t,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor((0,s.G0)()*t.length)}(t)]}function m(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}(b(t,s??0),e,i,n)}function b(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function w(t,...e){for(const i of e){if(null==i)continue;if(!(0,o.Gv)(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):(0,o.Gv)(t)&&!Array.isArray(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=>w(n[e],t)):w(n[e],s)}}return t}function x(t,e){return(0,o.cy)(t)?t.map((t,i)=>e(t,i)):e(t,0)}function k(t,e,i){return(0,o.cy)(t)?y(t,e,i):t}function z(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 M(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 S(t,e){return M(t,e)}function _(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 P(t){const e=u().createElement("div").style;for(const i in t){const s=t[i];if(!Object.hasOwn(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});function T(t,e,i,s,n){if(s){let s={passive:!0};(0,o.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 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}},3398(t,e,i){i.d(e,{j:()=>o});var s=i(6827),n=i(5933);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)}}},3511(t,e,i){i.d(e,{jlt:()=>u.jl,Oit:()=>b.O,Yzx:()=>g.Y,v5k:()=>v.v,x_I:()=>m.x,M_G:()=>u.M_,pTR:()=>h,Miz:()=>f.M,AEc:()=>n.AE,qE8:()=>c.qE,FSi:()=>s.FS,zwS:()=>n.zw,puj:()=>c.pu,gdl:()=>s.gd,R1e:()=>s.R1,V6E:()=>w.V6,wJ2:()=>n.wJ,YfF:()=>c.Yf,vrU:()=>c.vr,pzy:()=>x.pz,HQK:()=>n.HQ,_hh:()=>x._h,PGG:()=>x.PG,G0i:()=>c.G0,W9e:()=>c.W9,VGA:()=>c.VG,xxz:()=>x.xx,MXx:()=>s.MX,YLU:()=>x.YL,ayx:()=>x.ay,XsS:()=>n.Xs,kZJ:()=>k.kZ,Gvm:()=>k.Gv,Tj8:()=>n.Tj,K3:()=>s.K3,KpY:()=>n.Kp,TLE:()=>s.TL,boI:()=>s.bo,M3Y:()=>c.M3,a56:()=>s.a5,vEz:()=>c.vE,R5R:()=>x.R5,BN0:()=>x.BN,BRq:()=>n.BR,pHD:()=>s.pH,KZx:()=>s.KZ,$k3:()=>z,UC0:()=>n.UC,JvX:()=>x.Jv,nKi:()=>s.nK});var s=i(595),n=i(3269);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(5805),r=i(9385),c=i(9395);const l="100%";class d{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new o,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(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)}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)),o=t.id??t.element?.id??`tsparticles${Math.floor((0,c.G0)()*s.$v).toString()}`,{index:a,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:a}):t.options,u=(0,n.TA)(h,a),{items:f}=this,p=f.findIndex(t=>t.id.description===o),v=new e(this,o,u);if(p>=s.PZ){const t=this.item(p),e=t?s.xH:s.dv;t&&!t.destroyed&&t.destroy(!1),f.splice(p,e,v)}else f.push(v);const g=((t,e)=>{const i=(0,n.T5)();let o=e??i.getElementById(t);return o||(o=i.createElement("div"),o.id=t,o.dataset[s.eb]=s.ce,i.body.append(o),o)})(o,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))}}var h,u=i(7962),f=i(5450);i(8096);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(h||(h={}));var p,v=i(2264),g=(i(3057),i(1512),i(6827));i(5235),i(5681),i(5647);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(p||(p={}));var y,m=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"}(y||(y={}));i(411),i(1211),i(3970),i(1045),i(6285),i(4045);var b=i(1755),w=(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),i(8473)),x=i(4338),k=(i(9029),i(5933));const z=new d;globalThis.tsParticles=z},3751(t,e,i){i.d(e,{y:()=>f});var s=i(8096),n=i(5933),o=i(248),a=i(2930),r=i(4378),c=i(3233),l=i(9030),d=i(3398),h=i(9550),u=i(9395);class f{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)}}},3970(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var s=i(3057),n=i(4116),o=i(5933),a=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,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))}}},4045(t,e,i){i.d(e,{J:()=>h});var s=i(3269),n=i(5933),o=i(1755);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))}}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 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.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 o=t.fullScreen;(0,n.Lm)(o)?this.fullScreen.enable=o:this.fullScreen.load(o),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:()=>a});var s=i(7521),n=i(1118),o=i(5933);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)}}},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:()=>P,LC:()=>w,O_:()=>z,PG:()=>k,R5:()=>f,YL:()=>v,_h:()=>x,ay:()=>g,pz:()=>M,xx:()=>m});var s=i(9395),n=i(595),o=i(5933),a=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,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(n.value))return u(t,n.value,i,s);if((0,o.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 a=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(a.value))return a.value===n.mR?y():function(t,e){return d(t,e)}(t,a.value);if((0,o.cy)(a.value)){const e=(0,r.Vh)(a.value,i,s);if(!e)return;return u(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function f(t,e,i,s=!0){const n=h(t,e,i,s);return n?p(n):void 0}function p(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 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)),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)),f=Math.min(n.oi,n.oi*c(d,l,o)),p=Math.min(n.oi,n.oi*c(d,l,o-h));return{r:Math.round(u),g:Math.round(f),b:Math.round(p)}}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_,o=()=>Math.floor((0,s.e4)(e,i));return{b:o(),g:o(),r:o()}}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,e,i){if(i===n.mR)return y();if(i!==n.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return function(t,e,i,n){let o=t,a=e;return Object.hasOwn(o,"r")||(o=v(t)),Object.hasOwn(a,"r")||(a=v(e)),{b:(0,s.jh)(o.b,a.b,i,n),g:(0,s.jh)(o.g,a.g,i,n),r:(0,s.jh)(o.r,a.r,i,n)}}(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return v(t)}}}function k(t,e,i,s){const a=(0,o.Kg)(e)?e:e.value;return a===n.mR?s?h(t,{value:a}):i?n.mR:n.BW:a===n.BW?n.BW:h(t,{value:a})}function z(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function M(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=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 _(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 P(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.$_}};_(i,a.h,!1,e),_(s,a.s,!0,e),_(o,a.l,!0,e)}},4339(t,e,i){i.d(e,{y:()=>o});var s=i(3269),n=i(5933);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)}}},4378(t,e,i){i.d(e,{Z:()=>o});var s=i(5235),n=i(5933);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))}}},4865(t,e,i){i.d(e,{P:()=>o});var s=i(1118),n=i(5933);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))}}},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:()=>o,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 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)}}},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 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})},6073(t,e,i){i.d(e,{q:()=>a});var s=i(5647),n=i(3970),o=i(5933);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)}}},6285(t,e,i){i.d(e,{i:()=>o});var s=i(1045),n=i(5933);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))}}},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:()=>a});var s=i(1118),n=i(6073),o=i(5933);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)}}},7521(t,e,i){i.d(e,{I:()=>a});var s=i(5647),n=i(3970),o=i(5933);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)}}},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),o=i(595);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}}},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:()=>o});var s=i(1512),n=i(5933);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))}}},8473(t,e,i){i.d(e,{IU:()=>l,Md:()=>c,Sn:()=>r,V6:()=>a,Wb:()=>u,e_:()=>h,l7:()=>o,p0:()=>d,yx:()=>f});var s=i(595),n=i(5681);function o(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function r(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(s.bo.x,s.bo.y,e.width,e.height)}function c(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 l(t,e){t.clearRect(s.bo.x,s.bo.y,e.width,e.height)}function d(t){const{container:e,context:i,particle:n,delta:o,colorStyles:a,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),a.fill&&(i.fillStyle=a.fill);const u=n.strokeWidth??s.Dv;i.lineWidth=u,a.stroke&&(i.strokeStyle=a.stroke);const f={context:i,particle:n,radius:r,opacity:c,delta:o,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,f),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,f),function(t,e){const{context:i,particle:s,stroke:n}=e;if(!s.shape)return;const o=t.shapeDrawers.get(s.shape);if(!o)return;i.beginPath(),o.draw(e),s.shapeClose&&i.closePath();n&&i.stroke();s.shapeFill&&i.fill()}(e,f),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,f),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,f),i.resetTransform()}function h(t,e,i){e.draw&&e.draw(t,i)}function u(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}function f(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:()=>o});var s=i(9967);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}},9030(t,e,i){i.d(e,{v:()=>a});var s=i(1118),n=i(3269),o=i(5933);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)))}}},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:()=>S,DT:()=>w,G0:()=>d,JY:()=>M,M3:()=>P,Nx:()=>_,Sg:()=>m,VG:()=>y,W9:()=>b,Yf:()=>k,e4:()=>h,i0:()=>u,jh:()=>v,pu:()=>z,px:()=>f,qE:()=>p,vE:()=>g,vr:()=>x});var s=i(8096),n=i(595),o=i(5450),a=i(5933);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(){return p(c(),0,1-Number.EPSILON)}function h(t,e){return d()*(e-t)+t}function u(t){return l.nextFrame(t)}function f(t){l.cancel(t)}function p(t,e,i){return Math.min(Math.max(t,e),i)}function v(t,e,i,s){return Math.floor((t*i+e*s)/(i+s))}function g(t){const e=b(t);let i=m(t);return e===i&&(i=0),h(i,e)}function y(t){return(0,a.Et)(t)?t:g(t)}function m(t){return(0,a.Et)(t)?t:t.min}function b(t){return(0,a.Et)(t)?t:t.max}function w(t,e){if(t===e||void 0===e&&(0,a.Et)(t))return t;const i=m(t),s=b(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:w(i,s)}function x(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 k(t,e){return x(t,e).distance}function z(t){return t*r}function M(t,e,i){if((0,a.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 S(t){const e=o.M.origin;return e.length=1,e.angle=t,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:()=>a});var s=i(3269),n=i(5933),o=i(9395);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)))}}},9967(t,e,i){i.d(e,{U:()=>v});var s=i(3269),n=i(1211),o=i(5933);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(3751),c=i(4055),l=i(1786),d=i(304),h=i(4339),u=i(6847),f=i(214),p=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 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 f.t,this.zIndex=new p.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);const e=t.stroke;if(e&&(this.stroke=(0,s.wJ)(e,t=>{const e=new f.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 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.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/preset-links:",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(f);var n=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),n&&n.forEach(t=>t(s)),e)return e(s)},f=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={775: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_links=this.webpackChunk_tsparticles_preset_links||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var o={};n.r(o),n.d(o,{loadLinksPreset:()=>r,tsParticles:()=>c.$k3});const a="links";async function r(t){await t.register(async t=>{const{loadBasic:e}=await n.e(196).then(n.bind(n,1196)),{loadParticlesLinksInteraction:i}=await n.e(180).then(n.bind(n,3180)),{options:s}=await n.e(778).then(n.bind(n,8778));await e(t),await i(t),t.addPreset(a,s)})}var c=n(3511);return o})());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Links Preset v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Links 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 */ loadLinksPreset: () => (/* binding */ loadLinksPreset)\n/* harmony export */ });\
|
|
37
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadLinksPreset: () => (/* binding */ loadLinksPreset)\n/* harmony export */ });\nconst presetName = \"links\";\nasync function loadLinksPreset(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 loadParticlesLinksInteraction\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/interaction-particles-links */ \"@tsparticles/interaction-particles-links\", 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 loadParticlesLinksInteraction(e);\n e.addPreset(presetName, options);\n });\n}\n\n//# sourceURL=webpack://@tsparticles/preset-links/./dist/browser/index.js?\n}");
|
|
38
38
|
|
|
39
39
|
/***/ },
|
|
40
40
|
|
|
@@ -158,18 +158,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_particles_li
|
|
|
158
158
|
/******/ };
|
|
159
159
|
/******/ })();
|
|
160
160
|
/******/
|
|
161
|
-
/******/ /* webpack/runtime/global */
|
|
162
|
-
/******/ (() => {
|
|
163
|
-
/******/ __webpack_require__.g = (function() {
|
|
164
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
165
|
-
/******/ try {
|
|
166
|
-
/******/ return this || new Function('return this')();
|
|
167
|
-
/******/ } catch (e) {
|
|
168
|
-
/******/ if (typeof window === 'object') return window;
|
|
169
|
-
/******/ }
|
|
170
|
-
/******/ })();
|
|
171
|
-
/******/ })();
|
|
172
|
-
/******/
|
|
173
161
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
174
162
|
/******/ (() => {
|
|
175
163
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
@@ -234,8 +222,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_particles_li
|
|
|
234
222
|
/******/ /* webpack/runtime/publicPath */
|
|
235
223
|
/******/ (() => {
|
|
236
224
|
/******/ var scriptUrl;
|
|
237
|
-
/******/ if (
|
|
238
|
-
/******/ var document =
|
|
225
|
+
/******/ if (globalThis.importScripts) scriptUrl = globalThis.location + "";
|
|
226
|
+
/******/ var document = globalThis.document;
|
|
239
227
|
/******/ if (!scriptUrl && document) {
|
|
240
228
|
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
241
229
|
/******/ scriptUrl = document.currentScript.src;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.preset.links.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/interaction-particles-links","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic")):t(e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t)=>(()=>{var r,o,i,n,a={145(e){e.exports=t},613(t){t.exports=e}},s={};function
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/interaction-particles-links","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic")):t(e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t)=>(()=>{var r,o,i,n,a={145(e){e.exports=t},613(t){t.exports=e}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return a[e](r,r.exports,l),r.exports}l.m=a,o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.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 i=Object.create(null);l.r(i);var n={};r=r||[null,o({}),o([]),o(o)];for(var a=2&t&&e;("object"==typeof a||"function"==typeof a)&&!~r.indexOf(a);a=o(a))Object.getOwnPropertyNames(a).forEach(t=>n[t]=()=>e[t]);return n.default=()=>e,l.d(i,n),i},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((t,r)=>(l.f[r](e,t),t),[])),l.u=e=>e+".min.js",l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i={},n="@tsparticles/preset-links:",l.l=(e,t,r,o)=>{if(i[e])i[e].push(t);else{var a,s;if(void 0!==r)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==n+r){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",l.nc&&a.setAttribute("nonce",l.nc),a.setAttribute("data-webpack",n+r),a.src=e),i[e]=[t];var f=(t,r)=>{a.onerror=a.onload=null,clearTimeout(d);var o=i[e];if(delete i[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}},l.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 o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),(()=>{var e={443:0};l.f.j=(t,r)=>{var o=l.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((r,i)=>o=e[t]=[r,i]);r.push(o[2]=i);var n=l.p+l.u(t),a=new Error;l.l(n,r=>{if(l.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+n+")",a.name="ChunkLoadError",a.type=i,a.request=n,o[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var o,i,[n,a,s]=r,c=0;if(n.some(t=>0!==e[t])){for(o in a)l.o(a,o)&&(l.m[o]=a[o]);if(s)s(l)}for(t&&t(r);c<n.length;c++)i=n[c],l.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=this.webpackChunk_tsparticles_preset_links=this.webpackChunk_tsparticles_preset_links||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var c={};l.r(c),l.d(c,{loadLinksPreset:()=>u});const p="links";async function u(e){await e.register(async e=>{const{loadBasic:t}=await Promise.resolve().then(l.t.bind(l,145,19)),{loadParticlesLinksInteraction:r}=await Promise.resolve().then(l.t.bind(l,613,19)),{options:o}=await l.e(778).then(l.bind(l,778));await t(e),await r(e),e.addPreset(p,o)})}return c})());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Links Preset v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Links 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 loadLinksPreset(engine: Engine): void
|
|
2
|
+
export declare function loadLinksPreset(engine: Engine): Promise<void>;
|
package/types/options.d.ts
CHANGED
package/umd/index.js
CHANGED
|
@@ -44,11 +44,12 @@ 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.loadLinksPreset = loadLinksPreset;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
loadBasic(
|
|
51
|
-
|
|
47
|
+
const presetName = "links";
|
|
48
|
+
async function loadLinksPreset(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)), { loadParticlesLinksInteraction } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/interaction-particles-links"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/interaction-particles-links"], resolve_2, reject_2); }).then(__importStar)), { options } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./options.js"))) : new Promise((resolve_3, reject_3) => { require(["./options.js"], resolve_3, reject_3); }).then(__importStar));
|
|
51
|
+
await loadBasic(e);
|
|
52
|
+
await loadParticlesLinksInteraction(e);
|
|
52
53
|
e.addPreset(presetName, options);
|
|
53
54
|
});
|
|
54
55
|
}
|
package/umd/options.js
CHANGED
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
})(function (require, exports) {
|
|
10
10
|
"use strict";
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.options =
|
|
13
|
-
exports.presetName = "links";
|
|
12
|
+
exports.options = void 0;
|
|
14
13
|
exports.options = {
|
|
15
14
|
background: {
|
|
16
15
|
color: "#000000",
|