@tsparticles/basic 4.0.0-alpha.8 → 4.0.0-beta.0

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.
Files changed (98) hide show
  1. package/116.min.js +1 -0
  2. package/149.min.js +1 -0
  3. package/161.min.js +1 -0
  4. package/194.min.js +1 -0
  5. package/222.min.js +1 -0
  6. package/229.min.js +1 -0
  7. package/268.min.js +1 -0
  8. package/299.min.js +1 -0
  9. package/413.min.js +1 -0
  10. package/465.min.js +1 -0
  11. package/510.min.js +1 -0
  12. package/578.min.js +1 -0
  13. package/638.min.js +1 -0
  14. package/663.min.js +1 -0
  15. package/84.min.js +1 -0
  16. package/876.min.js +1 -0
  17. package/89.min.js +1 -0
  18. package/91.min.js +1 -0
  19. package/964.min.js +1 -0
  20. package/970.min.js +1 -0
  21. package/README.md +40 -3
  22. package/browser/bundle.js +1 -2
  23. package/browser/index.js +23 -11
  24. package/cjs/bundle.js +1 -2
  25. package/cjs/index.js +23 -11
  26. package/engine_dist_browser_Core_Container_js.js +12 -12
  27. package/esm/bundle.js +1 -2
  28. package/esm/index.js +23 -11
  29. package/package.json +11 -11
  30. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +2 -2
  31. package/plugins_colors_hex_dist_browser_index_js.js +2 -2
  32. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +2 -2
  33. package/plugins_colors_hsl_dist_browser_index_js.js +2 -2
  34. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +2 -2
  35. package/plugins_colors_rgb_dist_browser_index_js.js +2 -2
  36. package/plugins_move_dist_browser_MovePluginInstance_js.js +40 -0
  37. package/{move_base_dist_browser_index_js.js → plugins_move_dist_browser_MovePlugin_js.js} +7 -7
  38. package/plugins_move_dist_browser_index_js.js +30 -0
  39. package/report.html +1 -1
  40. package/shapes_circle_dist_browser_CircleDrawer_js.js +3 -3
  41. package/shapes_circle_dist_browser_index_js.js +2 -2
  42. package/tsparticles.basic.bundle.js +95 -93
  43. package/tsparticles.basic.bundle.min.js +2 -2
  44. package/tsparticles.basic.js +36 -36
  45. package/tsparticles.basic.min.js +1 -2
  46. package/types/bundle.d.ts +1 -2
  47. package/umd/bundle.js +3 -3
  48. package/umd/index.js +23 -11
  49. package/updaters_fillColor_dist_browser_FillColorUpdater_js.js +30 -0
  50. package/{updaters_color_dist_browser_index_js.js → updaters_fillColor_dist_browser_index_js.js} +7 -7
  51. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +2 -2
  52. package/updaters_opacity_dist_browser_index_js.js +2 -2
  53. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +7 -7
  54. package/updaters_outModes_dist_browser_index_js.js +2 -2
  55. package/updaters_size_dist_browser_SizeUpdater_js.js +2 -2
  56. package/updaters_size_dist_browser_index_js.js +2 -2
  57. package/12.min.js +0 -2
  58. package/12.min.js.LICENSE.txt +0 -1
  59. package/191.min.js +0 -2
  60. package/191.min.js.LICENSE.txt +0 -1
  61. package/201.min.js +0 -2
  62. package/201.min.js.LICENSE.txt +0 -1
  63. package/209.min.js +0 -2
  64. package/209.min.js.LICENSE.txt +0 -1
  65. package/234.min.js +0 -2
  66. package/234.min.js.LICENSE.txt +0 -1
  67. package/3.min.js +0 -2
  68. package/3.min.js.LICENSE.txt +0 -1
  69. package/302.min.js +0 -2
  70. package/302.min.js.LICENSE.txt +0 -1
  71. package/306.min.js +0 -2
  72. package/306.min.js.LICENSE.txt +0 -1
  73. package/346.min.js +0 -2
  74. package/346.min.js.LICENSE.txt +0 -1
  75. package/410.min.js +0 -2
  76. package/410.min.js.LICENSE.txt +0 -1
  77. package/49.min.js +0 -2
  78. package/49.min.js.LICENSE.txt +0 -1
  79. package/505.min.js +0 -2
  80. package/505.min.js.LICENSE.txt +0 -1
  81. package/521.min.js +0 -2
  82. package/521.min.js.LICENSE.txt +0 -1
  83. package/56.min.js +0 -2
  84. package/56.min.js.LICENSE.txt +0 -1
  85. package/580.min.js +0 -2
  86. package/580.min.js.LICENSE.txt +0 -1
  87. package/743.min.js +0 -2
  88. package/743.min.js.LICENSE.txt +0 -1
  89. package/744.min.js +0 -2
  90. package/744.min.js.LICENSE.txt +0 -1
  91. package/85.min.js +0 -2
  92. package/85.min.js.LICENSE.txt +0 -1
  93. package/993.min.js +0 -2
  94. package/993.min.js.LICENSE.txt +0 -1
  95. package/move_base_dist_browser_BaseMover_js.js +0 -40
  96. package/tsparticles.basic.bundle.min.js.LICENSE.txt +0 -1
  97. package/tsparticles.basic.min.js.LICENSE.txt +0 -1
  98. package/updaters_color_dist_browser_ColorUpdater_js.js +0 -30
