"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[8189],{8189:(a,t,e)=>{e.d(t,{loadParallaxMover:()=>n});var s=e(9201);class i{init(){}isEnabled(a){return!(0,s.Kr)()&&!a.destroyed&&a.container.actualOptions.interactivity.events.onHover.parallax.enable}move(a){const t=a.container,e=t.actualOptions.interactivity.events.onHover.parallax;if((0,s.Kr)()||!e.enable)return;const i=e.force,n=t.interactivity.mouse.position;if(!n)return;const r=t.canvas.size,o=.5*r.width,l=.5*r.height,c=e.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,t=!0){await a.addMover("parallax",(()=>new i),t)}}}]);