"use strict";(globalThis.webpackChunkwordpress_particles=globalThis.webpackChunkwordpress_particles||[]).push([[4077],{4077:(t,e,r)=>{r.r(e),r.d(e,{Remove:()=>i,loadExternalRemoveInteraction:()=>a});var n=r(3290);class i{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var e;if(!t)return;const r=null!==(e=t.quantity)&&void 0!==e?e:t.particles_nb;void 0!==r&&(this.quantity=r)}}class o extends n.L8{constructor(t){super(t),this.handleClickMode=t=>{const e=this.container,r=e.actualOptions;if(!r.interactivity.modes.remove||"remove"!==t)return;const n=r.interactivity.modes.remove.quantity;e.particles.removeQuantity(n)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(t){t.remove||(t.remove=new i);for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(const e of r)t.remove.load(null==e?void 0:e.remove)}reset(){}}function a(t){t.addInteractor("externalRemove",(t=>new o(t)))}}}]);