@@ -1,2 +1,2 @@
1
- /*! For license information please see tsparticles.basic.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 n in i)("object"==typeof exports?exports:t)[n]=i[n]}}(this,(()=>(()=>{var t,e,i={625(t,e,i){var n;i.d(e,{B:()=>n}),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"}(n||(n={}))},918(t,e,i){i.d(e,{M:()=>o,p:()=>s});var n=i(1607);class s{constructor(t=n.bo.x,e=n.bo.y,i=n.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 s.create(n.bo.x,n.bo.y,n.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 s.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new s(t,e??n.bo.y,i??n.bo.z):new s(t.x,t.y,Object.hasOwn(t,"z")?t.z:n.bo.z)}add(t){return s.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 s.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return s.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**n.dm+this.y**n.dm}mult(t){return s.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!=n.dv&&this.multTo(n.hB/t)}rotate(t){return s.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),n.bo.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:n.bo.z}sub(t){return s.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 s{constructor(t=n.bo.x,e=n.bo.y){super(t,e,n.bo.z)}static get origin(){return o.create(n.bo.x,n.bo.y)}static clone(t){return o.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new o(t,e??n.bo.y):new o(t.x,t.y)}}},1295(t,e,i){i.d(e,{m:()=>s});var n=i(5921);class s{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))}}},1395(t,e,i){i.d(e,{o:()=>a});var n=i(1674),s=i(4909),o=i(5921);class a extends n.AI{constructor(){super(),this.animation=new s.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)}}},1607(t,e,i){i.d(e,{$G:()=>I,$O:()=>q,$_:()=>F,$v:()=>X,$x:()=>S,BF:()=>Ot,BW:()=>h,DN:()=>Y,D_:()=>bt,Dv:()=>xt,Eo:()=>nt,FS:()=>H,Fl:()=>Pt,GW:()=>G,Ie:()=>L,JC:()=>U,K3:()=>pt,KZ:()=>K,Kw:()=>M,L1:()=>_,LD:()=>vt,M1:()=>at,MX:()=>r,N5:()=>st,NF:()=>s,Nu:()=>zt,Nx:()=>J,PZ:()=>Q,Pg:()=>O,R1:()=>f,RF:()=>b,RV:()=>Z,Rh:()=>ct,Rq:()=>V,TL:()=>N,U0:()=>D,Ug:()=>d,WH:()=>it,X$:()=>y,X_:()=>ot,Xu:()=>c,Zp:()=>R,a5:()=>a,aE:()=>Rt,aZ:()=>g,bo:()=>l,ce:()=>m,dm:()=>w,dv:()=>et,eb:()=>n,eu:()=>k,gd:()=>p,hB:()=>P,hK:()=>Tt,hv:()=>B,i8:()=>W,iU:()=>wt,jn:()=>Et,lA:()=>ft,mR:()=>u,nK:()=>o,nq:()=>dt,oi:()=>E,ou:()=>lt,pH:()=>gt,rq:()=>x,tA:()=>yt,tR:()=>kt,td:()=>mt,un:()=>rt,vF:()=>j,vS:()=>T,vd:()=>Mt,w2:()=>$,wM:()=>ut,xH:()=>tt,xd:()=>z,yx:()=>A,z$:()=>v,z9:()=>ht,zg:()=>St,zs:()=>C});const n="generated",s="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},u="random",h="mid",p=2,f=Math.PI*p,v=60,g=1,m="true",y="false",b="canvas",x=0,w=2,M=4,z=1,S=1,R=1,O=4,P=1,E=255,T=360,k=100,F=100,_=0,A=0,D=60,L=0,I=.25,V=r+I,G=0,C=1,$=0,q=0,Z=1,B=1,H=1,K=1,N=0,U=1,j=0,W=120,Y=0,J=0,X=1e4,Q=0,tt=1,et=0,it=1,nt=1,st=0,ot=0,at=0,rt=-I,ct=1.5,lt=0,dt=1,ut=0,ht=0,pt=1,ft=1,vt=1,gt=500,mt=50,yt=0,bt=1,xt=0,wt=1,Mt=0,zt=3,St=6,Rt=1,Ot=1,Pt=0,Et=0,Tt=0,kt=0},1674(t,e,i){i.d(e,{AI:()=>c,Jm:()=>r,PV:()=>a});var n=i(5486),s=i(5921),o=i(7879);class a{constructor(){this.value=0}load(t){(0,s.kZ)(t)||(0,s.kZ)(t.value)||(this.value=(0,o.DT)(t.value))}}class r extends a{constructor(){super(),this.animation=new n.p}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class c extends r{constructor(){super(),this.animation=new n.Q}load(t){super.load(t)}}},1894(t,e,i){i.d(e,{R:()=>o});var n=i(5921),s=i(7879);class o{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,n.kZ)(t)&&(void 0!==t.distance&&(this.distance=(0,s.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)}}}},2346(t,e,i){i.d(e,{t:()=>a});var n=i(5721),s=i(5921),o=i(7879);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,s.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,n.zw)({},t.position)))}}},2347(t,e,i){i.d(e,{Y:()=>a});var n=i(4149),s=i(1674),o=i(5921);class a extends s.AI{constructor(){super(),this.animation=new n.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)}}},2604(t,e,i){var n;i.d(e,{v:()=>n}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(n||(n={}))},2767(t,e,i){var n;i.d(e,{q:()=>n}),function(t){t.precise="precise",t.percent="percent"}(n||(n={}))},3345(t,e,i){i.d(e,{V:()=>o});var n=i(7975),s=i(5921);class o{constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,s.kZ)(t)||(void 0!==t.color&&(this.color=n.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))}}},3466(t,e,i){i.d(e,{v:()=>a});var n=i(1674),s=i(5721),o=i(5921);class a{constructor(){this.clamp=!0,this.delay=new n.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,s.zw)(this.options,t.options)))}}},3509(t,e,i){var n;i.d(e,{g:()=>n}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(n||(n={}))},3640(t,e,i){i.d(e,{z:()=>s});var n=i(5921);class s{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))}}},3762(t,e,i){i.d(e,{j:()=>o});var n=i(8991),s=i(5921);class o{constructor(){this.default=n.Y.out}load(t){(0,s.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)}}},4017(t,e,i){i.d(e,{Z:()=>s,y:()=>o});var n=i(4429);function s(t,...e){for(const i of e)t.load(i)}function o(t,e,...i){const o=new n.U(t,e);return s(o,...i),o}},4077(t,e,i){i.d(e,{B:()=>s,t:()=>o});const n={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 s(t){n.debug=t.debug,n.error=t.error,n.info=t.info,n.log=t.log,n.verbose=t.verbose,n.warning=t.warning}function o(){return n}},4149(t,e,i){i.d(e,{I:()=>a});var n=i(4939),s=i(5486),o=i(5921);class a extends s.Q{constructor(){super(),this.destroy=n.V.none,this.speed=2}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},4165(t,e,i){i.d(e,{P:()=>o});var n=i(1674),s=i(5921);class o extends n.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,s.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))}}},4303(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(n||(n={}))},4429(t,e,i){i.d(e,{U:()=>v});var n=i(5721),s=i(9175),o=i(5921);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,n.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(5835),c=i(2347),l=i(5630),d=i(9498),u=i(7015),h=i(1395),p=i(7538),f=i(4165);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new s.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 u.y,this.size=new h.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,n.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(s.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,n.wJ)(e,(t=>{const e=new p.t;return e.load(t),e}))),this._container){for(const e of this._engine.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this._container,this,t);const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}}},4564(t,e,i){i.d(e,{b:()=>n});class n{constructor(t,e){this.position=t,this.particle=e}}},4673(t,e,i){var n;i.d(e,{dg:()=>a,jl:()=>r,M_:()=>c}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}));var s=i(7879),o=i(1607);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,n.circle),this.radius=i}contains(t){return(0,s.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,s=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y),l=this.radius;if(t instanceof r||t.type===n.circle){return l+t.radius>Math.sqrt(s**o.dm+a**o.dm)}if(t instanceof c||t.type===n.rectangle){const e=t,{width:i,height:n}=e.size;return Math.pow(s-i,o.dm)+Math.pow(a-n,o.dm)<=l**o.dm||s<=l+i&&a<=l+n||s<=i||a<=n}return!1}}class c extends a{constructor(t,e,i,s){super(t,e,n.rectangle),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,n=this.position;return t.x>=n.x&&t.x<=n.x+e&&t.y>=n.y&&t.y<=n.y+i}intersects(t){if(t instanceof r)return t.intersects(this);const e=this.size.width,i=this.size.height,n=this.position,s=t.position,o=t instanceof c?t.size:{width:0,height:0},a=o.width,l=o.height;return s.x<n.x+e&&s.x+a>n.x&&s.y<n.y+i&&s.y+l>n.y}}},4833(t,e,i){i.d(e,{i:()=>o});var n=i(6681),s=i(5921);class o{constructor(){this.h=new n.e,this.s=new n.e,this.l=new n.e}load(t){(0,s.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},4909(t,e,i){i.d(e,{q:()=>a});var n=i(4939),s=i(5486),o=i(5921);class a extends s.Q{constructor(){super(),this.destroy=n.V.none,this.speed=5}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},4939(t,e,i){var n;i.d(e,{V:()=>n}),function(t){t.none="none",t.max="max",t.min="min"}(n||(n={}))},5206(t,e,i){i.d(e,{BN:()=>u,EY:()=>S,Jv:()=>F,K6:()=>v,Ko:()=>k,LC:()=>z,OH:()=>x,O_:()=>P,PG:()=>O,R5:()=>f,YL:()=>y,_h:()=>R,ay:()=>b,eg:()=>m,mK:()=>p,pz:()=>E,qe:()=>h,xx:()=>w,zI:()=>g});var n=i(7879),s=i(1607),o=i(5921),a=i(4303),r=i(5721);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*s.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 u(t,e,i,n=!0){if(!e)return;const s=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(s.value))return h(t,s.value,i,n);if((0,o.cy)(s.value)){const e=(0,r.Vh)(s.value,i,n);if(!e)return;return u(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(s);if(t)return t}}function h(t,e,i,n=!0){if(!e)return;const a=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(a.value))return a.value===s.mR?x():m(t,a.value);if((0,o.cy)(a.value)){const e=(0,r.Vh)(a.value,i,n);if(!e)return;return h(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function p(t,e,i,n=!0){const s=h(t,e,i,n);return s?v(s):void 0}function f(t,e,i,n=!0){const s=u(t,e,i,n);return s?v(s):void 0}function v(t){const e=t.r/s.oi,i=t.g/s.oi,n=t.b/s.oi,o=Math.max(e,i,n),a=Math.min(e,i,n),r={h:s.L1,l:(o+a)*s.MX,s:s.yx};return o!==a&&(r.s=r.l<s.MX?(o-a)/(o+a):(o-a)/(s.gd-o-a),r.h=e===o?(i-n)/(o-a):i===o?s.gd+(n-e)/(o-a):s.gd*s.gd+(e-i)/(o-a)),r.l*=s.$_,r.s*=s.eu,r.h*=s.U0,r.h<s.L1&&(r.h+=s.vS),r.h>=s.vS&&(r.h-=s.vS),r}function g(t,e){return d(t,e)?.a}function m(t,e){return d(t,e)}function y(t){const e=(t.h%s.vS+s.vS)%s.vS,i=Math.max(s.yx,Math.min(s.eu,t.s)),n=Math.max(s.vd,Math.min(s.$_,t.l)),o=e/s.vS,a=i/s.eu,r=n/s.$_;if(i===s.yx){const t=Math.round(r*s.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*s.zg<1)return t+(e-t)*s.zg*i;if(i*s.gd<1)return e;if(i*s.Nu<1*s.gd){return t+(e-t)*(s.gd/s.Nu-i)*s.zg}return t},l=r<s.MX?r*(s.aE+a):r+a-r*a,d=s.gd*r-l,u=s.BF/s.Nu,h=Math.min(s.oi,s.oi*c(d,l,o+u)),p=Math.min(s.oi,s.oi*c(d,l,o)),f=Math.min(s.oi,s.oi*c(d,l,o-u));return{r:Math.round(h),g:Math.round(p),b:Math.round(f)}}function b(t){const e=y(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function x(t){const e=t??s.Fl,i=s.oi+s.D_,o=()=>Math.floor((0,n.e4)(e,i));return{b:o(),g:o(),r:o()}}function w(t,e,i){const n=i??s.hv;return l(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,(()=>e?M(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??s.hv).toString()})`}(t,i)))}function M(t,e){return`color(display-p3 ${(t.r/s.oi).toString()} ${(t.g/s.oi).toString()} ${(t.b/s.oi).toString()} / ${(e??s.hv).toString()})`}function z(t,e,i){const n=i??s.hv;return l(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,(()=>e?function(t,e){return M(y(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??s.hv).toString()})`}(t,i)))}function S(t,e,i,s){let o=t,a=e;return Object.hasOwn(o,"r")||(o=y(t)),Object.hasOwn(a,"r")||(a=y(e)),{b:(0,n.jh)(o.b,a.b,i,s),g:(0,n.jh)(o.g,a.g,i,s),r:(0,n.jh)(o.r,a.r,i,s)}}function R(t,e,i){if(i===s.mR)return x();if(i!==s.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return S(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return y(t)}}}function O(t,e,i,n){const a=(0,o.Kg)(e)?e:e.value;return a===s.mR?n?u(t,{value:a}):i?s.mR:s.BW:a===s.BW?s.BW:u(t,{value:a})}function P(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function E(t,e,i){const n={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(T(n.h,e.h,i),T(n.s,e.s,i),T(n.l,e.l,i)),n}function T(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,n.VG)(e.speed)/s.a5*i,t.decay=s.WH-(0,n.VG)(e.decay),t.status=a.H.increasing,t.loops=s.hK,t.maxLoops=(0,n.VG)(e.count),t.time=s.tR,t.delayTime=(0,n.VG)(e.delay)*s.Xu,e.sync||(t.velocity*=(0,n.G0)(),t.value*=(0,n.G0)()),t.initialValue=t.value,t.offset=(0,n.DT)(e.offset)):t.velocity=s.jn}function k(t,e,i,s){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+=s.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const o=t.offset?(0,n.vE)(t.offset):0,r=(t.velocity??0)*s.factor+3.6*o,c=t.decay??1,l=(0,n.W9)(e),d=(0,n.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,n.qE)(t.value,d,l)}function F(t,e){if(!t)return;const{h:i,s:n,l:o}=t,a={h:{min:s.L1,max:s.vS},s:{min:s.yx,max:s.eu},l:{min:s.vd,max:s.$_}};k(i,a.h,!1,e),k(n,a.s,!0,e),k(o,a.l,!0,e)}},5486(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var n=i(3509),s=i(7736),o=i(5921),a=i(7879);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=n.g.auto,this.startValue=s.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))}}},5630(t,e,i){i.d(e,{w:()=>o});var n=i(7505),s=i(5921);class o{constructor(){this.horizontal=new n.F,this.vertical=new n.F}load(t){(0,s.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},5721(t,e,i){i.d(e,{AE:()=>S,Al:()=>b,BR:()=>g,E9:()=>A,HQ:()=>C,Kp:()=>G,O2:()=>z,T5:()=>f,TA:()=>T,Tg:()=>O,Tj:()=>M,UC:()=>L,Vh:()=>w,Xs:()=>F,YC:()=>D,hJ:()=>V,hn:()=>y,lV:()=>v,n0:()=>x,pE:()=>P,q8:()=>p,tG:()=>m,td:()=>I,w3:()=>k,wJ:()=>E,zw:()=>R});var n=i(7879),s=i(1607),o=i(5921),a=i(3509),r=i(4303),c=i(4939),l=i(2604),d=i(2767),u=i(7736),h=i(918);function p(){return"undefined"!=typeof matchMedia}function f(){return globalThis.document}function v(t){if(p())return matchMedia(t)}function g(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function m(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function y(t,e){return t===e||(0,o.cy)(e)&&e.includes(t)}async function b(t,e){try{await f().fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function x(t){return Math.floor((0,n.G0)()*t.length)}function w(t,e,i=!0){return t[void 0!==e&&i?e%t.length:x(t)]}function M(t,e,i,n,s){return z(S(t,n??0),e,i,s)}function z(t,e,i,n){let s=!0;return n&&n!==l.v.bottom||(s=t.top<e.height+i.x),!s||n&&n!==l.v.left||(s=t.right>i.x),!s||n&&n!==l.v.right||(s=t.left<e.width+i.y),!s||n&&n!==l.v.top||(s=t.bottom>i.y),s}function S(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function R(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 n=i[e],s=t;s[e]=(0,o.Gv)(n)&&Array.isArray(n)?n.map((t=>R(s[e],t))):R(s[e],n)}}return t}function O(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:h.M.create((0,n.VG)(t.options.bounce.horizontal.value),(0,n.VG)(t.options.bounce.vertical.value))}}function P(t,e){const{x:i,y:s}=t.velocity.sub(e.velocity),[o,a]=[t.position,e.position],{dx:r,dy:c}=(0,n.vr)(a,o);if(i*r+s*c<0)return;const l=-Math.atan2(c,r),d=t.mass,u=e.mass,h=t.velocity.rotate(l),p=e.velocity.rotate(l),f=(0,n.OW)(h,p,d,u),v=(0,n.OW)(p,h,d,u),g=f.rotate(-l),m=v.rotate(-l);t.velocity.x=g.x*t.factor.x,t.velocity.y=g.y*t.factor.y,e.velocity.x=m.x*e.factor.x,e.velocity.y=m.y*e.factor.y}function E(t,e){return(0,o.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function T(t,e,i){return(0,o.cy)(t)?w(t,e,i):t}function k(t,e){if((0,o.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function F(t,e){const i=t.value,o=t.animation,c={delayTime:(0,n.VG)(o.delay)*s.Xu,enable:o.enable,value:(0,n.VG)(t.value)*e,max:(0,n.W9)(i)*e,min:(0,n.Sg)(i)*e,loops:0,maxLoops:(0,n.VG)(o.count),time:0};if(o.enable){switch(c.decay=1-(0,n.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,n.G0)()>=s.MX?r.H.increasing:r.H.decreasing}const t=o.mode===a.g.auto;switch(o.startValue){case u.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case u.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case u.S.random:default:c.value=(0,n.vE)(c),t&&(c.status=(0,n.G0)()>=s.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function _(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/s.a5*e.width,y:t.y/s.a5*e.height}:{width:t.width/s.a5*e.width,height:t.height/s.a5*e.height}}function A(t,e){return _(t,e)}function D(t,e){return _(t,e)}function L(t,e,i,s,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,u=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!==u&&(e.velocity*=u),function(t,e,i,n,s){switch(e){case c.V.max:i>=s&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,s,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function I(t){const e=f().createElement("div").style;for(const i in t){const n=t[i];if(!Object.hasOwn(t,i)||(0,o.kZ)(n))continue;const s=t.getPropertyValue?.(n);if(!s)continue;const a=t.getPropertyPriority?.(n);a?e.setProperty(n,s,a):e.setProperty(n,s)}return e}const V=function(t){const e=new Map;return(...i)=>{const n=JSON.stringify(i);if(e.has(n))return e.get(n);const s=t(...i);return e.set(n,s),s}}((function(t){const e=f().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 n=i[t];void 0!==n&&e.setProperty(t,n)}return e}));function G(t,e,i,n,s){if(n){let n={passive:!0};(0,o.Lm)(s)?n.capture=s:void 0!==s&&(n=s),t.addEventListener(e,i,n)}else{const n=s;t.removeEventListener(e,i,n)}}async function C(t,e,i,n=!1){let s=e.get(t);return s&&!n||(s=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,s)),s}},5835(t,e,i){i.d(e,{y:()=>p});var n=i(9508),s=i(5921),o=i(6420),a=i(1894),r=i(8558),c=i(6933),l=i(3466),d=i(3762),u=i(2346),h=i(7879);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=n.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 u.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,s.kZ)(t))return;this.angle.load((0,s.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,h.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,s.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,h.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,s.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,h.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)}}},5921(t,e,i){function n(t){return"boolean"==typeof t}function s(t){return"string"==typeof t}function o(t){return"number"==typeof t}function a(t){return"function"==typeof t}function r(t){return"object"==typeof t&&null!==t}function c(t){return Array.isArray(t)}function l(t){return null==t}i.d(e,{Et:()=>o,Gv:()=>r,Kg:()=>s,Lm:()=>n,Tn:()=>a,cy:()=>c,kZ:()=>l})},6093(t,e,i){i.d(e,{IU:()=>c,KG:()=>h,Md:()=>r,Sn:()=>a,V6:()=>o,VG:()=>f,Wb:()=>v,gF:()=>p,k:()=>d,p0:()=>l,yx:()=>g,z5:()=>u});var n=i(1607),s=i(6117);function o(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function a(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(n.bo.x,n.bo.y,e.width,e.height)}function r(t,e,i,s){i&&(t.globalAlpha=s,t.drawImage(i,n.bo.x,n.bo.y,e.width,e.height),t.globalAlpha=1)}function c(t,e){t.clearRect(n.bo.x,n.bo.y,e.width,e.height)}function l(t){const{container:e,context:i,particle:s,delta:o,colorStyles:a,radius:r,opacity:c,transform:l}=t,v=s.getPosition(),g=s.getTransformData(l);i.setTransform(g.a,g.b,g.c,g.d,v.x,v.y),a.fill&&(i.fillStyle=a.fill);const m=s.strokeWidth??n.Dv;i.lineWidth=m,a.stroke&&(i.strokeStyle=a.stroke);const y={context:i,particle:s,radius:r,opacity:c,delta:o,pixelRatio:e.retina.pixelRatio,fill:s.shapeFill,stroke:m>n.Dv||!s.shapeFill,transformData:g};u(e,y),f(e,y),h(e,y),p(e,y),d(e,y),i.resetTransform()}function d(t,e){const{particle:i}=e;if(!i.effect)return;const n=t.effectDrawers.get(i.effect),s=n?.drawAfter;s&&s(e)}function u(t,e){const{particle:i}=e;if(!i.effect)return;const n=t.effectDrawers.get(i.effect);n?.drawBefore&&n.drawBefore(e)}function h(t,e){const{context:i,particle:n,stroke:s}=e;if(!n.shape)return;const o=t.shapeDrawers.get(n.shape);o&&(i.beginPath(),o.draw(e),n.shapeClose&&i.closePath(),s&&i.stroke(),n.shapeFill&&i.fill())}function p(t,e){const{particle:i}=e;if(!i.shape)return;const n=t.shapeDrawers.get(i.shape);n?.afterDraw&&n.afterDraw(e)}function f(t,e){const{particle:i}=e;if(!i.shape)return;const n=t.shapeDrawers.get(i.shape);n?.beforeDraw&&n.beforeDraw(e)}function v(t,e,i,n){e.drawParticle&&e.drawParticle(t,i,n)}function g(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===s.H.darken?-n.iU:n.iU)*i}}},6117(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.darken="darken",t.enlighten="enlighten"}(n||(n={}))},6284(t,e,i){var n;i.d(e,{d:()=>n}),function(t){t.delete="delete",t.wait="wait"}(n||(n={}))},6420(t,e,i){i.d(e,{h:()=>o});var n=i(5921),s=i(7879);class o{constructor(){this.offset=0,this.value=90}load(t){(0,n.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset)),void 0!==t.value&&(this.value=(0,s.DT)(t.value)))}}},6681(t,e,i){i.d(e,{e:()=>a});var n=i(5486),s=i(5921),o=i(7879);class a extends n.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset))}}},6933(t,e,i){i.d(e,{y:()=>o});var n=i(5921),s=i(7879);class o{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,n.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,s.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,s.DT)(t.maxSpeed)))}}},7015(t,e,i){i.d(e,{y:()=>o});var n=i(5721),s=i(5921);class o{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,s.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,n.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)}}},7505(t,e,i){i.d(e,{F:()=>s});var n=i(1674);class s extends n.PV{constructor(){super(),this.value=1}}},7538(t,e,i){i.d(e,{t:()=>a});var n=i(9175),s=i(5921),o=i(7879);class a{constructor(){this.width=0}load(t){(0,s.kZ)(t)||(void 0!==t.color&&(this.color=n.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)))}}},7687(t,e,i){i.d(e,{M:()=>s});var n=i(5921);class s{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,n.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)}}},7718(t,e,i){i.d(e,{J:()=>d});var n=i(5721),s=i(5921),o=i(3345),a=i(1295),r=i(3640),c=i(4017),l=i(7879);class d{constructor(t,e){this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new o.V,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new a.m,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,c.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new r.z,this.smooth=!1,this.style={},this.zLayers=100}load(t){if((0,s.kZ)(t))return;void 0!==t.preset&&(0,n.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,l.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,l.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,s.Lm)(o)?this.fullScreen.enable=o:this.fullScreen.load(o),this.particles.load(t.particles),this.resize.load(t.resize),this.style=(0,n.zw)(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._engine.plugins.forEach((e=>{e.loadOptions(this._container,this,t)}))}}},7724(t,e,i){i.d(e,{HKZ:()=>M.H,A9e:()=>E.A,gmr:()=>y.g,pK_:()=>T.p,H_P:()=>P.H,Jmi:()=>st.Jm,VS$:()=>k.V,dgY:()=>p.dg,jlt:()=>p.jl,evc:()=>F.e,VKE:()=>z.V,mgy:()=>S,Bx4:()=>a.B,mcU:()=>_.m,hqM:()=>g,i74:()=>A.i,dtg:()=>b.d,yUV:()=>q.y,hzL:()=>Z.h,RE3:()=>$.R,Zgv:()=>B.Z,FWc:()=>v.F,y1u:()=>H.y,vU7:()=>N.v,Y4E:()=>J.Y,IhC:()=>X.I,JYR:()=>D.J,Oit:()=>L.O,Yzx:()=>x.Y,v5k:()=>m.v,j$q:()=>K.j,x_I:()=>R.x,wvn:()=>I.w,F5W:()=>V.F,M1g:()=>Y.M,NeW:()=>j.N,Ad4:()=>W.A,UOj:()=>G.U,qiC:()=>w.q,bRX:()=>h.b,Q4c:()=>T.Q,AIw:()=>st.AI,M_G:()=>p.M_,z0z:()=>nt.z,pTR:()=>u,ypk:()=>Q.y,or0:()=>tt.o,qvJ:()=>et.q,tKH:()=>U.t,SKz:()=>O.S,tcj:()=>C.t,PVU:()=>st.PV,Miz:()=>f.M,pGL:()=>f.p,Pyx:()=>it.P,yxh:()=>ot.yx,i0Z:()=>c.i0,O2_:()=>s.O2,n02:()=>s.n0,NxB:()=>c.Nx,qMV:()=>c.qM,ehY:()=>c.eh,MhH:()=>c.Mh,l1q:()=>c.l1,AEc:()=>s.AE,pxm:()=>c.px,Nxk:()=>n.Nx,RFH:()=>n.RF,pEn:()=>s.pE,Tgl:()=>s.Tg,qE8:()=>c.qE,IUd:()=>ot.IU,FSi:()=>n.FS,td3:()=>s.td,OWw:()=>c.OW,EYT:()=>at.EY,mKQ:()=>at.mK,qe:()=>at.qe,nqC:()=>n.nq,WH8:()=>n.WH,zwS:()=>s.zw,aZx:()=>n.aZ,tAJ:()=>n.tA,lA:()=>n.lA,z$P:()=>n.z$,i8E:()=>n.i8,hKc:()=>n.hK,hvP:()=>n.hv,M1H:()=>n.M1,$xb:()=>n.$x,ZpR:()=>n.Zp,xd3:()=>n.xd,rqX:()=>n.rq,Fli:()=>n.Fl,tRb:()=>n.tR,UgP:()=>n.Ug,zss:()=>n.zs,jnW:()=>n.jn,puj:()=>c.pu,LDU:()=>n.LD,gdl:()=>n.gd,R1e:()=>n.R1,kac:()=>ot.k,z5n:()=>ot.z5,V6E:()=>ot.V6,p0m:()=>ot.p0,Wbn:()=>ot.Wb,KG7:()=>ot.KG,gF3:()=>ot.gF,VGT:()=>ot.VG,Iex:()=>n.Ie,wJ2:()=>s.wJ,w3Z:()=>s.w3,eb4:()=>n.eb,X$G:()=>n.X$,cei:()=>n.ce,YfF:()=>c.Yf,vrU:()=>c.vr,hJS:()=>s.hJ,pzy:()=>at.pz,O_i:()=>at.O_,HQK:()=>s.HQ,_hh:()=>at._h,PGG:()=>at.PG,tZQ:()=>r.t,$mf:()=>c.$m,JYE:()=>c.JY,E90:()=>s.E9,G0i:()=>c.G0,e4g:()=>c.e4,OHq:()=>at.OH,W9e:()=>c.W9,Sgh:()=>c.Sg,VGA:()=>c.VG,YCE:()=>s.YC,LCf:()=>at.LC,xxz:()=>at.xx,vSh:()=>n.vS,L1V:()=>n.L1,U0s:()=>n.U0,MXx:()=>n.MX,q8J:()=>s.q8,YLU:()=>at.YL,ayx:()=>at.ay,D_O:()=>n.D_,XsS:()=>s.Xs,hBr:()=>n.hB,cyL:()=>ct.cy,Lmq:()=>ct.Lm,Tnt:()=>ct.Tn,hnD:()=>s.hn,kZJ:()=>ct.kZ,EtT:()=>ct.Et,Gvm:()=>ct.Gv,Tj8:()=>s.Tj,KgX:()=>ct.Kg,Vh1:()=>s.Vh,TA3:()=>s.TA,iUN:()=>n.iU,$_c:()=>n.$_,vd6:()=>n.vd,K3:()=>n.K3,AlN:()=>s.Al,PZY:()=>n.PZ,ZGK:()=>rt.Z,yVN:()=>rt.y,$v4:()=>n.$v,KpY:()=>s.Kp,tdJ:()=>n.td,BWm:()=>n.BW,XuV:()=>n.Xu,TLE:()=>n.TL,wMU:()=>n.wM,DNI:()=>n.DN,z94:()=>n.z9,ou7:()=>n.ou,N5f:()=>n.N5,Dvh:()=>n.Dv,GWL:()=>n.GW,X_1:()=>n.X_,$OP:()=>n.$O,w20:()=>n.w2,jhA:()=>c.jh,dvp:()=>n.dv,xHs:()=>n.xH,boI:()=>n.bo,SnF:()=>ot.Sn,MdX:()=>ot.Md,M3Y:()=>c.M3,a56:()=>n.a5,BFN:()=>n.BF,unK:()=>n.un,Kw2:()=>n.Kw,$GP:()=>n.$G,mRf:()=>n.mR,vEz:()=>c.vE,R5R:()=>at.R5,BN0:()=>at.BN,JC0:()=>n.JC,vFD:()=>n.vF,NFi:()=>n.NF,oiR:()=>n.oi,K6u:()=>at.K6,euA:()=>n.eu,yxQ:()=>n.yx,aEA:()=>n.aE,T5G:()=>s.T5,BRq:()=>s.BR,lVH:()=>s.lV,tGT:()=>s.tG,ADE:()=>c.AD,Bro:()=>r.B,OEu:()=>c.OE,DT4:()=>c.DT,zgn:()=>n.zg,Rhv:()=>n.Rh,dmB:()=>n.dm,zIs:()=>at.zI,egF:()=>at.eg,Pgy:()=>n.Pg,RqE:()=>n.Rq,pHD:()=>n.pH,KZx:()=>n.KZ,NuQ:()=>n.Nu,Eow:()=>n.Eo,$k3:()=>lt,UC0:()=>s.UC,JvX:()=>at.Jv,Kog:()=>at.Ko,nKi:()=>n.nK,RVs:()=>n.RV});var n=i(1607),s=i(5721);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 s=i.length,o=i.indexOf(e);o<n.z9||(s===n.LD?this._listeners.delete(t):i.splice(o,n.LD))}}var a=i(625),r=i(4077),c=i(7879);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.8"}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,s.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,s.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,n.JC)}async load(t){await this.init();const{Container:e}=await i.e(209).then(i.bind(i,3209)),o=t.id??t.element?.id??`tsparticles${Math.floor((0,c.G0)()*n.$v).toString()}`,{index:a,url:d}=t,u=d?await async function(t){const e=(0,s.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,h=(0,s.TA)(u,a),{items:p}=this,f=p.findIndex((t=>t.id.description===o)),v=new e(this,o,h);if(f>=n.PZ){const t=this.item(f),e=t?n.xH:n.dv;t&&!t.destroyed&&t.destroy(!1),p.splice(f,e,v)}else p.push(v);const g=((t,e)=>{const i=(0,s.T5)();let o=e??i.getElementById(t);return o||(o=i.createElement("div"),o.id=t,o.dataset[n.eb]=n.ce,i.body.append(o),o)})(o,t.element),m=(t=>{const e=(0,s.T5)();let i;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===n.RF)i=t,i.dataset[n.eb]??=n.X$;else{const s=t.getElementsByTagName(n.RF)[n.Nx];s?(i=s,i.dataset[n.eb]=n.X$):(i=e.createElement(n.RF),i.dataset[n.eb]=n.ce,t.appendChild(i))}return i.style.width||=l,i.style.height||=l,i})(g);return v.canvas.loadCanvas(m),await v.start(),v}loadParticlesOptions(t,e,...i){const n=this.updaters.get(t);n&&n.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 u,h=i(4564),p=i(4673),f=i(918),v=i(9508);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(u||(u={}));var g,m=i(2604),y=i(3509),b=i(6284),x=i(8991),w=i(2767),M=i(6117),z=i(4939);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(g||(g={}));var S,R=i(9239),O=i(7736);!function(t){t.easeInBack="ease-in-back",t.easeInBounce="ease-in-bounce",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInElastic="ease-in-elastic",t.easeInExpo="ease-in-expo",t.easeInGaussian="ease-in-gaussian",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInSigmoid="ease-in-sigmoid",t.easeInSine="ease-in-sine",t.easeInSmoothstep="ease-in-smoothstep",t.easeOutBack="ease-out-back",t.easeOutBounce="ease-out-bounce",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutElastic="ease-out-elastic",t.easeOutExpo="ease-out-expo",t.easeOutGaussian="ease-out-gaussian",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutSigmoid="ease-out-sigmoid",t.easeOutSine="ease-out-sine",t.easeOutSmoothstep="ease-out-smoothstep",t.easeInOutBack="ease-in-out-back",t.easeInOutBounce="ease-in-out-bounce",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutElastic="ease-in-out-elastic",t.easeInOutExpo="ease-in-out-expo",t.easeInOutGaussian="ease-in-out-gaussian",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.easeInOutSigmoid="ease-in-out-sigmoid",t.easeInOutSine="ease-in-out-sine",t.easeInOutSmoothstep="ease-in-out-smoothstep"}(S||(S={}));var P=i(4303),E=i(9175),T=i(5486),k=i(3345),F=i(6681),_=i(1295),A=i(4833),D=i(7718),L=i(7975),I=i(5630),V=i(7505),G=i(4429),C=i(7538),$=i(1894),q=i(5835),Z=i(6420),B=i(8558),H=i(6933),K=i(3762),N=i(3466),U=i(2346),j=i(9498),W=i(9711),Y=i(7687),J=i(2347),X=i(4149),Q=i(7015),tt=i(1395),et=i(4909),it=i(4165),nt=i(3640),st=i(1674),ot=i(6093),at=i(5206),rt=i(4017),ct=i(5921);const lt=new d;globalThis.tsParticles=lt},7736(t,e,i){var n;i.d(e,{S:()=>n}),function(t){t.max="max",t.min="min",t.random="random"}(n||(n={}))},7879(t,e,i){i.d(e,{$m:()=>P,AD:()=>p,DT:()=>M,G0:()=>u,JY:()=>O,M3:()=>D,Mh:()=>k,Nx:()=>_,OE:()=>d,OW:()=>E,Sg:()=>x,VG:()=>b,W9:()=>w,Yf:()=>S,e4:()=>h,eh:()=>T,i0:()=>f,jh:()=>m,l1:()=>F,pu:()=>R,px:()=>v,qE:()=>g,qM:()=>A,vE:()=>y,vr:()=>z});var n=i(9508),s=i(1607),o=i(918),a=i(5921);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(t=Math.random){c=t}function u(){return g(c(),0,1-Number.EPSILON)}function h(t,e){return u()*(e-t)+t}function p(t,e){l.nextFrame=e=>t(e),l.cancel=t=>{e(t)}}function f(t){return l.nextFrame(t)}function v(t){l.cancel(t)}function g(t,e,i){return Math.min(Math.max(t,e),i)}function m(t,e,i,n){return Math.floor((t*i+e*n)/(i+n))}function y(t){const e=w(t);let i=x(t);return e===i&&(i=0),h(i,e)}function b(t){return(0,a.Et)(t)?t:y(t)}function x(t){return(0,a.Et)(t)?t:t.min}function w(t){return(0,a.Et)(t)?t:t.max}function M(t,e){if(t===e||void 0===e&&(0,a.Et)(t))return t;const i=x(t),n=w(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(n,e)}:M(i,n)}function z(t,e){const i=t.x-e.x,n=t.y-e.y;return{dx:i,dy:n,distance:Math.sqrt(i**2+n**2)}}function S(t,e){return z(t,e).distance}function R(t){return t*r}function O(t,e,i){if((0,a.Et)(t))return R(t);switch(t){case n.F.top:return-Math.PI*s.MX;case n.F.topRight:return-Math.PI*s.$G;case n.F.right:return s.Ie;case n.F.bottomRight:return Math.PI*s.$G;case n.F.bottom:return Math.PI*s.MX;case n.F.bottomLeft:return Math.PI*s.Rq;case n.F.left:return Math.PI;case n.F.topLeft:return-Math.PI*s.Rq;case n.F.inside:return Math.atan2(i.y-e.y,i.x-e.x);case n.F.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return u()*s.R1}}function P(t){const e=o.M.origin;return e.length=1,e.angle=t,e}function E(t,e,i,n){return o.M.create(t.x*(i-n)/(i+n)+e.x*s.gd*n/(i+n),t.y)}function T(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/s.a5,y:t.position.y*t.size.height/s.a5}:void 0}function k(t){return{x:(t.position?.x??u()*s.a5)*t.size.width/s.a5,y:(t.position?.y??u()*s.a5)*t.size.height/s.a5}}function F(t){const e={x:void 0!==t.position?.x?b(t.position.x):void 0,y:void 0!==t.position?.y?b(t.position.y):void 0};return k({size:t.size,position:e})}function _(t){const{position:e,size:i}=t;return{x:e?.x??u()*i.width,y:e?.y??u()*i.height}}function A(t){const e={x:void 0!==t.position?.x?b(t.position.x):void 0,y:void 0!==t.position?.y?b(t.position.y):void 0};return _({size:t.size,position:e})}function D(t){return t?t.endsWith("%")?parseFloat(t)/s.a5:parseFloat(t):1}},7975(t,e,i){i.d(e,{O:()=>s});var n=i(5921);class s{constructor(){this.value=""}static create(t,e){const i=new s;return i.load(t),void 0!==e&&((0,n.Kg)(e)||(0,n.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){(0,n.kZ)(t)||(0,n.kZ)(t.value)||(this.value=t.value)}}},8558(t,e,i){i.d(e,{Z:()=>o});var n=i(2767),s=i(5921);class o{constructor(){this.x=50,this.y=50,this.mode=n.q.percent,this.radius=0}load(t){(0,s.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))}}},8991(t,e,i){var n;i.d(e,{Y:()=>n}),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(n||(n={}))},9175(t,e,i){i.d(e,{A:()=>a});var n=i(5921),s=i(4833),o=i(7975);class a extends o.O{constructor(){super(),this.animation=new s.i}static create(t,e){const i=new a;return i.load(t),void 0!==e&&((0,n.Kg)(e)||(0,n.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),(0,n.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}},9239(t,e,i){var n;i.d(e,{x:()=>n}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(n||(n={}))},9498(t,e,i){i.d(e,{N:()=>a});var n=i(7687),s=i(9711),o=i(5921);class a{constructor(){this.density=new n.M,this.limit=new s.A,this.value=0}load(t){(0,o.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},9508(t,e,i){var n;i.d(e,{F:()=>n}),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"}(n||(n={}))},9711(t,e,i){i.d(e,{A:()=>o});var n=i(6284),s=i(5921);class o{constructor(){this.mode=n.d.delete,this.value=0}load(t){(0,s.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}}},n={};function s(t){var e=n[t];if(void 0!==e)return e.exports;var o=n[t]={exports:{}};return i[t](o,o.exports,s),o.exports}s.m=i,s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((e,i)=>(s.f[i](t,e),e)),[])),s.u=t=>t+".min.js",s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/basic:",s.l=(i,n,o,a)=>{if(t[i])t[i].push(n);else{var r,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==e+o){r=u;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",s.nc&&r.setAttribute("nonce",s.nc),r.setAttribute("data-webpack",e+o),r.src=i),t[i]=[n];var h=(e,n)=>{r.onerror=r.onload=null,clearTimeout(p);var s=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),s&&s.forEach((t=>t(n))),e)return e(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=h.bind(null,r.onerror),r.onload=h.bind(null,r.onload),c&&document.head.appendChild(r)}},s.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 n=i.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=i[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t})(),(()=>{var t={699:0};s.f.j=(e,i)=>{var n=s.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var o=new Promise(((i,s)=>n=t[e]=[i,s]));i.push(n[2]=o);var a=s.p+s.u(e),r=new Error;s.l(a,(i=>{if(s.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){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,n[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var n,o,[a,r,c]=i,l=0;if(a.some((e=>0!==t[e]))){for(n in r)s.o(r,n)&&(s.m[n]=r[n]);if(c)c(s)}for(e&&e(i);l<a.length;l++)o=a[l],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0},i=this.webpackChunk_tsparticles_basic=this.webpackChunk_tsparticles_basic||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var o={};async function a(t){t.checkVersion("4.0.0-alpha.8"),await t.register((async t=>{const{loadHexColorPlugin:e}=await s.e(49).then(s.bind(s,1049)),{loadHslColorPlugin:i}=await s.e(191).then(s.bind(s,7191)),{loadRgbColorPlugin:n}=await s.e(3).then(s.bind(s,3003)),{loadBaseMover:o}=await s.e(201).then(s.bind(s,2201)),{loadCircleShape:a}=await s.e(521).then(s.bind(s,521)),{loadColorUpdater:r}=await s.e(302).then(s.bind(s,5302)),{loadOpacityUpdater:c}=await s.e(56).then(s.bind(s,7056)),{loadOutModesUpdater:l}=await s.e(85).then(s.bind(s,1085)),{loadSizeUpdater:d}=await s.e(234).then(s.bind(s,9234));await e(t),await i(t),await n(t),await o(t),await a(t),await r(t),await c(t),await l(t),await d(t)}))}s.r(o),s.d(o,{AlterType:()=>r.HKZ,AnimatableColor:()=>r.A9e,AnimationMode:()=>r.gmr,AnimationOptions:()=>r.pK_,AnimationStatus:()=>r.H_P,AnimationValueWithRandom:()=>r.Jmi,Background:()=>r.VS$,BaseRange:()=>r.dgY,Circle:()=>r.jlt,ColorAnimation:()=>r.evc,DestroyType:()=>r.VKE,EasingType:()=>r.mgy,EventType:()=>r.Bx4,FullScreen:()=>r.mcU,GradientType:()=>r.hqM,HslAnimation:()=>r.i74,LimitMode:()=>r.dtg,Move:()=>r.yUV,MoveAngle:()=>r.hzL,MoveAttract:()=>r.RE3,MoveCenter:()=>r.Zgv,MoveDirection:()=>r.FWc,MoveGravity:()=>r.y1u,MovePath:()=>r.vU7,Opacity:()=>r.Y4E,OpacityAnimation:()=>r.IhC,Options:()=>r.JYR,OptionsColor:()=>r.Oit,OutMode:()=>r.Yzx,OutModeDirection:()=>r.v5k,OutModes:()=>r.j$q,ParticleOutType:()=>r.x_I,ParticlesBounce:()=>r.wvn,ParticlesBounceFactor:()=>r.F5W,ParticlesDensity:()=>r.M1g,ParticlesNumber:()=>r.NeW,ParticlesNumberLimit:()=>r.Ad4,ParticlesOptions:()=>r.UOj,PixelMode:()=>r.qiC,Point:()=>r.bRX,RangedAnimationOptions:()=>r.Q4c,RangedAnimationValueWithRandom:()=>r.AIw,Rectangle:()=>r.M_G,ResizeEvent:()=>r.z0z,RotateDirection:()=>r.pTR,Shape:()=>r.ypk,Size:()=>r.or0,SizeAnimation:()=>r.qvJ,Spin:()=>r.tKH,StartValueType:()=>r.SKz,Stroke:()=>r.tcj,ValueWithRandom:()=>r.PVU,Vector:()=>r.Miz,Vector3d:()=>r.pGL,ZIndex:()=>r.Pyx,alterHsl:()=>r.yxh,animate:()=>r.i0Z,areBoundsInside:()=>r.O2_,arrayRandomIndex:()=>r.n02,calcExactPositionOrRandomFromSize:()=>r.NxB,calcExactPositionOrRandomFromSizeRanged:()=>r.qMV,calcPositionFromSize:()=>r.ehY,calcPositionOrRandomFromSize:()=>r.MhH,calcPositionOrRandomFromSizeRanged:()=>r.l1q,calculateBounds:()=>r.AEc,cancelAnimation:()=>r.pxm,canvasFirstIndex:()=>r.Nxk,canvasTag:()=>r.RFH,circleBounce:()=>r.pEn,circleBounceDataFromParticle:()=>r.Tgl,clamp:()=>r.qE8,clear:()=>r.IUd,clickRadius:()=>r.FSi,cloneStyle:()=>r.td3,collisionVelocity:()=>r.OWw,colorMix:()=>r.EYT,colorToHsl:()=>r.mKQ,colorToRgb:()=>r.qe,countOffset:()=>r.nqC,decayOffset:()=>r.WH8,deepExtend:()=>r.zwS,defaultAlpha:()=>r.aZx,defaultAngle:()=>r.tAJ,defaultDensityFactor:()=>r.lA,defaultFps:()=>r.z$P,defaultFpsLimit:()=>r.i8E,defaultLoops:()=>r.hKc,defaultOpacity:()=>r.hvP,defaultRadius:()=>r.M1H,defaultRatio:()=>r.$xb,defaultReduceFactor:()=>r.ZpR,defaultRemoveQuantity:()=>r.xd3,defaultRetryCount:()=>r.rqX,defaultRgbMin:()=>r.Fli,defaultTime:()=>r.tRb,defaultTransform:()=>r.UgP,defaultTransformValue:()=>r.zss,defaultVelocity:()=>r.jnW,degToRad:()=>r.puj,deleteCount:()=>r.LDU,double:()=>r.gdl,doublePI:()=>r.R1e,drawAfterEffect:()=>r.kac,drawBeforeEffect:()=>r.z5n,drawLine:()=>r.V6E,drawParticle:()=>r.p0m,drawParticlePlugin:()=>r.Wbn,drawShape:()=>r.KG7,drawShapeAfterDraw:()=>r.gF3,drawShapeBeforeDraw:()=>r.VGT,empty:()=>r.Iex,executeOnSingleOrMultiple:()=>r.wJ2,findItemFromSingleOrMultiple:()=>r.w3Z,generatedAttribute:()=>r.eb4,generatedFalse:()=>r.X$G,generatedTrue:()=>r.cei,getDistance:()=>r.YfF,getDistances:()=>r.vrU,getFullScreenStyle:()=>r.hJS,getHslAnimationFromHsl:()=>r.pzy,getHslFromAnimation:()=>r.O_i,getItemsFromInitializer:()=>r.HQK,getLinkColor:()=>r._hh,getLinkRandomColor:()=>r.PGG,getLogger:()=>r.tZQ,getParticleBaseVelocity:()=>r.$mf,getParticleDirectionAngle:()=>r.JYE,getPosition:()=>r.E90,getRandom:()=>r.G0i,getRandomInRange:()=>r.e4g,getRandomRgbColor:()=>r.OHq,getRangeMax:()=>r.W9e,getRangeMin:()=>r.Sgh,getRangeValue:()=>r.VGA,getSize:()=>r.YCE,getStyleFromHsl:()=>r.LCf,getStyleFromRgb:()=>r.xxz,hMax:()=>r.vSh,hMin:()=>r.L1V,hPhase:()=>r.U0s,half:()=>r.MXx,hasMatchMedia:()=>r.q8J,hslToRgb:()=>r.YLU,hslaToRgba:()=>r.ayx,identity:()=>r.D_O,initParticleNumericAnimationValue:()=>r.XsS,inverseFactorNumerator:()=>r.hBr,isArray:()=>r.cyL,isBoolean:()=>r.Lmq,isFunction:()=>r.Tnt,isInArray:()=>r.hnD,isNull:()=>r.kZJ,isNumber:()=>r.EtT,isObject:()=>r.Gvm,isPointInside:()=>r.Tj8,isString:()=>r.KgX,itemFromArray:()=>r.Vh1,itemFromSingleOrMultiple:()=>r.TA3,lFactor:()=>r.iUN,lMax:()=>r.$_c,lMin:()=>r.vd6,lengthOffset:()=>r.K3,loadBasic:()=>a,loadFont:()=>r.AlN,loadMinIndex:()=>r.PZY,loadOptions:()=>r.ZGK,loadParticlesOptions:()=>r.yVN,loadRandomFactor:()=>r.$v4,manageListener:()=>r.KpY,manualDefaultPosition:()=>r.tdJ,midColorValue:()=>r.BWm,millisecondsToSeconds:()=>r.XuV,minCoordinate:()=>r.TLE,minCount:()=>r.wMU,minFpsLimit:()=>r.DNI,minIndex:()=>r.z94,minLimit:()=>r.ou7,minRetries:()=>r.N5f,minStrokeWidth:()=>r.Dvh,minVelocity:()=>r.GWL,minZ:()=>r.X_1,minimumLength:()=>r.$OP,minimumSize:()=>r.w20,mix:()=>r.jhA,none:()=>r.dvp,one:()=>r.xHs,originPoint:()=>r.boI,paintBase:()=>r.SnF,paintImage:()=>r.MdX,parseAlpha:()=>r.M3Y,percentDenominator:()=>r.a56,phaseNumerator:()=>r.BFN,posOffset:()=>r.unK,qTreeCapacity:()=>r.Kw2,quarter:()=>r.$GP,randomColorValue:()=>r.mRf,randomInRangeValue:()=>r.vEz,rangeColorToHsl:()=>r.R5R,rangeColorToRgb:()=>r.BN0,removeDeleteCount:()=>r.JC0,removeMinIndex:()=>r.vFD,resizeEvent:()=>r.NFi,rgbMax:()=>r.oiR,rgbToHsl:()=>r.K6u,sMax:()=>r.euA,sMin:()=>r.yxQ,sNormalizedOffset:()=>r.aEA,safeDocument:()=>r.T5G,safeIntersectionObserver:()=>r.BRq,safeMatchMedia:()=>r.lVH,safeMutationObserver:()=>r.tGT,setAnimationFunctions:()=>r.ADE,setLogger:()=>r.Bro,setRandom:()=>r.OEu,setRangeValue:()=>r.DT4,sextuple:()=>r.zgn,sizeFactor:()=>r.Rhv,squareExp:()=>r.dmB,stringToAlpha:()=>r.zIs,stringToRgb:()=>r.egF,subdivideCount:()=>r.Pgy,threeQuarter:()=>r.RqE,touchDelay:()=>r.pHD,touchEndLengthOffset:()=>r.KZx,triple:()=>r.NuQ,tryCountIncrement:()=>r.Eow,tsParticles:()=>r.$k3,updateAnimation:()=>r.UC0,updateColor:()=>r.JvX,updateColorValue:()=>r.Kog,visibilityChangeEvent:()=>r.nKi,zIndexFactorOffset:()=>r.RVs});var r=s(7724);return o})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,()=>(()=>{"use strict";var e,t,i,a={2509(e,t,i){i.d(t,{$G:()=>D,$_:()=>F,$v:()=>U,$x:()=>P,BF:()=>eg,BW:()=>p,DN:()=>K,D_:()=>ed,Dv:()=>ec,Eo:()=>Q,Fl:()=>em,GW:()=>$,Ie:()=>L,JC:()=>C,K3:()=>eo,L1:()=>T,LD:()=>er,MX:()=>l,NF:()=>o,Nu:()=>ep,Nx:()=>N,PZ:()=>W,Pf:()=>ew,R1:()=>v,RF:()=>x,RV:()=>Z,Rq:()=>V,U0:()=>I,Ug:()=>u,WH:()=>Y,X$:()=>b,X_:()=>ee,Xu:()=>d,Zp:()=>O,a5:()=>r,aE:()=>ev,aZ:()=>m,bo:()=>c,ce:()=>y,dm:()=>z,dv:()=>J,eb:()=>a,eu:()=>_,gd:()=>f,hB:()=>R,hK:()=>eb,hv:()=>q,i8:()=>j,iU:()=>eu,iX:()=>M,jn:()=>ey,lA:()=>es,mR:()=>h,nK:()=>s,nq:()=>ei,oi:()=>k,ou:()=>et,rq:()=>w,tA:()=>el,tR:()=>ex,vF:()=>H,vS:()=>E,vd:()=>eh,w2:()=>G,wM:()=>ea,xH:()=>X,xd:()=>S,yj:()=>n,yx:()=>A,z$:()=>g,z9:()=>en,zg:()=>ef,zs:()=>B});let a="generated",n="source-over",o="resize",s="visibilitychange",r=100,l=.5,d=1e3,c={x:0,y:0,z:0},u={a:1,b:0,c:0,d:1},h="random",p="mid",f=2,v=2*Math.PI,g=60,m=1,y="true",b="false",x="canvas",w=0,z=2,M=100,S=1,P=1,O=1,R=1,k=255,E=360,_=100,F=100,T=0,A=0,I=60,L=0,D=.25,V=.75,$=0,B=1,G=0,Z=1,q=1,C=1,H=0,j=120,K=0,N=0,U=1e4,W=0,X=1,J=0,Y=1,Q=1,ee=0,et=0,ei=1,ea=0,en=0,eo=1,es=1,er=1,el=0,ed=1,ec=0,eu=1,eh=0,ep=3,ef=6,ev=1,eg=1,em=0,ey=0,eb=0,ex=0,ew=1},1810(e,t,i){i.d(t,{dg:()=>r,jl:()=>l,M_:()=>d}),(a=n||(n={})).circle="circle",a.rectangle="rectangle";var a,n,o=i(3221),s=i(2509);class r{position;type;constructor(e,t,i){this.position={x:e,y:t},this.type=i}_resetPosition(e,t){this.position.x=e,this.position.y=t}}class l extends r{radius;constructor(e,t,i){super(e,t,n.circle),this.radius=i}contains(e){return(0,o.gp)(e,this.position,this.radius)}intersects(e){let t=this.position,i=e.position,a=this.radius,o=Math.abs(i.x-t.x),r=Math.abs(i.y-t.y);if(e instanceof l||e.type===n.circle)return a+e.radius>Math.hypot(o,r);if(e instanceof d||e.type===n.rectangle){let{width:t,height:i}=e.size;return Math.pow(o-t,s.dm)+Math.pow(r-i,s.dm)<=a**s.dm||o<=a+t&&r<=a+i||o<=t||r<=i}return!1}reset(e,t,i){return this._resetPosition(e,t),this.radius=i,this}}class d extends r{size;constructor(e,t,i,a){super(e,t,n.rectangle),this.size={height:a,width:i}}contains(e){let t=this.size.width,i=this.size.height,a=this.position;return e.x>=a.x&&e.x<=a.x+t&&e.y>=a.y&&e.y<=a.y+i}intersects(e){if(e instanceof l)return e.intersects(this);if(!(e instanceof d))return!1;let t=this.size.width,i=this.size.height,a=this.position,n=e.position,o=e.size,s=o.width,r=o.height;return n.x<a.x+t&&n.x+s>a.x&&n.y<a.y+i&&n.y+r>a.y}reset(e,t,i,a){return this._resetPosition(e,t),this.size.width=i,this.size.height=a,this}}},2056(e,t,i){i.d(t,{M:()=>s,p:()=>o});var a=i(2509);function n(e){return"z"in e?e.z:a.bo.z}class o{x;y;z;constructor(e=a.bo.x,t=a.bo.y,i=a.bo.z){this.x=e,this.y=t,this.z=i}static get origin(){return o.create(a.bo.x,a.bo.y,a.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return o.create(e.x,e.y,n(e))}static create(e,t,i){return"number"==typeof e?new o(e,t??a.bo.y,i??a.bo.z):new o(e.x,e.y,n(e))}add(e){return o.create(this.x+e.x,this.y+e.y,this.z+n(e))}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=n(e)}copy(){return o.clone(this)}div(e){return o.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**a.dm+this.y**a.dm}mult(e){return o.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){let e=this.length;e!=a.dv&&this.multTo(a.hB/e)}rotate(e){return o.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),a.bo.z)}setTo(e){this.x=e.x,this.y=e.y,this.z=n(e)}sub(e){return o.create(this.x-e.x,this.y-e.y,this.z-n(e))}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=n(e)}_updateFromAngle(e,t){this.x=Math.cos(e)*t,this.y=Math.sin(e)*t}}class s extends o{constructor(e=a.bo.x,t=a.bo.y){super(e,t,a.bo.z)}static get origin(){return s.create(a.bo.x,a.bo.y)}static clone(e){return s.create(e.x,e.y)}static create(e,t){return"number"==typeof e?new s(e,t??a.bo.y):new s(e.x,e.y)}}},4801(e,t,i){var a,n;i.d(t,{H:()=>a}),(n=a||(a={})).increasing="increasing",n.decreasing="decreasing"},5518(e,t,i){var a,n;i.d(t,{F:()=>a}),(n=a||(a={})).bottom="bottom",n.bottomLeft="bottom-left",n.bottomRight="bottom-right",n.left="left",n.none="none",n.right="right",n.top="top",n.topLeft="top-left",n.topRight="top-right",n.outside="outside",n.inside="inside"},9754(e,t,i){var a,n;i.d(t,{v:()=>a}),(n=a||(a={})).bottom="bottom",n.left="left",n.right="right",n.top="top"},7287(e,t,i){var a,n;i.d(t,{g:()=>a}),(n=a||(a={})).auto="auto",n.increase="increase",n.decrease="decrease",n.random="random"},2402(e,t,i){var a,n;i.d(t,{d:()=>a}),(n=a||(a={})).delete="delete",n.wait="wait"},481(e,t,i){var a,n;i.d(t,{Y:()=>a}),(n=a||(a={})).bounce="bounce",n.none="none",n.out="out",n.destroy="destroy",n.split="split"},5781(e,t,i){var a,n;i.d(t,{q:()=>a}),(n=a||(a={})).precise="precise",n.percent="percent"},6055(e,t,i){var a,n;i.d(t,{H:()=>a}),(n=a||(a={})).darken="darken",n.enlighten="enlighten"},5869(e,t,i){var a,n;i.d(t,{V:()=>a}),(n=a||(a={})).none="none",n.max="max",n.min="min"},4967(e,t,i){var a,n;i.d(t,{B:()=>a}),(n=a||(a={})).configAdded="configAdded",n.containerInit="containerInit",n.particlesSetup="particlesSetup",n.containerStarted="containerStarted",n.containerStopped="containerStopped",n.containerDestroyed="containerDestroyed",n.containerPaused="containerPaused",n.containerPlay="containerPlay",n.containerBuilt="containerBuilt",n.particleAdded="particleAdded",n.particleDestroyed="particleDestroyed",n.particleRemoved="particleRemoved"},777(e,t,i){var a,n;i.d(t,{x:()=>a}),(n=a||(a={})).normal="normal",n.inside="inside",n.outside="outside"},8918(e,t,i){var a,n;i.d(t,{S:()=>a}),(n=a||(a={})).max="max",n.min="min",n.random="random"},3233(e,t,i){i.d(t,{A:()=>s});var a=i(887),n=i(3447),o=i(3061);class s extends o.O{animation;constructor(){super(),this.animation=new n.i}static create(e,t){let i=new s;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){if(super.load(e),(0,a.kZ)(e))return;let t=e.animation;void 0!==t&&(void 0===t.enable?this.animation.load(e.animation):this.animation.h.load(t))}}},7568(e,t,i){i.d(t,{Q:()=>l,p:()=>r});var a=i(7287),n=i(8918),o=i(887),s=i(3221);class r{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){(0,o.kZ)(e)||(void 0!==e.count&&(this.count=(0,s.DT)(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=(0,s.DT)(e.speed)),void 0!==e.decay&&(this.decay=(0,s.DT)(e.decay)),void 0!==e.delay&&(this.delay=(0,s.DT)(e.delay)),void 0!==e.sync&&(this.sync=e.sync))}}class l extends r{mode;startValue;constructor(){super(),this.mode=a.g.auto,this.startValue=n.S.random}load(e){super.load(e),(0,o.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.startValue&&(this.startValue=e.startValue))}}},3087(e,t,i){i.d(t,{V:()=>o});var a=i(3061),n=i(887);class o{color;image;opacity;position;repeat;size;constructor(){this.color=new a.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){(0,n.kZ)(e)||(void 0!==e.color&&(this.color=a.O.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image),void 0!==e.position&&(this.position=e.position),void 0!==e.repeat&&(this.repeat=e.repeat),void 0!==e.size&&(this.size=e.size),void 0!==e.opacity&&(this.opacity=e.opacity))}}},1043(e,t,i){i.d(t,{e:()=>s});var a=i(7568),n=i(887),o=i(3221);class s extends a.p{max;min;offset;constructor(e,t){super(),this.min=e,this.max=t,this.offset=0,this.sync=!0}load(e){super.load(e),(0,n.kZ)(e)||(void 0!==e.max&&(this.max=e.max),void 0!==e.min&&(this.min=e.min),void 0!==e.offset&&(this.offset=(0,o.DT)(e.offset)))}}},3901(e,t,i){i.d(t,{m:()=>n});var a=i(887);class n{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(e){(0,a.kZ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.zIndex&&(this.zIndex=e.zIndex))}}},3447(e,t,i){i.d(t,{i:()=>s});var a=i(2509),n=i(1043),o=i(887);class s{h=new n.e(a.L1,a.vS);l=new n.e(a.vd,a.$_);s=new n.e(a.yx,a.eu);load(e){(0,o.kZ)(e)||(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}},7752(e,t,i){i.d(t,{J:()=>c});var a=i(7807),n=i(887),o=i(3087),s=i(3901),r=i(5398),l=i(8507),d=i(3221);class c{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_engine;constructor(e,t){this._engine=e,this._container=t,this.autoPlay=!0,this.background=new o.V,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new s.m,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 r.z,this.smooth=!1,this.style={},this.zLayers=100}load(e){if((0,n.kZ)(e))return;void 0!==e.preset&&(this.preset=e.preset,(0,a.wJ)(this.preset,e=>{this._importPreset(e)})),void 0!==e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.clear&&(this.clear=e.clear),void 0!==e.key&&(this.key=e.key),void 0!==e.name&&(this.name=e.name),void 0!==e.delay&&(this.delay=(0,d.DT)(e.delay));let t=e.detectRetina;void 0!==t&&(this.detectRetina=t),void 0!==e.duration&&(this.duration=(0,d.DT)(e.duration));let i=e.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==e.hdr&&(this.hdr=e.hdr),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);let o=e.fullScreen;(0,n.Lm)(o)?this.fullScreen.enable=o:this.fullScreen.load(o),this.particles.load(e.particles),this.resize.load(e.resize),this.style=(0,a.zw)(this.style,e.style),void 0!==e.smooth&&(this.smooth=e.smooth),this._engine.plugins.forEach(t=>{t.loadOptions(this._container,this,e)})}_importPalette=e=>{let t=this._engine.getPalette(e);t&&this.load({background:{color:t.background},blend:{enable:!0,mode:t.blendMode},particles:{fill:{color:t.fill?{value:t.colors}:void 0,enable:t.fill},stroke:t.fill?void 0:t.colors.map(e=>({color:{value:e},width:1}))}})};_importPreset=e=>{this.load(this._engine.getPreset(e))}}},3061(e,t,i){i.d(t,{O:()=>n});var a=i(887);class n{value;constructor(){this.value=""}static create(e,t){let i=new n;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){!(0,a.kZ)(e)&&((0,a.kZ)(e.value)||(this.value=e.value))}}},1172(e,t,i){i.d(t,{w:()=>o});var a=i(9903),n=i(887);class o{horizontal;vertical;constructor(){this.horizontal=new a.F,this.vertical=new a.F}load(e){(0,n.kZ)(e)||(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}},9903(e,t,i){i.d(t,{F:()=>n});var a=i(6864);class n extends a.PV{constructor(){super(),this.value=1}}},4821(e,t,i){i.d(t,{S:()=>s});var a=i(3233),n=i(887),o=i(3221);class s{color;enable;opacity;constructor(){this.enable=!0,this.color=new a.A,this.color.value="#fff",this.opacity=1}load(e){(0,n.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.opacity&&(this.opacity=(0,o.DT)(e.opacity)))}}},5977(e,t,i){i.d(t,{y:()=>h});var a=i(5518),n=i(887),o=i(558),s=i(6136),r=i(6139),l=i(9760),d=i(4084),c=i(9784),u=i(3221);class h{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new o.h,this.center=new s.Z,this.decay=0,this.distance={},this.direction=a.F.none,this.drift=0,this.enable=!1,this.gravity=new r.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new c.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(e){if((0,n.kZ)(e))return;this.angle.load((0,n.Et)(e.angle)?{value:e.angle}:e.angle),this.center.load(e.center),void 0!==e.decay&&(this.decay=(0,u.DT)(e.decay)),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.distance&&(this.distance=(0,n.Et)(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),void 0!==e.drift&&(this.drift=(0,u.DT)(e.drift)),void 0!==e.enable&&(this.enable=e.enable),this.gravity.load(e.gravity);let t=e.outModes;void 0!==t&&((0,n.Gv)(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),void 0!==e.random&&(this.random=e.random),void 0!==e.size&&(this.size=e.size),void 0!==e.speed&&(this.speed=(0,u.DT)(e.speed)),this.spin.load(e.spin),void 0!==e.straight&&(this.straight=e.straight),void 0!==e.vibrate&&(this.vibrate=e.vibrate),void 0!==e.warp&&(this.warp=e.warp)}}},558(e,t,i){i.d(t,{h:()=>o});var a=i(887),n=i(3221);class o{offset;value;constructor(){this.offset=0,this.value=90}load(e){(0,a.kZ)(e)||(void 0!==e.offset&&(this.offset=(0,n.DT)(e.offset)),void 0!==e.value&&(this.value=(0,n.DT)(e.value)))}}},6136(e,t,i){i.d(t,{Z:()=>o});var a=i(5781),n=i(887);class o{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=a.q.percent,this.radius=0}load(e){(0,n.kZ)(e)||(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.radius&&(this.radius=e.radius))}}},6139(e,t,i){i.d(t,{y:()=>o});var a=i(887),n=i(3221);class o{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){(0,a.kZ)(e)||(void 0!==e.acceleration&&(this.acceleration=(0,n.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.inverse&&(this.inverse=e.inverse),void 0!==e.maxSpeed&&(this.maxSpeed=(0,n.DT)(e.maxSpeed)))}}},4084(e,t,i){i.d(t,{j:()=>o});var a=i(481),n=i(887);class o{bottom;default;left;right;top;constructor(){this.default=a.Y.out}load(e){(0,n.kZ)(e)||(void 0!==e.default&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}},9760(e,t,i){i.d(t,{v:()=>s});var a=i(6864),n=i(7807),o=i(887);class s{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new a.PV,this.enable=!1,this.options={}}load(e){!(0,o.kZ)(e)&&(void 0!==e.clamp&&(this.clamp=e.clamp),this.delay.load(e.delay),void 0!==e.enable&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=(0,n.zw)(this.options,e.options)))}}},9784(e,t,i){i.d(t,{t:()=>s});var a=i(7807),n=i(887),o=i(3221);class s{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(e){!(0,n.kZ)(e)&&(void 0!==e.acceleration&&(this.acceleration=(0,o.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),e.position&&(this.position=(0,a.zw)({},e.position)))}}},3341(e,t,i){i.d(t,{M:()=>n});var a=i(887);class n{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if((0,a.kZ)(e))return;void 0!==e.enable&&(this.enable=e.enable);let t=e.width;void 0!==t&&(this.width=t);let i=e.height;void 0!==i&&(this.height=i)}}},5384(e,t,i){i.d(t,{N:()=>s});var a=i(3341),n=i(2729),o=i(887);class s{density;limit;value;constructor(){this.density=new a.M,this.limit=new n.A,this.value=0}load(e){(0,o.kZ)(e)||(this.density.load(e.density),this.limit.load(e.limit),void 0!==e.value&&(this.value=e.value))}}},2729(e,t,i){i.d(t,{A:()=>o});var a=i(2402),n=i(887);class o{mode;value;constructor(){this.mode=a.d.delete,this.value=0}load(e){(0,n.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.value&&(this.value=e.value))}}},5353(e,t,i){i.d(t,{Y:()=>s});var a=i(9971),n=i(6864),o=i(887);class s extends n.AI{animation;constructor(){super(),this.animation=new a.I,this.value=1}load(e){if((0,o.kZ)(e))return;super.load(e);let t=e.animation;void 0!==t&&this.animation.load(t)}}},9971(e,t,i){i.d(t,{I:()=>s});var a=i(5869),n=i(7568),o=i(887);class s extends n.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=2}load(e){super.load(e),(0,o.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},8509(e,t,i){i.d(t,{U:()=>v});var a=i(7807),n=i(887);class o{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(e){if((0,n.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}var s=i(4821),r=i(5977),l=i(5353),d=i(1172),c=i(5384),u=i(6373),h=i(929),p=i(5216),f=i(8491);class v{bounce;effect;fill;groups;move;number;opacity;reduceDuplicates;shape;size;stroke;zIndex;_container;_engine;constructor(e,t){this._engine=e,this._container=t,this.bounce=new d.w,this.effect=new o,this.fill=new s.S,this.groups={},this.move=new r.y,this.number=new c.N,this.opacity=new l.Y,this.reduceDuplicates=!1,this.shape=new u.y,this.size=new h.o,this.stroke=new p.t,this.zIndex=new f.P}load(e){if((0,n.kZ)(e))return;if(void 0!==e.groups)for(let t of Object.keys(e.groups)){if(!(t in e.groups))continue;let i=e.groups[t];void 0!==i&&(this.groups[t]=(0,a.zw)(this.groups[t]??{},i))}void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.zIndex.load(e.zIndex);let t=e.fill;t&&(this.fill=(0,a.wJ)(t,e=>{let t=new s.S;return t.load(e),t}));let i=e.stroke;if(i&&(this.stroke=(0,a.wJ)(i,e=>{let t=new p.t;return t.load(e),t})),this._container){for(let t of this._engine.plugins)t.loadParticlesOptions&&t.loadParticlesOptions(this._container,this,e);let t=this._engine.updaters.get(this._container);if(t)for(let i of t)i.loadOptions&&i.loadOptions(this,e)}}}},6373(e,t,i){i.d(t,{y:()=>o});var a=i(7807),n=i(887);class o{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(e){if((0,n.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}},929(e,t,i){i.d(t,{o:()=>s});var a=i(6864),n=i(7211),o=i(887);class s extends a.AI{animation;constructor(){super(),this.animation=new n.q,this.value=3}load(e){if(super.load(e),(0,o.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}},7211(e,t,i){i.d(t,{q:()=>s});var a=i(5869),n=i(7568),o=i(887);class s extends n.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=5}load(e){super.load(e),(0,o.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},5216(e,t,i){i.d(t,{t:()=>s});var a=i(3233),n=i(887),o=i(3221);class s{color;opacity;width;constructor(){this.width=0}load(e){(0,n.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.width&&(this.width=(0,o.DT)(e.width)),void 0!==e.opacity&&(this.opacity=(0,o.DT)(e.opacity)))}}},8491(e,t,i){i.d(t,{P:()=>o});var a=i(6864),n=i(887);class o extends a.PV{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),(0,n.kZ)(e)||(void 0!==e.opacityRate&&(this.opacityRate=e.opacityRate),void 0!==e.sizeRate&&(this.sizeRate=e.sizeRate),void 0!==e.velocityRate&&(this.velocityRate=e.velocityRate))}}},5398(e,t,i){i.d(t,{z:()=>n});var a=i(887);class n{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(e){(0,a.kZ)(e)||(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.enable&&(this.enable=e.enable))}}},6864(e,t,i){i.d(t,{AI:()=>l,Jm:()=>r,PV:()=>s});var a=i(7568),n=i(887),o=i(3221);class s{value;constructor(){this.value=0}load(e){!(0,n.kZ)(e)&&((0,n.kZ)(e.value)||(this.value=(0,o.DT)(e.value)))}}class r extends s{animation=new a.p;load(e){if(super.load(e),(0,n.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}class l extends r{animation;constructor(){super(),this.animation=new a.Q}load(e){super.load(e)}}},6083(e,t,i){i.d(t,{IU:()=>s,KG:()=>c,Md:()=>o,Sn:()=>n,VG:()=>h,Wb:()=>p,gF:()=>u,k:()=>l,p0:()=>r,z5:()=>d});var a=i(2509);function n(e,t,i){e.fillStyle=i??"rgba(0,0,0,0)",e.fillRect(a.bo.x,a.bo.y,t.width,t.height)}function o(e,t,i,n){if(!i)return;let o=e.globalAlpha;e.globalAlpha=n,e.drawImage(i,a.bo.x,a.bo.y,t.width,t.height),e.globalAlpha=o}function s(e,t){e.clearRect(a.bo.x,a.bo.y,t.width,t.height)}function r(e){let{container:t,context:i,particle:n,delta:o,colorStyles:s,radius:r,opacity:p,transform:f}=e,{effectDrawers:v,shapeDrawers:g}=t.particles,m=n.getPosition(),y=n.getTransformData(f),b=a.Pf,x={x:m.x,y:m.y};i.setTransform(y.a,y.b,y.c,y.d,m.x,m.y),s.fill&&(i.fillStyle=s.fill);let w=!!n.fillEnabled,z=n.strokeWidth??a.Dv;i.lineWidth=z,s.stroke&&(i.strokeStyle=s.stroke);let M={context:i,particle:n,radius:r,drawRadius:r*b,opacity:p,delta:o,pixelRatio:t.retina.pixelRatio,fill:w,stroke:z>a.Dv,transformData:y,position:{...m},drawPosition:x,drawScale:b};for(let e of t.plugins)e.drawParticleTransform?.(M);let S=n.effect?v.get(n.effect):void 0,P=n.shape?g.get(n.shape):void 0;d(S,M),h(P,M),c(P,M),u(P,M),l(S,M),i.resetTransform()}function l(e,t){if(!e?.drawAfter)return;let{particle:i}=t;i.effect&&e.drawAfter(t)}function d(e,t){if(!e?.drawBefore)return;let{particle:i}=t;i.effect&&e.drawBefore(t)}function c(e,t){if(!e)return;let{context:i,fill:a,particle:n,stroke:o}=t;n.shape&&(i.beginPath(),e.draw(t),n.shapeClose&&i.closePath(),o&&i.stroke(),a&&i.fill())}function u(e,t){if(!e?.afterDraw)return;let{particle:i}=t;i.shape&&e.afterDraw(t)}function h(e,t){if(!e?.beforeDraw)return;let{particle:i}=t;i.shape&&e.beforeDraw(t)}function p(e,t,i,a){t.drawParticle&&t.drawParticle(e,i,a)}},1160(e,t,i){i.d(t,{BN:()=>h,EY:()=>P,Jv:()=>T,K6:()=>g,Ko:()=>F,LC:()=>S,OH:()=>w,O_:()=>k,PG:()=>R,R5:()=>v,YL:()=>b,_h:()=>O,ay:()=>x,eg:()=>y,mK:()=>f,pz:()=>E,qe:()=>p,xx:()=>z,yx:()=>A,zI:()=>m});var a=i(3221),n=i(2509),o=i(887),s=i(6055),r=i(4801),l=i(7807);let d=new Map;function c(e,t){let i=d.get(e);return i||(i=t(),d.size>=1e3&&[...d.keys()].slice(0,1e3*n.MX).forEach(e=>d.delete(e)),d.set(e,i)),i}function u(e,t){if(t){for(let i of e.colorManagers.values())if(i.accepts(t))return i.parseString(t)}}function h(e,t,i,a=!0){if(!t)return;let n=(0,o.Kg)(t)?{value:t}:t;if((0,o.Kg)(n.value))return p(e,n.value,i,a);if((0,o.cy)(n.value)){let t=(0,l.Vh)(n.value,i,a);if(!t)return;return h(e,{value:t})}for(let t of e.colorManagers.values()){let e=t.handleRangeColor(n);if(e)return e}}function p(e,t,i,a=!0){if(!t)return;let s=(0,o.Kg)(t)?{value:t}:t;if((0,o.Kg)(s.value))return s.value===n.mR?w():u(e,s.value);if((0,o.cy)(s.value)){let t=(0,l.Vh)(s.value,i,a);if(!t)return;return p(e,{value:t})}for(let t of e.colorManagers.values()){let e=t.handleColor(s);if(e)return e}}function f(e,t,i,a=!0){let n=p(e,t,i,a);return n?g(n):void 0}function v(e,t,i,a=!0){let n=h(e,t,i,a);return n?g(n):void 0}function g(e){let t=e.r/n.oi,i=e.g/n.oi,a=e.b/n.oi,o=Math.max(t,i,a),s=Math.min(t,i,a),r={h:n.L1,l:(o+s)*n.MX,s:n.yx};return o!==s&&(r.s=r.l<n.MX?(o-s)/(o+s):(o-s)/(n.gd-o-s),t===o?r.h=(i-a)/(o-s):i===o?r.h=n.gd+(a-t)/(o-s):r.h=n.gd*n.gd+(t-i)/(o-s)),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 m(e,t){return u(e,t)?.a}function y(e,t){return u(e,t)}function b(e){let t=(e.h%n.vS+n.vS)%n.vS,i=Math.max(n.yx,Math.min(n.eu,e.s)),a=Math.max(n.vd,Math.min(n.$_,e.l)),o=t/n.vS,s=i/n.eu,r=a/n.$_;if(i===n.yx){let e=Math.round(r*n.oi);return{r:e,g:e,b:e}}let l=(e,t,i)=>(i<0&&i++,i>1&&i--,i*n.zg<1)?e+(t-e)*n.zg*i:i*n.gd<1?t:i*n.Nu<+n.gd?e+(t-e)*(n.gd/n.Nu-i)*n.zg:e,d=r<n.MX?r*(n.aE+s):r+s-r*s,c=n.gd*r-d,u=n.BF/n.Nu;return{r:Math.round(Math.min(n.oi,n.oi*l(c,d,o+u))),g:Math.round(Math.min(n.oi,n.oi*l(c,d,o))),b:Math.round(Math.min(n.oi,n.oi*l(c,d,o-u)))}}function x(e){let t=b(e);return{a:e.a,b:t.b,g:t.g,r:t.r}}function w(e){let t=e??n.Fl,i=n.oi+n.D_,o=()=>Math.floor((0,a.e4)(t,i));return{b:o(),g:o(),r:o()}}function z(e,t,i){let a=i??n.hv;return c(`rgb-${e.r.toFixed(2)}-${e.g.toFixed(2)}-${e.b.toFixed(2)}-${t?"hdr":"sdr"}-${a.toString()}`,()=>{var a,o;return t?M(e,i):(a=e,o=i,`rgba(${a.r.toString()}, ${a.g.toString()}, ${a.b.toString()}, ${(o??n.hv).toString()})`)})}function M(e,t){return`color(display-p3 ${(e.r/n.oi).toString()} ${(e.g/n.oi).toString()} ${(e.b/n.oi).toString()} / ${(t??n.hv).toString()})`}function S(e,t,i){let a=i??n.hv;return c(`hsl-${e.h.toFixed(2)}-${e.s.toFixed(2)}-${e.l.toFixed(2)}-${t?"hdr":"sdr"}-${a.toString()}`,()=>{var a,o,s,r;return t?(a=e,o=i,M(b(a),o)):(s=e,r=i,`hsla(${s.h.toString()}, ${s.s.toString()}%, ${s.l.toString()}%, ${(r??n.hv).toString()})`)})}function P(e,t,i,n){let o=e,s=t;return"r"in o||(o=b(e)),"r"in s||(s=b(t)),{b:(0,a.jh)(o.b,s.b,i,n),g:(0,a.jh)(o.g,s.g,i,n),r:(0,a.jh)(o.r,s.r,i,n)}}function O(e,t,i){if(i===n.mR)return w();if(i!==n.BW)return i;{let i=e.getFillColor()??e.getStrokeColor(),a=t?.getFillColor()??t?.getStrokeColor();if(i&&a&&t)return P(i,a,e.getRadius(),t.getRadius());{let e=i??a;if(e)return b(e)}}}function R(e,t,i,a){let s=(0,o.Kg)(t)?t:t.value;return s===n.mR?a?h(e,{value:s}):i?n.mR:n.BW:s===n.BW?n.BW:h(e,{value:s})}function k(e){return void 0===e?void 0:{h:e.h.value,s:e.s.value,l:e.l.value}}function E(e,t,i){let a={h:{enable:!1,value:e.h,min:n.L1,max:n.vS},s:{enable:!1,value:e.s,min:n.yx,max:n.eu},l:{enable:!1,value:e.l,min:n.vd,max:n.$_}};return t&&(_(a.h,t.h,i),_(a.s,t.s,i),_(a.l,t.l,i)),a}function _(e,t,i){e.enable=t.enable,e.min=t.min,e.max=t.max,e.enable?(e.velocity=(0,a.VG)(t.speed)/n.a5*i,e.decay=n.WH-(0,a.VG)(t.decay),e.status=r.H.increasing,e.loops=n.hK,e.maxLoops=(0,a.VG)(t.count),e.time=n.tR,e.delayTime=(0,a.VG)(t.delay)*n.Xu,t.sync||(e.velocity*=(0,a.G0)(),e.value*=(0,a.G0)()),e.initialValue=e.value,e.offset=(0,a.DT)(t.offset)):e.velocity=n.jn}function F(e,t,i){if(!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0)||(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;let n=e.offset?(0,a.vE)(e.offset):0,o=(e.velocity??0)*i.factor+3.6*n,s=e.decay??1,l=e.max,d=e.min;t&&e.status!==r.H.increasing?(e.value-=o,e.value<d&&(e.loops??=0,e.loops++,e.status=r.H.increasing)):(e.value+=o,e.value>l&&(e.loops??=0,e.loops++,t?e.status=r.H.decreasing:e.value-=l)),e.velocity&&1!==s&&(e.velocity*=s),e.value=(0,a.qE)(e.value,d,l)}function T(e,t){if(!e)return;let{h:i,s:a,l:n}=e;F(i,!1,t),F(a,!0,t),F(n,!0,t)}function A(e,t,i){return{h:e.h,s:e.s,l:e.l+(t===s.H.darken?-n.iU:n.iU)*i}}},3535(e,t,i){i.d(t,{B:()=>n,t:()=>o});let a={debug:console.debug,error:(e,t)=>{console.error(`tsParticles - Error - ${e}`,t)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function n(e){a.debug=e.debug,a.error=e.error,a.info=e.info,a.log=e.log,a.verbose=e.verbose,a.warning=e.warning}function o(){return a}},3221(e,t,i){i.d(t,{$m:()=>k,AD:()=>p,DT:()=>function e(t,i){if(t===i||void 0===i&&(0,s.Et)(t))return t;let a=x(t),n=w(t);return void 0!==i?{min:Math.min(a,i),max:Math.max(n,i)}:e(a,n)},G0:()=>u,JY:()=>R,M3:()=>L,Mh:()=>F,Nx:()=>A,OE:()=>c,OW:()=>E,Sc:()=>M,Sg:()=>x,VG:()=>b,W9:()=>w,Yf:()=>S,e4:()=>h,eh:()=>_,gp:()=>P,i0:()=>f,jh:()=>m,l1:()=>T,pu:()=>O,px:()=>v,qE:()=>g,qM:()=>I,vE:()=>y,vr:()=>z});var a=i(5518),n=i(2509),o=i(2056),s=i(887);let r=Math.PI/180,l=Math.random,d={nextFrame:e=>requestAnimationFrame(e),cancel:e=>{cancelAnimationFrame(e)}};function c(e=Math.random){l=e}function u(){return g(l(),0,1-Number.EPSILON)}function h(e,t){return u()*(t-e)+e}function p(e,t){d.nextFrame=e,d.cancel=t}function f(e){return d.nextFrame(e)}function v(e){d.cancel(e)}function g(e,t,i){return Math.min(Math.max(e,t),i)}function m(e,t,i,a){return Math.floor((e*i+t*a)/(i+a))}function y(e){let t=w(e),i=x(e);return t===i&&(i=0),h(i,t)}function b(e){return(0,s.Et)(e)?e:y(e)}function x(e){return(0,s.Et)(e)?e:e.min}function w(e){return(0,s.Et)(e)?e:e.max}function z(e,t){let i=e.x-t.x,a=e.y-t.y;return{dx:i,dy:a,distance:Math.hypot(i,a)}}function M(e,t){let i=e.x-t.x,a=e.y-t.y;return i*i+a*a}function S(e,t){return Math.sqrt(M(e,t))}function P(e,t,i){return M(e,t)<=i*i}function O(e){return e*r}function R(e,t,i){if((0,s.Et)(e))return e*r;switch(e){case a.F.top:return-Math.PI*n.MX;case a.F.topRight:return-Math.PI*n.$G;case a.F.right:return n.Ie;case a.F.bottomRight:return Math.PI*n.$G;case a.F.bottom:return Math.PI*n.MX;case a.F.bottomLeft:return Math.PI*n.Rq;case a.F.left:return Math.PI;case a.F.topLeft:return-Math.PI*n.Rq;case a.F.inside:return Math.atan2(i.y-t.y,i.x-t.x);case a.F.outside:return Math.atan2(t.y-i.y,t.x-i.x);default:return u()*n.R1}}function k(e){let t=o.M.origin;return t.length=1,t.angle=e,t}function E(e,t,i,a){return o.M.create(e.x*(i-a)/(i+a)+t.x*n.gd*a/(i+a),e.y)}function _(e){return e.position?.x!==void 0&&void 0!==e.position.y?{x:e.position.x*e.size.width/n.a5,y:e.position.y*e.size.height/n.a5}:void 0}function F(e){return{x:(e.position?.x??u()*n.a5)*e.size.width/n.a5,y:(e.position?.y??u()*n.a5)*e.size.height/n.a5}}function T(e){let t={x:e.position?.x!==void 0?b(e.position.x):void 0,y:e.position?.y!==void 0?b(e.position.y):void 0};return F({size:e.size,position:t})}function A(e){let{position:t,size:i}=e;return{x:t?.x??u()*i.width,y:t?.y??u()*i.height}}function I(e){let t={x:e.position?.x!==void 0?b(e.position.x):void 0,y:e.position?.y!==void 0?b(e.position.y):void 0};return A({size:e.size,position:t})}function L(e){return e?e.endsWith("%")?parseFloat(e)/n.a5:parseFloat(e):1}},8507(e,t,i){i.d(t,{Z:()=>n,y:()=>o});var a=i(8509);function n(e,...t){for(let i of t)e.load(i)}function o(e,t,...i){let s=new a.U(e,t);return n(s,...i),s}},887(e,t,i){function a(e){return"boolean"==typeof e}function n(e){return"string"==typeof e}function o(e){return"number"==typeof e}function s(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}function l(e){return Array.isArray(e)}function d(e){return null==e}i.d(t,{Et:()=>o,Gv:()=>r,Kg:()=>n,Lm:()=>a,Tn:()=>s,cy:()=>l,kZ:()=>d})},7807(e,t,i){i.d(t,{AE:()=>S,BR:()=>m,Bj:()=>p,E9:()=>T,HQ:()=>$,Kp:()=>V,O2:()=>M,Ot:()=>B,T5:()=>v,TA:()=>k,Tg:()=>P,Tj:()=>z,UC:()=>I,Vh:()=>w,Xs:()=>_,YC:()=>A,hJ:()=>D,hn:()=>b,lV:()=>g,n0:()=>x,pE:()=>O,q8:()=>f,tG:()=>y,td:()=>L,w3:()=>E,wJ:()=>R,zw:()=>function e(t,...i){for(let a of i){if((0,o.kZ)(a))continue;if(!(0,o.Gv)(a)){t=a;continue}Array.isArray(a)?Array.isArray(t)||(t=[]):(!(0,o.Gv)(t)||Array.isArray(t))&&(t={});let i=Object.keys(a),n=new Set(["__proto__","constructor","prototype"]);if(!i.some(e=>{let t=a[e];return(0,o.Gv)(t)||Array.isArray(t)})){let e=t;for(let t of i)if(!n.has(t)&&t in a){let i=a[t];void 0!==i&&(e[t]=i)}continue}for(let o of i){if(n.has(o))continue;let i=t,s=a[o];i[o]=Array.isArray(s)?s.map(t=>e(void 0,t)):e(i[o],s)}}return t}});var a=i(3221),n=i(2509),o=i(887),s=i(7287),r=i(4801),l=i(5869),d=i(9754),c=i(5781),u=i(8918),h=i(2056);function p(e,t){let i=new Map,a=t?.maxSize,n=t?.ttlMs,o=t?.keyFn,s=(e,t=new WeakSet)=>{if(null===e)return"null";let i=typeof e;if("undefined"===i)return"undefined";if("number"===i||"boolean"===i||"string"===i)return JSON.stringify(e);if("function"===i)try{return e.toString()}catch{return'"[Function]"'}if("symbol"===i)try{return e.toString()}catch{return'"[Symbol]"'}if(Array.isArray(e))return`[${e.map(e=>s(e,t)).join(",")}]`;if(t.has(e))return'"[Circular]"';t.add(e);let a=Object.keys(e).sort();return`{${a.map(i=>`${JSON.stringify(i)}:${s(e[i],t)}`).join(",")}}`};return(...t)=>{let r,l=(r=t,o?o(r):s(r)),d=Date.now(),c=i.get(l);if(void 0!==c)if(!n||!(d-c.ts>n))return i.delete(l),i.set(l,{value:c.value,ts:c.ts}),c.value;else i.delete(l);let u=e(...t);if(i.set(l,{value:u,ts:d}),"number"==typeof a&&a>=0)for(;i.size>a;){let e=i.keys().next().value;if(void 0===e)break;i.delete(e)}return u}}function f(){return"u">typeof matchMedia}function v(){return globalThis.document}function g(e){if(f())return matchMedia(e)}function m(e){if("u">typeof IntersectionObserver)return new IntersectionObserver(e)}function y(e){if("u">typeof MutationObserver)return new MutationObserver(e)}function b(e,t){return e===t||(0,o.cy)(t)&&t.includes(e)}function x(e){return Math.floor((0,a.G0)()*e.length)}function w(e,t,i=!0){return e[void 0!==t&&i?t%e.length:x(e)]}function z(e,t,i,a,n){return M(S(e,a??0),t,i,n)}function M(e,t,i,a){let n=!0;return a&&a!==d.v.bottom||(n=e.top<t.height+i.x),n&&(!a||a===d.v.left)&&(n=e.right>i.x),n&&(!a||a===d.v.right)&&(n=e.left<t.width+i.y),n&&(!a||a===d.v.top)&&(n=e.bottom>i.y),n}function S(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function P(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:h.M.create((0,a.VG)(e.options.bounce.horizontal.value),(0,a.VG)(e.options.bounce.vertical.value))}}function O(e,t){let{x:i,y:n}=e.velocity.sub(t.velocity),[o,s]=[e.position,t.position],{dx:r,dy:l}=(0,a.vr)(s,o);if(i*r+n*l<0)return;let d=-Math.atan2(l,r),c=e.mass,u=t.mass,h=e.velocity.rotate(d),p=t.velocity.rotate(d),f=(0,a.OW)(h,p,c,u),v=(0,a.OW)(p,h,c,u),g=f.rotate(-d),m=v.rotate(-d);e.velocity.x=g.x*e.factor.x,e.velocity.y=g.y*e.factor.y,t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y}function R(e,t){return(0,o.cy)(e)?e.map((e,i)=>t(e,i)):t(e,0)}function k(e,t,i){return(0,o.cy)(e)?w(e,t,i):e}function E(e,t){return(0,o.cy)(e)?e.find((e,i)=>t(e,i)):t(e,0)?e:void 0}function _(e,t){let i=e.value,o=e.animation,l={delayTime:(0,a.VG)(o.delay)*n.Xu,enable:o.enable,value:(0,a.VG)(e.value)*t,max:(0,a.W9)(i)*t,min:(0,a.Sg)(i)*t,loops:0,maxLoops:(0,a.VG)(o.count),time:0};if(o.enable){switch(l.decay=1-(0,a.VG)(o.decay),o.mode){case s.g.increase:l.status=r.H.increasing;break;case s.g.decrease:l.status=r.H.decreasing;break;case s.g.random:l.status=(0,a.G0)()>=n.MX?r.H.increasing:r.H.decreasing}let e=o.mode===s.g.auto;switch(o.startValue){case u.S.min:l.value=l.min,e&&(l.status=r.H.increasing);break;case u.S.max:l.value=l.max,e&&(l.status=r.H.decreasing);break;case u.S.random:default:l.value=(0,a.vE)(l),e&&(l.status=(0,a.G0)()>=n.MX?r.H.increasing:r.H.decreasing)}}return l.initialValue=l.value,l}function F(e,t){if(e.mode!==c.q.percent){let{mode:t,...i}=e;return i}return"x"in e?{x:e.x/n.a5*t.width,y:e.y/n.a5*t.height}:{width:e.width/n.a5*t.width,height:e.height/n.a5*t.height}}function T(e,t){return F(e,t)}function A(e,t){return F(e,t)}function I(e,t,i,n,o){if(e.destroyed||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;let s=(t.velocity??0)*o.factor,d=t.min,c=t.max,u=t.decay??1;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=o.value),!((t.delayTime??0)>0)||!(t.time<(t.delayTime??0))){switch(t.status){case r.H.increasing:t.value>=c?(i?t.status=r.H.decreasing:t.value-=c,t.loops??=0,t.loops++):t.value+=s;break;case r.H.decreasing:t.value<=d?(i?t.status=r.H.increasing:t.value+=c,t.loops??=0,t.loops++):t.value-=s}t.velocity&&1!==u&&(t.velocity*=u);var h=t.value;switch(n){case l.V.max:h>=c&&e.destroy();break;case l.V.min:h<=d&&e.destroy()}t.value=(0,a.qE)(t.value,d,c)}}function L(e){let t=v().createElement("div").style;for(let i in e){let a=e[i];if(!(i in e)||(0,o.kZ)(a))continue;let n=e.getPropertyValue?.(a);if(!n)continue;let s=e.getPropertyPriority?.(a);s?t.setProperty(a,n,s):t.setProperty(a,n)}return t}let D=p(function(e){let t=v().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:e.toString(10),"z-index":e.toString(10),top:"0",left:"0"};for(let e in i){let a=i[e];void 0!==a&&t.setProperty(e,a)}return t});function V(e,t,i,a,n){if(a){let a={passive:!0};(0,o.Lm)(n)?a.capture=n:void 0!==n&&(a=n),e.addEventListener(t,i,a)}else e.removeEventListener(t,i,n)}async function $(e,t,i,a=!1){let n=t.get(e);return(!n||a)&&(n=await Promise.all([...i.values()].map(t=>t(e))),t.set(e,n)),n}async function B(e,t,i,a=!1){let n=t.get(e);return(!n||a)&&(n=new Map(await Promise.all([...i.entries()].map(([t,i])=>i(e).then(e=>[t,e])))),t.set(e,n)),n}},1989(e,t,i){i.d(t,{HKZ:()=>O.H,A9e:()=>F.A,gmr:()=>z.g,pK_:()=>T.p,H_P:()=>_.H,Jmi:()=>er.Jm,VS$:()=>A.V,dgY:()=>y.dg,jlt:()=>y.jl,evc:()=>I.e,VKE:()=>R.V,mgy:()=>l,Bx4:()=>h.B,SQl:()=>q.S,mcU:()=>L.m,hqM:()=>r,i74:()=>D.i,dtg:()=>M.d,yUV:()=>H.y,hzL:()=>j.h,Zgv:()=>K.Z,FWc:()=>x.F,y1u:()=>N.y,vU7:()=>W.v,Y4E:()=>ee.Y,IhC:()=>et.I,JYR:()=>V.J,Oit:()=>$.O,Yzx:()=>S.Y,v5k:()=>w.v,j$q:()=>U.j,x_I:()=>k.x,wvn:()=>B.w,F5W:()=>G.F,M1g:()=>Q.M,NeW:()=>J.N,Ad4:()=>Y.A,UOj:()=>Z.U,qiC:()=>P.q,Q4c:()=>T.Q,AIw:()=>er.AI,M_G:()=>y.M_,z0z:()=>es.z,pTR:()=>s,ypk:()=>ei.y,or0:()=>ea.o,qvJ:()=>en.q,tKH:()=>X.t,SKz:()=>E.S,tcj:()=>C.t,PVU:()=>er.PV,Miz:()=>b.M,pGL:()=>b.p,Pyx:()=>eo.P,yxh:()=>ed.yx,i0Z:()=>f.i0,O2_:()=>c.O2,n02:()=>c.n0,NxB:()=>f.Nx,qMV:()=>f.qM,ehY:()=>f.eh,MhH:()=>f.Mh,l1q:()=>f.l1,AEc:()=>c.AE,pxm:()=>f.px,Nxk:()=>d.Nx,RFH:()=>d.RF,gpg:()=>f.gp,pEn:()=>c.pE,Tgl:()=>c.Tg,qE8:()=>f.qE,IUd:()=>el.IU,td3:()=>c.td,OWw:()=>f.OW,EYT:()=>ed.EY,mKQ:()=>ed.mK,qe:()=>ed.qe,nqC:()=>d.nq,WH8:()=>d.WH,zwS:()=>c.zw,aZx:()=>d.aZ,tAJ:()=>d.tA,yjn:()=>d.yj,lA:()=>d.lA,z$P:()=>d.z$,i8E:()=>d.i8,hKc:()=>d.hK,hvP:()=>d.hv,$xb:()=>d.$x,ZpR:()=>d.Zp,xd3:()=>d.xd,rqX:()=>d.rq,Fli:()=>d.Fl,tRb:()=>d.tR,UgP:()=>d.Ug,zss:()=>d.zs,jnW:()=>d.jn,Pf9:()=>d.Pf,puj:()=>f.pu,LDU:()=>d.LD,gdl:()=>d.gd,R1e:()=>d.R1,kac:()=>el.k,z5n:()=>el.z5,p0m:()=>el.p0,Wbn:()=>el.Wb,KG7:()=>el.KG,gF3:()=>el.gF,VGT:()=>el.VG,Iex:()=>d.Ie,wJ2:()=>c.wJ,w3Z:()=>c.w3,eb4:()=>d.eb,X$G:()=>d.X$,cei:()=>d.ce,YfF:()=>f.Yf,Scl:()=>f.Sc,vrU:()=>f.vr,hJS:()=>c.hJ,pzy:()=>ed.pz,O_i:()=>ed.O_,OtU:()=>c.Ot,HQK:()=>c.HQ,_hh:()=>ed._h,PGG:()=>ed.PG,tZQ:()=>p.t,$mf:()=>f.$m,JYE:()=>f.JY,E90:()=>c.E9,G0i:()=>f.G0,e4g:()=>f.e4,OHq:()=>ed.OH,W9e:()=>f.W9,Sgh:()=>f.Sg,VGA:()=>f.VG,YCE:()=>c.YC,LCf:()=>ed.LC,xxz:()=>ed.xx,vSh:()=>d.vS,L1V:()=>d.L1,U0s:()=>d.U0,MXx:()=>d.MX,q8J:()=>c.q8,YLU:()=>ed.YL,ayx:()=>ed.ay,D_O:()=>d.D_,XsS:()=>c.Xs,hBr:()=>d.hB,cyL:()=>eu.cy,Lmq:()=>eu.Lm,Tnt:()=>eu.Tn,hnD:()=>c.hn,kZJ:()=>eu.kZ,EtT:()=>eu.Et,Gvm:()=>eu.Gv,Tj8:()=>c.Tj,KgX:()=>eu.Kg,Vh1:()=>c.Vh,TA3:()=>c.TA,iUN:()=>d.iU,$_c:()=>d.$_,vd6:()=>d.vd,K3:()=>d.K3,PZY:()=>d.PZ,ZGK:()=>ec.Z,yVN:()=>ec.y,$v4:()=>d.$v,KpY:()=>c.Kp,BjF:()=>c.Bj,BWm:()=>d.BW,XuV:()=>d.Xu,wMU:()=>d.wM,DNI:()=>d.DN,z94:()=>d.z9,ou7:()=>d.ou,Dvh:()=>d.Dv,GWL:()=>d.GW,X_1:()=>d.X_,w20:()=>d.w2,jhA:()=>f.jh,dvp:()=>d.dv,xHs:()=>d.xH,boI:()=>d.bo,SnF:()=>el.Sn,MdX:()=>el.Md,M3Y:()=>f.M3,a56:()=>d.a5,BFN:()=>d.BF,$GP:()=>d.$G,mRf:()=>d.mR,vEz:()=>f.vE,R5R:()=>ed.R5,BN0:()=>ed.BN,JC0:()=>d.JC,vFD:()=>d.vF,NFi:()=>d.NF,oiR:()=>d.oi,K6u:()=>ed.K6,euA:()=>d.eu,yxQ:()=>d.yx,aEA:()=>d.aE,T5G:()=>c.T5,BRq:()=>c.BR,lVH:()=>c.lV,tGT:()=>c.tG,ADE:()=>f.AD,Bro:()=>p.B,OEu:()=>f.OE,DT4:()=>f.DT,zgn:()=>d.zg,iXO:()=>d.iX,dmB:()=>d.dm,zIs:()=>ed.zI,egF:()=>ed.eg,RqE:()=>d.Rq,NuQ:()=>d.Nu,Eow:()=>d.Eo,$k3:()=>eh,UC0:()=>c.UC,JvX:()=>ed.Jv,Kog:()=>ed.Ko,nKi:()=>d.nK,RVs:()=>d.RV});var a,n,o,s,r,l,d=i(2509),c=i(7807);class u{_listeners;constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let i=this._listeners.get(e);i||(i=[],this._listeners.set(e,i)),i.push(t)}dispatchEvent(e,t){let i=this._listeners.get(e);i?.forEach(e=>{e(t)})}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){let i=this._listeners.get(e);if(!i)return;let a=i.length,n=i.indexOf(t);n<d.z9||(a===d.LD?this._listeners.delete(e):i.splice(n,d.LD))}}var h=i(4967),p=i(3535),f=i(3221);let v="100%";async function g(e){let t=(0,c.TA)(e.url,e.index);if(!t)return e.fallback;let i=await fetch(t);return i.ok?await i.json():((0,p.t)().error(`${i.status.toString()} while retrieving config file`),e.fallback)}class m{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;_allLoadersSet=new Set;_configs=new Map;_domArray=[];_eventDispatcher=new u;_executedSet=new Set;_initialized=!1;_isRunningLoaders=!1;_loadPromises=new Set;get configs(){let e={};for(let[t,i]of this._configs)e[t]=i;return e}get items(){return this._domArray}get version(){return"4.0.0-beta.0"}addColorManager(e,t){this.colorManagers.set(e,t)}addConfig(e){let t=e.key??e.name??"default";this._configs.set(t,e),this._eventDispatcher.dispatchEvent(h.B.configAdded,{data:{name:t,config:e}})}addEasing(e,t){this.easingFunctions.get(e)||this.easingFunctions.set(e,t)}addEffect(e,t){this.initializers.effects.set(e,t)}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}addPalette(e,t){this.palettes.set(e,t)}addParticleUpdater(e,t){this.initializers.updaters.set(e,t)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,t,i=!1){(i||!this.getPreset(e))&&this.presets.set(e,t)}addShape(e,t){for(let i of e)this.initializers.shapes.set(i,t)}checkVersion(e){if(this.version!==e)throw Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${e}`)}clearPlugins(e){this.effectDrawers.delete(e),this.shapeDrawers.delete(e),this.updaters.delete(e)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}getEasing(e){return this.easingFunctions.get(e)??(e=>e)}getEffectDrawers(e,t=!1){return(0,c.Ot)(e,this.effectDrawers,this.initializers.effects,t)}getPalette(e){return this.palettes.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}async getShapeDrawers(e,t=!1){return(0,c.Ot)(e,this.shapeDrawers,this.initializers.shapes,t)}async getUpdaters(e,t=!1){return(0,c.HQ)(e,this.updaters,this.initializers.updaters,t)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(let e of this._allLoadersSet)await this._runLoader(e,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}item(e){let{items:t}=this,i=t[e];return i?.destroyed?void t.splice(e,d.JC):i}async load(e){var t;let a,n;await this.init();let{Container:o}=await i.e(149).then(i.bind(i,4149)),s=e.id??e.element?.id??`tsparticles${Math.floor((0,f.G0)()*d.$v).toString()}`,{index:r,url:l}=e,u=l?await g({fallback:e.options,url:l,index:r}):e.options,h=(0,c.TA)(u,r),{items:p}=this,m=p.findIndex(e=>e.id.description===s),y=new o(this,s,h);if(m>=d.PZ){let e=this.item(m),t=e?d.xH:d.dv;e&&!e.destroyed&&e.destroy(!1),p.splice(m,t,y)}else p.push(y);let b=(e=>{let t,i=(0,c.T5)();if(e instanceof HTMLCanvasElement||e.tagName.toLowerCase()===d.RF)t=e,t.dataset[d.eb]??=d.X$;else{let a=e.getElementsByTagName(d.RF)[d.Nx];a?(t=a).dataset[d.eb]=d.X$:((t=i.createElement(d.RF)).dataset[d.eb]=d.ce,e.appendChild(t))}return t.style.width||=v,t.style.height||=v,t})((t=e.element,a=(0,c.T5)(),(n=t??a.getElementById(s))||((n=a.createElement("div")).id=s,n.dataset[d.eb]=d.ce,a.body.append(n)),n));return y.canvas.loadCanvas(b),await y.start(),y}loadParticlesOptions(e,t,...i){let a=this.updaters.get(e);a&&a.forEach(e=>e.loadOptions?.(t,...i))}async refresh(e=!0){e&&await Promise.all(this.items.map(e=>e.refresh()))}async register(...e){if(this._initialized)throw Error("Register plugins can only be done before calling tsParticles.load()");for(let t of e)this._isRunningLoaders?await this._runLoader(t,this._executedSet,this._allLoadersSet):this._loadPromises.add(t)}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}async _runLoader(e,t,i){t.has(e)||(t.add(e),i.add(e),await e(this))}}var y=i(1810),b=i(2056),x=i(5518);(a=s||(s={})).clockwise="clockwise",a.counterClockwise="counter-clockwise",a.random="random";var w=i(9754),z=i(7287),M=i(2402),S=i(481),P=i(5781),O=i(6055),R=i(5869);(n=r||(r={})).linear="linear",n.radial="radial",n.random="random";var k=i(777),E=i(8918);(o=l||(l={})).easeInBack="ease-in-back",o.easeInBounce="ease-in-bounce",o.easeInCirc="ease-in-circ",o.easeInCubic="ease-in-cubic",o.easeInElastic="ease-in-elastic",o.easeInExpo="ease-in-expo",o.easeInGaussian="ease-in-gaussian",o.easeInLinear="ease-in-linear",o.easeInQuad="ease-in-quad",o.easeInQuart="ease-in-quart",o.easeInQuint="ease-in-quint",o.easeInSigmoid="ease-in-sigmoid",o.easeInSine="ease-in-sine",o.easeInSmoothstep="ease-in-smoothstep",o.easeOutBack="ease-out-back",o.easeOutBounce="ease-out-bounce",o.easeOutCirc="ease-out-circ",o.easeOutCubic="ease-out-cubic",o.easeOutElastic="ease-out-elastic",o.easeOutExpo="ease-out-expo",o.easeOutGaussian="ease-out-gaussian",o.easeOutLinear="ease-out-linear",o.easeOutQuad="ease-out-quad",o.easeOutQuart="ease-out-quart",o.easeOutQuint="ease-out-quint",o.easeOutSigmoid="ease-out-sigmoid",o.easeOutSine="ease-out-sine",o.easeOutSmoothstep="ease-out-smoothstep",o.easeInOutBack="ease-in-out-back",o.easeInOutBounce="ease-in-out-bounce",o.easeInOutCirc="ease-in-out-circ",o.easeInOutCubic="ease-in-out-cubic",o.easeInOutElastic="ease-in-out-elastic",o.easeInOutExpo="ease-in-out-expo",o.easeInOutGaussian="ease-in-out-gaussian",o.easeInOutLinear="ease-in-out-linear",o.easeInOutQuad="ease-in-out-quad",o.easeInOutQuart="ease-in-out-quart",o.easeInOutQuint="ease-in-out-quint",o.easeInOutSigmoid="ease-in-out-sigmoid",o.easeInOutSine="ease-in-out-sine",o.easeInOutSmoothstep="ease-in-out-smoothstep";var _=i(4801),F=i(3233),T=i(7568),A=i(3087),I=i(1043),L=i(3901),D=i(3447),V=i(7752),$=i(3061),B=i(1172),G=i(9903),Z=i(8509),q=i(4821),C=i(5216),H=i(5977),j=i(558),K=i(6136),N=i(6139),U=i(4084),W=i(9760),X=i(9784),J=i(5384),Y=i(2729),Q=i(3341),ee=i(5353),et=i(9971),ei=i(6373),ea=i(929),en=i(7211),eo=i(8491),es=i(5398),er=i(6864),el=i(6083),ed=i(1160),ec=i(8507),eu=i(887);let eh=new m;globalThis.tsParticles=eh}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return a[e](i,i.exports,o),i.exports}o.m=a,o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,i)=>(o.f[i](e,t),t),[])),o.u=e=>""+e+".min.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s={},o.l=(e,t,i,a)=>{if(s[e])return void s[e].push(t);if(void 0!==i)for(var n,r,l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var c=l[d];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@tsparticles/basic:"+i){n=c;break}}n||(r=!0,(n=document.createElement("script")).charset="utf-8",o.nc&&n.setAttribute("nonce",o.nc),n.setAttribute("data-webpack","@tsparticles/basic:"+i),n.src=e),s[e]=[t];var u=(t,i)=>{n.onerror=n.onload=null,clearTimeout(h);var a=s[e];if(delete s[e],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach(e=>e(i)),t)return t(i)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=u.bind(null,n.onerror),n.onload=u.bind(null,n.onload),r&&document.head.appendChild(n)},o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.g.importScripts&&(r=o.g.location+"");var s,r,l=o.g.document;if(!r&&l&&(l.currentScript&&"SCRIPT"===l.currentScript.tagName.toUpperCase()&&(r=l.currentScript.src),!r)){var d=l.getElementsByTagName("script");if(d.length)for(var c=d.length-1;c>-1&&(!r||!/^http(s?):/.test(r));)r=d[c--].src}if(!r)throw Error("Automatic publicPath is not supported in this browser");o.p=r=r.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={699:0},o.f.j=(t,i)=>{var a=o.o(e,t)?e[t]:void 0;if(0!==a)if(a)i.push(a[2]);else{var n=new Promise((i,n)=>a=e[t]=[i,n]);i.push(a[2]=n);var s=o.p+o.u(t),r=Error();o.l(s,i=>{if(o.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;r.message="Loading chunk "+t+` failed.
2
+ (`+n+": "+s+")",r.name="ChunkLoadError",r.type=n,r.request=s,a[1](r)}},"chunk-"+t,t)}},t=(t,i)=>{var a,n,[s,r,l]=i,d=0;if(s.some(t=>0!==e[t])){for(a in r)o.o(r,a)&&(o.m[a]=r[a]);l&&l(o)}for(t&&t(i);d<s.length;d++)n=s[d],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0},(i=this.webpackChunk_tsparticles_basic=this.webpackChunk_tsparticles_basic||[]).forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i));var u={};o.r(u),o.d(u,{AlterType:()=>h.HKZ,AnimatableColor:()=>h.A9e,AnimationMode:()=>h.gmr,AnimationOptions:()=>h.pK_,AnimationStatus:()=>h.H_P,AnimationValueWithRandom:()=>h.Jmi,Background:()=>h.VS$,BaseRange:()=>h.dgY,Circle:()=>h.jlt,ColorAnimation:()=>h.evc,DestroyType:()=>h.VKE,EasingType:()=>h.mgy,EventType:()=>h.Bx4,Fill:()=>h.SQl,FullScreen:()=>h.mcU,GradientType:()=>h.hqM,HslAnimation:()=>h.i74,LimitMode:()=>h.dtg,Move:()=>h.yUV,MoveAngle:()=>h.hzL,MoveCenter:()=>h.Zgv,MoveDirection:()=>h.FWc,MoveGravity:()=>h.y1u,MovePath:()=>h.vU7,Opacity:()=>h.Y4E,OpacityAnimation:()=>h.IhC,Options:()=>h.JYR,OptionsColor:()=>h.Oit,OutMode:()=>h.Yzx,OutModeDirection:()=>h.v5k,OutModes:()=>h.j$q,ParticleOutType:()=>h.x_I,ParticlesBounce:()=>h.wvn,ParticlesBounceFactor:()=>h.F5W,ParticlesDensity:()=>h.M1g,ParticlesNumber:()=>h.NeW,ParticlesNumberLimit:()=>h.Ad4,ParticlesOptions:()=>h.UOj,PixelMode:()=>h.qiC,RangedAnimationOptions:()=>h.Q4c,RangedAnimationValueWithRandom:()=>h.AIw,Rectangle:()=>h.M_G,ResizeEvent:()=>h.z0z,RotateDirection:()=>h.pTR,Shape:()=>h.ypk,Size:()=>h.or0,SizeAnimation:()=>h.qvJ,Spin:()=>h.tKH,StartValueType:()=>h.SKz,Stroke:()=>h.tcj,ValueWithRandom:()=>h.PVU,Vector:()=>h.Miz,Vector3d:()=>h.pGL,ZIndex:()=>h.Pyx,alterHsl:()=>h.yxh,animate:()=>h.i0Z,areBoundsInside:()=>h.O2_,arrayRandomIndex:()=>h.n02,calcExactPositionOrRandomFromSize:()=>h.NxB,calcExactPositionOrRandomFromSizeRanged:()=>h.qMV,calcPositionFromSize:()=>h.ehY,calcPositionOrRandomFromSize:()=>h.MhH,calcPositionOrRandomFromSizeRanged:()=>h.l1q,calculateBounds:()=>h.AEc,cancelAnimation:()=>h.pxm,canvasFirstIndex:()=>h.Nxk,canvasTag:()=>h.RFH,checkDistance:()=>h.gpg,circleBounce:()=>h.pEn,circleBounceDataFromParticle:()=>h.Tgl,clamp:()=>h.qE8,clear:()=>h.IUd,cloneStyle:()=>h.td3,collisionVelocity:()=>h.OWw,colorMix:()=>h.EYT,colorToHsl:()=>h.mKQ,colorToRgb:()=>h.qe,countOffset:()=>h.nqC,decayOffset:()=>h.WH8,deepExtend:()=>h.zwS,defaultAlpha:()=>h.aZx,defaultAngle:()=>h.tAJ,defaultCompositeValue:()=>h.yjn,defaultDensityFactor:()=>h.lA,defaultFps:()=>h.z$P,defaultFpsLimit:()=>h.i8E,defaultLoops:()=>h.hKc,defaultOpacity:()=>h.hvP,defaultRatio:()=>h.$xb,defaultReduceFactor:()=>h.ZpR,defaultRemoveQuantity:()=>h.xd3,defaultRetryCount:()=>h.rqX,defaultRgbMin:()=>h.Fli,defaultTime:()=>h.tRb,defaultTransform:()=>h.UgP,defaultTransformValue:()=>h.zss,defaultVelocity:()=>h.jnW,defaultZoom:()=>h.Pf9,degToRad:()=>h.puj,deleteCount:()=>h.LDU,double:()=>h.gdl,doublePI:()=>h.R1e,drawAfterEffect:()=>h.kac,drawBeforeEffect:()=>h.z5n,drawParticle:()=>h.p0m,drawParticlePlugin:()=>h.Wbn,drawShape:()=>h.KG7,drawShapeAfterDraw:()=>h.gF3,drawShapeBeforeDraw:()=>h.VGT,empty:()=>h.Iex,executeOnSingleOrMultiple:()=>h.wJ2,findItemFromSingleOrMultiple:()=>h.w3Z,generatedAttribute:()=>h.eb4,generatedFalse:()=>h.X$G,generatedTrue:()=>h.cei,getDistance:()=>h.YfF,getDistanceSq:()=>h.Scl,getDistances:()=>h.vrU,getFullScreenStyle:()=>h.hJS,getHslAnimationFromHsl:()=>h.pzy,getHslFromAnimation:()=>h.O_i,getItemMapFromInitializer:()=>h.OtU,getItemsFromInitializer:()=>h.HQK,getLinkColor:()=>h._hh,getLinkRandomColor:()=>h.PGG,getLogger:()=>h.tZQ,getParticleBaseVelocity:()=>h.$mf,getParticleDirectionAngle:()=>h.JYE,getPosition:()=>h.E90,getRandom:()=>h.G0i,getRandomInRange:()=>h.e4g,getRandomRgbColor:()=>h.OHq,getRangeMax:()=>h.W9e,getRangeMin:()=>h.Sgh,getRangeValue:()=>h.VGA,getSize:()=>h.YCE,getStyleFromHsl:()=>h.LCf,getStyleFromRgb:()=>h.xxz,hMax:()=>h.vSh,hMin:()=>h.L1V,hPhase:()=>h.U0s,half:()=>h.MXx,hasMatchMedia:()=>h.q8J,hslToRgb:()=>h.YLU,hslaToRgba:()=>h.ayx,identity:()=>h.D_O,initParticleNumericAnimationValue:()=>h.XsS,inverseFactorNumerator:()=>h.hBr,isArray:()=>h.cyL,isBoolean:()=>h.Lmq,isFunction:()=>h.Tnt,isInArray:()=>h.hnD,isNull:()=>h.kZJ,isNumber:()=>h.EtT,isObject:()=>h.Gvm,isPointInside:()=>h.Tj8,isString:()=>h.KgX,itemFromArray:()=>h.Vh1,itemFromSingleOrMultiple:()=>h.TA3,lFactor:()=>h.iUN,lMax:()=>h.$_c,lMin:()=>h.vd6,lengthOffset:()=>h.K3,loadBasic:()=>p,loadMinIndex:()=>h.PZY,loadOptions:()=>h.ZGK,loadParticlesOptions:()=>h.yVN,loadRandomFactor:()=>h.$v4,manageListener:()=>h.KpY,memoize:()=>h.BjF,midColorValue:()=>h.BWm,millisecondsToSeconds:()=>h.XuV,minCount:()=>h.wMU,minFpsLimit:()=>h.DNI,minIndex:()=>h.z94,minLimit:()=>h.ou7,minStrokeWidth:()=>h.Dvh,minVelocity:()=>h.GWL,minZ:()=>h.X_1,minimumSize:()=>h.w20,mix:()=>h.jhA,none:()=>h.dvp,one:()=>h.xHs,originPoint:()=>h.boI,paintBase:()=>h.SnF,paintImage:()=>h.MdX,parseAlpha:()=>h.M3Y,percentDenominator:()=>h.a56,phaseNumerator:()=>h.BFN,quarter:()=>h.$GP,randomColorValue:()=>h.mRf,randomInRangeValue:()=>h.vEz,rangeColorToHsl:()=>h.R5R,rangeColorToRgb:()=>h.BN0,removeDeleteCount:()=>h.JC0,removeMinIndex:()=>h.vFD,resizeEvent:()=>h.NFi,rgbMax:()=>h.oiR,rgbToHsl:()=>h.K6u,sMax:()=>h.euA,sMin:()=>h.yxQ,sNormalizedOffset:()=>h.aEA,safeDocument:()=>h.T5G,safeIntersectionObserver:()=>h.BRq,safeMatchMedia:()=>h.lVH,safeMutationObserver:()=>h.tGT,setAnimationFunctions:()=>h.ADE,setLogger:()=>h.Bro,setRandom:()=>h.OEu,setRangeValue:()=>h.DT4,sextuple:()=>h.zgn,spatialHashGridCellSize:()=>h.iXO,squareExp:()=>h.dmB,stringToAlpha:()=>h.zIs,stringToRgb:()=>h.egF,threeQuarter:()=>h.RqE,triple:()=>h.NuQ,tryCountIncrement:()=>h.Eow,tsParticles:()=>h.$k3,updateAnimation:()=>h.UC0,updateColor:()=>h.JvX,updateColorValue:()=>h.Kog,visibilityChangeEvent:()=>h.nKi,zIndexFactorOffset:()=>h.RVs});var h=o(1989);async function p(e){e.checkVersion("4.0.0-beta.0"),await e.register(async e=>{let[{loadHexColorPlugin:t},{loadHslColorPlugin:i},{loadRgbColorPlugin:a},{loadMovePlugin:n},{loadCircleShape:s},{loadFillColorUpdater:r},{loadOpacityUpdater:l},{loadOutModesUpdater:d},{loadSizeUpdater:c}]=await Promise.all([o.e(91).then(o.bind(o,3091)),o.e(229).then(o.bind(o,229)),o.e(465).then(o.bind(o,6465)),o.e(578).then(o.bind(o,9578)),o.e(663).then(o.bind(o,3663)),o.e(161).then(o.bind(o,161)),o.e(222).then(o.bind(o,8222)),o.e(299).then(o.bind(o,6299)),o.e(268).then(o.bind(o,4268))]);await Promise.all([t(e),i(e),a(e),n(e),s(e),r(e),l(e),d(e),c(e)])})}return u})());
@@ -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.8
7
+ * v4.0.0-beta.0
8
8
  */
