"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[9586],{9586:(t,s,i)=>{i.d(s,{loadExternalPushInteraction:()=>o});var a=i(9201);class r{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(!t)return;void 0!==t.default&&(this.default=t.default),void 0!==t.groups&&(this.groups=t.groups.map((t=>t))),this.groups.length||(this.default=!0);const s=t.quantity;void 0!==s&&(this.quantity=(0,a.Cs)(s))}}class e extends a.L8{constructor(t){super(t),this.handleClickMode=t=>{if("push"!==t)return;const s=this.container,i=s.actualOptions.interactivity.modes.push;if(!i)return;const r=(0,a.Gu)(i.quantity);if(r<=0)return;const e=(0,a.c8)([void 0,...i.groups]),o=void 0!==e?s.actualOptions.particles.groups[e]:void 0;s.particles.push(r,s.interactivity.mouse,o,e)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(t,...s){t.push||(t.push=new r);for(const i of s)t.push.load(i?.push)}reset(){}}async function o(t,s=!0){await t.addInteractor("externalPush",(t=>new e(t)),s)}}}]);