@tsparticles/engine 4.0.0-alpha.0 → 4.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/638.min.js.LICENSE.txt +1 -1
- package/browser/Core/Engine.js +1 -1
- package/cjs/Core/Engine.js +1 -1
- package/dist_browser_Core_Container_js.js +1 -1
- package/esm/Core/Engine.js +1 -1
- package/package.json +1 -1
- package/report.html +2 -2
- package/scripts/install.js +201 -196
- package/tsparticles.engine.js +2 -2
- package/tsparticles.engine.min.js +1 -1
- package/tsparticles.engine.min.js.LICENSE.txt +1 -1
- package/umd/Core/Engine.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.engine.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={181(t,e,i){var n;i.d(e,{V:()=>n}),function(t){t.none="none",t.max="max",t.min="min"}(n||(n={}))},183(t,e,i){i.d(e,{B:()=>o,t:()=>s});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 o(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 s(){return n}},397(t,e,i){i.d(e,{$m:()=>O,AD:()=>p,DT:()=>M,G0:()=>h,JY:()=>D,M3:()=>_,Mh:()=>T,Nx:()=>F,OE:()=>d,OW:()=>S,Sg:()=>x,VG:()=>b,W9:()=>w,Yf:()=>z,e4:()=>u,eh:()=>R,i0:()=>f,jh:()=>g,l1:()=>E,pu:()=>P,px:()=>v,qE:()=>m,qM:()=>A,vE:()=>y,vr:()=>k});var n=i(4342),o=i(4117),s=i(560),a=i(3631);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 h(){return m(c(),0,1-Number.EPSILON)}function u(t,e){return h()*(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 m(t,e,i){return Math.min(Math.max(t,e),i)}function g(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),u(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 k(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 z(t,e){return k(t,e).distance}function P(t){return t*r}function D(t,e,i){if((0,a.Et)(t))return P(t);switch(t){case n.F.top:return-Math.PI*o.MX;case n.F.topRight:return-Math.PI*o.$G;case n.F.right:return o.Ie;case n.F.bottomRight:return Math.PI*o.$G;case n.F.bottom:return Math.PI*o.MX;case n.F.bottomLeft:return Math.PI*o.Rq;case n.F.left:return Math.PI;case n.F.topLeft:return-Math.PI*o.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 h()*o.R1}}function O(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function S(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function R(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/o.a5,y:t.position.y*t.size.height/o.a5}:void 0}function T(t){return{x:(t.position?.x??h()*o.a5)*t.size.width/o.a5,y:(t.position?.y??h()*o.a5)*t.size.height/o.a5}}function E(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 T({size:t.size,position:e})}function F(t){return{x:t.position?.x??h()*t.size.width,y:t.position?.y??h()*t.size.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 F({size:t.size,position:e})}function _(t){return t?t.endsWith("%")?parseFloat(t)/o.a5:parseFloat(t):1}},560(t,e,i){i.d(e,{M:()=>s,p:()=>o});var n=i(4117);class o{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 o.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 o.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new o(t,e??n.bo.y,i??n.bo.z):new o(t.x,t.y,Object.hasOwn(t,"z")?t.z:n.bo.z)}add(t){return o.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 o.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return o.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 o.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 o.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 o.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 s extends o{constructor(t=n.bo.x,e=n.bo.y){super(t,e,n.bo.z)}static get origin(){return s.create(n.bo.x,n.bo.y)}static clone(t){return s.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new s(t,e??n.bo.y):new s(t.x,t.y)}}},615(t,e,i){i.d(e,{AE:()=>z,Al:()=>b,BR:()=>m,E9:()=>L,NV:()=>R,O2:()=>k,S7:()=>S,T5:()=>f,TA:()=>A,Tg:()=>T,Tj:()=>M,U6:()=>O,UC:()=>C,Vh:()=>w,Xs:()=>I,YC:()=>Z,hJ:()=>B,hn:()=>y,iK:()=>D,lV:()=>v,n0:()=>x,pE:()=>E,q8:()=>p,tG:()=>g,td:()=>G,w3:()=>_,wJ:()=>F,zw:()=>P});var n=i(397),o=i(4117),s=i(3631),a=i(3551),r=i(1689),c=i(181),l=i(1874),d=i(7997),h=i(782),u=i(560);function p(){return"undefined"!=typeof matchMedia}function f(){return globalThis.document}function v(t){if(p())return matchMedia(t)}function m(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function g(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function y(t,e){return t===e||(0,s.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,o){return k(z(t,n??0),e,i,o)}function k(t,e,i,n){let o=!0;return n&&n!==l.v.bottom||(o=t.top<e.height+i.x),!o||n&&n!==l.v.left||(o=t.right>i.x),!o||n&&n!==l.v.right||(o=t.left<e.width+i.y),!o||n&&n!==l.v.top||(o=t.bottom>i.y),o}function z(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function P(t,...e){for(const i of e){if(null==i)continue;if(!(0,s.Gv)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,s.Gv)(t)&&t&&Array.isArray(t)?e||!(0,s.Gv)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const n=i[e],o=t;o[e]=(0,s.Gv)(n)&&Array.isArray(n)?n.map((t=>P(o[e],t))):P(o[e],n)}}return t}function D(t,e){return!!_(e,(e=>e.enable&&y(t,e.mode)))}function O(t,e,i){F(e,(e=>{const n=e.mode;e.enable&&y(t,n)&&S(e,i)}))}function S(t,e){F(t.selectors,(i=>{e(i,t)}))}function R(t,e){if(e&&t)return _(t,(t=>function(t,e){const i=F(e,(e=>t.matches(e)));return(0,s.cy)(i)?i.some((t=>t)):i}(e,t.selectors)))}function T(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:u.M.create((0,n.VG)(t.options.bounce.horizontal.value),(0,n.VG)(t.options.bounce.vertical.value))}}function E(t,e){const{x:i,y:o}=t.velocity.sub(e.velocity),[s,a]=[t.position,e.position],{dx:r,dy:c}=(0,n.vr)(a,s);if(i*r+o*c<0)return;const l=-Math.atan2(c,r),d=t.mass,h=e.mass,u=t.velocity.rotate(l),p=e.velocity.rotate(l),f=(0,n.OW)(u,p,d,h),v=(0,n.OW)(p,u,d,h),m=f.rotate(-l),g=v.rotate(-l);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=g.x*e.factor.x,e.velocity.y=g.y*e.factor.y}function F(t,e){return(0,s.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function A(t,e,i){return(0,s.cy)(t)?w(t,e,i):t}function _(t,e){if((0,s.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function I(t,e){const i=t.value,s=t.animation,c={delayTime:(0,n.VG)(s.delay)*o.Xu,enable:s.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)(s.count),time:0};if(s.enable){switch(c.decay=1-(0,n.VG)(s.decay),s.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)()>=o.MX?r.H.increasing:r.H.decreasing}const t=s.mode===a.g.auto;switch(s.startValue){case h.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case h.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case h.S.random:default:c.value=(0,n.vE)(c),t&&(c.status=(0,n.G0)()>=o.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function V(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/o.a5*e.width,y:t.y/o.a5*e.height}:{width:t.width/o.a5*e.width,height:t.height/o.a5*e.height}}function L(t,e){return V(t,e)}function Z(t,e){return V(t,e)}function C(t,e,i,o,s){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*s.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=s.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,n,o){switch(e){case c.V.max:i>=o&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,o,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function G(t){const e=f().createElement("div").style;for(const i in t){const n=t[i];if(!Object.prototype.hasOwnProperty.call(t,i)||(0,s.kZ)(n))continue;const o=t.getPropertyValue?.(n);if(!o)continue;const a=t.getPropertyPriority?.(n);a?e.setProperty(n,o,a):e.setProperty(n,o)}return e}const B=function(t){const e=new Map;return(...i)=>{const n=JSON.stringify(i);if(e.has(n))return e.get(n);const o=t(...i);return e.set(n,o),o}}((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}))},753(t,e,i){var n;i.d(e,{x:()=>n}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(n||(n={}))},782(t,e,i){var n;i.d(e,{S:()=>n}),function(t){t.max="max",t.min="min",t.random="random"}(n||(n={}))},894(t,e,i){i.d(e,{U:()=>v});var n=i(615),o=i(6521),s=i(3631);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}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)}}var r=i(4209),c=i(3969),l=i(8892),d=i(5504),h=i(6861),u=i(4377),p=i(9128),f=i(1603);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new o.A,this.color.value="#fff",this.effect=new a,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new h.y,this.size=new u.o,this.stroke=new p.t,this.zIndex=new f.P}load(t){if((0,s.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(o.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),void 0!==t.interactivity&&(this.interactivity=(0,n.zw)({},t.interactivity));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){const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t);const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}},1049(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={}))},1163(t,e,i){i.d(e,{I:()=>a});var n=i(181),o=i(3544),s=i(3631);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=2}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},1317(t,e,i){i.d(e,{d:()=>o});var n=i(3631);class o{constructor(t,e){this._engine=t,this._container=e}load(t){if((0,n.kZ)(t))return;if(!this._container)return;const e=this._engine.interactors.get(this._container);if(e)for(const i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}},1603(t,e,i){i.d(e,{P:()=>s});var n=i(4696),o=i(3631);class s extends n.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,o.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))}}},1617(t,e,i){i.d(e,{s:()=>l});var n=i(9460),o=i(4981),s=i(7778),a=i(8890),r=i(615),c=i(3631);class l{constructor(){this.onClick=new n.r,this.onDiv=new o.G,this.onHover=new s.L,this.resize=new a.z}load(t){if((0,c.kZ)(t))return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,r.wJ)(e,(t=>{const e=new o.G;return e.load(t),e}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},1689(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(n||(n={}))},1690(t,e,i){var n;i.d(e,{d:()=>n}),function(t){t.delete="delete",t.wait="wait"}(n||(n={}))},1874(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={}))},1917(t,e,i){i.d(e,{O:()=>o});var n=i(3631);class o{constructor(){this.value=""}static create(t,e){const i=new o;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)}}},1983(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.darken="darken",t.enlighten="enlighten"}(n||(n={}))},2186(t,e,i){i.d(e,{b:()=>n});class n{constructor(t,e){this.position=t,this.particle=e}}},2480(t,e,i){var n;i.d(e,{Q:()=>n}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}))},2620(t,e,i){i.d(e,{j:()=>s});var n=i(1049),o=i(3631);class s{constructor(){this.default=n.Y.out}load(t){(0,o.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)}}},3271(t,e,i){i.d(e,{F:()=>o});var n=i(4696);class o extends n.PV{constructor(){super(),this.value=1}}},3544(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var n=i(3551),o=i(782),s=i(3631),a=i(397);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,s.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=o.S.random}load(t){super.load(t),(0,s.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},3551(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={}))},3631(t,e,i){function n(t){return"boolean"==typeof t}function o(t){return"string"==typeof t}function s(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:()=>s,Gv:()=>r,Kg:()=>o,Lm:()=>n,Tn:()=>a,cy:()=>c,kZ:()=>l})},3969(t,e,i){i.d(e,{Y:()=>a});var n=i(1163),o=i(4696),s=i(3631);class a extends o.AI{constructor(){super(),this.animation=new n.I,this.value=1}load(t){if((0,s.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},3984(t,e,i){i.d(e,{J:()=>v});var n=i(615),o=i(3631),s=i(7415),a=i(9845),r=i(4997),c=i(4712),l=i(7582),d=i(8325),h=i(7461),u=i(5392),p=i(8627),f=i(397);class v{constructor(t,e){this._findDefaultTheme=t=>this.themes.find((e=>e.default.value&&e.default.mode===t))??this.themes.find((t=>t.default.value&&t.default.mode===u.l.any)),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new s.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.interactivity=new r.k(t,e),this.manualParticles=[],this.particles=(0,p.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if((0,o.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,f.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,f.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 s=t.fullScreen;(0,o.Lm)(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new c.j;return e.load(t),e}))),this.particles.load(t.particles),this.style=(0,n.zw)(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const a=this._engine.interactors.get(this._container);if(a)for(const e of a)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new l.F;t.load(e),this.responsive.push(t)}if(this.responsive.sort(((t,e)=>t.maxWidth-e.maxWidth)),void 0!==t.themes)for(const e of t.themes){const t=this.themes.find((t=>t.name===e.name));if(t)t.load(e);else{const t=new h.S;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme(u.l.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(u.l.light)?.name}setResponsive(t,e,i){this.load(i);const n=this.responsive.find((i=>i.mode===d.A.screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t));return this.load(n?.options),n?.maxWidth}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t=(0,n.lV)("(prefers-color-scheme: dark)"),e=t?.matches,i=this._findDefaultTheme(e?u.l.dark:u.l.light);i&&this.load(i.options)}}}},4117(t,e,i){i.d(e,{$G:()=>W,$O:()=>X,$_:()=>G,$v:()=>rt,$x:()=>A,BF:()=>Lt,BW:()=>w,Bp:()=>d,DG:()=>h,DN:()=>st,D_:()=>Tt,Dv:()=>Et,Eo:()=>ut,FS:()=>Y,Fl:()=>Zt,G3:()=>u,GW:()=>j,IU:()=>kt,Ie:()=>$,JC:()=>it,K3:()=>zt,KZ:()=>tt,Kw:()=>E,L1:()=>B,LD:()=>Dt,M1:()=>mt,MX:()=>m,N5:()=>pt,NF:()=>p,Nu:()=>_t,Nx:()=>at,PZ:()=>ct,Pg:()=>I,R1:()=>k,RF:()=>S,RV:()=>J,Rb:()=>c,Rh:()=>yt,Rq:()=>N,TL:()=>et,U0:()=>H,Ug:()=>b,WH:()=>ht,X$:()=>O,X_:()=>vt,Xu:()=>g,Z0:()=>a,Zp:()=>_,a5:()=>v,aE:()=>Vt,aZ:()=>P,bo:()=>y,ce:()=>D,dm:()=>T,dv:()=>dt,eb:()=>n,eu:()=>C,gd:()=>M,hB:()=>V,hK:()=>Gt,hv:()=>Q,i8:()=>ot,iU:()=>Ft,jn:()=>Ct,l:()=>ft,lA:()=>Pt,mR:()=>x,ms:()=>o,nK:()=>f,nq:()=>xt,oi:()=>L,ou:()=>bt,pH:()=>Ot,rq:()=>R,s7:()=>l,sf:()=>r,tA:()=>Rt,tR:()=>Bt,td:()=>St,un:()=>gt,vF:()=>nt,vS:()=>Z,vd:()=>At,vo:()=>s,w2:()=>U,wM:()=>wt,xH:()=>lt,xd:()=>F,yx:()=>q,z$:()=>z,z9:()=>Mt,zg:()=>It,zs:()=>K});const n="generated",o="pointerdown",s="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",d="touchend",h="touchmove",u="touchcancel",p="resize",f="visibilitychange",v=100,m=.5,g=1e3,y={x:0,y:0,z:0},b={a:1,b:0,c:0,d:1},x="random",w="mid",M=2,k=Math.PI*M,z=60,P=1,D="true",O="false",S="canvas",R=0,T=2,E=4,F=1,A=1,_=1,I=4,V=1,L=255,Z=360,C=100,G=100,B=0,q=0,H=60,$=0,W=.25,N=m+W,j=0,K=1,U=0,X=0,J=1,Q=1,Y=1,tt=1,et=0,it=1,nt=0,ot=120,st=0,at=0,rt=1e4,ct=0,lt=1,dt=0,ht=1,ut=1,pt=0,ft=1,vt=0,mt=0,gt=-W,yt=1.5,bt=0,xt=1,wt=0,Mt=0,kt=0,zt=1,Pt=1,Dt=1,Ot=500,St=50,Rt=0,Tt=1,Et=0,Ft=1,At=0,_t=3,It=6,Vt=1,Lt=1,Zt=0,Ct=0,Gt=0,Bt=0},4209(t,e,i){i.d(e,{y:()=>p});var n=i(4342),o=i(3631),s=i(8502),a=i(4640),r=i(7488),c=i(8051),l=i(7464),d=i(2620),h=i(4624),u=i(397);class p{constructor(){this.angle=new s.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 h.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,o.kZ)(t))return;this.angle.load((0,o.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,o.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,o.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},4342(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={}))},4377(t,e,i){i.d(e,{o:()=>a});var n=i(4696),o=i(4883),s=i(3631);class a extends n.AI{constructor(){super(),this.animation=new o.q,this.value=3}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},4624(t,e,i){i.d(e,{t:()=>a});var n=i(615),o=i(3631),s=i(397);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,o.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,s.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,n.zw)({},t.position)))}}},4640(t,e,i){i.d(e,{R:()=>s});var n=i(3631),o=i(397);class s{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,o.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)}}}},4696(t,e,i){i.d(e,{AI:()=>c,Jm:()=>r,PV:()=>a});var n=i(3544),o=i(3631),s=i(397);class a{constructor(){this.value=0}load(t){(0,o.kZ)(t)||(0,o.kZ)(t.value)||(this.value=(0,s.DT)(t.value))}}class r extends a{constructor(){super(),this.animation=new n.p}load(t){if(super.load(t),(0,o.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)}}},4712(t,e,i){i.d(e,{j:()=>r});var n=i(7997),o=i(615),s=i(3631),a=i(4117);class r{load(t){(0,s.kZ)(t)||(t.position&&(this.position={x:t.position.x??a.td,y:t.position.y??a.td,mode:t.position.mode??n.q.percent}),t.options&&(this.options=(0,o.zw)({},t.options)))}}},4883(t,e,i){i.d(e,{q:()=>a});var n=i(181),o=i(3544),s=i(3631);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=5}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},4981(t,e,i){i.d(e,{G:()=>s});var n=i(2480),o=i(3631);class s{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=n.Q.circle}load(t){(0,o.kZ)(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}},4997(t,e,i){i.d(e,{k:()=>r});var n=i(1617),o=i(6249),s=i(1317),a=i(3631);class r{constructor(t,e){this.detectsOn=o.h.window,this.events=new n.s,this.modes=new s.d(t,e)}load(t){if((0,a.kZ)(t))return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},5043(t,e,i){i.d(e,{k:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}},5247(t,e,i){i.d(e,{i:()=>s});var n=i(9499),o=i(3631);class s{constructor(){this.h=new n.e,this.s=new n.e,this.l=new n.e}load(t){(0,o.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},5317(t,e,i){i.d(e,{M:()=>o});var n=i(3631);class o{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)}}},5392(t,e,i){var n;i.d(e,{l:()=>n}),function(t){t.any="any",t.dark="dark",t.light="light"}(n||(n={}))},5504(t,e,i){i.d(e,{N:()=>a});var n=i(5317),o=i(8465),s=i(3631);class a{constructor(){this.density=new n.M,this.limit=new o.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},5536(t,e,i){var n;i.d(e,{e:()=>n}),function(t){t.external="external",t.particles="particles"}(n||(n={}))},6192(t,e,i){i.d(e,{BN:()=>l,EY:()=>M,Jv:()=>R,K6:()=>p,Ko:()=>S,LC:()=>w,OH:()=>y,O_:()=>P,PG:()=>z,R5:()=>u,YL:()=>m,_h:()=>k,ay:()=>g,eg:()=>v,mK:()=>h,pz:()=>D,qe:()=>d,xx:()=>b,zI:()=>f});var n=i(397),o=i(4117),s=i(3631),a=i(1689),r=i(615);function c(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function l(t,e,i,n=!0){if(!e)return;const o=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(o.value))return d(t,o.value,i,n);if((0,s.cy)(o.value)){const e=(0,r.Vh)(o.value,i,n);if(!e)return;return l(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(o);if(t)return t}}function d(t,e,i,n=!0){if(!e)return;const a=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(a.value))return a.value===o.mR?y():v(t,a.value);if((0,s.cy)(a.value)){const e=(0,r.Vh)(a.value,i,n);if(!e)return;return d(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function h(t,e,i,n=!0){const o=d(t,e,i,n);return o?p(o):void 0}function u(t,e,i,n=!0){const o=l(t,e,i,n);return o?p(o):void 0}function p(t){const e=t.r/o.oi,i=t.g/o.oi,n=t.b/o.oi,s=Math.max(e,i,n),a=Math.min(e,i,n),r={h:o.L1,l:(s+a)*o.MX,s:o.yx};return s!==a&&(r.s=r.l<o.MX?(s-a)/(s+a):(s-a)/(o.gd-s-a),r.h=e===s?(i-n)/(s-a):i===s?o.gd+(n-e)/(s-a):o.gd*o.gd+(e-i)/(s-a)),r.l*=o.$_,r.s*=o.eu,r.h*=o.U0,r.h<o.L1&&(r.h+=o.vS),r.h>=o.vS&&(r.h-=o.vS),r}function f(t,e){return c(t,e)?.a}function v(t,e){return c(t,e)}function m(t){const e=(t.h%o.vS+o.vS)%o.vS,i=Math.max(o.yx,Math.min(o.eu,t.s)),n=Math.max(o.vd,Math.min(o.$_,t.l)),s=e/o.vS,a=i/o.eu,r=n/o.$_;if(i===o.yx){const t=Math.round(r*o.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*o.zg<1)return t+(e-t)*o.zg*i;if(i*o.gd<1)return e;if(i*o.Nu<1*o.gd){return t+(e-t)*(o.gd/o.Nu-i)*o.zg}return t},l=r<o.MX?r*(o.aE+a):r+a-r*a,d=o.gd*r-l,h=o.BF/o.Nu,u=Math.min(o.oi,o.oi*c(d,l,s+h)),p=Math.min(o.oi,o.oi*c(d,l,s)),f=Math.min(o.oi,o.oi*c(d,l,s-h));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}function g(t){const e=m(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function y(t){const e=t??o.Fl,i=o.oi+o.D_,s=()=>Math.floor((0,n.e4)(e,i));return{b:s(),g:s(),r:s()}}function b(t,e,i){return e?x(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)}function x(t,e){return`color(display-p3 ${(t.r/o.oi).toString()} ${(t.g/o.oi).toString()} ${(t.b/o.oi).toString()} / ${(e??o.hv).toString()})`}function w(t,e,i){return e?function(t,e){return x(m(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??o.hv).toString()})`}(t,i)}function M(t,e,i,o){let s=t,a=e;return Object.hasOwn(s,"r")||(s=m(t)),Object.hasOwn(a,"r")||(a=m(e)),{b:(0,n.jh)(s.b,a.b,i,o),g:(0,n.jh)(s.g,a.g,i,o),r:(0,n.jh)(s.r,a.r,i,o)}}function k(t,e,i){if(i===o.mR)return y();if(i!==o.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return M(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return m(t)}}}function z(t,e,i,n){const a=(0,s.Kg)(e)?e:e.value;return a===o.mR?n?l(t,{value:a}):i?o.mR:o.BW:a===o.BW?o.BW:l(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 D(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&&(O(n.h,e.h,i),O(n.s,e.s,i),O(n.l,e.l,i)),n}function O(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,n.VG)(e.speed)/o.a5*i,t.decay=o.WH-(0,n.VG)(e.decay),t.status=a.H.increasing,t.loops=o.hK,t.maxLoops=(0,n.VG)(e.count),t.time=o.tR,t.delayTime=(0,n.VG)(e.delay)*o.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=o.jn}function S(t,e,i,o){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+=o.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const s=t.offset?(0,n.vE)(t.offset):0,r=(t.velocity??0)*o.factor+3.6*s,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 R(t,e){if(!t)return;const{h:i,s:n,l:s}=t,a={h:{min:o.L1,max:o.vS},s:{min:o.yx,max:o.eu},l:{min:o.vd,max:o.$_}};S(i,a.h,!1,e),S(n,a.s,!0,e),S(s,a.l,!0,e)}},6249(t,e,i){var n;i.d(e,{h:()=>n}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(n||(n={}))},6521(t,e,i){i.d(e,{A:()=>a});var n=i(3631),o=i(5247),s=i(1917);class a extends s.O{constructor(){super(),this.animation=new o.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))}}},6861(t,e,i){i.d(e,{y:()=>s});var n=i(615),o=i(3631);class s{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}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)}}},6978(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 o=i(397),s=i(4117);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,o.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,o=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(o**s.dm+a**s.dm)}if(t instanceof c||t.type===n.rectangle){const e=t,{width:i,height:n}=e.size;return Math.pow(o-i,s.dm)+Math.pow(a-n,s.dm)<=l**s.dm||o<=l+i&&a<=l+n||o<=i||a<=n}return!1}}class c extends a{constructor(t,e,i,o){super(t,e,n.rectangle),this.size={height:o,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,o=t.position,s=t instanceof c?t.size:{width:0,height:0},a=s.width,l=s.height;return o.x<n.x+e&&o.x+a>n.x&&o.y<n.y+i&&o.y+l>n.y}}},6991(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={}))},7415(t,e,i){i.d(e,{V:()=>s});var n=i(1917),o=i(3631);class s{constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,o.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))}}},7461(t,e,i){i.d(e,{S:()=>a});var n=i(8388),o=i(615),s=i(3631);class a{constructor(){this.name="",this.default=new n.f}load(t){(0,s.kZ)(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,o.zw)({},t.options)))}}},7464(t,e,i){i.d(e,{v:()=>a});var n=i(4696),o=i(615),s=i(3631);class a{constructor(){this.clamp=!0,this.delay=new n.PV,this.enable=!1,this.options={}}load(t){(0,s.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,o.zw)(this.options,t.options)))}}},7488(t,e,i){i.d(e,{Z:()=>s});var n=i(7997),o=i(3631);class s{constructor(){this.x=50,this.y=50,this.mode=n.q.percent,this.radius=0}load(t){(0,o.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))}}},7582(t,e,i){i.d(e,{F:()=>a});var n=i(8325),o=i(615),s=i(3631);class a{constructor(){this.maxWidth=1/0,this.options={},this.mode=n.A.canvas}load(t){(0,s.kZ)(t)||((0,s.kZ)(t.maxWidth)||(this.maxWidth=t.maxWidth),(0,s.kZ)(t.mode)||(t.mode===n.A.screen?this.mode=n.A.screen:this.mode=n.A.canvas),(0,s.kZ)(t.options)||(this.options=(0,o.zw)({},t.options)))}}},7778(t,e,i){i.d(e,{L:()=>s});var n=i(5043),o=i(3631);class s{constructor(){this.enable=!1,this.mode=[],this.parallax=new n.k}load(t){(0,o.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}},7997(t,e,i){var n;i.d(e,{q:()=>n}),function(t){t.precise="precise",t.percent="percent"}(n||(n={}))},8051(t,e,i){i.d(e,{y:()=>s});var n=i(3631),o=i(397);class s{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,o.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,o.DT)(t.maxSpeed)))}}},8325(t,e,i){var n;i.d(e,{A:()=>n}),function(t){t.screen="screen",t.canvas="canvas"}(n||(n={}))},8388(t,e,i){i.d(e,{f:()=>s});var n=i(5392),o=i(3631);class s{constructor(){this.auto=!1,this.mode=n.l.any,this.value=!1}load(t){(0,o.kZ)(t)||(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8465(t,e,i){i.d(e,{A:()=>s});var n=i(1690),o=i(3631);class s{constructor(){this.mode=n.d.delete,this.value=0}load(t){(0,o.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8502(t,e,i){i.d(e,{h:()=>s});var n=i(3631),o=i(397);class s{constructor(){this.offset=0,this.value=90}load(t){(0,n.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset)),void 0!==t.value&&(this.value=(0,o.DT)(t.value)))}}},8627(t,e,i){i.d(e,{Z:()=>o,y:()=>s});var n=i(894);function o(t,...e){for(const i of e)t.load(i)}function s(t,e,...i){const s=new n.U(t,e);return o(s,...i),s}},8890(t,e,i){i.d(e,{z:()=>o});var n=i(3631);class o{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))}}},8892(t,e,i){i.d(e,{w:()=>s});var n=i(3271),o=i(3631);class s{constructor(){this.horizontal=new n.F,this.vertical=new n.F}load(t){(0,o.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},9128(t,e,i){i.d(e,{t:()=>a});var n=i(6521),o=i(3631),s=i(397);class a{constructor(){this.width=0}load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=n.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,s.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,s.DT)(t.opacity)))}}},9259(t,e,i){i.d(e,{IU:()=>l,KG:()=>p,Md:()=>c,Sn:()=>r,V6:()=>a,VG:()=>v,Wb:()=>g,e_:()=>m,gF:()=>f,k:()=>h,l7:()=>s,p0:()=>d,yx:()=>y,z5:()=>u});var n=i(4117),o=i(1983);function s(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function r(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(n.bo.x,n.bo.y,e.width,e.height)}function c(t,e,i,o){i&&(t.globalAlpha=o,t.drawImage(i,n.bo.x,n.bo.y,e.width,e.height),t.globalAlpha=1)}function l(t,e){t.clearRect(n.bo.x,n.bo.y,e.width,e.height)}function d(t){const{container:e,context:i,particle:o,delta:s,colorStyles:a,radius:r,opacity:c,transform:l}=t,d=o.getPosition(),m=o.getAngle(),g=Math.sin(m),y=Math.cos(m),b=o.isRotating,x={a:y*(l.a??n.Ug.a),b:b?g*(l.b??n.D_):l.b??n.Ug.b,c:b?-g*(l.c??n.D_):l.c??n.Ug.c,d:y*(l.d??n.Ug.d)};i.setTransform(x.a,x.b,x.c,x.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const w=o.strokeWidth??n.Dv;i.lineWidth=w,a.stroke&&(i.strokeStyle=a.stroke);const M={container:e,context:i,particle:o,radius:r,opacity:c,delta:s,transformData:x,strokeWidth:w};u(M),v(M),p(M),f(M),h(M),i.resetTransform()}function h(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.effect)return;const d=e.effectDrawers.get(o.effect),h=d?.drawAfter;h&&h({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function u(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.effect)return;const d=e.effectDrawers.get(o.effect);d?.drawBefore&&d.drawBefore({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function p(t){const{container:e,context:i,particle:o,radius:s,opacity:a,delta:r,strokeWidth:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d&&(i.beginPath(),d.draw({context:i,particle:o,radius:s,opacity:a,delta:r,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:c>n.Dv||!o.shapeFill,transformData:{...l}}),o.shapeClose&&i.closePath(),c>n.Dv&&i.stroke(),o.shapeFill&&i.fill())}function f(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d?.afterDraw&&d.afterDraw({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function v(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d?.beforeDraw&&d.beforeDraw({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function m(t,e,i){e.draw&&e.draw(t,i)}function g(t,e,i,n){e.drawParticle&&e.drawParticle(t,i,n)}function y(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===o.H.darken?-n.iU:n.iU)*i}}},9460(t,e,i){i.d(e,{r:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.mode=[]}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}},9499(t,e,i){i.d(e,{e:()=>a});var n=i(3544),o=i(3631),s=i(397);class a extends n.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset))}}},9845(t,e,i){i.d(e,{m:()=>o});var n=i(3631);class o{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))}}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var s=n[t]={exports:{}};return i[t](s,s.exports,o),s.exports}o.m=i,o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,i)=>(o.f[i](t,e),e)),[])),o.u=t=>t+".min.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/engine:",o.l=(i,n,s,a)=>{if(t[i])t[i].push(n);else{var r,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var h=l[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+s){r=h;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",e+s),r.src=i),t[i]=[n];var u=(e,n)=>{r.onerror=r.onload=null,clearTimeout(p);var o=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((t=>t(n))),e)return e(n)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),c&&document.head.appendChild(r)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var 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(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={397:0};o.f.j=(e,i)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var s=new Promise(((i,o)=>n=t[e]=[i,o]));i.push(n[2]=s);var a=o.p+o.u(e),r=new Error;o.l(a,(i=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var s=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+s+": "+a+")",r.name="ChunkLoadError",r.type=s,r.request=a,n[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var n,s,[a,r,c]=i,l=0;if(a.some((e=>0!==t[e]))){for(n in r)o.o(r,n)&&(o.m[n]=r[n]);if(c)c(o)}for(e&&e(i);l<a.length;l++)s=a[l],o.o(t,s)&&t[s]&&t[s][0](),t[s]=0},i=this.webpackChunk_tsparticles_engine=this.webpackChunk_tsparticles_engine||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};o.r(s),o.d(s,{AlterType:()=>T.H,AnimatableColor:()=>Z.A,AnimationMode:()=>z.g,AnimationOptions:()=>C.p,AnimationStatus:()=>V.H,AnimationValueWithRandom:()=>Pt.Jm,Background:()=>G.V,BaseRange:()=>b.dg,Circle:()=>b.jl,ClickEvent:()=>$.r,ColorAnimation:()=>B.e,DestroyType:()=>E.V,DivEvent:()=>W.G,DivType:()=>I.Q,EasingType:()=>F,EventType:()=>l.B,Events:()=>N.s,ExternalInteractorBase:()=>v,FullScreen:()=>q.m,GradientType:()=>M,HoverEvent:()=>j.L,HslAnimation:()=>H.i,Interactivity:()=>X.k,InteractivityDetect:()=>L.h,InteractorType:()=>f.e,LimitMode:()=>P.d,ManualParticle:()=>Q.j,Modes:()=>J.d,Move:()=>at.y,MoveAngle:()=>rt.h,MoveAttract:()=>st.R,MoveCenter:()=>ct.Z,MoveDirection:()=>w.F,MoveGravity:()=>lt.y,MovePath:()=>ht.v,Opacity:()=>mt.Y,OpacityAnimation:()=>gt.I,Options:()=>Y.J,OptionsColor:()=>tt.O,OutMode:()=>D.Y,OutModeDirection:()=>k.v,OutModes:()=>dt.j,Parallax:()=>K.k,ParticleOutType:()=>A.x,ParticlesBounce:()=>et.w,ParticlesBounceFactor:()=>it.F,ParticlesDensity:()=>vt.M,ParticlesInteractorBase:()=>m,ParticlesNumber:()=>pt.N,ParticlesNumberLimit:()=>ft.A,ParticlesOptions:()=>nt.U,PixelMode:()=>O.q,Point:()=>y.b,RangedAnimationOptions:()=>C.Q,RangedAnimationValueWithRandom:()=>Pt.AI,Rectangle:()=>b.M_,ResizeEvent:()=>U.z,Responsive:()=>Mt.F,ResponsiveMode:()=>R.A,RotateDirection:()=>g,Shape:()=>yt.y,Size:()=>bt.o,SizeAnimation:()=>xt.q,Spin:()=>ut.t,StartValueType:()=>_.S,Stroke:()=>ot.t,Theme:()=>kt.S,ThemeDefault:()=>zt.f,ThemeMode:()=>S.l,ValueWithRandom:()=>Pt.PV,Vector:()=>x.M,Vector3d:()=>x.p,ZIndex:()=>wt.P,alterHsl:()=>Dt.yx,animate:()=>h.i0,areBoundsInside:()=>r.O2,arrayRandomIndex:()=>r.n0,calcExactPositionOrRandomFromSize:()=>h.Nx,calcExactPositionOrRandomFromSizeRanged:()=>h.qM,calcPositionFromSize:()=>h.eh,calcPositionOrRandomFromSize:()=>h.Mh,calcPositionOrRandomFromSizeRanged:()=>h.l1,calculateBounds:()=>r.AE,cancelAnimation:()=>h.px,canvasFirstIndex:()=>a.Nx,canvasTag:()=>a.RF,circleBounce:()=>r.pE,circleBounceDataFromParticle:()=>r.Tg,clamp:()=>h.qE,clear:()=>Dt.IU,clearDrawPlugin:()=>Dt.l7,clickRadius:()=>a.FS,cloneStyle:()=>r.td,collisionVelocity:()=>h.OW,colorMix:()=>Ot.EY,colorToHsl:()=>Ot.mK,colorToRgb:()=>Ot.qe,countOffset:()=>a.nq,decayOffset:()=>a.WH,deepExtend:()=>r.zw,defaultAlpha:()=>a.aZ,defaultAngle:()=>a.tA,defaultDensityFactor:()=>a.lA,defaultFps:()=>a.z$,defaultFpsLimit:()=>a.i8,defaultLoops:()=>a.hK,defaultOpacity:()=>a.hv,defaultRadius:()=>a.M1,defaultRatio:()=>a.$x,defaultReduceFactor:()=>a.Zp,defaultRemoveQuantity:()=>a.xd,defaultRetryCount:()=>a.rq,defaultRgbMin:()=>a.Fl,defaultTime:()=>a.tR,defaultTransform:()=>a.Ug,defaultTransformValue:()=>a.zs,defaultVelocity:()=>a.jn,degToRad:()=>h.pu,deleteCount:()=>a.LD,divMode:()=>r.NV,divModeExecute:()=>r.U6,double:()=>a.gd,doublePI:()=>a.R1,drawAfterEffect:()=>Dt.k,drawBeforeEffect:()=>Dt.z5,drawLine:()=>Dt.V6,drawParticle:()=>Dt.p0,drawParticlePlugin:()=>Dt.Wb,drawPlugin:()=>Dt.e_,drawShape:()=>Dt.KG,drawShapeAfterDraw:()=>Dt.gF,drawShapeBeforeDraw:()=>Dt.VG,empty:()=>a.Ie,executeOnSingleOrMultiple:()=>r.wJ,findItemFromSingleOrMultiple:()=>r.w3,generatedAttribute:()=>a.eb,generatedFalse:()=>a.X$,generatedTrue:()=>a.ce,getDistance:()=>h.Yf,getDistances:()=>h.vr,getFullScreenStyle:()=>r.hJ,getHslAnimationFromHsl:()=>Ot.pz,getHslFromAnimation:()=>Ot.O_,getLinkColor:()=>Ot._h,getLinkRandomColor:()=>Ot.PG,getLogger:()=>d.t,getParticleBaseVelocity:()=>h.$m,getParticleDirectionAngle:()=>h.JY,getPosition:()=>r.E9,getRandom:()=>h.G0,getRandomInRange:()=>h.e4,getRandomRgbColor:()=>Ot.OH,getRangeMax:()=>h.W9,getRangeMin:()=>h.Sg,getRangeValue:()=>h.VG,getSize:()=>r.YC,getStyleFromHsl:()=>Ot.LC,getStyleFromRgb:()=>Ot.xx,hMax:()=>a.vS,hMin:()=>a.L1,hPhase:()=>a.U0,half:()=>a.MX,hasMatchMedia:()=>r.q8,hslToRgb:()=>Ot.YL,hslaToRgba:()=>Ot.ay,identity:()=>a.D_,initParticleNumericAnimationValue:()=>r.Xs,inverseFactorNumerator:()=>a.hB,isArray:()=>Rt.cy,isBoolean:()=>Rt.Lm,isDivModeEnabled:()=>r.iK,isFunction:()=>Rt.Tn,isInArray:()=>r.hn,isNull:()=>Rt.kZ,isNumber:()=>Rt.Et,isObject:()=>Rt.Gv,isPointInside:()=>r.Tj,isString:()=>Rt.Kg,itemFromArray:()=>r.Vh,itemFromSingleOrMultiple:()=>r.TA,lFactor:()=>a.iU,lMax:()=>a.$_,lMin:()=>a.vd,lengthOffset:()=>a.K3,loadFont:()=>r.Al,loadMinIndex:()=>a.PZ,loadOptions:()=>St.Z,loadParticlesOptions:()=>St.y,loadRandomFactor:()=>a.$v,manualCount:()=>a.IU,manualDefaultPosition:()=>a.td,midColorValue:()=>a.BW,millisecondsToSeconds:()=>a.Xu,minCoordinate:()=>a.TL,minCount:()=>a.wM,minFpsLimit:()=>a.DN,minIndex:()=>a.z9,minLimit:()=>a.ou,minRetries:()=>a.N5,minStrokeWidth:()=>a.Dv,minVelocity:()=>a.GW,minZ:()=>a.X_,minimumLength:()=>a.$O,minimumSize:()=>a.w2,mix:()=>h.jh,mouseDownEvent:()=>a.ms,mouseLeaveEvent:()=>a.Z0,mouseMoveEvent:()=>a.Rb,mouseOutEvent:()=>a.sf,mouseUpEvent:()=>a.vo,none:()=>a.dv,one:()=>a.xH,originPoint:()=>a.bo,paintBase:()=>Dt.Sn,paintImage:()=>Dt.Md,parseAlpha:()=>h.M3,percentDenominator:()=>a.a5,phaseNumerator:()=>a.BF,posOffset:()=>a.un,qTreeCapacity:()=>a.Kw,quarter:()=>a.$G,randomColorValue:()=>a.mR,randomInRangeValue:()=>h.vE,rangeColorToHsl:()=>Ot.R5,rangeColorToRgb:()=>Ot.BN,removeDeleteCount:()=>a.JC,removeMinIndex:()=>a.vF,resizeEvent:()=>a.NF,rgbMax:()=>a.oi,rgbToHsl:()=>Ot.K6,rollFactor:()=>a.l,sMax:()=>a.eu,sMin:()=>a.yx,sNormalizedOffset:()=>a.aE,safeDocument:()=>r.T5,safeIntersectionObserver:()=>r.BR,safeMatchMedia:()=>r.lV,safeMutationObserver:()=>r.tG,setAnimationFunctions:()=>h.AD,setLogger:()=>d.B,setRandom:()=>h.OE,setRangeValue:()=>h.DT,sextuple:()=>a.zg,singleDivModeExecute:()=>r.S7,sizeFactor:()=>a.Rh,squareExp:()=>a.dm,stringToAlpha:()=>Ot.zI,stringToRgb:()=>Ot.eg,subdivideCount:()=>a.Pg,threeQuarter:()=>a.Rq,touchCancelEvent:()=>a.G3,touchDelay:()=>a.pH,touchEndEvent:()=>a.Bp,touchEndLengthOffset:()=>a.KZ,touchMoveEvent:()=>a.DG,touchStartEvent:()=>a.s7,triple:()=>a.Nu,tryCountIncrement:()=>a.Eo,tsParticles:()=>Tt,updateAnimation:()=>r.UC,updateColor:()=>Ot.Jv,updateColorValue:()=>Ot.Ko,visibilityChangeEvent:()=>a.nK,zIndexFactorOffset:()=>a.RV});var a=o(4117),r=o(615);class c{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach((t=>{t(e)}))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,o=i.indexOf(e);o<a.z9||(n===a.LD?this._listeners.delete(t):i.splice(o,a.LD))}}var l=o(6991),d=o(183),h=o(397);async function u(t,e,i,n=!1){let o=e.get(t);return o&&!n||(o=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,o)),o}class p{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new c,this._initialized=!1,this._loadPromises=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.0"}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(l.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addInteractor(t,e){this._initializers.interactors.set(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const e=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return u(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return u(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 u(t,this.updaters,this._initializers.updaters,e)}async init(){if(!this._initialized){for(const t of this._loadPromises)await t(this);this._loadPromises.clear(),this._initialized=!0}}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,a.JC)}async load(t){await this.init();const{Container:e}=await o.e(638).then(o.bind(o,1638)),i=t.id??t.element?.id??`tsparticles${Math.floor((0,h.G0)()*a.$v).toString()}`,{index:n,url:s}=t,c=s?await async function(t){const e=(0,r.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,d.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:s,index:n}):t.options,l=(0,r.TA)(c,n),{items:u}=this,p=u.findIndex((t=>t.id.description===i)),f=new e(this,i,l);if(p>=a.PZ){const t=this.item(p),e=t?a.xH:a.dv;t&&!t.destroyed&&t.destroy(!1),u.splice(p,e,f)}else u.push(f);const v=((t,e)=>{let i=e??(0,r.T5)().getElementById(t);return i||(i=(0,r.T5)().createElement("div"),i.id=t,i.dataset[a.eb]=a.ce,(0,r.T5)().body.append(i),i)})(i,t.element),m=(t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===a.RF)e=t,e.dataset[a.eb]??=a.X$;else{const i=t.getElementsByTagName(a.RF)[a.Nx];i?(e=i,e.dataset[a.eb]=a.X$):(e=(0,r.T5)().createElement(a.RF),e.dataset[a.eb]=a.ce,t.appendChild(e))}const i="100%";return e.style.width||(e.style.width=i),e.style.height||(e.style.height=i),e})(v);return f.canvas.loadCanvas(m),await f.start(),f}loadOptions(t,e){this.plugins.forEach((i=>{i.loadOptions(t,e)}))}loadParticlesOptions(t,e,...i){const 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())))}register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const{items:e}=this;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach((e=>{e.addClickHandler(t)}))}}var f=o(5536);class v{constructor(t){this.type=f.e.external,this.container=t}}class m{constructor(t){this.type=f.e.particles,this.container=t}}var g,y=o(2186),b=o(6978),x=o(560),w=o(4342);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(g||(g={}));var M,k=o(1874),z=o(3551),P=o(1690),D=o(1049),O=o(7997),S=o(5392),R=o(8325),T=o(1983),E=o(181);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(M||(M={}));var F,A=o(753),_=o(782),I=o(2480);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(F||(F={}));var V=o(1689),L=o(6249),Z=o(6521),C=o(3544),G=o(7415),B=o(9499),q=o(9845),H=o(5247),$=o(9460),W=o(4981),N=o(1617),j=o(7778),K=o(5043),U=o(8890),X=o(4997),J=o(1317),Q=o(4712),Y=o(3984),tt=o(1917),et=o(8892),it=o(3271),nt=o(894),ot=o(9128),st=o(4640),at=o(4209),rt=o(8502),ct=o(7488),lt=o(8051),dt=o(2620),ht=o(7464),ut=o(4624),pt=o(5504),ft=o(8465),vt=o(5317),mt=o(3969),gt=o(1163),yt=o(6861),bt=o(4377),xt=o(4883),wt=o(1603),Mt=o(7582),kt=o(7461),zt=o(8388),Pt=o(4696),Dt=o(9259),Ot=o(6192),St=o(8627),Rt=o(3631);const Tt=new p;return globalThis.tsParticles=Tt,s})()));
|
|
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={181(t,e,i){var n;i.d(e,{V:()=>n}),function(t){t.none="none",t.max="max",t.min="min"}(n||(n={}))},183(t,e,i){i.d(e,{B:()=>o,t:()=>s});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 o(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 s(){return n}},397(t,e,i){i.d(e,{$m:()=>O,AD:()=>p,DT:()=>M,G0:()=>h,JY:()=>D,M3:()=>_,Mh:()=>T,Nx:()=>F,OE:()=>d,OW:()=>S,Sg:()=>x,VG:()=>b,W9:()=>w,Yf:()=>z,e4:()=>u,eh:()=>R,i0:()=>f,jh:()=>g,l1:()=>E,pu:()=>P,px:()=>v,qE:()=>m,qM:()=>A,vE:()=>y,vr:()=>k});var n=i(4342),o=i(4117),s=i(560),a=i(3631);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 h(){return m(c(),0,1-Number.EPSILON)}function u(t,e){return h()*(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 m(t,e,i){return Math.min(Math.max(t,e),i)}function g(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),u(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 k(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 z(t,e){return k(t,e).distance}function P(t){return t*r}function D(t,e,i){if((0,a.Et)(t))return P(t);switch(t){case n.F.top:return-Math.PI*o.MX;case n.F.topRight:return-Math.PI*o.$G;case n.F.right:return o.Ie;case n.F.bottomRight:return Math.PI*o.$G;case n.F.bottom:return Math.PI*o.MX;case n.F.bottomLeft:return Math.PI*o.Rq;case n.F.left:return Math.PI;case n.F.topLeft:return-Math.PI*o.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 h()*o.R1}}function O(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function S(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function R(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/o.a5,y:t.position.y*t.size.height/o.a5}:void 0}function T(t){return{x:(t.position?.x??h()*o.a5)*t.size.width/o.a5,y:(t.position?.y??h()*o.a5)*t.size.height/o.a5}}function E(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 T({size:t.size,position:e})}function F(t){return{x:t.position?.x??h()*t.size.width,y:t.position?.y??h()*t.size.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 F({size:t.size,position:e})}function _(t){return t?t.endsWith("%")?parseFloat(t)/o.a5:parseFloat(t):1}},560(t,e,i){i.d(e,{M:()=>s,p:()=>o});var n=i(4117);class o{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 o.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 o.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new o(t,e??n.bo.y,i??n.bo.z):new o(t.x,t.y,Object.hasOwn(t,"z")?t.z:n.bo.z)}add(t){return o.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 o.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return o.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 o.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 o.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 o.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 s extends o{constructor(t=n.bo.x,e=n.bo.y){super(t,e,n.bo.z)}static get origin(){return s.create(n.bo.x,n.bo.y)}static clone(t){return s.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new s(t,e??n.bo.y):new s(t.x,t.y)}}},615(t,e,i){i.d(e,{AE:()=>z,Al:()=>b,BR:()=>m,E9:()=>L,NV:()=>R,O2:()=>k,S7:()=>S,T5:()=>f,TA:()=>A,Tg:()=>T,Tj:()=>M,U6:()=>O,UC:()=>C,Vh:()=>w,Xs:()=>I,YC:()=>Z,hJ:()=>B,hn:()=>y,iK:()=>D,lV:()=>v,n0:()=>x,pE:()=>E,q8:()=>p,tG:()=>g,td:()=>G,w3:()=>_,wJ:()=>F,zw:()=>P});var n=i(397),o=i(4117),s=i(3631),a=i(3551),r=i(1689),c=i(181),l=i(1874),d=i(7997),h=i(782),u=i(560);function p(){return"undefined"!=typeof matchMedia}function f(){return globalThis.document}function v(t){if(p())return matchMedia(t)}function m(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function g(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function y(t,e){return t===e||(0,s.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,o){return k(z(t,n??0),e,i,o)}function k(t,e,i,n){let o=!0;return n&&n!==l.v.bottom||(o=t.top<e.height+i.x),!o||n&&n!==l.v.left||(o=t.right>i.x),!o||n&&n!==l.v.right||(o=t.left<e.width+i.y),!o||n&&n!==l.v.top||(o=t.bottom>i.y),o}function z(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function P(t,...e){for(const i of e){if(null==i)continue;if(!(0,s.Gv)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,s.Gv)(t)&&t&&Array.isArray(t)?e||!(0,s.Gv)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const n=i[e],o=t;o[e]=(0,s.Gv)(n)&&Array.isArray(n)?n.map((t=>P(o[e],t))):P(o[e],n)}}return t}function D(t,e){return!!_(e,(e=>e.enable&&y(t,e.mode)))}function O(t,e,i){F(e,(e=>{const n=e.mode;e.enable&&y(t,n)&&S(e,i)}))}function S(t,e){F(t.selectors,(i=>{e(i,t)}))}function R(t,e){if(e&&t)return _(t,(t=>function(t,e){const i=F(e,(e=>t.matches(e)));return(0,s.cy)(i)?i.some((t=>t)):i}(e,t.selectors)))}function T(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:u.M.create((0,n.VG)(t.options.bounce.horizontal.value),(0,n.VG)(t.options.bounce.vertical.value))}}function E(t,e){const{x:i,y:o}=t.velocity.sub(e.velocity),[s,a]=[t.position,e.position],{dx:r,dy:c}=(0,n.vr)(a,s);if(i*r+o*c<0)return;const l=-Math.atan2(c,r),d=t.mass,h=e.mass,u=t.velocity.rotate(l),p=e.velocity.rotate(l),f=(0,n.OW)(u,p,d,h),v=(0,n.OW)(p,u,d,h),m=f.rotate(-l),g=v.rotate(-l);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=g.x*e.factor.x,e.velocity.y=g.y*e.factor.y}function F(t,e){return(0,s.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function A(t,e,i){return(0,s.cy)(t)?w(t,e,i):t}function _(t,e){if((0,s.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function I(t,e){const i=t.value,s=t.animation,c={delayTime:(0,n.VG)(s.delay)*o.Xu,enable:s.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)(s.count),time:0};if(s.enable){switch(c.decay=1-(0,n.VG)(s.decay),s.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)()>=o.MX?r.H.increasing:r.H.decreasing}const t=s.mode===a.g.auto;switch(s.startValue){case h.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case h.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case h.S.random:default:c.value=(0,n.vE)(c),t&&(c.status=(0,n.G0)()>=o.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function V(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/o.a5*e.width,y:t.y/o.a5*e.height}:{width:t.width/o.a5*e.width,height:t.height/o.a5*e.height}}function L(t,e){return V(t,e)}function Z(t,e){return V(t,e)}function C(t,e,i,o,s){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*s.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=s.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,n,o){switch(e){case c.V.max:i>=o&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,o,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function G(t){const e=f().createElement("div").style;for(const i in t){const n=t[i];if(!Object.prototype.hasOwnProperty.call(t,i)||(0,s.kZ)(n))continue;const o=t.getPropertyValue?.(n);if(!o)continue;const a=t.getPropertyPriority?.(n);a?e.setProperty(n,o,a):e.setProperty(n,o)}return e}const B=function(t){const e=new Map;return(...i)=>{const n=JSON.stringify(i);if(e.has(n))return e.get(n);const o=t(...i);return e.set(n,o),o}}((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}))},753(t,e,i){var n;i.d(e,{x:()=>n}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(n||(n={}))},782(t,e,i){var n;i.d(e,{S:()=>n}),function(t){t.max="max",t.min="min",t.random="random"}(n||(n={}))},894(t,e,i){i.d(e,{U:()=>v});var n=i(615),o=i(6521),s=i(3631);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}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)}}var r=i(4209),c=i(3969),l=i(8892),d=i(5504),h=i(6861),u=i(4377),p=i(9128),f=i(1603);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new o.A,this.color.value="#fff",this.effect=new a,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new h.y,this.size=new u.o,this.stroke=new p.t,this.zIndex=new f.P}load(t){if((0,s.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(o.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),void 0!==t.interactivity&&(this.interactivity=(0,n.zw)({},t.interactivity));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){const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t);const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}},1049(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={}))},1163(t,e,i){i.d(e,{I:()=>a});var n=i(181),o=i(3544),s=i(3631);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=2}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},1317(t,e,i){i.d(e,{d:()=>o});var n=i(3631);class o{constructor(t,e){this._engine=t,this._container=e}load(t){if((0,n.kZ)(t))return;if(!this._container)return;const e=this._engine.interactors.get(this._container);if(e)for(const i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}},1603(t,e,i){i.d(e,{P:()=>s});var n=i(4696),o=i(3631);class s extends n.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,o.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))}}},1617(t,e,i){i.d(e,{s:()=>l});var n=i(9460),o=i(4981),s=i(7778),a=i(8890),r=i(615),c=i(3631);class l{constructor(){this.onClick=new n.r,this.onDiv=new o.G,this.onHover=new s.L,this.resize=new a.z}load(t){if((0,c.kZ)(t))return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,r.wJ)(e,(t=>{const e=new o.G;return e.load(t),e}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},1689(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(n||(n={}))},1690(t,e,i){var n;i.d(e,{d:()=>n}),function(t){t.delete="delete",t.wait="wait"}(n||(n={}))},1874(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={}))},1917(t,e,i){i.d(e,{O:()=>o});var n=i(3631);class o{constructor(){this.value=""}static create(t,e){const i=new o;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)}}},1983(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.darken="darken",t.enlighten="enlighten"}(n||(n={}))},2186(t,e,i){i.d(e,{b:()=>n});class n{constructor(t,e){this.position=t,this.particle=e}}},2480(t,e,i){var n;i.d(e,{Q:()=>n}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}))},2620(t,e,i){i.d(e,{j:()=>s});var n=i(1049),o=i(3631);class s{constructor(){this.default=n.Y.out}load(t){(0,o.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)}}},3271(t,e,i){i.d(e,{F:()=>o});var n=i(4696);class o extends n.PV{constructor(){super(),this.value=1}}},3544(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var n=i(3551),o=i(782),s=i(3631),a=i(397);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,s.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=o.S.random}load(t){super.load(t),(0,s.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},3551(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={}))},3631(t,e,i){function n(t){return"boolean"==typeof t}function o(t){return"string"==typeof t}function s(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:()=>s,Gv:()=>r,Kg:()=>o,Lm:()=>n,Tn:()=>a,cy:()=>c,kZ:()=>l})},3969(t,e,i){i.d(e,{Y:()=>a});var n=i(1163),o=i(4696),s=i(3631);class a extends o.AI{constructor(){super(),this.animation=new n.I,this.value=1}load(t){if((0,s.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},3984(t,e,i){i.d(e,{J:()=>v});var n=i(615),o=i(3631),s=i(7415),a=i(9845),r=i(4997),c=i(4712),l=i(7582),d=i(8325),h=i(7461),u=i(5392),p=i(8627),f=i(397);class v{constructor(t,e){this._findDefaultTheme=t=>this.themes.find((e=>e.default.value&&e.default.mode===t))??this.themes.find((t=>t.default.value&&t.default.mode===u.l.any)),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new s.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.interactivity=new r.k(t,e),this.manualParticles=[],this.particles=(0,p.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if((0,o.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,f.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,f.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 s=t.fullScreen;(0,o.Lm)(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new c.j;return e.load(t),e}))),this.particles.load(t.particles),this.style=(0,n.zw)(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const a=this._engine.interactors.get(this._container);if(a)for(const e of a)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new l.F;t.load(e),this.responsive.push(t)}if(this.responsive.sort(((t,e)=>t.maxWidth-e.maxWidth)),void 0!==t.themes)for(const e of t.themes){const t=this.themes.find((t=>t.name===e.name));if(t)t.load(e);else{const t=new h.S;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme(u.l.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(u.l.light)?.name}setResponsive(t,e,i){this.load(i);const n=this.responsive.find((i=>i.mode===d.A.screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t));return this.load(n?.options),n?.maxWidth}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t=(0,n.lV)("(prefers-color-scheme: dark)"),e=t?.matches,i=this._findDefaultTheme(e?u.l.dark:u.l.light);i&&this.load(i.options)}}}},4117(t,e,i){i.d(e,{$G:()=>W,$O:()=>X,$_:()=>G,$v:()=>rt,$x:()=>A,BF:()=>Lt,BW:()=>w,Bp:()=>d,DG:()=>h,DN:()=>st,D_:()=>Tt,Dv:()=>Et,Eo:()=>ut,FS:()=>Y,Fl:()=>Zt,G3:()=>u,GW:()=>j,IU:()=>kt,Ie:()=>$,JC:()=>it,K3:()=>zt,KZ:()=>tt,Kw:()=>E,L1:()=>B,LD:()=>Dt,M1:()=>mt,MX:()=>m,N5:()=>pt,NF:()=>p,Nu:()=>_t,Nx:()=>at,PZ:()=>ct,Pg:()=>I,R1:()=>k,RF:()=>S,RV:()=>J,Rb:()=>c,Rh:()=>yt,Rq:()=>N,TL:()=>et,U0:()=>H,Ug:()=>b,WH:()=>ht,X$:()=>O,X_:()=>vt,Xu:()=>g,Z0:()=>a,Zp:()=>_,a5:()=>v,aE:()=>Vt,aZ:()=>P,bo:()=>y,ce:()=>D,dm:()=>T,dv:()=>dt,eb:()=>n,eu:()=>C,gd:()=>M,hB:()=>V,hK:()=>Gt,hv:()=>Q,i8:()=>ot,iU:()=>Ft,jn:()=>Ct,l:()=>ft,lA:()=>Pt,mR:()=>x,ms:()=>o,nK:()=>f,nq:()=>xt,oi:()=>L,ou:()=>bt,pH:()=>Ot,rq:()=>R,s7:()=>l,sf:()=>r,tA:()=>Rt,tR:()=>Bt,td:()=>St,un:()=>gt,vF:()=>nt,vS:()=>Z,vd:()=>At,vo:()=>s,w2:()=>U,wM:()=>wt,xH:()=>lt,xd:()=>F,yx:()=>q,z$:()=>z,z9:()=>Mt,zg:()=>It,zs:()=>K});const n="generated",o="pointerdown",s="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",d="touchend",h="touchmove",u="touchcancel",p="resize",f="visibilitychange",v=100,m=.5,g=1e3,y={x:0,y:0,z:0},b={a:1,b:0,c:0,d:1},x="random",w="mid",M=2,k=Math.PI*M,z=60,P=1,D="true",O="false",S="canvas",R=0,T=2,E=4,F=1,A=1,_=1,I=4,V=1,L=255,Z=360,C=100,G=100,B=0,q=0,H=60,$=0,W=.25,N=m+W,j=0,K=1,U=0,X=0,J=1,Q=1,Y=1,tt=1,et=0,it=1,nt=0,ot=120,st=0,at=0,rt=1e4,ct=0,lt=1,dt=0,ht=1,ut=1,pt=0,ft=1,vt=0,mt=0,gt=-W,yt=1.5,bt=0,xt=1,wt=0,Mt=0,kt=0,zt=1,Pt=1,Dt=1,Ot=500,St=50,Rt=0,Tt=1,Et=0,Ft=1,At=0,_t=3,It=6,Vt=1,Lt=1,Zt=0,Ct=0,Gt=0,Bt=0},4209(t,e,i){i.d(e,{y:()=>p});var n=i(4342),o=i(3631),s=i(8502),a=i(4640),r=i(7488),c=i(8051),l=i(7464),d=i(2620),h=i(4624),u=i(397);class p{constructor(){this.angle=new s.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 h.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,o.kZ)(t))return;this.angle.load((0,o.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,o.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,o.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},4342(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={}))},4377(t,e,i){i.d(e,{o:()=>a});var n=i(4696),o=i(4883),s=i(3631);class a extends n.AI{constructor(){super(),this.animation=new o.q,this.value=3}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},4624(t,e,i){i.d(e,{t:()=>a});var n=i(615),o=i(3631),s=i(397);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,o.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,s.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,n.zw)({},t.position)))}}},4640(t,e,i){i.d(e,{R:()=>s});var n=i(3631),o=i(397);class s{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,o.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)}}}},4696(t,e,i){i.d(e,{AI:()=>c,Jm:()=>r,PV:()=>a});var n=i(3544),o=i(3631),s=i(397);class a{constructor(){this.value=0}load(t){(0,o.kZ)(t)||(0,o.kZ)(t.value)||(this.value=(0,s.DT)(t.value))}}class r extends a{constructor(){super(),this.animation=new n.p}load(t){if(super.load(t),(0,o.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)}}},4712(t,e,i){i.d(e,{j:()=>r});var n=i(7997),o=i(615),s=i(3631),a=i(4117);class r{load(t){(0,s.kZ)(t)||(t.position&&(this.position={x:t.position.x??a.td,y:t.position.y??a.td,mode:t.position.mode??n.q.percent}),t.options&&(this.options=(0,o.zw)({},t.options)))}}},4883(t,e,i){i.d(e,{q:()=>a});var n=i(181),o=i(3544),s=i(3631);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=5}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},4981(t,e,i){i.d(e,{G:()=>s});var n=i(2480),o=i(3631);class s{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=n.Q.circle}load(t){(0,o.kZ)(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}},4997(t,e,i){i.d(e,{k:()=>r});var n=i(1617),o=i(6249),s=i(1317),a=i(3631);class r{constructor(t,e){this.detectsOn=o.h.window,this.events=new n.s,this.modes=new s.d(t,e)}load(t){if((0,a.kZ)(t))return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},5043(t,e,i){i.d(e,{k:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}},5247(t,e,i){i.d(e,{i:()=>s});var n=i(9499),o=i(3631);class s{constructor(){this.h=new n.e,this.s=new n.e,this.l=new n.e}load(t){(0,o.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},5317(t,e,i){i.d(e,{M:()=>o});var n=i(3631);class o{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)}}},5392(t,e,i){var n;i.d(e,{l:()=>n}),function(t){t.any="any",t.dark="dark",t.light="light"}(n||(n={}))},5504(t,e,i){i.d(e,{N:()=>a});var n=i(5317),o=i(8465),s=i(3631);class a{constructor(){this.density=new n.M,this.limit=new o.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},5536(t,e,i){var n;i.d(e,{e:()=>n}),function(t){t.external="external",t.particles="particles"}(n||(n={}))},6192(t,e,i){i.d(e,{BN:()=>l,EY:()=>M,Jv:()=>R,K6:()=>p,Ko:()=>S,LC:()=>w,OH:()=>y,O_:()=>P,PG:()=>z,R5:()=>u,YL:()=>m,_h:()=>k,ay:()=>g,eg:()=>v,mK:()=>h,pz:()=>D,qe:()=>d,xx:()=>b,zI:()=>f});var n=i(397),o=i(4117),s=i(3631),a=i(1689),r=i(615);function c(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function l(t,e,i,n=!0){if(!e)return;const o=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(o.value))return d(t,o.value,i,n);if((0,s.cy)(o.value)){const e=(0,r.Vh)(o.value,i,n);if(!e)return;return l(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(o);if(t)return t}}function d(t,e,i,n=!0){if(!e)return;const a=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(a.value))return a.value===o.mR?y():v(t,a.value);if((0,s.cy)(a.value)){const e=(0,r.Vh)(a.value,i,n);if(!e)return;return d(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function h(t,e,i,n=!0){const o=d(t,e,i,n);return o?p(o):void 0}function u(t,e,i,n=!0){const o=l(t,e,i,n);return o?p(o):void 0}function p(t){const e=t.r/o.oi,i=t.g/o.oi,n=t.b/o.oi,s=Math.max(e,i,n),a=Math.min(e,i,n),r={h:o.L1,l:(s+a)*o.MX,s:o.yx};return s!==a&&(r.s=r.l<o.MX?(s-a)/(s+a):(s-a)/(o.gd-s-a),r.h=e===s?(i-n)/(s-a):i===s?o.gd+(n-e)/(s-a):o.gd*o.gd+(e-i)/(s-a)),r.l*=o.$_,r.s*=o.eu,r.h*=o.U0,r.h<o.L1&&(r.h+=o.vS),r.h>=o.vS&&(r.h-=o.vS),r}function f(t,e){return c(t,e)?.a}function v(t,e){return c(t,e)}function m(t){const e=(t.h%o.vS+o.vS)%o.vS,i=Math.max(o.yx,Math.min(o.eu,t.s)),n=Math.max(o.vd,Math.min(o.$_,t.l)),s=e/o.vS,a=i/o.eu,r=n/o.$_;if(i===o.yx){const t=Math.round(r*o.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*o.zg<1)return t+(e-t)*o.zg*i;if(i*o.gd<1)return e;if(i*o.Nu<1*o.gd){return t+(e-t)*(o.gd/o.Nu-i)*o.zg}return t},l=r<o.MX?r*(o.aE+a):r+a-r*a,d=o.gd*r-l,h=o.BF/o.Nu,u=Math.min(o.oi,o.oi*c(d,l,s+h)),p=Math.min(o.oi,o.oi*c(d,l,s)),f=Math.min(o.oi,o.oi*c(d,l,s-h));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}function g(t){const e=m(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function y(t){const e=t??o.Fl,i=o.oi+o.D_,s=()=>Math.floor((0,n.e4)(e,i));return{b:s(),g:s(),r:s()}}function b(t,e,i){return e?x(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)}function x(t,e){return`color(display-p3 ${(t.r/o.oi).toString()} ${(t.g/o.oi).toString()} ${(t.b/o.oi).toString()} / ${(e??o.hv).toString()})`}function w(t,e,i){return e?function(t,e){return x(m(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??o.hv).toString()})`}(t,i)}function M(t,e,i,o){let s=t,a=e;return Object.hasOwn(s,"r")||(s=m(t)),Object.hasOwn(a,"r")||(a=m(e)),{b:(0,n.jh)(s.b,a.b,i,o),g:(0,n.jh)(s.g,a.g,i,o),r:(0,n.jh)(s.r,a.r,i,o)}}function k(t,e,i){if(i===o.mR)return y();if(i!==o.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return M(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return m(t)}}}function z(t,e,i,n){const a=(0,s.Kg)(e)?e:e.value;return a===o.mR?n?l(t,{value:a}):i?o.mR:o.BW:a===o.BW?o.BW:l(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 D(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&&(O(n.h,e.h,i),O(n.s,e.s,i),O(n.l,e.l,i)),n}function O(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,n.VG)(e.speed)/o.a5*i,t.decay=o.WH-(0,n.VG)(e.decay),t.status=a.H.increasing,t.loops=o.hK,t.maxLoops=(0,n.VG)(e.count),t.time=o.tR,t.delayTime=(0,n.VG)(e.delay)*o.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=o.jn}function S(t,e,i,o){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+=o.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const s=t.offset?(0,n.vE)(t.offset):0,r=(t.velocity??0)*o.factor+3.6*s,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 R(t,e){if(!t)return;const{h:i,s:n,l:s}=t,a={h:{min:o.L1,max:o.vS},s:{min:o.yx,max:o.eu},l:{min:o.vd,max:o.$_}};S(i,a.h,!1,e),S(n,a.s,!0,e),S(s,a.l,!0,e)}},6249(t,e,i){var n;i.d(e,{h:()=>n}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(n||(n={}))},6521(t,e,i){i.d(e,{A:()=>a});var n=i(3631),o=i(5247),s=i(1917);class a extends s.O{constructor(){super(),this.animation=new o.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))}}},6861(t,e,i){i.d(e,{y:()=>s});var n=i(615),o=i(3631);class s{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}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)}}},6978(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 o=i(397),s=i(4117);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,o.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,o=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(o**s.dm+a**s.dm)}if(t instanceof c||t.type===n.rectangle){const e=t,{width:i,height:n}=e.size;return Math.pow(o-i,s.dm)+Math.pow(a-n,s.dm)<=l**s.dm||o<=l+i&&a<=l+n||o<=i||a<=n}return!1}}class c extends a{constructor(t,e,i,o){super(t,e,n.rectangle),this.size={height:o,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,o=t.position,s=t instanceof c?t.size:{width:0,height:0},a=s.width,l=s.height;return o.x<n.x+e&&o.x+a>n.x&&o.y<n.y+i&&o.y+l>n.y}}},6991(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={}))},7415(t,e,i){i.d(e,{V:()=>s});var n=i(1917),o=i(3631);class s{constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,o.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))}}},7461(t,e,i){i.d(e,{S:()=>a});var n=i(8388),o=i(615),s=i(3631);class a{constructor(){this.name="",this.default=new n.f}load(t){(0,s.kZ)(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,o.zw)({},t.options)))}}},7464(t,e,i){i.d(e,{v:()=>a});var n=i(4696),o=i(615),s=i(3631);class a{constructor(){this.clamp=!0,this.delay=new n.PV,this.enable=!1,this.options={}}load(t){(0,s.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,o.zw)(this.options,t.options)))}}},7488(t,e,i){i.d(e,{Z:()=>s});var n=i(7997),o=i(3631);class s{constructor(){this.x=50,this.y=50,this.mode=n.q.percent,this.radius=0}load(t){(0,o.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))}}},7582(t,e,i){i.d(e,{F:()=>a});var n=i(8325),o=i(615),s=i(3631);class a{constructor(){this.maxWidth=1/0,this.options={},this.mode=n.A.canvas}load(t){(0,s.kZ)(t)||((0,s.kZ)(t.maxWidth)||(this.maxWidth=t.maxWidth),(0,s.kZ)(t.mode)||(t.mode===n.A.screen?this.mode=n.A.screen:this.mode=n.A.canvas),(0,s.kZ)(t.options)||(this.options=(0,o.zw)({},t.options)))}}},7778(t,e,i){i.d(e,{L:()=>s});var n=i(5043),o=i(3631);class s{constructor(){this.enable=!1,this.mode=[],this.parallax=new n.k}load(t){(0,o.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}},7997(t,e,i){var n;i.d(e,{q:()=>n}),function(t){t.precise="precise",t.percent="percent"}(n||(n={}))},8051(t,e,i){i.d(e,{y:()=>s});var n=i(3631),o=i(397);class s{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,o.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,o.DT)(t.maxSpeed)))}}},8325(t,e,i){var n;i.d(e,{A:()=>n}),function(t){t.screen="screen",t.canvas="canvas"}(n||(n={}))},8388(t,e,i){i.d(e,{f:()=>s});var n=i(5392),o=i(3631);class s{constructor(){this.auto=!1,this.mode=n.l.any,this.value=!1}load(t){(0,o.kZ)(t)||(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8465(t,e,i){i.d(e,{A:()=>s});var n=i(1690),o=i(3631);class s{constructor(){this.mode=n.d.delete,this.value=0}load(t){(0,o.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8502(t,e,i){i.d(e,{h:()=>s});var n=i(3631),o=i(397);class s{constructor(){this.offset=0,this.value=90}load(t){(0,n.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset)),void 0!==t.value&&(this.value=(0,o.DT)(t.value)))}}},8627(t,e,i){i.d(e,{Z:()=>o,y:()=>s});var n=i(894);function o(t,...e){for(const i of e)t.load(i)}function s(t,e,...i){const s=new n.U(t,e);return o(s,...i),s}},8890(t,e,i){i.d(e,{z:()=>o});var n=i(3631);class o{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))}}},8892(t,e,i){i.d(e,{w:()=>s});var n=i(3271),o=i(3631);class s{constructor(){this.horizontal=new n.F,this.vertical=new n.F}load(t){(0,o.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},9128(t,e,i){i.d(e,{t:()=>a});var n=i(6521),o=i(3631),s=i(397);class a{constructor(){this.width=0}load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=n.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,s.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,s.DT)(t.opacity)))}}},9259(t,e,i){i.d(e,{IU:()=>l,KG:()=>p,Md:()=>c,Sn:()=>r,V6:()=>a,VG:()=>v,Wb:()=>g,e_:()=>m,gF:()=>f,k:()=>h,l7:()=>s,p0:()=>d,yx:()=>y,z5:()=>u});var n=i(4117),o=i(1983);function s(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function r(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(n.bo.x,n.bo.y,e.width,e.height)}function c(t,e,i,o){i&&(t.globalAlpha=o,t.drawImage(i,n.bo.x,n.bo.y,e.width,e.height),t.globalAlpha=1)}function l(t,e){t.clearRect(n.bo.x,n.bo.y,e.width,e.height)}function d(t){const{container:e,context:i,particle:o,delta:s,colorStyles:a,radius:r,opacity:c,transform:l}=t,d=o.getPosition(),m=o.getAngle(),g=Math.sin(m),y=Math.cos(m),b=o.isRotating,x={a:y*(l.a??n.Ug.a),b:b?g*(l.b??n.D_):l.b??n.Ug.b,c:b?-g*(l.c??n.D_):l.c??n.Ug.c,d:y*(l.d??n.Ug.d)};i.setTransform(x.a,x.b,x.c,x.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const w=o.strokeWidth??n.Dv;i.lineWidth=w,a.stroke&&(i.strokeStyle=a.stroke);const M={container:e,context:i,particle:o,radius:r,opacity:c,delta:s,transformData:x,strokeWidth:w};u(M),v(M),p(M),f(M),h(M),i.resetTransform()}function h(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.effect)return;const d=e.effectDrawers.get(o.effect),h=d?.drawAfter;h&&h({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function u(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.effect)return;const d=e.effectDrawers.get(o.effect);d?.drawBefore&&d.drawBefore({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function p(t){const{container:e,context:i,particle:o,radius:s,opacity:a,delta:r,strokeWidth:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d&&(i.beginPath(),d.draw({context:i,particle:o,radius:s,opacity:a,delta:r,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:c>n.Dv||!o.shapeFill,transformData:{...l}}),o.shapeClose&&i.closePath(),c>n.Dv&&i.stroke(),o.shapeFill&&i.fill())}function f(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d?.afterDraw&&d.afterDraw({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function v(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d?.beforeDraw&&d.beforeDraw({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function m(t,e,i){e.draw&&e.draw(t,i)}function g(t,e,i,n){e.drawParticle&&e.drawParticle(t,i,n)}function y(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===o.H.darken?-n.iU:n.iU)*i}}},9460(t,e,i){i.d(e,{r:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.mode=[]}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}},9499(t,e,i){i.d(e,{e:()=>a});var n=i(3544),o=i(3631),s=i(397);class a extends n.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset))}}},9845(t,e,i){i.d(e,{m:()=>o});var n=i(3631);class o{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))}}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var s=n[t]={exports:{}};return i[t](s,s.exports,o),s.exports}o.m=i,o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,i)=>(o.f[i](t,e),e)),[])),o.u=t=>t+".min.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/engine:",o.l=(i,n,s,a)=>{if(t[i])t[i].push(n);else{var r,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var h=l[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+s){r=h;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",e+s),r.src=i),t[i]=[n];var u=(e,n)=>{r.onerror=r.onload=null,clearTimeout(p);var o=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((t=>t(n))),e)return e(n)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),c&&document.head.appendChild(r)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var 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(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={397:0};o.f.j=(e,i)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var s=new Promise(((i,o)=>n=t[e]=[i,o]));i.push(n[2]=s);var a=o.p+o.u(e),r=new Error;o.l(a,(i=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var s=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+s+": "+a+")",r.name="ChunkLoadError",r.type=s,r.request=a,n[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var n,s,[a,r,c]=i,l=0;if(a.some((e=>0!==t[e]))){for(n in r)o.o(r,n)&&(o.m[n]=r[n]);if(c)c(o)}for(e&&e(i);l<a.length;l++)s=a[l],o.o(t,s)&&t[s]&&t[s][0](),t[s]=0},i=this.webpackChunk_tsparticles_engine=this.webpackChunk_tsparticles_engine||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};o.r(s),o.d(s,{AlterType:()=>T.H,AnimatableColor:()=>Z.A,AnimationMode:()=>z.g,AnimationOptions:()=>C.p,AnimationStatus:()=>V.H,AnimationValueWithRandom:()=>Pt.Jm,Background:()=>G.V,BaseRange:()=>b.dg,Circle:()=>b.jl,ClickEvent:()=>$.r,ColorAnimation:()=>B.e,DestroyType:()=>E.V,DivEvent:()=>W.G,DivType:()=>I.Q,EasingType:()=>F,EventType:()=>l.B,Events:()=>N.s,ExternalInteractorBase:()=>v,FullScreen:()=>q.m,GradientType:()=>M,HoverEvent:()=>j.L,HslAnimation:()=>H.i,Interactivity:()=>X.k,InteractivityDetect:()=>L.h,InteractorType:()=>f.e,LimitMode:()=>P.d,ManualParticle:()=>Q.j,Modes:()=>J.d,Move:()=>at.y,MoveAngle:()=>rt.h,MoveAttract:()=>st.R,MoveCenter:()=>ct.Z,MoveDirection:()=>w.F,MoveGravity:()=>lt.y,MovePath:()=>ht.v,Opacity:()=>mt.Y,OpacityAnimation:()=>gt.I,Options:()=>Y.J,OptionsColor:()=>tt.O,OutMode:()=>D.Y,OutModeDirection:()=>k.v,OutModes:()=>dt.j,Parallax:()=>K.k,ParticleOutType:()=>A.x,ParticlesBounce:()=>et.w,ParticlesBounceFactor:()=>it.F,ParticlesDensity:()=>vt.M,ParticlesInteractorBase:()=>m,ParticlesNumber:()=>pt.N,ParticlesNumberLimit:()=>ft.A,ParticlesOptions:()=>nt.U,PixelMode:()=>O.q,Point:()=>y.b,RangedAnimationOptions:()=>C.Q,RangedAnimationValueWithRandom:()=>Pt.AI,Rectangle:()=>b.M_,ResizeEvent:()=>U.z,Responsive:()=>Mt.F,ResponsiveMode:()=>R.A,RotateDirection:()=>g,Shape:()=>yt.y,Size:()=>bt.o,SizeAnimation:()=>xt.q,Spin:()=>ut.t,StartValueType:()=>_.S,Stroke:()=>ot.t,Theme:()=>kt.S,ThemeDefault:()=>zt.f,ThemeMode:()=>S.l,ValueWithRandom:()=>Pt.PV,Vector:()=>x.M,Vector3d:()=>x.p,ZIndex:()=>wt.P,alterHsl:()=>Dt.yx,animate:()=>h.i0,areBoundsInside:()=>r.O2,arrayRandomIndex:()=>r.n0,calcExactPositionOrRandomFromSize:()=>h.Nx,calcExactPositionOrRandomFromSizeRanged:()=>h.qM,calcPositionFromSize:()=>h.eh,calcPositionOrRandomFromSize:()=>h.Mh,calcPositionOrRandomFromSizeRanged:()=>h.l1,calculateBounds:()=>r.AE,cancelAnimation:()=>h.px,canvasFirstIndex:()=>a.Nx,canvasTag:()=>a.RF,circleBounce:()=>r.pE,circleBounceDataFromParticle:()=>r.Tg,clamp:()=>h.qE,clear:()=>Dt.IU,clearDrawPlugin:()=>Dt.l7,clickRadius:()=>a.FS,cloneStyle:()=>r.td,collisionVelocity:()=>h.OW,colorMix:()=>Ot.EY,colorToHsl:()=>Ot.mK,colorToRgb:()=>Ot.qe,countOffset:()=>a.nq,decayOffset:()=>a.WH,deepExtend:()=>r.zw,defaultAlpha:()=>a.aZ,defaultAngle:()=>a.tA,defaultDensityFactor:()=>a.lA,defaultFps:()=>a.z$,defaultFpsLimit:()=>a.i8,defaultLoops:()=>a.hK,defaultOpacity:()=>a.hv,defaultRadius:()=>a.M1,defaultRatio:()=>a.$x,defaultReduceFactor:()=>a.Zp,defaultRemoveQuantity:()=>a.xd,defaultRetryCount:()=>a.rq,defaultRgbMin:()=>a.Fl,defaultTime:()=>a.tR,defaultTransform:()=>a.Ug,defaultTransformValue:()=>a.zs,defaultVelocity:()=>a.jn,degToRad:()=>h.pu,deleteCount:()=>a.LD,divMode:()=>r.NV,divModeExecute:()=>r.U6,double:()=>a.gd,doublePI:()=>a.R1,drawAfterEffect:()=>Dt.k,drawBeforeEffect:()=>Dt.z5,drawLine:()=>Dt.V6,drawParticle:()=>Dt.p0,drawParticlePlugin:()=>Dt.Wb,drawPlugin:()=>Dt.e_,drawShape:()=>Dt.KG,drawShapeAfterDraw:()=>Dt.gF,drawShapeBeforeDraw:()=>Dt.VG,empty:()=>a.Ie,executeOnSingleOrMultiple:()=>r.wJ,findItemFromSingleOrMultiple:()=>r.w3,generatedAttribute:()=>a.eb,generatedFalse:()=>a.X$,generatedTrue:()=>a.ce,getDistance:()=>h.Yf,getDistances:()=>h.vr,getFullScreenStyle:()=>r.hJ,getHslAnimationFromHsl:()=>Ot.pz,getHslFromAnimation:()=>Ot.O_,getLinkColor:()=>Ot._h,getLinkRandomColor:()=>Ot.PG,getLogger:()=>d.t,getParticleBaseVelocity:()=>h.$m,getParticleDirectionAngle:()=>h.JY,getPosition:()=>r.E9,getRandom:()=>h.G0,getRandomInRange:()=>h.e4,getRandomRgbColor:()=>Ot.OH,getRangeMax:()=>h.W9,getRangeMin:()=>h.Sg,getRangeValue:()=>h.VG,getSize:()=>r.YC,getStyleFromHsl:()=>Ot.LC,getStyleFromRgb:()=>Ot.xx,hMax:()=>a.vS,hMin:()=>a.L1,hPhase:()=>a.U0,half:()=>a.MX,hasMatchMedia:()=>r.q8,hslToRgb:()=>Ot.YL,hslaToRgba:()=>Ot.ay,identity:()=>a.D_,initParticleNumericAnimationValue:()=>r.Xs,inverseFactorNumerator:()=>a.hB,isArray:()=>Rt.cy,isBoolean:()=>Rt.Lm,isDivModeEnabled:()=>r.iK,isFunction:()=>Rt.Tn,isInArray:()=>r.hn,isNull:()=>Rt.kZ,isNumber:()=>Rt.Et,isObject:()=>Rt.Gv,isPointInside:()=>r.Tj,isString:()=>Rt.Kg,itemFromArray:()=>r.Vh,itemFromSingleOrMultiple:()=>r.TA,lFactor:()=>a.iU,lMax:()=>a.$_,lMin:()=>a.vd,lengthOffset:()=>a.K3,loadFont:()=>r.Al,loadMinIndex:()=>a.PZ,loadOptions:()=>St.Z,loadParticlesOptions:()=>St.y,loadRandomFactor:()=>a.$v,manualCount:()=>a.IU,manualDefaultPosition:()=>a.td,midColorValue:()=>a.BW,millisecondsToSeconds:()=>a.Xu,minCoordinate:()=>a.TL,minCount:()=>a.wM,minFpsLimit:()=>a.DN,minIndex:()=>a.z9,minLimit:()=>a.ou,minRetries:()=>a.N5,minStrokeWidth:()=>a.Dv,minVelocity:()=>a.GW,minZ:()=>a.X_,minimumLength:()=>a.$O,minimumSize:()=>a.w2,mix:()=>h.jh,mouseDownEvent:()=>a.ms,mouseLeaveEvent:()=>a.Z0,mouseMoveEvent:()=>a.Rb,mouseOutEvent:()=>a.sf,mouseUpEvent:()=>a.vo,none:()=>a.dv,one:()=>a.xH,originPoint:()=>a.bo,paintBase:()=>Dt.Sn,paintImage:()=>Dt.Md,parseAlpha:()=>h.M3,percentDenominator:()=>a.a5,phaseNumerator:()=>a.BF,posOffset:()=>a.un,qTreeCapacity:()=>a.Kw,quarter:()=>a.$G,randomColorValue:()=>a.mR,randomInRangeValue:()=>h.vE,rangeColorToHsl:()=>Ot.R5,rangeColorToRgb:()=>Ot.BN,removeDeleteCount:()=>a.JC,removeMinIndex:()=>a.vF,resizeEvent:()=>a.NF,rgbMax:()=>a.oi,rgbToHsl:()=>Ot.K6,rollFactor:()=>a.l,sMax:()=>a.eu,sMin:()=>a.yx,sNormalizedOffset:()=>a.aE,safeDocument:()=>r.T5,safeIntersectionObserver:()=>r.BR,safeMatchMedia:()=>r.lV,safeMutationObserver:()=>r.tG,setAnimationFunctions:()=>h.AD,setLogger:()=>d.B,setRandom:()=>h.OE,setRangeValue:()=>h.DT,sextuple:()=>a.zg,singleDivModeExecute:()=>r.S7,sizeFactor:()=>a.Rh,squareExp:()=>a.dm,stringToAlpha:()=>Ot.zI,stringToRgb:()=>Ot.eg,subdivideCount:()=>a.Pg,threeQuarter:()=>a.Rq,touchCancelEvent:()=>a.G3,touchDelay:()=>a.pH,touchEndEvent:()=>a.Bp,touchEndLengthOffset:()=>a.KZ,touchMoveEvent:()=>a.DG,touchStartEvent:()=>a.s7,triple:()=>a.Nu,tryCountIncrement:()=>a.Eo,tsParticles:()=>Tt,updateAnimation:()=>r.UC,updateColor:()=>Ot.Jv,updateColorValue:()=>Ot.Ko,visibilityChangeEvent:()=>a.nK,zIndexFactorOffset:()=>a.RV});var a=o(4117),r=o(615);class c{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach((t=>{t(e)}))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,o=i.indexOf(e);o<a.z9||(n===a.LD?this._listeners.delete(t):i.splice(o,a.LD))}}var l=o(6991),d=o(183),h=o(397);async function u(t,e,i,n=!1){let o=e.get(t);return o&&!n||(o=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,o)),o}class p{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new c,this._initialized=!1,this._loadPromises=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.1"}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(l.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addInteractor(t,e){this._initializers.interactors.set(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const e=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return u(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return u(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 u(t,this.updaters,this._initializers.updaters,e)}async init(){if(!this._initialized){for(const t of this._loadPromises)await t(this);this._loadPromises.clear(),this._initialized=!0}}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,a.JC)}async load(t){await this.init();const{Container:e}=await o.e(638).then(o.bind(o,1638)),i=t.id??t.element?.id??`tsparticles${Math.floor((0,h.G0)()*a.$v).toString()}`,{index:n,url:s}=t,c=s?await async function(t){const e=(0,r.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,d.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:s,index:n}):t.options,l=(0,r.TA)(c,n),{items:u}=this,p=u.findIndex((t=>t.id.description===i)),f=new e(this,i,l);if(p>=a.PZ){const t=this.item(p),e=t?a.xH:a.dv;t&&!t.destroyed&&t.destroy(!1),u.splice(p,e,f)}else u.push(f);const v=((t,e)=>{let i=e??(0,r.T5)().getElementById(t);return i||(i=(0,r.T5)().createElement("div"),i.id=t,i.dataset[a.eb]=a.ce,(0,r.T5)().body.append(i),i)})(i,t.element),m=(t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===a.RF)e=t,e.dataset[a.eb]??=a.X$;else{const i=t.getElementsByTagName(a.RF)[a.Nx];i?(e=i,e.dataset[a.eb]=a.X$):(e=(0,r.T5)().createElement(a.RF),e.dataset[a.eb]=a.ce,t.appendChild(e))}const i="100%";return e.style.width||(e.style.width=i),e.style.height||(e.style.height=i),e})(v);return f.canvas.loadCanvas(m),await f.start(),f}loadOptions(t,e){this.plugins.forEach((i=>{i.loadOptions(t,e)}))}loadParticlesOptions(t,e,...i){const 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())))}register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const{items:e}=this;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach((e=>{e.addClickHandler(t)}))}}var f=o(5536);class v{constructor(t){this.type=f.e.external,this.container=t}}class m{constructor(t){this.type=f.e.particles,this.container=t}}var g,y=o(2186),b=o(6978),x=o(560),w=o(4342);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(g||(g={}));var M,k=o(1874),z=o(3551),P=o(1690),D=o(1049),O=o(7997),S=o(5392),R=o(8325),T=o(1983),E=o(181);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(M||(M={}));var F,A=o(753),_=o(782),I=o(2480);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(F||(F={}));var V=o(1689),L=o(6249),Z=o(6521),C=o(3544),G=o(7415),B=o(9499),q=o(9845),H=o(5247),$=o(9460),W=o(4981),N=o(1617),j=o(7778),K=o(5043),U=o(8890),X=o(4997),J=o(1317),Q=o(4712),Y=o(3984),tt=o(1917),et=o(8892),it=o(3271),nt=o(894),ot=o(9128),st=o(4640),at=o(4209),rt=o(8502),ct=o(7488),lt=o(8051),dt=o(2620),ht=o(7464),ut=o(4624),pt=o(5504),ft=o(8465),vt=o(5317),mt=o(3969),gt=o(1163),yt=o(6861),bt=o(4377),xt=o(4883),wt=o(1603),Mt=o(7582),kt=o(7461),zt=o(8388),Pt=o(4696),Dt=o(9259),Ot=o(6192),St=o(8627),Rt=o(3631);const Tt=new p;return globalThis.tsParticles=Tt,s})()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Engine v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Engine v4.0.0-alpha.1 by Matteo Bruni */
|
package/umd/Core/Engine.js
CHANGED
|
@@ -141,7 +141,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
141
141
|
return this._domArray;
|
|
142
142
|
}
|
|
143
143
|
get version() {
|
|
144
|
-
return "4.0.0-alpha.
|
|
144
|
+
return "4.0.0-alpha.1";
|
|
145
145
|
}
|
|
146
146
|
addColorManager(manager) {
|
|
147
147
|
this.colorManagers.set(manager.key, manager);
|