"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[6544],{6544(s,i,n){n.d(i,{loadPoissonDiscPlugin:()=>t});var e=n(3199);class a{dimensions=2;enable=!1;radius=0;retries=30;steps=0;load(s){(0,e.kZJ)(s)||((0,e.kBH)(this,"enable",s.enable),(0,e.kBH)(this,"dimensions",s.dimensions),(0,e.kBH)(this,"radius",s.radius),(0,e.kBH)(this,"retries",s.retries))}}class o{id="poisson";async getPlugin(s){const{PoissonDiscPluginInstance:i}=await n.e(2423).then(n.bind(n,2423));return new i(s)}loadOptions(s,i,n){if(!this.needsPlugin(i)&&!this.needsPlugin(n))return;let e=i.poisson;void 0===e?.load&&(i.poisson=e=new a),e.load(n?.poisson)}needsPlugin(s){return s?.poisson?.enable??!1}}async function t(s){s.checkVersion("4.1.3"),await s.pluginManager.register(s=>{s.pluginManager.addPlugin(new o)})}}}]);