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