/*! React tsParticles v2.8.0 by Matteo Bruni */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tsparticles-engine")):"function"==typeof define&&define.amd?define(["tsparticles-engine"],t):"object"==typeof exports?exports.Particles=t(require("tsparticles-engine")):e.Particles=t(e.window)}(this,(e=>(()=>{"use strict";var t={31:e=>{e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,u;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(u=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,u[o]))return!1;for(o=n;0!=o--;){var i=u[o];if(("_owner"!==i||!t.$$typeof)&&!e(t[i],r[i]))return!1}return!0}return t!=t&&r!=r}},578:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function b(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||d}function m(){}function _(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||d}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=b.prototype;var S=_.prototype=new m;S.constructor=_,h(S,b.prototype),S.isPureReactComponent=!0;var g=Array.isArray,w=Object.prototype.hasOwnProperty,j={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var o,u={},i=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,o)&&!O.hasOwnProperty(o)&&(u[o]=t[o]);var a=arguments.length-2;if(1===a)u.children=n;else if(1{e.exports=r(578)},818:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var u=r[e]={exports:{}};return t[e](u,u.exports,n),u.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{Particles:()=>s,default:()=>a});var e=n(983),t=n(818),r=n(31),u=n.n(r);const i="tsparticles";class s extends e.Component{constructor(e){super(e),this.state={init:!1,library:void 0}}destroy(){this.state.library&&(this.state.library.destroy(),this.setState({library:void 0}))}shouldComponentUpdate(e){return!u()(e,this.props)}componentDidUpdate(){this.refresh()}forceUpdate(){this.refresh().then((()=>{super.forceUpdate()}))}componentDidMount(){(async()=>{this.props.init&&await this.props.init(t.tsParticles),this.setState({init:!0},(async()=>{await this.loadParticles()}))})()}componentWillUnmount(){this.destroy()}render(){const{width:t,height:r,className:n,canvasClassName:o,id:u}=this.props;return e.createElement("div",{className:n,id:u},e.createElement("canvas",{className:o,style:Object.assign(Object.assign({},this.props.style),{width:t,height:r})}))}async refresh(){this.destroy(),await this.loadParticles()}async loadParticles(){var e,r,n;if(!this.state.init)return;const o=null!==(r=null!==(e=this.props.id)&&void 0!==e?e:s.defaultProps.id)&&void 0!==r?r:i,u=this.props.url?await t.tsParticles.loadJSON(o,this.props.url):await t.tsParticles.load(o,null!==(n=this.props.params)&&void 0!==n?n:this.props.options);await(async e=>{this.props.container&&(this.props.container.current=e),this.setState({library:e}),this.props.loaded&&await this.props.loaded(e)})(u)}}s.defaultProps={width:"100%",height:"100%",options:{},style:{},url:void 0,id:i};const a=s})(),o})()));