"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[5431],{5431:(t,e,r)=>{r.d(e,{loadExternalRemoveInteraction:()=>a});var o=r(9201);class s{constructor(){this.quantity=2}load(t){if(!t)return;const e=t.quantity;void 0!==e&&(this.quantity=(0,o.Cs)(e))}}class n extends o.L8{constructor(t){super(t),this.handleClickMode=t=>{const e=this.container,r=e.actualOptions;if(!r.interactivity.modes.remove||"remove"!==t)return;const s=(0,o.Gu)(r.interactivity.modes.remove.quantity);e.particles.removeQuantity(s)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(t,...e){t.remove||(t.remove=new s);for(const r of e)t.remove.load(r?.remove)}reset(){}}async function a(t,e=!0){await t.addInteractor("externalRemove",(t=>new n(t)),e)}}}]);