"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[9520],{9520:(a,i,s)=>{s.d(i,{loadSpiralShape:()=>p});var n=s(9201);class r{draw(a){const{context:i,particle:s,radius:n}=a;if(void 0===s.spiralInnerRadius||void 0===s.spiralLineSpacing||void 0===s.spiralWidthFactor)return;const r=(n-s.spiralInnerRadius)/s.spiralLineSpacing;for(let a=0;a<10*r;a++){const n=a/10,r=s.spiralInnerRadius+s.spiralLineSpacing*n,p={x:r*Math.cos(n),y:r*Math.sin(n)};i.lineTo(p.x,p.y)}}particleInit(a,i){const s=a.retina.pixelRatio,r=i.shapeData;i.spiralInnerRadius=(0,n.Gu)(r?.innerRadius??1)*s,i.spiralLineSpacing=(0,n.Gu)(r?.lineSpacing??1)*s,i.spiralWidthFactor=(0,n.Gu)(r?.widthFactor??10)}}async function p(a,i=!0){await a.addShape("spiral",new r,i)}}}]);