"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[5450],{5450(e,o,a){a.d(o,{loadArrowShape:()=>n});var t=a(3199);const i=t.MXx,r=t.MXx;class c{draw(e){!function(e){const{context:o,particle:a,radius:c}=e,n=c*t.gdl,s=n*(a.heightFactor??i),h=n*(a.headWidthFactor??.2),l=s*(a.bodyHeightFactor??r);o.moveTo(-n*t.MXx,t.boI.y),o.lineTo(-n*t.MXx,-l*t.MXx),o.lineTo(n*t.MXx-h,-l*t.MXx),o.lineTo(n*t.MXx-h,-s*t.MXx),o.lineTo(n*t.MXx+h,t.boI.y),o.lineTo(n*t.MXx-h,s*t.MXx),o.lineTo(n*t.MXx-h,l*t.MXx),o.lineTo(-n*t.MXx,l*t.MXx),o.lineTo(-n*t.MXx,t.boI.y)}(e)}particleInit(e,o){const a=o.shapeData;o.heightFactor=(0,t.VGA)(a?.heightFactor??.5),o.headWidthFactor=(0,t.VGA)(a?.headWidthFactor??.2),o.bodyHeightFactor=(0,t.VGA)(a?.bodyHeightFactor??.5)}}async function n(e){e.checkVersion("4.1.3"),await e.pluginManager.register(e=>{e.pluginManager.addShape(["arrow"],()=>Promise.resolve(new c))})}}}]);