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