"use strict";(globalThis.webpackChunkwordpress_particles=globalThis.webpackChunkwordpress_particles||[]).push([[2116],{2116:(a,e,t)=>{t.r(e),t.d(e,{loadParallaxMover:()=>n});var r=t(4684);class i{init(){}isEnabled(a){return!(0,r.Kr)()&&!a.destroyed&&a.container.actualOptions.interactivity.events.onHover.parallax.enable}move(a){const e=a.container,t=e.actualOptions.interactivity.events.onHover.parallax;if((0,r.Kr)()||!t.enable)return;const i=t.force,n=e.interactivity.mouse.position;if(!n)return;const s=e.canvas.size,o=s.width/2,l=s.height/2,c=t.smooth,p=a.getRadius()/i,u=(n.x-o)*p,v=(n.y-l)*p,{offset:d}=a;d.x+=(u-d.x)/c,d.y+=(v-d.y)/c}}async function n(a,e=!0){await a.addMover("parallax",(()=>new i),e)}}}]);