"use strict";(globalThis.webpackChunkwordpress_particles=globalThis.webpackChunkwordpress_particles||[]).push([[4839],{4839:(t,s,i)=>{i.r(s),i.d(s,{Push:()=>a,loadExternalPushInteraction:()=>e});var r=i(1197);class a{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var s;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 i=null!==(s=t.quantity)&&void 0!==s?s:t.particles_nb;void 0!==i&&(this.quantity=i)}}class n extends r.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 a=i.quantity;if(a<=0)return;const n=(0,r.c8)([void 0,...i.groups]),e=void 0!==n?s.actualOptions.particles.groups[n]:void 0;s.particles.push(a,s.interactivity.mouse,e,n)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(t){t.push||(t.push=new a);for(var s=arguments.length,i=new Array(s>1?s-1:0),r=1;r<s;r++)i[r-1]=arguments[r];for(const s of i)t.push.load(null==s?void 0:s.push)}reset(){}}async function e(t){await t.addInteractor("externalPush",(t=>new n(t)))}}}]);