9
9
  /*
10
10
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
@@ -16,38 +16,18 @@
16
16
  */
17
17
  (function webpackUniversalModuleDefinition(root, factory) {
18
18
  if(typeof exports === 'object' && typeof module === 'object')
19
- module.exports = factory(require("@tsparticles/updater-size"), require("@tsparticles/updater-out-modes"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-color"), require("@tsparticles/shape-circle"), require("@tsparticles/move-base"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/plugin-hex-color"));
19
+ module.exports = factory(require("@tsparticles/updater-size"), require("@tsparticles/updater-out-modes"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-fill-color"), require("@tsparticles/shape-circle"), require("@tsparticles/plugin-move"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/plugin-hex-color"));
20
20
  else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/updater-size", "@tsparticles/updater-out-modes", "@tsparticles/updater-opacity", "@tsparticles/updater-color", "@tsparticles/shape-circle", "@tsparticles/move-base", "@tsparticles/plugin-rgb-color", "@tsparticles/plugin-hsl-color", "@tsparticles/plugin-hex-color"], factory);
21
+ define(["@tsparticles/updater-size", "@tsparticles/updater-out-modes", "@tsparticles/updater-opacity", "@tsparticles/updater-fill-color", "@tsparticles/shape-circle", "@tsparticles/plugin-move", "@tsparticles/plugin-rgb-color", "@tsparticles/plugin-hsl-color", "@tsparticles/plugin-hex-color"], factory);
22
22
  else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/updater-size"), require("@tsparticles/updater-out-modes"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-color"), require("@tsparticles/shape-circle"), require("@tsparticles/move-base"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/plugin-hex-color")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
23
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/updater-size"), require("@tsparticles/updater-out-modes"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-fill-color"), require("@tsparticles/shape-circle"), require("@tsparticles/plugin-move"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/plugin-hex-color")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
24
24
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
25
  }
26
- })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_out_modes__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_opacity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_circle__, __WEBPACK_EXTERNAL_MODULE__tsparticles_move_base__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_rgb_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hex_color__) => {
26
+ })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_out_modes__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_opacity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_fill_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_circle__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_move__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_rgb_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hex_color__) => {
27
27
  return /******/ (() => { // webpackBootstrap
28
28
  /******/ "use strict";
29
29
  /******/ var __webpack_modules__ = ({
30
30
 
31
- /***/ "./dist/browser/index.js"
32
- /*!*******************************!*\
33
- !*** ./dist/browser/index.js ***!
34
- \*******************************/
35
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36
-
37
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBasic: () => (/* binding */ loadBasic)\n/* harmony export */ });\nasync function loadBasic(engine) {\n engine.checkVersion(\"4.0.0-alpha.8\");\n await engine.register(async e => {\n const {\n loadHexColorPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-hex-color */ \"@tsparticles/plugin-hex-color\", 19)),\n {\n loadHslColorPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-hsl-color */ \"@tsparticles/plugin-hsl-color\", 19)),\n {\n loadRgbColorPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-rgb-color */ \"@tsparticles/plugin-rgb-color\", 19)),\n {\n loadBaseMover\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/move-base */ \"@tsparticles/move-base\", 19)),\n {\n loadCircleShape\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/shape-circle */ \"@tsparticles/shape-circle\", 19)),\n {\n loadColorUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-color */ \"@tsparticles/updater-color\", 19)),\n {\n loadOpacityUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-opacity */ \"@tsparticles/updater-opacity\", 19)),\n {\n loadOutModesUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-out-modes */ \"@tsparticles/updater-out-modes\", 19)),\n {\n loadSizeUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-size */ \"@tsparticles/updater-size\", 19));\n await loadHexColorPlugin(e);\n await loadHslColorPlugin(e);\n await loadRgbColorPlugin(e);\n await loadBaseMover(e);\n await loadCircleShape(e);\n await loadColorUpdater(e);\n await loadOpacityUpdater(e);\n await loadOutModesUpdater(e);\n await loadSizeUpdater(e);\n });\n}\n\n//# sourceURL=webpack://@tsparticles/basic/./dist/browser/index.js?\n}");
38
-
39
- /***/ },
40
-
41
- /***/ "@tsparticles/move-base"
42
- /*!******************************************************************************************************************************************!*\
43
- !*** external {"commonjs":"@tsparticles/move-base","commonjs2":"@tsparticles/move-base","amd":"@tsparticles/move-base","root":"window"} ***!
44
- \******************************************************************************************************************************************/
45
- (module) {
46
-
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_move_base__;
48
-
49
- /***/ },
50
-
51
31
  /***/ "@tsparticles/plugin-hex-color"
52
32
  /*!***************************************************************************************************************************************************************!*\
53
33
  !*** external {"commonjs":"@tsparticles/plugin-hex-color","commonjs2":"@tsparticles/plugin-hex-color","amd":"@tsparticles/plugin-hex-color","root":"window"} ***!
@@ -68,6 +48,16 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__;
68
48
 
69
49
  /***/ },
70
50
 
51
+ /***/ "@tsparticles/plugin-move"
52
+ /*!************************************************************************************************************************************************!*\
53
+ !*** external {"commonjs":"@tsparticles/plugin-move","commonjs2":"@tsparticles/plugin-move","amd":"@tsparticles/plugin-move","root":"window"} ***!
54
+ \************************************************************************************************************************************************/
55
+ (module) {
56
+
57
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_move__;
58
+
59
+ /***/ },
60
+
71
61
  /***/ "@tsparticles/plugin-rgb-color"
72
62
  /*!***************************************************************************************************************************************************************!*\
73
63
  !*** external {"commonjs":"@tsparticles/plugin-rgb-color","commonjs2":"@tsparticles/plugin-rgb-color","amd":"@tsparticles/plugin-rgb-color","root":"window"} ***!
@@ -88,13 +78,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_circle__;
88
78
 
89
79
  /***/ },
90
80
 
91
- /***/ "@tsparticles/updater-color"
92
- /*!******************************************************************************************************************************************************!*\
93
- !*** external {"commonjs":"@tsparticles/updater-color","commonjs2":"@tsparticles/updater-color","amd":"@tsparticles/updater-color","root":"window"} ***!
94
- \******************************************************************************************************************************************************/
81
+ /***/ "@tsparticles/updater-fill-color"
82
+ /*!*********************************************************************************************************************************************************************!*\
83
+ !*** external {"commonjs":"@tsparticles/updater-fill-color","commonjs2":"@tsparticles/updater-fill-color","amd":"@tsparticles/updater-fill-color","root":"window"} ***!
84
+ \*********************************************************************************************************************************************************************/
95
85
  (module) {
96
86
 
97
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_color__;
87
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_fill_color__;
98
88
 
99
89
  /***/ },
100
90
 
@@ -126,6 +116,16 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_out_modes__;
126
116
 
127
117
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__;
128
118
 
119
+ /***/ },
120
+
121
+ /***/ "./dist/browser/index.js"
122
+ /*!*******************************!*\
123
+ !*** ./dist/browser/index.js ***!
124
+ \*******************************/
125
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
126
+
127
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBasic: () => (/* binding */ loadBasic)\n/* harmony export */ });\nasync function loadBasic(engine) {\n engine.checkVersion(\"4.0.0-beta.0\");\n await engine.register(async (e)=>{\n const [{ loadHexColorPlugin }, { loadHslColorPlugin }, { loadRgbColorPlugin }, { loadMovePlugin }, { loadCircleShape }, { loadFillColorUpdater }, { loadOpacityUpdater }, { loadOutModesUpdater }, { loadSizeUpdater }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-hex-color */ \"@tsparticles/plugin-hex-color\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-hsl-color */ \"@tsparticles/plugin-hsl-color\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-rgb-color */ \"@tsparticles/plugin-rgb-color\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-move */ \"@tsparticles/plugin-move\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/shape-circle */ \"@tsparticles/shape-circle\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-fill-color */ \"@tsparticles/updater-fill-color\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-opacity */ \"@tsparticles/updater-opacity\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-out-modes */ \"@tsparticles/updater-out-modes\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-size */ \"@tsparticles/updater-size\", 19))\n ]);\n await Promise.all([\n loadHexColorPlugin(e),\n loadHslColorPlugin(e),\n loadRgbColorPlugin(e),\n loadMovePlugin(e),\n loadCircleShape(e),\n loadFillColorUpdater(e),\n loadOpacityUpdater(e),\n loadOutModesUpdater(e),\n loadSizeUpdater(e)\n ]);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/basic/./dist/browser/index.js?\n}");
128
+
129
129
  /***/ }
130
130
 
131
131
  /******/ });
@@ -140,12 +140,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__;
140
140
  /******/ if (cachedModule !== undefined) {
141
141
  /******/ return cachedModule.exports;
142
142
  /******/ }
143
- /******/ // Check if module exists (development only)
144
- /******/ if (__webpack_modules__[moduleId] === undefined) {
145
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
146
- /******/ e.code = 'MODULE_NOT_FOUND';
147
- /******/ throw e;
148
- /******/ }
149
143
  /******/ // Create a new module (and put it into the cache)
150
144
  /******/ var module = __webpack_module_cache__[moduleId] = {
151
145
  /******/ // no module.id needed
@@ -154,6 +148,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__;
154
148
  /******/ };
155
149
  /******/
156
150
  /******/ // Execute the module function
151
+ /******/ if (!(moduleId in __webpack_modules__)) {
152
+ /******/ delete __webpack_module_cache__[moduleId];
153
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
154
+ /******/ e.code = 'MODULE_NOT_FOUND';
155
+ /******/ throw e;
156
+ /******/ }
157
157
  /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
158
158
  /******/
159
159
  /******/ // Return the exports of the module
@@ -1,2 +1 @@
1
- /*! For license information please see tsparticles.basic.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/updater-size"),require("@tsparticles/updater-out-modes"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-color"),require("@tsparticles/shape-circle"),require("@tsparticles/move-base"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/plugin-hex-color"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-size","@tsparticles/updater-out-modes","@tsparticles/updater-opacity","@tsparticles/updater-color","@tsparticles/shape-circle","@tsparticles/move-base","@tsparticles/plugin-rgb-color","@tsparticles/plugin-hsl-color","@tsparticles/plugin-hex-color"],t);else{var r="object"==typeof exports?t(require("@tsparticles/updater-size"),require("@tsparticles/updater-out-modes"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-color"),require("@tsparticles/shape-circle"),require("@tsparticles/move-base"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/plugin-hex-color")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,((e,t,r,o,i,a,s,l,p)=>(()=>{var n,c,u={116(e){e.exports=o},126(e){e.exports=p},308(e){e.exports=l},394(t){t.exports=e},522(e){e.exports=a},694(e){e.exports=t},872(e){e.exports=s},898(e){e.exports=r},969(e){e.exports=i}},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return u[e](r,r.exports,f),r.exports}c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);f.r(r);var o={};n=n||[null,c({}),c([]),c(c)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~n.indexOf(i);i=c(i))Object.getOwnPropertyNames(i).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,f.d(r,o),r},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var w={};async function b(e){e.checkVersion("4.0.0-alpha.8"),await e.register((async e=>{const{loadHexColorPlugin:t}=await Promise.resolve().then(f.t.bind(f,126,19)),{loadHslColorPlugin:r}=await Promise.resolve().then(f.t.bind(f,308,19)),{loadRgbColorPlugin:o}=await Promise.resolve().then(f.t.bind(f,872,19)),{loadBaseMover:i}=await Promise.resolve().then(f.t.bind(f,522,19)),{loadCircleShape:a}=await Promise.resolve().then(f.t.bind(f,969,19)),{loadColorUpdater:s}=await Promise.resolve().then(f.t.bind(f,116,19)),{loadOpacityUpdater:l}=await Promise.resolve().then(f.t.bind(f,898,19)),{loadOutModesUpdater:p}=await Promise.resolve().then(f.t.bind(f,694,19)),{loadSizeUpdater:n}=await Promise.resolve().then(f.t.bind(f,394,19));await t(e),await r(e),await o(e),await i(e),await a(e),await s(e),await l(e),await p(e),await n(e)}))}return f.r(w),f.d(w,{loadBasic:()=>b}),w})()));
1
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@tsparticles/updater-size"),require("@tsparticles/updater-out-modes"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-fill-color"),require("@tsparticles/shape-circle"),require("@tsparticles/plugin-move"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/plugin-hex-color"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-size","@tsparticles/updater-out-modes","@tsparticles/updater-opacity","@tsparticles/updater-fill-color","@tsparticles/shape-circle","@tsparticles/plugin-move","@tsparticles/plugin-rgb-color","@tsparticles/plugin-hsl-color","@tsparticles/plugin-hex-color"],r);else{var t="object"==typeof exports?r(require("@tsparticles/updater-size"),require("@tsparticles/updater-out-modes"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-fill-color"),require("@tsparticles/shape-circle"),require("@tsparticles/plugin-move"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/plugin-hex-color")):r(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(this,(e,r,t,o,i,s,l,p,a)=>(()=>{"use strict";var c,n,u={126(e){e.exports=a},308(e){e.exports=p},400(e){e.exports=s},872(e){e.exports=l},969(e){e.exports=i},392(e){e.exports=o},898(e){e.exports=t},694(e){e.exports=r},394(r){r.exports=e}},d={};function f(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={exports:{}};return u[e](t,t.exports,f),t.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var t=Object.create(null);f.r(t);var o={};c=c||[null,n({}),n([]),n(n)];for(var i=2&r&&e;("object"==typeof i||"function"==typeof i)&&!~c.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(r=>o[r]=()=>e[r]);return o.default=()=>e,f.d(t,o),t},f.d=(e,r)=>{for(var t in r)f.o(r,t)&&!f.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},f.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),f.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var b={};async function y(e){e.checkVersion("4.0.0-beta.0"),await e.register(async e=>{let[{loadHexColorPlugin:r},{loadHslColorPlugin:t},{loadRgbColorPlugin:o},{loadMovePlugin:i},{loadCircleShape:s},{loadFillColorUpdater:l},{loadOpacityUpdater:p},{loadOutModesUpdater:a},{loadSizeUpdater:c}]=await Promise.all([Promise.resolve().then(f.t.bind(f,126,19)),Promise.resolve().then(f.t.bind(f,308,19)),Promise.resolve().then(f.t.bind(f,872,19)),Promise.resolve().then(f.t.bind(f,400,19)),Promise.resolve().then(f.t.bind(f,969,19)),Promise.resolve().then(f.t.bind(f,392,19)),Promise.resolve().then(f.t.bind(f,898,19)),Promise.resolve().then(f.t.bind(f,694,19)),Promise.resolve().then(f.t.bind(f,394,19))]);await Promise.all([r(e),t(e),o(e),i(e),s(e),l(e),p(e),a(e),c(e)])})}return f.r(b),f.d(b,{loadBasic:()=>y}),b})());
package/types/bundle.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import { loadBasic } from "./index.js";
2
- export { loadBasic };
3
1
  export * from "@tsparticles/engine";
2
+ export { loadBasic } from "./index.js";
package/umd/bundle.js CHANGED
@@ -18,13 +18,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  if (v !== undefined) module.exports = v;
19
19
  }
20
20
  else if (typeof define === "function" && define.amd) {
21
- define(["require", "exports", "./index.js", "@tsparticles/engine"], factory);
21
+ define(["require", "exports", "@tsparticles/engine", "./index.js"], factory);
22
22
  }
23
23
  })(function (require, exports) {
24
24
  "use strict";
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.loadBasic = void 0;
27
- const index_js_1 = require("./index.js");
28
- Object.defineProperty(exports, "loadBasic", { enumerable: true, get: function () { return index_js_1.loadBasic; } });
29
27
  __exportStar(require("@tsparticles/engine"), exports);
28
+ var index_js_1 = require("./index.js");
29
+ Object.defineProperty(exports, "loadBasic", { enumerable: true, get: function () { return index_js_1.loadBasic; } });
30
30
  });
package/umd/index.js CHANGED
@@ -45,18 +45,30 @@ var __importStar = (this && this.__importStar) || (function () {
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.loadBasic = loadBasic;
47
47
  async function loadBasic(engine) {
48
- engine.checkVersion("4.0.0-alpha.8");
48
+ engine.checkVersion("4.0.0-beta.0");
49
49
  await engine.register(async (e) => {
50
- const { loadHexColorPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-hex-color"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/plugin-hex-color"], resolve_1, reject_1); }).then(__importStar)), { loadHslColorPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-hsl-color"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/plugin-hsl-color"], resolve_2, reject_2); }).then(__importStar)), { loadRgbColorPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-rgb-color"))) : new Promise((resolve_3, reject_3) => { require(["@tsparticles/plugin-rgb-color"], resolve_3, reject_3); }).then(__importStar)), { loadBaseMover } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/move-base"))) : new Promise((resolve_4, reject_4) => { require(["@tsparticles/move-base"], resolve_4, reject_4); }).then(__importStar)), { loadCircleShape } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/shape-circle"))) : new Promise((resolve_5, reject_5) => { require(["@tsparticles/shape-circle"], resolve_5, reject_5); }).then(__importStar)), { loadColorUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-color"))) : new Promise((resolve_6, reject_6) => { require(["@tsparticles/updater-color"], resolve_6, reject_6); }).then(__importStar)), { loadOpacityUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-opacity"))) : new Promise((resolve_7, reject_7) => { require(["@tsparticles/updater-opacity"], resolve_7, reject_7); }).then(__importStar)), { loadOutModesUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-out-modes"))) : new Promise((resolve_8, reject_8) => { require(["@tsparticles/updater-out-modes"], resolve_8, reject_8); }).then(__importStar)), { loadSizeUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-size"))) : new Promise((resolve_9, reject_9) => { require(["@tsparticles/updater-size"], resolve_9, reject_9); }).then(__importStar));
51
- await loadHexColorPlugin(e);
52
- await loadHslColorPlugin(e);
53
- await loadRgbColorPlugin(e);
54
- await loadBaseMover(e);
55
- await loadCircleShape(e);
56
- await loadColorUpdater(e);
57
- await loadOpacityUpdater(e);
58
- await loadOutModesUpdater(e);
59
- await loadSizeUpdater(e);
50
+ const [{ loadHexColorPlugin }, { loadHslColorPlugin }, { loadRgbColorPlugin }, { loadMovePlugin }, { loadCircleShape }, { loadFillColorUpdater }, { loadOpacityUpdater }, { loadOutModesUpdater }, { loadSizeUpdater },] = await Promise.all([
51
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-hex-color"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/plugin-hex-color"], resolve_1, reject_1); }).then(__importStar),
52
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-hsl-color"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/plugin-hsl-color"], resolve_2, reject_2); }).then(__importStar),
53
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-rgb-color"))) : new Promise((resolve_3, reject_3) => { require(["@tsparticles/plugin-rgb-color"], resolve_3, reject_3); }).then(__importStar),
54
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-move"))) : new Promise((resolve_4, reject_4) => { require(["@tsparticles/plugin-move"], resolve_4, reject_4); }).then(__importStar),
55
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/shape-circle"))) : new Promise((resolve_5, reject_5) => { require(["@tsparticles/shape-circle"], resolve_5, reject_5); }).then(__importStar),
56
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-fill-color"))) : new Promise((resolve_6, reject_6) => { require(["@tsparticles/updater-fill-color"], resolve_6, reject_6); }).then(__importStar),
57
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-opacity"))) : new Promise((resolve_7, reject_7) => { require(["@tsparticles/updater-opacity"], resolve_7, reject_7); }).then(__importStar),
58
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-out-modes"))) : new Promise((resolve_8, reject_8) => { require(["@tsparticles/updater-out-modes"], resolve_8, reject_8); }).then(__importStar),
59
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-size"))) : new Promise((resolve_9, reject_9) => { require(["@tsparticles/updater-size"], resolve_9, reject_9); }).then(__importStar),
60
+ ]);
61
+ await Promise.all([
62
+ loadHexColorPlugin(e),
63
+ loadHslColorPlugin(e),
64
+ loadRgbColorPlugin(e),
65
+ loadMovePlugin(e),
66
+ loadCircleShape(e),
67
+ loadFillColorUpdater(e),
68
+ loadOpacityUpdater(e),
69
+ loadOutModesUpdater(e),
70
+ loadSizeUpdater(e),
71
+ ]);
60
72
  });
61
73
  }
62
74
  });
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-beta.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_basic"] = this["webpackChunk_tsparticles_basic"] || []).push([["updaters_fillColor_dist_browser_FillColorUpdater_js"],{
19
+
20
+ /***/ "../../updaters/fillColor/dist/browser/FillColorUpdater.js"
21
+ /*!*****************************************************************!*\
22
+ !*** ../../updaters/fillColor/dist/browser/FillColorUpdater.js ***!
23
+ \*****************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FillColorUpdater: () => (/* binding */ FillColorUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass FillColorUpdater {\n _container;\n _engine;\n constructor(engine, container){\n this._container = container;\n this._engine = engine;\n }\n init(particle) {\n const container = this._container, options = particle.options, fill = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.fill, particle.id, options.reduceDuplicates);\n if (!fill) {\n return;\n }\n particle.fillEnabled = fill.enable;\n particle.fillOpacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(fill.opacity);\n particle.fillAnimation = fill.color.animation;\n const fillHslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._engine, fill.color);\n if (fillHslColor) {\n particle.fillColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(fillHslColor, particle.fillAnimation, container.retina.reduceFactor);\n }\n }\n isEnabled(particle) {\n const color = particle.fillAnimation, { fillColor } = particle;\n return !particle.destroyed && !particle.spawning && !!color && (fillColor?.h.value !== undefined && fillColor.h.enable || fillColor?.s.value !== undefined && fillColor.s.enable || fillColor?.l.value !== undefined && fillColor.l.enable);\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.fillColor, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/basic/../../updaters/fillColor/dist/browser/FillColorUpdater.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -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.8
7
+ * v4.0.0-beta.0
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_basic"] = this["webpackChunk_tsparticles_basic"] || []).push([["updaters_color_dist_browser_index_js"],{
18
+ (this["webpackChunk_tsparticles_basic"] = this["webpackChunk_tsparticles_basic"] || []).push([["updaters_fillColor_dist_browser_index_js"],{
19
19
 
20
- /***/ "../../updaters/color/dist/browser/index.js"
21
- /*!**************************************************!*\
22
- !*** ../../updaters/color/dist/browser/index.js ***!
23
- \**************************************************/
20
+ /***/ "../../updaters/fillColor/dist/browser/index.js"
21
+ /*!******************************************************!*\
22
+ !*** ../../updaters/fillColor/dist/browser/index.js ***!
23
+ \******************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadColorUpdater: () => (/* binding */ loadColorUpdater)\n/* harmony export */ });\nasync function loadColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.8\");\n await engine.register(e => {\n e.addParticleUpdater(\"color\", async container => {\n const {\n ColorUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_color_dist_browser_ColorUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ColorUpdater.js */ \"../../updaters/color/dist/browser/ColorUpdater.js\"));\n return new ColorUpdater(e, container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/basic/../../updaters/color/dist/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFillColorUpdater: () => (/* binding */ loadFillColorUpdater)\n/* harmony export */ });\nasync function loadFillColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.0\");\n await engine.register((e)=>{\n e.addParticleUpdater(\"color\", async (container)=>{\n const { FillColorUpdater } = await __webpack_require__.e(/*! import() */ \"updaters_fillColor_dist_browser_FillColorUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./FillColorUpdater.js */ \"../../updaters/fillColor/dist/browser/FillColorUpdater.js\"));\n return new FillColorUpdater(e, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/basic/../../updaters/fillColor/dist/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29