{"version":3,"file":"ParticleSphere.DmIOc5qx.mjs","names":["useRef","useRef","useState","__esmMin","init_ssg_sandbox_shims","window","_e","de","init_jsx_runtime","J","init_npm_react_18_3_1","ce","useInView","useScroll","init_framer_motion_DhsWWWsN","init_framer_DcGZRLrs","useIsStaticRenderer","ControlType","Color","addPropertyControls","withOneLineText","local","setRefs","node","ref","el","frame","fit","lines","p","scale","available","needed","base","size","schedule","ro","Component","props","init_OneLineText","clamp","value","min","max","easeOutCubic","inv","t","smoothstep","edge1","edge0","x","createRandom","state","seed","toRgb","parsed","input","fallback","g","b","rgba","color","alpha","createSprite","canvas","SPRITE_RESOLUTION","ctx","center","gradient","innerStop","softness","outerStop","buildParticles","random","goldenAngle","nx","count","ny","nz","sx","sy","sz","seeds","sprite","jitter","shellNoise","denominator","i","y","ring","theta","radial","px","py","pz","dx","turbulence","dy","dz","length","magnitude","driftX","driftY","sizeVariance","coreMix","sampleLogo","image","aspect","width","resolution","height","data","rawX","rawY","minX","maxX","minY","maxY","half","midX","midY","xs","ys","buildLogoParticles","total","hx","hy","hz","tx","ty","tz","pick","points","depth","TAU","ParticleSphere","sphere","DEFAULT_SPHERE","appearance","DEFAULT_APPEARANCE","glow","DEFAULT_GLOW","logo","DEFAULT_LOGO","logoImage","KAAVA_K_MARK","rotation","DEFAULT_ROTATION","lighting","DEFAULT_LIGHTING","scatter","DEFAULT_SCATTER","ripple","DEFAULT_RIPPLE","entrance","DEFAULT_ENTRANCE","interaction","DEFAULT_INTERACTION","performance","DEFAULT_PERFORMANCE","containerRef","canvasRef","contextRef","particlesRef","spritesRef","logoRef","logoPointsRef","logoParticlesRef","logoVersion","setLogoVersion","angleRef","scatterRef","entranceRef","elapsedRef","pointerRef","ripplesRef","spinImpulseRef","markFlashRef","viewRef","frameRef","bleedRef","bleedBox","setBleedBox","lastTimeRef","drawRef","reducedMotion","setReducedMotion","isStatic","inView","inViewRef","revealed","startedRef","SCROLL_OFFSETS","paramsRef","isAnimated","query","onChange","event","measureBleed","container","rect","w","h","l","r","vw","vh","next","prev","repaint","observer","core","mid","deep","source","version","cancelled","load","useCors","LOGO_SAMPLE_RESOLUTION","onPointerMove","cx","cy","onPointerDown","params","view","bufferX","bufferY","ox","oy","planar","oz","ay","az","ix","iz","ripples","limit","draw","particles","sprites","bleed","containerEl","boxWidth","boxHeight","layoutWidth","layoutHeight","pixelBudget","dpr","bufferWidth","bufferHeight","pixelScale","radius","entranceScatter","entranceProgress","dispersion","scatterProgress","settle","blendOp","haloFade","haloColor","haloRadius","peak","wobble","time","tiltAngle","yawExtra","angle","cosA","sinA","cosB","sinB","rippleWidth","burstMode","activeRipples","list","reach","tau","item","front","env","lo","hi","rax","raz","vy","vz","rippleCount","lx","ly","lz","lightLength","focal","responsiveScale","baseSize","brightness","twinkleAmount","twinkleSpeed","stagger","span","distance","edge","radiusCss","fadeStrength","rimStrength","depthFade","lightIntensity","logoParticles","logoImg","hasLogo","formProgress","formation","logoExtent","clearance","clearRadius","clearRadiusSq","clearing","s","k","rippleX","rippleY","rippleZ","wave","distanceSq","localT","envelope","falloff","amount","inverse","swirlAmount","driftAmount","dot","offset","bell","wavelet","lift","tanX","tanY","tanZ","tanLength","push","ax","by","bz","rnx","rnz","rny","nby","nbz","screenX","screenY","drawSize","depthShade","rim","lambert","twinkle","ddx","ddy","bitmap","coreColor","coreRadius","coreGradient","markUnit","dotScale","offsetX","offsetY","lhx","lhy","lhz","lrx","lry","lrz","sphereScale","sphereX","sphereY","markPushX","markPushY","markPushZ","surfaceX","surfaceY","surfaceZ","markScale","markX","markY","blendScale","shade","halfWidth","halfHeight","STATIC_TIME","id","introDone","end","loop","last","now","delta","start","duration","progress","target","raw","scrollYProgress","from","to","smoothing","responsiveness","ease","life","boost","sign","wantsBleed","init_ParticleSphere"],"sources":["https:/framerusercontent.com/modules/U6Mm0EqEZ8s17B4T4ArU/72iLqxhUCGTAYAkQkzYQ/OneLineText.js","https:/framerusercontent.com/modules/2vePfapThggUoERzWpUT/JyaDN4xgPZMBnlMe59uz/ParticleSphere.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useRef}from\"react\";// Keeps every line of text inside this frame on ONE line.\n// All lines share one font size: the text-style size when it fits, otherwise\n// scaled down just enough for the longest line to fit the frame's width.\n// Re-measured only when the frame resizes (ResizeObserver), no scroll work.\nexport function withOneLineText(Component){return /*#__PURE__*/forwardRef(function OneLineText(props,ref){const local=useRef(null);const setRefs=node=>{local.current=node;if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;};useEffect(()=>{const el=local.current;if(!el||typeof window===\"undefined\")return;let frame=0;const fit=()=>{frame=0;const lines=Array.from(el.querySelectorAll('[data-framer-component-type=\"RichTextContainer\"] > *'));if(!lines.length)return;lines.forEach(p=>{p.style.removeProperty(\"--framer-font-size\");p.style.whiteSpace=\"nowrap\";});let scale=1;for(const p of lines){const box=p.parentElement||el;const available=box.clientWidth;const needed=p.scrollWidth;if(available>0&&needed>available)scale=Math.min(scale,available/needed);}if(scale<1){const base=parseFloat(window.getComputedStyle(lines[0]).fontSize)||0;const size=Math.floor(base*scale*100)/100-.25;lines.forEach(p=>p.style.setProperty(\"--framer-font-size\",size+\"px\"));}};const schedule=()=>{if(!frame)frame=requestAnimationFrame(fit);};fit();const ro=new ResizeObserver(schedule);ro.observe(el);if(document.fonts?.ready)document.fonts.ready.then(schedule);return()=>{ro.disconnect();if(frame)cancelAnimationFrame(frame);};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:setRefs});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withOneLineText\":{\"type\":\"reactHoc\",\"name\":\"withOneLineText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OneLineText.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,Color,ControlType,useIsStaticRenderer}from\"framer\";import{useInView,useScroll}from\"framer-motion\";import{useEffect,useRef,useState}from\"react\";// ============================================================================\n// DEFAULT VALUES\n// ============================================================================\nconst DEFAULT_SPHERE={particleCount:4500,radiusScale:.62,dotSize:6,sizeVariance:.55,perspective:2.6,shellNoise:.05,overscan:.5,fullViewport:true,scaleDots:true,referenceSize:640,seed:7};const DEFAULT_APPEARANCE={coreColor:\"#FFFFFF\",midColor:\"#7CF5CE\",deepColor:\"#1FBF8F\",coreMix:.16,softness:.55,brightness:1,twinkleAmount:.18,twinkleSpeed:.6,blend:\"additive\"};const DEFAULT_GLOW={show:true,color:\"#2BD9A4\",size:1.5,intensity:.5};const DEFAULT_LOGO={show:true,size:.46,count:1300,dotScale:1.15,brightness:1.4,jitter:.012,depth:.06,glow:.4,glowColor:\"#2BD9A4\",clearance:.45,formDelay:1.1,formDuration:1.7,breathe:.03};// Resolution the logo is rasterised at before its filled pixels are turned\n// into particle targets. Higher reads crisper; 180 is plenty for a mark.\nconst LOGO_SAMPLE_RESOLUTION=180;// Time fed to the static (canvas / reduced-motion) frame, late enough that\n// the logo has finished forming.\nconst STATIC_TIME=9;const DEFAULT_ROTATION={speed:6,direction:\"leftward\",tilt:-8,wobbleAmount:2,wobbleSpeed:.15};const DEFAULT_LIGHTING={intensity:.55,directionX:.15,directionY:.7,rim:.9,depthFade:.55};const DEFAULT_SCATTER={enabled:true,source:\"heroExit\",start:0,end:1,distance:1.9,turbulence:.55,stagger:.45,driftX:0,driftY:.15,fade:1,spinBoost:1.8,smoothing:.14,preview:0};const DEFAULT_RIPPLE={enabled:true,mode:\"burst\",force:.45,reach:.8,recover:.4,swirl:.35,drift:.25,strength:.22,spread:.3,width:.45,speed:2.2,decay:1.1,maxConcurrent:3,spinKick:.8,markFlash:.7};const DEFAULT_ENTRANCE={enabled:true,duration:1.8,delay:.15,spread:1.25};const DEFAULT_INTERACTION={parallax:true,strength:6,smoothing:.08};const DEFAULT_PERFORMANCE={maxPixelRatio:2,mobileScale:.5,pauseOffscreen:true,respectReducedMotion:true};const SCROLL_OFFSETS={heroExit:[\"start start\",\"end start\"],viewport:[\"start end\",\"end start\"],sticky:[\"start start\",\"end end\"]};const SPRITE_RESOLUTION=64;const TAU=Math.PI*2;// ============================================================================\n// HELPERS\n// ============================================================================\nfunction clamp(value,min,max){return value<min?min:value>max?max:value;}function easeOutCubic(t){const inv=1-t;return 1-inv*inv*inv;}function smoothstep(edge0,edge1,x){if(edge1<=edge0)return x<edge0?0:1;const t=clamp((x-edge0)/(edge1-edge0),0,1);return t*t*(3-2*t);}// Deterministic RNG so the sphere renders identically on every load.\nfunction createRandom(seed){let state=(Math.floor(seed)||1)>>>0;return function random(){state=state+1831565813>>>0;let t=state;t=Math.imul(t^t>>>15,t|1);t^=t+Math.imul(t^t>>>7,t|61);return((t^t>>>14)>>>0)/4294967296;};}// The Kaava \"K\" mark (from the wordmark). Used when no logo image is picked.\nconst KAAVA_K_MARK=\"data:image/svg+xml;charset=utf-8,\"+encodeURIComponent(\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.108 14.118' width='564' height='565'><path fill='#000' d='M 4.706 14.118 L 0 14.118 L 0 9.193 L 2.131 7.06 Z M 14.106 10.46 L 14.106 14.118 L 9.183 14.118 L 2.131 7.06 Z M 14.108 9.271 C 12.888 9.271 11.899 8.281 11.899 7.06 C 11.899 5.839 12.888 4.849 14.108 4.849 Z M 14.106 3.658 L 2.131 7.06 L 9.183 0 L 14.106 0 Z M 2.131 7.06 L 0 4.941 L 0 0 L 4.706 0 Z'/></svg>\");function toRgb(input,fallback){try{const parsed=Color(input);if(!parsed)return fallback;const r=Math.round(clamp(parsed.r,0,255));const g=Math.round(clamp(parsed.g,0,255));const b=Math.round(clamp(parsed.b,0,255));if(Number.isNaN(r)||Number.isNaN(g)||Number.isNaN(b)){return fallback;}return{r,g,b};}catch{return fallback;}}function rgba(color,alpha){return`rgba(${color.r},${color.g},${color.b},${clamp(alpha,0,1)})`;}// Pre-rendered radial sprite. Drawing a cached bitmap per particle is far\n// cheaper than building a gradient per particle, and gives the soft bloom\n// that a hard-edged arc() cannot.\nfunction createSprite(color,softness){if(typeof document===\"undefined\")return null;const canvas=document.createElement(\"canvas\");canvas.width=SPRITE_RESOLUTION;canvas.height=SPRITE_RESOLUTION;const ctx=canvas.getContext(\"2d\");if(!ctx)return null;const center=SPRITE_RESOLUTION/2;const gradient=ctx.createRadialGradient(center,center,0,center,center,center);const innerStop=.05+softness*.25;const outerStop=.35+softness*.3;gradient.addColorStop(0,rgba(color,1));gradient.addColorStop(innerStop,rgba(color,.5));gradient.addColorStop(outerStop,rgba(color,.12));gradient.addColorStop(1,rgba(color,0));ctx.fillStyle=gradient;ctx.fillRect(0,0,SPRITE_RESOLUTION,SPRITE_RESOLUTION);return canvas;}// Fibonacci (golden-angle) distribution — even coverage with no visible rows.\n// A little jitter is always applied so the spiral never reads as a pattern.\nfunction buildParticles(count,shellNoise,turbulence,driftX,driftY,coreMix,sizeVariance,seed){const random=createRandom(seed);const goldenAngle=Math.PI*(3-Math.sqrt(5));const nx=new Float32Array(count);const ny=new Float32Array(count);const nz=new Float32Array(count);const sx=new Float32Array(count);const sy=new Float32Array(count);const sz=new Float32Array(count);const seeds=new Float32Array(count);const alpha=new Float32Array(count);const size=new Float32Array(count);const sprite=new Uint8Array(count);const jitter=.012+shellNoise*.5;const denominator=count>1?count-1:1;for(let i=0;i<count;i++){const y=1-i/denominator*2;const ring=Math.sqrt(Math.max(0,1-y*y));const theta=goldenAngle*i;const radial=1+(random()-.5)*2*shellNoise;let px=Math.cos(theta)*ring*radial+(random()-.5)*jitter;let py=y*radial+(random()-.5)*jitter;let pz=Math.sin(theta)*ring*radial+(random()-.5)*jitter;nx[i]=px;ny[i]=py;nz[i]=pz;// Scatter direction: outward along its own normal, roughed up by\n// turbulence, then biased by the drift so the cloud can flow.\nlet dx=px+(random()-.5)*2*turbulence;let dy=py+(random()-.5)*2*turbulence;let dz=pz+(random()-.5)*2*turbulence;const length=Math.sqrt(dx*dx+dy*dy+dz*dz)||1;const magnitude=.35+Math.pow(random(),1.5)*.65;sx[i]=dx/length*magnitude+driftX;sy[i]=dy/length*magnitude-driftY;sz[i]=dz/length*magnitude;seeds[i]=random();alpha[i]=.35+random()*.65;size[i]=1-sizeVariance*.5+random()*sizeVariance;sprite[i]=random()<coreMix?0:random()<.62?1:2;}return{count,nx,ny,nz,sx,sy,sz,seed:seeds,alpha,size,sprite};}// Rasterise the logo and keep every filled pixel as a candidate target,\n// normalised to the mark's tight bounding box so \"size\" stays predictable\n// regardless of how much padding the source file carries.\nfunction sampleLogo(image,resolution){if(typeof document===\"undefined\")return null;if(!image.naturalWidth||!image.naturalHeight)return null;const aspect=image.naturalWidth/image.naturalHeight;const width=Math.max(8,Math.round(aspect>=1?resolution:resolution*aspect));const height=Math.max(8,Math.round(aspect>=1?resolution/aspect:resolution));const canvas=document.createElement(\"canvas\");canvas.width=width;canvas.height=height;const ctx=canvas.getContext(\"2d\");if(!ctx)return null;ctx.drawImage(image,0,0,width,height);let data;try{data=ctx.getImageData(0,0,width,height).data;}catch{// Cross-origin image without CORS headers taints the canvas.\nreturn null;}const rawX=[];const rawY=[];let minX=width;let maxX=-1;let minY=height;let maxY=-1;for(let y=0;y<height;y++){for(let x=0;x<width;x++){if(data[(y*width+x)*4+3]<128)continue;rawX.push(x);rawY.push(y);if(x<minX)minX=x;if(x>maxX)maxX=x;if(y<minY)minY=y;if(y>maxY)maxY=y;}}if(rawX.length===0||maxX<minX)return null;const half=Math.max(maxX-minX+1,maxY-minY+1)/2;const midX=(minX+maxX)/2;const midY=(minY+maxY)/2;const xs=new Float32Array(rawX.length);const ys=new Float32Array(rawY.length);for(let i=0;i<rawX.length;i++){xs[i]=(rawX[i]-midX)/half;ys[i]=(rawY[i]-midY)/half;}return{xs,ys,count:rawX.length};}// Each logo particle carries two positions: a home on the sphere and a target\n// inside the mark. Blending between them is what makes the dots form the logo.\nfunction buildLogoParticles(points,count,jitter,depth,turbulence,driftX,driftY,sizeVariance,seed){const random=createRandom(seed+991);const total=Math.max(60,Math.round(count));const hx=new Float32Array(total);const hy=new Float32Array(total);const hz=new Float32Array(total);const tx=new Float32Array(total);const ty=new Float32Array(total);const tz=new Float32Array(total);const sx=new Float32Array(total);const sy=new Float32Array(total);const sz=new Float32Array(total);const seeds=new Float32Array(total);const alpha=new Float32Array(total);const size=new Float32Array(total);const sprite=new Uint8Array(total);for(let i=0;i<total;i++){const pick=Math.min(points.count-1,Math.floor(random()*points.count));tx[i]=points.xs[pick]+(random()-.5)*2*jitter;ty[i]=points.ys[pick]+(random()-.5)*2*jitter;tz[i]=(random()-.5)*2*depth;// Uniform point on the sphere, so the mark assembles from all over it.\nconst u=random()*2-1;const theta=random()*TAU;const ring=Math.sqrt(Math.max(0,1-u*u));hx[i]=Math.cos(theta)*ring;hy[i]=u;hz[i]=Math.sin(theta)*ring;let dx=hx[i]+(random()-.5)*2*turbulence;let dy=hy[i]+(random()-.5)*2*turbulence;let dz=hz[i]+(random()-.5)*2*turbulence;const length=Math.sqrt(dx*dx+dy*dy+dz*dz)||1;const magnitude=.35+Math.pow(random(),1.5)*.65;sx[i]=dx/length*magnitude+driftX;sy[i]=dy/length*magnitude-driftY;sz[i]=dz/length*magnitude;seeds[i]=random();alpha[i]=.55+random()*.45;size[i]=1-sizeVariance*.5+random()*sizeVariance;sprite[i]=random()<.35?0:1;}return{count:total,hx,hy,hz,tx,ty,tz,sx,sy,sz,seed:seeds,alpha,size,sprite};}// ============================================================================\n// MAIN COMPONENT\n// ============================================================================\n/**\n * Particle Sphere\n *\n * A sphere built from thousands of additive-blended points. Rotates on load\n * and disperses as the section scrolls away.\n *\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 640\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ParticleSphere(props){const sphere={...DEFAULT_SPHERE,...props.sphere||{}};const appearance={...DEFAULT_APPEARANCE,...props.appearance||{}};const glow={...DEFAULT_GLOW,...props.glow||{}};const logo={...DEFAULT_LOGO,...props.logo||{}};// With no logo picked, the Kaava K mark is used (turn off via Logo > Show).\nconst logoImage=props.logoImage?.src?props.logoImage:{src:KAAVA_K_MARK};const rotation={...DEFAULT_ROTATION,...props.rotation||{}};const lighting={...DEFAULT_LIGHTING,...props.lighting||{}};const scatter={...DEFAULT_SCATTER,...props.scatter||{}};const ripple={...DEFAULT_RIPPLE,...props.ripple||{}};const entrance={...DEFAULT_ENTRANCE,...props.entrance||{}};const interaction={...DEFAULT_INTERACTION,...props.interaction||{}};const performance={...DEFAULT_PERFORMANCE,...props.performance||{}};const containerRef=useRef(null);const canvasRef=useRef(null);const contextRef=useRef(null);const particlesRef=useRef(null);const spritesRef=useRef([]);const logoRef=useRef(null);const logoPointsRef=useRef(null);const logoParticlesRef=useRef(null);const[logoVersion,setLogoVersion]=useState(0);// Animation state that must survive re-renders without restarting the loop.\nconst angleRef=useRef(0);const scatterRef=useRef(0);const entranceRef=useRef(1);const elapsedRef=useRef(0);const pointerRef=useRef({x:0,y:0,tx:0,ty:0});const ripplesRef=useRef([]);const spinImpulseRef=useRef(0);const markFlashRef=useRef(0);// Published each frame so the click handler can un-project a screen point\n// back onto the sphere's own surface.\nconst viewRef=useRef({cx:0,cy:0,radius:0,cosA:1,sinA:0,cosB:1,sinB:0});const frameRef=useRef(0);// Distance from the component box to each canvas edge, in CSS px. The sphere\n// stays sized to the box; only the drawing surface grows around it.\nconst bleedRef=useRef({l:0,r:0,t:0,b:0});const[bleedBox,setBleedBox]=useState({l:0,r:0,t:0,b:0});const lastTimeRef=useRef(0);const drawRef=useRef(()=>{});const[reducedMotion,setReducedMotion]=useState(false);const isStatic=useIsStaticRenderer();const inView=useInView(containerRef,{margin:\"240px\"});const inViewRef=useRef(false);inViewRef.current=inView;// The intro (entrance + K forming) only starts once the sphere is properly on\n// screen, plays to the end even if you keep scrolling, and never restarts.\nconst revealed=useInView(containerRef,{amount:.4,once:true});const startedRef=useRef(false);const{scrollYProgress}=useScroll({target:containerRef,offset:SCROLL_OFFSETS[scatter.source]||SCROLL_OFFSETS.heroExit});// Latest props readable from inside the animation loop without a restart.\nconst paramsRef=useRef({sphere,appearance,glow,logo,rotation,lighting,scatter,ripple,entrance,interaction,performance});paramsRef.current={sphere,appearance,glow,logo,rotation,lighting,scatter,ripple,entrance,interaction,performance};const isAnimated=!isStatic&&!(performance.respectReducedMotion&&reducedMotion);// ------------------------------------------------------------------------\n// Reduced motion\n// ------------------------------------------------------------------------\nuseEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const query=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReducedMotion(query.matches);const onChange=event=>setReducedMotion(event.matches);query.addEventListener(\"change\",onChange);return()=>query.removeEventListener(\"change\",onChange);},[]);// ------------------------------------------------------------------------\n// Canvas sizing\n// ------------------------------------------------------------------------\n// Grows the canvas so scattering dots can travel out to the edge of the\n// viewport instead of being cut off at the component box.\nconst measureBleed=()=>{const container=containerRef.current;if(!container||typeof window===\"undefined\")return;const p=paramsRef.current.sphere;const base=clamp(p.overscan,0,2);const rect=container.getBoundingClientRect();const w=container.clientWidth||rect.width;const h=container.clientHeight||rect.height;let l=base*w;let r=base*w;let t=base*h;let b=base*h;if(p.fullViewport!==false&&!isStatic){const vw=document.documentElement.clientWidth||window.innerWidth;const vh=window.innerHeight;l=Math.max(l,rect.left);r=Math.max(r,vw-rect.right);t=Math.max(t,(vh-h)/2);b=Math.max(b,(vh-h)/2);}const next={l:Math.round(l),r:Math.round(r),t:Math.round(t),b:Math.round(b)};const prev=bleedRef.current;if(prev.l!==next.l||prev.r!==next.r||prev.t!==next.t||prev.b!==next.b){bleedRef.current=next;setBleedBox(next);}};useEffect(()=>{measureBleed();drawRef.current(elapsedRef.current,scatterRef.current,entranceRef.current);},[sphere.overscan,sphere.fullViewport]);useEffect(()=>{if(typeof window===\"undefined\")return;const container=containerRef.current;const canvas=canvasRef.current;if(!container||!canvas)return;contextRef.current=canvas.getContext(\"2d\");// Sizing lives inside draw() so the backing store and the drawing\n// transform are always derived together. Here we only repaint.\nconst repaint=()=>{measureBleed();drawRef.current(elapsedRef.current,scatterRef.current,entranceRef.current);};repaint();const observer=new ResizeObserver(repaint);observer.observe(container);window.addEventListener(\"resize\",repaint);return()=>{observer.disconnect();window.removeEventListener(\"resize\",repaint);};},[]);// ------------------------------------------------------------------------\n// Sprites\n// ------------------------------------------------------------------------\nuseEffect(()=>{const core=toRgb(appearance.coreColor,{r:255,g:255,b:255});const mid=toRgb(appearance.midColor,{r:124,g:245,b:206});const deep=toRgb(appearance.deepColor,{r:31,g:191,b:143});spritesRef.current=[createSprite(core,appearance.softness),createSprite(mid,appearance.softness),createSprite(deep,appearance.softness)];},[appearance.coreColor,appearance.midColor,appearance.deepColor,appearance.softness]);// ------------------------------------------------------------------------\n// Logo\n// ------------------------------------------------------------------------\nuseEffect(()=>{if(typeof window===\"undefined\")return;const source=logoImage?.src;if(!source){// Clearing the image has to drop the sampled points and the\n// particles built from them, or a removed logo keeps rendering.\nlogoRef.current=null;logoPointsRef.current=null;logoParticlesRef.current=null;setLogoVersion(version=>version+1);return;}let cancelled=false;const load=useCors=>{const image=new Image;if(useCors)image.crossOrigin=\"anonymous\";image.onload=()=>{if(cancelled)return;logoRef.current=image;const points=sampleLogo(image,LOGO_SAMPLE_RESOLUTION);if(!points&&useCors){// Sampling needs pixel access; retry uncorsed so at least\n// the fallback overlay can still draw.\nload(false);return;}logoPointsRef.current=points;setLogoVersion(version=>version+1);};image.onerror=()=>{if(cancelled)return;if(useCors){load(false);return;}logoRef.current=null;logoPointsRef.current=null;logoParticlesRef.current=null;setLogoVersion(version=>version+1);};image.src=source;};load(true);return()=>{cancelled=true;};},[logoImage?.src]);// ------------------------------------------------------------------------\n// Logo particles\n// ------------------------------------------------------------------------\nuseEffect(()=>{const points=logoPointsRef.current;if(!points){logoParticlesRef.current=null;return;}logoParticlesRef.current=buildLogoParticles(points,logo.count,logo.jitter,logo.depth,scatter.turbulence,scatter.driftX,scatter.driftY,sphere.sizeVariance,sphere.seed);},[logoVersion,logo.count,logo.jitter,logo.depth,scatter.turbulence,scatter.driftX,scatter.driftY,sphere.sizeVariance,sphere.seed]);// ------------------------------------------------------------------------\n// Particle buffers\n// ------------------------------------------------------------------------\nuseEffect(()=>{if(typeof window===\"undefined\")return;const isMobile=window.innerWidth<768;const scale=isMobile?clamp(performance.mobileScale,.1,1):1;const count=Math.max(120,Math.round(sphere.particleCount*scale));particlesRef.current=buildParticles(count,sphere.shellNoise,scatter.turbulence,scatter.driftX,scatter.driftY,appearance.coreMix,sphere.sizeVariance,sphere.seed);},[sphere.particleCount,sphere.shellNoise,sphere.sizeVariance,sphere.seed,scatter.turbulence,scatter.driftX,scatter.driftY,appearance.coreMix,performance.mobileScale]);// ------------------------------------------------------------------------\n// Pointer parallax\n// ------------------------------------------------------------------------\nuseEffect(()=>{if(!isAnimated||!interaction.parallax)return;if(typeof window===\"undefined\")return;const onPointerMove=event=>{const container=containerRef.current;if(!container)return;const rect=container.getBoundingClientRect();const cx=rect.left+rect.width/2;const cy=rect.top+rect.height/2;pointerRef.current.tx=clamp((event.clientX-cx)/(window.innerWidth/2),-1,1);pointerRef.current.ty=clamp((event.clientY-cy)/(window.innerHeight/2),-1,1);};window.addEventListener(\"pointermove\",onPointerMove,{passive:true});return()=>window.removeEventListener(\"pointermove\",onPointerMove);},[isAnimated,interaction.parallax]);// ------------------------------------------------------------------------\n// Click ripple\n// ------------------------------------------------------------------------\n// Listens on the window and hit-tests manually, so the canvas can stay\n// pointer-events:none and never swallow a click meant for the page.\nuseEffect(()=>{if(!isAnimated||typeof window===\"undefined\")return;const canvas=canvasRef.current;if(!canvas)return;const onPointerDown=event=>{const params=paramsRef.current;if(!params.ripple.enabled)return;const view=viewRef.current;if(view.radius<1)return;const rect=canvas.getBoundingClientRect();if(rect.width<1||rect.height<1)return;// Screen point → buffer pixels → unit sphere disc.\nconst bufferX=(event.clientX-rect.left)*(canvas.width/rect.width);const bufferY=(event.clientY-rect.top)*(canvas.height/rect.height);const ox=(bufferX-view.cx)/view.radius;const oy=(bufferY-view.cy)/view.radius;const planar=ox*ox+oy*oy;if(planar>1)return;// missed the sphere\n// Near hemisphere, then undo tilt and yaw so the impact is stored\n// in the sphere's own frame and rotates along with it.\nconst oz=Math.sqrt(Math.max(0,1-planar));const ay=oy*view.cosB+oz*view.sinB;const az=-oy*view.sinB+oz*view.cosB;const ix=ox*view.cosA-az*view.sinA;const iz=ox*view.sinA+az*view.cosA;const ripples=ripplesRef.current;ripples.push({ix,iy:ay,iz,age:0});const limit=Math.max(1,Math.round(params.ripple.maxConcurrent));while(ripples.length>limit)ripples.shift();spinImpulseRef.current+=params.ripple.spinKick;markFlashRef.current=params.ripple.markFlash;};window.addEventListener(\"pointerdown\",onPointerDown,{passive:true});return()=>window.removeEventListener(\"pointerdown\",onPointerDown);},[isAnimated]);// ------------------------------------------------------------------------\n// Draw\n// ------------------------------------------------------------------------\nuseEffect(()=>{const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;function draw(time,scatterProgress,entranceProgress){const particles=particlesRef.current;const sprites=spritesRef.current;if(!particles||sprites.length<3)return;const params=paramsRef.current;// The canvas is the component box plus a bleed on every side, so\n// scattering dots are not clipped. Everything is drawn in buffer\n// pixels, with the sphere centred on the box (not the canvas) and\n// sized to the box, so a bigger bleed never makes the sphere bigger.\nconst bleed=bleedRef.current;const containerEl=containerRef.current;const boxWidth=containerEl?.clientWidth||containerEl?.getBoundingClientRect().width||0;const boxHeight=containerEl?.clientHeight||containerEl?.getBoundingClientRect().height||0;if(boxWidth<2||boxHeight<2)return;const layoutWidth=boxWidth+bleed.l+bleed.r;const layoutHeight=boxHeight+bleed.t+bleed.b;// A viewport-sized canvas is large, so cap the pixel count.\nconst pixelBudget=Math.sqrt(6e6/(layoutWidth*layoutHeight));const dpr=Math.min(Math.max(1,params.performance.maxPixelRatio),window.devicePixelRatio||1,Math.max(.75,pixelBudget));const bufferWidth=Math.max(2,Math.round(layoutWidth*dpr));const bufferHeight=Math.max(2,Math.round(layoutHeight*dpr));if(canvas.width!==bufferWidth||canvas.height!==bufferHeight){canvas.width=bufferWidth;canvas.height=bufferHeight;}const width=canvas.width;const height=canvas.height;// Scales CSS-space sizes (dot size) into buffer pixels.\nconst pixelScale=width/layoutWidth;const cx=(bleed.l+boxWidth/2)*pixelScale;const cy=(bleed.t+boxHeight/2)*pixelScale;const radius=Math.min(boxWidth,boxHeight)/2*pixelScale*clamp(params.sphere.radiusScale,.05,1.4);ctx.setTransform(1,0,0,1,0,0);ctx.globalCompositeOperation=\"source-over\";ctx.globalAlpha=1;ctx.clearRect(0,0,width,height);// Combined dispersion: entrance runs the same machinery backwards,\n// so assembling in and breaking apart share one code path.\nconst entranceScatter=entranceProgress*clamp(params.entrance.spread,0,4);const dispersion=Math.max(scatterProgress,entranceScatter);const settle=1-clamp(entranceProgress,0,1);ctx.globalCompositeOperation=blendOp(params);// Halo — dies away as the sphere loses cohesion.\nif(params.glow.show&&params.glow.intensity>0){const haloFade=(1-smoothstep(0,.75,scatterProgress))*(.25+settle*.75);if(haloFade>.004){const haloColor=toRgb(params.glow.color,{r:43,g:217,b:164});const haloRadius=radius*clamp(params.glow.size,.2,4);const gradient=ctx.createRadialGradient(cx,cy,0,cx,cy,haloRadius);const peak=.5*params.glow.intensity*haloFade;gradient.addColorStop(0,rgba(haloColor,peak));gradient.addColorStop(.4,rgba(haloColor,peak*.32));gradient.addColorStop(.72,rgba(haloColor,peak*.08));gradient.addColorStop(1,rgba(haloColor,0));ctx.globalAlpha=1;ctx.fillStyle=gradient;// Bounded to the halo, not the whole canvas — the bleed\n// can make the canvas several times the visible area.\nctx.fillRect(cx-haloRadius,cy-haloRadius,haloRadius*2,haloRadius*2);}}// Orientation\nconst wobble=Math.sin(time*params.rotation.wobbleSpeed*TAU)*(params.rotation.wobbleAmount*Math.PI)/180;const tiltAngle=params.rotation.tilt*Math.PI/180+wobble+pointerRef.current.y*(params.interaction.strength*Math.PI/180);const yawExtra=pointerRef.current.x*(params.interaction.strength*Math.PI/180);const angle=angleRef.current+yawExtra;const cosA=Math.cos(angle);const sinA=Math.sin(angle);const cosB=Math.cos(tiltAngle);const sinB=Math.sin(tiltAngle);viewRef.current={cx,cy,radius,cosA,sinA,cosB,sinB};// Per-frame ripple state. A wavelet (the derivative of a gaussian)\n// gives the crest-then-trough that reads as water closing back in.\nconst rippleWidth=Math.max(.05,params.ripple.width);const burstMode=params.ripple.mode!==\"ripple\";const activeRipples=[];if(params.ripple.enabled){const list=ripplesRef.current;const reach=Math.max(.05,params.ripple.reach);const tau=Math.max(.05,params.ripple.recover);for(let r=0;r<list.length;r++){const item=list[r];const front=item.age*params.ripple.speed;const env=Math.exp(-item.age/Math.max(.05,params.ripple.decay));const lo=front-rippleWidth*3;const hi=front+rippleWidth*3;if(burstMode){// The impulse envelope peaks then returns to zero, so\n// there is nothing left to draw once it is spent.\nif(item.age>tau*8)continue;}else{if(env<.02||lo>Math.PI)continue;}// Rotate the impact into view space once per frame so the\n// mark can be tested against it without un-rotating.\nconst rax=item.ix*cosA+item.iz*sinA;const raz=item.iz*cosA-item.ix*sinA;const vy=item.iy*cosB-raz*sinB;const vz=item.iy*sinB+raz*cosB;activeRipples.push({ix:item.ix,iy:item.iy,iz:item.iz,vx:rax,vy,vz,age:item.age,front,radial:params.ripple.strength*env,lateral:params.ripple.spread*env,// acos is monotonically decreasing, so the band in\n// angle maps to this range in dot product.\ncosLo:Math.cos(Math.min(Math.PI,hi)),cosHi:Math.cos(Math.max(0,lo)),force:params.ripple.force,reachSq:reach*reach,cutoffSq:reach*reach*6,tau,swirl:params.ripple.swirl,drift:params.ripple.drift});}}const rippleCount=activeRipples.length;// Lighting — screen Y grows downward, so a \"top\" light is negative.\nlet lx=params.lighting.directionX;let ly=-params.lighting.directionY;let lz=.65;const lightLength=Math.sqrt(lx*lx+ly*ly+lz*lz)||1;lx/=lightLength;ly/=lightLength;lz/=lightLength;const focal=radius*clamp(params.sphere.perspective,1.1,12);// Dot size is authored in pixels, but the sphere is not a fixed\n// size. Without this, a smaller breakpoint keeps 6px dots inside a\n// much smaller mark and the logo's gaps fill in.\nconst responsiveScale=params.sphere.scaleDots?Math.min(boxWidth,boxHeight)/Math.max(80,params.sphere.referenceSize):1;const baseSize=Math.max(.35,params.sphere.dotSize*pixelScale*responsiveScale);const brightness=clamp(params.appearance.brightness,0,3);const twinkleAmount=clamp(params.appearance.twinkleAmount,0,1);const twinkleSpeed=params.appearance.twinkleSpeed;const stagger=clamp(params.scatter.stagger,0,.85);const span=1-stagger;// With Full Viewport on, make sure the dots travel at least as far as\n// the farthest viewport edge so they leave the screen, not the box.\nlet distance=params.scatter.distance;if(params.sphere.fullViewport!==false&&!isStatic){const edge=Math.max(bleed.l,bleed.r)+boxWidth/2;const radiusCss=radius/pixelScale;if(radiusCss>1){distance=Math.max(distance,edge/radiusCss-1);}}const fadeStrength=clamp(params.scatter.fade,0,1);const rimStrength=params.lighting.rim;const depthFade=clamp(params.lighting.depthFade,0,1);const lightIntensity=clamp(params.lighting.intensity,0,1);// Formation: 0 = these dots are still part of the sphere,\n// 1 = they are holding the mark. It unwinds as the sphere scatters.\nconst logoParticles=logoParticlesRef.current;const logoImg=logoRef.current;const hasLogo=params.logo.show&&(!!logoParticles||!!logoImg);const formProgress=clamp((time-params.logo.formDelay)/Math.max(.1,params.logo.formDuration),0,1);const formation=hasLogo?easeOutCubic(formProgress)*(1-smoothstep(0,.5,scatterProgress))*settle:0;const logoExtent=radius*clamp(params.logo.size,.05,1.2)*(1+params.logo.breathe*Math.sin(time*.35*TAU));// Thin the sphere's near-side dots over the mark so it stays\n// legible instead of being speckled over.\nconst clearance=clamp(params.logo.clearance,0,1);const clearRadius=logoExtent*1.25;const clearRadiusSq=clearRadius*clearRadius;const clearing=hasLogo&&clearance>0&&formation>.01;const{nx,ny,nz,sx,sy,sz,seed,alpha,size,sprite}=particles;for(let i=0;i<particles.count;i++){const s=seed[i];// Per-particle stagger keeps the cloud from leaving as a block.\nlet local=dispersion;if(stagger>0){local=(dispersion-s*stagger)/span;}local=clamp(local,0,1);const k=easeOutCubic(local)*distance;const hx=nx[i];const hy=ny[i];const hz=nz[i];let rippleX=0;let rippleY=0;let rippleZ=0;for(let r=0;r<rippleCount;r++){const wave=activeRipples[r];if(burstMode){// Knock the particle away from the impact, then let it\n// find its own way back. Each one gets its own timing,\n// so they behave like independent objects rather than\n// a coupled surface.\nconst dx=hx-wave.ix;const dy=hy-wave.iy;const dz=hz-wave.iz;const distanceSq=dx*dx+dy*dy+dz*dz;if(distanceSq>wave.cutoffSq)continue;const localT=wave.age/(wave.tau*(.7+s*.6));if(localT>7)continue;// Rises to a peak, then eases back to nothing.\nconst envelope=localT*Math.exp(1-localT);const falloff=Math.exp(-distanceSq/wave.reachSq*1.2);const amount=wave.force*falloff*envelope;if(amount<5e-4)continue;const inverse=1/(Math.sqrt(distanceSq)||1e-4);rippleX+=dx*inverse*amount;rippleY+=dy*inverse*amount;rippleZ+=dz*inverse*amount;if(wave.swirl!==0){const swirlAmount=amount*wave.swirl*inverse;rippleX+=(wave.iy*dz-wave.iz*dy)*swirlAmount;rippleY+=(wave.iz*dx-wave.ix*dz)*swirlAmount;rippleZ+=(wave.ix*dy-wave.iy*dx)*swirlAmount;}if(wave.drift!==0){const driftAmount=amount*wave.drift;rippleX+=sx[i]*driftAmount;rippleY+=sy[i]*driftAmount;rippleZ+=sz[i]*driftAmount;}continue;}const dot=hx*wave.ix+hy*wave.iy+hz*wave.iz;// Cheap rejection before the acos.\nif(dot<wave.cosLo||dot>wave.cosHi)continue;const theta=Math.acos(dot<-1?-1:dot>1?1:dot);const offset=(theta-wave.front)/rippleWidth;const bell=Math.exp(-.5*offset*offset);const wavelet=offset*bell*1.6487;// Along the surface normal — the crest and trough.\nconst lift=wave.radial*wavelet;rippleX+=hx*lift;rippleY+=hy*lift;rippleZ+=hz*lift;// Tangentially away from the impact — this is what opens\n// the hole and lets dots move aside.\nconst tanX=hx-dot*wave.ix;const tanY=hy-dot*wave.iy;const tanZ=hz-dot*wave.iz;const tanLength=Math.sqrt(tanX*tanX+tanY*tanY+tanZ*tanZ);if(tanLength>1e-4){const push=wave.lateral*bell/tanLength;rippleX+=tanX*push;rippleY+=tanY*push;rippleZ+=tanZ*push;}}const px=hx+sx[i]*k+rippleX;const py=hy+sy[i]*k+rippleY;const pz=hz+sz[i]*k+rippleZ;// Yaw, then tilt.\nconst ax=px*cosA+pz*sinA;const az=pz*cosA-px*sinA;const ay=py;const by=ay*cosB-az*sinB;const bz=ay*sinB+az*cosB;// Same transform on the untouched normal, for stable shading.\nconst rnx=hx*cosA+hz*sinA;const rnz=hz*cosA-hx*sinA;const rny=hy;const nby=rny*cosB-rnz*sinB;const nbz=rny*sinB+rnz*cosB;const depthPx=-bz*radius;const scale=focal/(focal+depthPx);if(scale<=0)continue;const screenX=cx+ax*radius*scale;const screenY=cy+by*radius*scale;let drawSize=baseSize*size[i]*scale;if(drawSize<.35)continue;if(screenX<-drawSize||screenX>width+drawSize||screenY<-drawSize||screenY>height+drawSize){continue;}// Back hemisphere reads dimmer; the silhouette reads brighter.\nconst depthShade=1-depthFade*(.5-nbz*.5);const rim=1+rimStrength*(1-Math.abs(nbz));const lambert=1-lightIntensity+lightIntensity*Math.max(0,rnx*lx+nby*ly+nbz*lz);const twinkle=twinkleAmount>0?1-twinkleAmount+twinkleAmount*(.5+.5*Math.sin(time*twinkleSpeed*TAU+s*TAU)):1;let value=alpha[i]*brightness*depthShade*rim*lambert*twinkle*settle;if(fadeStrength>0&&local>0){value*=1-fadeStrength*smoothstep(.25,1,local);}// Only the near hemisphere is dimmed — dots behind the logo\n// still show through and keep the depth reading.\nif(clearing&&nbz>0){const ddx=screenX-cx;const ddy=screenY-cy;const distanceSq=ddx*ddx+ddy*ddy;if(distanceSq<clearRadiusSq){value*=1-clearance*formation*(1-distanceSq/clearRadiusSq);}}if(value<.005)continue;const bitmap=sprites[sprite[i]]||sprites[1];if(!bitmap)continue;ctx.globalAlpha=value>1?1:value;ctx.drawImage(bitmap,screenX-drawSize/2,screenY-drawSize/2,drawSize,drawSize);}// Core glow, so the mark reads as light at the sphere's heart.\nif(formation>.01&&params.logo.glow>0){const coreColor=toRgb(params.logo.glowColor,{r:43,g:217,b:164});const coreRadius=logoExtent*2.2;const coreGradient=ctx.createRadialGradient(cx,cy,0,cx,cy,coreRadius);const peak=.5*params.logo.glow*formation*(1+markFlashRef.current);coreGradient.addColorStop(0,rgba(coreColor,peak));coreGradient.addColorStop(.45,rgba(coreColor,peak*.28));coreGradient.addColorStop(1,rgba(coreColor,0));ctx.globalCompositeOperation=blendOp(params);ctx.globalAlpha=1;ctx.fillStyle=coreGradient;ctx.fillRect(cx-coreRadius,cy-coreRadius,coreRadius*2,coreRadius*2);}// The mark itself, drawn from particles. Each one interpolates\n// between its home on the sphere and its target inside the logo,\n// so the dots visibly resolve into the shape.\nif(params.logo.show&&logoParticles){ctx.globalCompositeOperation=blendOp(params);// Mark half-extent expressed in sphere units, so a mark\n// particle can be mapped onto the sphere's front surface.\nconst markUnit=radius>0?logoExtent/radius:0;const dotScale=1+(params.logo.dotScale-1)*formation;const lift=(1+(params.logo.brightness-1)*formation)*(1+markFlashRef.current*.8);const offsetX=pointerRef.current.x*radius*.03*formation;const offsetY=pointerRef.current.y*radius*.03*formation;for(let i=0;i<logoParticles.count;i++){const s=logoParticles.seed[i];let local=dispersion;if(stagger>0){local=(dispersion-s*stagger)/span;}local=clamp(local,0,1);const k=easeOutCubic(local)*distance;const lhx=logoParticles.hx[i];const lhy=logoParticles.hy[i];const lhz=logoParticles.hz[i];// Ripple only affects the sphere-side position, so the\n// formed mark never distorts out of legibility.\nlet lrx=0;let lry=0;let lrz=0;for(let r=0;r<rippleCount;r++){const wave=activeRipples[r];if(burstMode){const dx=lhx-wave.ix;const dy=lhy-wave.iy;const dz=lhz-wave.iz;const distanceSq=dx*dx+dy*dy+dz*dz;if(distanceSq>wave.cutoffSq)continue;const localT=wave.age/(wave.tau*(.7+s*.6));if(localT>7)continue;const amount=wave.force*Math.exp(-distanceSq/wave.reachSq*1.2)*localT*Math.exp(1-localT);if(amount<5e-4)continue;const inverse=1/(Math.sqrt(distanceSq)||1e-4);lrx+=dx*inverse*amount;lry+=dy*inverse*amount;lrz+=dz*inverse*amount;continue;}const dot=lhx*wave.ix+lhy*wave.iy+lhz*wave.iz;if(dot<wave.cosLo||dot>wave.cosHi)continue;const theta=Math.acos(dot<-1?-1:dot>1?1:dot);const offset=(theta-wave.front)/rippleWidth;const bell=Math.exp(-.5*offset*offset);const lift=wave.radial*offset*bell*1.6487;lrx+=lhx*lift;lry+=lhy*lift;lrz+=lhz*lift;}const px=lhx+logoParticles.sx[i]*k+lrx;const py=lhy+logoParticles.sy[i]*k+lry;const pz=lhz+logoParticles.sz[i]*k+lrz;const ax=px*cosA+pz*sinA;const az=pz*cosA-px*sinA;const by=py*cosB-az*sinB;const bz=py*sinB+az*cosB;const sphereScale=focal/(focal+-bz*radius);if(sphereScale<=0)continue;const sphereX=cx+ax*radius*sphereScale;const sphereY=cy+by*radius*sphereScale;// The mark is a billboard — it never rotates away. It sits\n// on the sphere's front face, so a wave crossing that face\n// has to distort it too, or the mark would sit perfectly\n// still inside a rippling sphere.\nlet markPushX=0;let markPushY=0;let markPushZ=0;if(rippleCount>0){const surfaceX=logoParticles.tx[i]*markUnit;const surfaceY=logoParticles.ty[i]*markUnit;const surfaceZ=Math.sqrt(Math.max(.02,1-surfaceX*surfaceX-surfaceY*surfaceY));for(let r=0;r<rippleCount;r++){const wave=activeRipples[r];if(burstMode){const dx=surfaceX-wave.vx;const dy=surfaceY-wave.vy;const dz=surfaceZ-wave.vz;const distanceSq=dx*dx+dy*dy+dz*dz;if(distanceSq>wave.cutoffSq)continue;const localT=wave.age/(wave.tau*(.7+s*.6));if(localT>7)continue;const amount=wave.force*Math.exp(-distanceSq/wave.reachSq*1.2)*localT*Math.exp(1-localT);if(amount<5e-4)continue;const inverse=1/(Math.sqrt(distanceSq)||1e-4);markPushX+=dx*inverse*amount;markPushY+=dy*inverse*amount;markPushZ+=dz*inverse*amount*.6;continue;}const dot=surfaceX*wave.vx+surfaceY*wave.vy+surfaceZ*wave.vz;if(dot<wave.cosLo||dot>wave.cosHi)continue;const theta=Math.acos(dot<-1?-1:dot>1?1:dot);const offset=(theta-wave.front)/rippleWidth;const bell=Math.exp(-.5*offset*offset);// Depth only — keeps the mark readable.\nmarkPushZ+=wave.radial*offset*bell*1.6487*.6;const tanX=surfaceX-dot*wave.vx;const tanY=surfaceY-dot*wave.vy;const tanZ=surfaceZ-dot*wave.vz;const tanLength=Math.sqrt(tanX*tanX+tanY*tanY+tanZ*tanZ);if(tanLength>1e-4){const push=wave.lateral*bell/tanLength;markPushX+=tanX*push;markPushY+=tanY*push;}}}const markScale=focal/(focal-(logoParticles.tz[i]+markPushZ)*radius);const markX=cx+logoParticles.tx[i]*logoExtent*markScale+markPushX*radius+offsetX;const markY=cy+logoParticles.ty[i]*logoExtent*markScale+markPushY*radius+offsetY;const screenX=sphereX+(markX-sphereX)*formation;const screenY=sphereY+(markY-sphereY)*formation;const blendScale=sphereScale+(markScale-sphereScale)*formation;const drawSize=baseSize*logoParticles.size[i]*blendScale*dotScale;if(drawSize<.35)continue;if(screenX<-drawSize||screenX>width+drawSize){continue;}if(screenY<-drawSize||screenY>height+drawSize){continue;}// Shaded like a sphere dot, flattening off as it forms.\nconst rnx=lhx*cosA+lhz*sinA;const rnz=lhz*cosA-lhx*sinA;const nby=lhy*cosB-rnz*sinB;const nbz=lhy*sinB+rnz*cosB;const depthShade=1-depthFade*(.5-nbz*.5);const rim=1+rimStrength*(1-Math.abs(nbz));const lambert=1-lightIntensity+lightIntensity*Math.max(0,rnx*lx+nby*ly+nbz*lz);let shade=depthShade*rim*lambert;shade+=(1-shade)*formation;const twinkle=twinkleAmount>0?1-twinkleAmount+twinkleAmount*(.5+.5*Math.sin(time*twinkleSpeed*TAU+s*TAU)):1;let value=logoParticles.alpha[i]*brightness*lift*shade*twinkle*settle;if(fadeStrength>0&&local>0){value*=1-fadeStrength*smoothstep(.25,1,local);}if(value<.005)continue;const bitmap=sprites[logoParticles.sprite[i]]||sprites[1];if(!bitmap)continue;ctx.globalAlpha=value>1?1:value;ctx.drawImage(bitmap,screenX-drawSize/2,screenY-drawSize/2,drawSize,drawSize);}}else if(hasLogo&&logoImg&&logoImg.naturalWidth>0&&formation>.004){// Pixel access was refused, so the mark cannot be turned into\n// particles. Fall back to drawing the source image.\nconst aspect=logoImg.naturalWidth/logoImg.naturalHeight||1;const halfWidth=aspect>=1?logoExtent:logoExtent*aspect;const halfHeight=aspect>=1?logoExtent/aspect:logoExtent;ctx.globalCompositeOperation=blendOp(params);ctx.globalAlpha=formation;ctx.drawImage(logoImg,cx-halfWidth,cy-halfHeight,halfWidth*2,halfHeight*2);}ctx.globalAlpha=1;ctx.globalCompositeOperation=\"source-over\";}drawRef.current=draw;// Static canvas / reduced motion: one representative frame, no loop.\nif(!isAnimated){angleRef.current=0;entranceRef.current=0;elapsedRef.current=STATIC_TIME;scatterRef.current=clamp(paramsRef.current.scatter.preview,0,1);const id=window.requestAnimationFrame(()=>draw(STATIC_TIME,scatterRef.current,0));return()=>window.cancelAnimationFrame(id);}if(!revealed)return;const introDone=()=>{const p=paramsRef.current;const end=Math.max(p.entrance.enabled?p.entrance.delay+p.entrance.duration:0,p.logo.show?p.logo.formDelay+p.logo.formDuration:0);return elapsedRef.current>=end+.25;};// Off screen: pause, but only once the intro has finished.\nif(performance.pauseOffscreen&&!inView&&introDone())return;if(!startedRef.current){startedRef.current=true;entranceRef.current=entrance.enabled?1:0;elapsedRef.current=0;}lastTimeRef.current=0;const loop=now=>{frameRef.current=window.requestAnimationFrame(loop);const last=lastTimeRef.current||now;lastTimeRef.current=now;const delta=Math.min(.05,(now-last)/1e3);elapsedRef.current+=delta;const time=elapsedRef.current;const params=paramsRef.current;// Entrance: 1 → 0.\nif(params.entrance.enabled){const start=params.entrance.delay;const duration=Math.max(.1,params.entrance.duration);const progress=clamp((time-start)/duration,0,1);entranceRef.current=1-easeOutCubic(progress);}else{entranceRef.current=0;}// Scatter: scroll position, remapped and smoothed so wheel steps\n// never show up as jitter.\nlet target=0;if(params.scatter.enabled){const raw=scrollYProgress.get();const value=Number.isFinite(raw)?raw:0;const from=params.scatter.start;const to=params.scatter.end;target=to>from?clamp((value-from)/(to-from),0,1):0;}const smoothing=clamp(params.scatter.smoothing,.01,1);const responsiveness=1-Math.exp(-(1/smoothing)*delta);scatterRef.current+=(target-scatterRef.current)*responsiveness;// Pointer parallax, eased the same frame-rate-independent way.\nif(params.interaction.parallax){const ease=1-Math.exp(-(1/clamp(params.interaction.smoothing,.01,1))*delta);pointerRef.current.x+=(pointerRef.current.tx-pointerRef.current.x)*ease;pointerRef.current.y+=(pointerRef.current.ty-pointerRef.current.y)*ease;}else{pointerRef.current.x=0;pointerRef.current.y=0;}// Ripples age out; the impact impulses decay back to rest.\nconst ripples=ripplesRef.current;if(ripples.length>0){const life=params.ripple.mode===\"ripple\"?Math.max(.05,params.ripple.decay)*4:Math.max(.05,params.ripple.recover)*9;for(let r=ripples.length-1;r>=0;r--){ripples[r].age+=delta;if(ripples[r].age>life)ripples.splice(r,1);}}spinImpulseRef.current*=Math.exp(-delta/.45);markFlashRef.current*=Math.exp(-delta/.35);// Spin, accelerating slightly as the sphere comes apart.\nconst boost=1+params.scatter.spinBoost*scatterRef.current;const sign=params.rotation.direction===\"rightward\"?1:-1;angleRef.current+=sign*(params.rotation.speed*Math.PI/180*boost+spinImpulseRef.current)*delta;draw(time,scatterRef.current,entranceRef.current);if(params.performance.pauseOffscreen&&!inViewRef.current&&introDone()){window.cancelAnimationFrame(frameRef.current);}};frameRef.current=window.requestAnimationFrame(loop);return()=>window.cancelAnimationFrame(frameRef.current);},[isAnimated,inView,revealed,performance.pauseOffscreen,entrance.enabled,scatter.preview,scrollYProgress]);// ------------------------------------------------------------------------\n// Static repaint\n// ------------------------------------------------------------------------\n// On the Framer canvas there is no loop, so every prop change has to\n// repaint by hand. Intentionally runs on each render — renders only\n// happen when a control actually changes.\nuseEffect(()=>{if(isAnimated)return;scatterRef.current=clamp(scatter.preview,0,1);elapsedRef.current=STATIC_TIME;drawRef.current(STATIC_TIME,scatterRef.current,0);});// Bleed: the canvas is grown symmetrically past the component box so\n// scattering dots keep rendering instead of being cut off at the edge.\nconst wantsBleed=clamp(sphere.overscan,0,2)>0||sphere.fullViewport!==false&&!isStatic;return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:wantsBleed?\"visible\":\"hidden\",pointerEvents:\"none\",...props.style},children:/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,\"aria-hidden\":\"true\",style:{position:\"absolute\",top:-bleedBox.t,left:-bleedBox.l,width:`calc(100% + ${bleedBox.l+bleedBox.r}px)`,height:`calc(100% + ${bleedBox.t+bleedBox.b}px)`,display:\"block\",pointerEvents:\"none\"}})});}ParticleSphere.displayName=\"Particle Sphere\";// ============================================================================\n// PROPERTY CONTROLS\n// ============================================================================\naddPropertyControls(ParticleSphere,{sphere:{type:ControlType.Object,title:\"Sphere\",defaultValue:DEFAULT_SPHERE,controls:{particleCount:{type:ControlType.Number,title:\"Particles\",defaultValue:4500,min:500,max:12e3,step:100,description:\"Higher counts look denser. Mobile is scaled down automatically.\"},radiusScale:{type:ControlType.Number,title:\"Size\",defaultValue:.62,min:.1,max:1.2,step:.01},dotSize:{type:ControlType.Number,title:\"Dot Size\",defaultValue:6,min:1,max:24,step:.5,unit:\"px\"},sizeVariance:{type:ControlType.Number,title:\"Size Variance\",defaultValue:.55,min:0,max:1,step:.05},perspective:{type:ControlType.Number,title:\"Perspective\",defaultValue:2.6,min:1.2,max:8,step:.1,description:\"Lower values exaggerate depth.\"},overscan:{type:ControlType.Number,title:\"Bleed\",defaultValue:.5,min:0,max:1.5,step:.05,description:\"Lets scattering dots draw outside the component instead of being clipped. Costs memory — raise only as far as you need.\"},fullViewport:{type:ControlType.Boolean,title:\"Full Viewport\",defaultValue:true,description:\"Lets scattering dots travel all the way to the edge of the viewport. The sphere keeps its size.\"},scaleDots:{type:ControlType.Boolean,title:\"Scale Dots\",defaultValue:true,description:\"Scales dot size with the sphere so every breakpoint matches.\"},referenceSize:{type:ControlType.Number,title:\"Reference Size\",defaultValue:640,min:120,max:2e3,step:10,unit:\"px\",description:\"Container size at which Dot Size is exact. Set this to your desktop size.\",hidden(props){return props.scaleDots===false;}},shellNoise:{type:ControlType.Number,title:\"Shell Noise\",defaultValue:.05,min:0,max:.3,step:.01,description:\"Thickens the shell so it reads as a cloud, not a surface.\"},seed:{type:ControlType.Number,title:\"Seed\",defaultValue:7,min:1,max:999,step:1,displayStepper:true}}},appearance:{type:ControlType.Object,title:\"Appearance\",icon:\"color\",defaultValue:DEFAULT_APPEARANCE,controls:{coreColor:{type:ControlType.Color,title:\"Core\",defaultValue:\"#FFFFFF\"},midColor:{type:ControlType.Color,title:\"Mid\",defaultValue:\"#7CF5CE\"},deepColor:{type:ControlType.Color,title:\"Deep\",defaultValue:\"#1FBF8F\"},coreMix:{type:ControlType.Number,title:\"Core Mix\",defaultValue:.16,min:0,max:1,step:.02,description:\"Share of bright highlight particles.\"},softness:{type:ControlType.Number,title:\"Softness\",defaultValue:.55,min:0,max:1,step:.05},blend:{type:ControlType.Enum,title:\"Blend\",options:[\"additive\",\"normal\"],optionTitles:[\"Additive (glow)\",\"Normal (true colour)\"],defaultValue:\"additive\",description:\"Additive only brightens, so it washes out on light backgrounds. Use Normal there.\"},brightness:{type:ControlType.Number,title:\"Brightness\",defaultValue:1,min:.1,max:2.5,step:.05},twinkleAmount:{type:ControlType.Number,title:\"Twinkle\",defaultValue:.18,min:0,max:1,step:.02},twinkleSpeed:{type:ControlType.Number,title:\"Twinkle Speed\",defaultValue:.6,min:.05,max:3,step:.05,hidden(props){return props.twinkleAmount===0;}}}},glow:{type:ControlType.Object,title:\"Halo\",icon:\"effect\",defaultValue:DEFAULT_GLOW,controls:{show:{type:ControlType.Boolean,title:\"Halo\",defaultValue:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#2BD9A4\",hidden(props){return props.show===false;}},size:{type:ControlType.Number,title:\"Size\",defaultValue:1.5,min:.3,max:3.5,step:.05,hidden(props){return props.show===false;}},intensity:{type:ControlType.Number,title:\"Intensity\",defaultValue:.5,min:0,max:1.5,step:.05,hidden(props){return props.show===false;}}}},logoImage:{type:ControlType.ResponsiveImage,title:\"Logo\",description:\"Use a transparent PNG or SVG. A logo with its own background will read as a sticker.\"},logo:{type:ControlType.Object,title:\"Logo Style\",icon:\"effect\",defaultValue:DEFAULT_LOGO,controls:{show:{type:ControlType.Boolean,title:\"Show Logo\",defaultValue:true},size:{type:ControlType.Number,title:\"Size\",defaultValue:.46,min:.05,max:1.2,step:.01,description:\"Mark width relative to the sphere radius.\",hidden(props){return props.show===false;}},count:{type:ControlType.Number,title:\"Dots\",defaultValue:1300,min:200,max:6e3,step:50,description:\"Particles that make up the mark. More reads crisper.\",hidden(props){return props.show===false;}},dotScale:{type:ControlType.Number,title:\"Dot Size\",defaultValue:1.15,min:.4,max:3,step:.05,description:\"Relative to the sphere's dots.\",hidden(props){return props.show===false;}},brightness:{type:ControlType.Number,title:\"Brightness\",defaultValue:1.4,min:.5,max:3,step:.05,hidden(props){return props.show===false;}},jitter:{type:ControlType.Number,title:\"Jitter\",defaultValue:.012,min:0,max:.08,step:.002,description:\"Softens the edges so the mark looks drawn by dots, not stamped.\",hidden(props){return props.show===false;}},depth:{type:ControlType.Number,title:\"Thickness\",defaultValue:.06,min:0,max:.4,step:.01,description:\"Depth spread, so the mark is not perfectly flat.\",hidden(props){return props.show===false;}},glow:{type:ControlType.Number,title:\"Core Glow\",defaultValue:.4,min:0,max:2,step:.05,description:\"Light bloom behind the mark.\",hidden(props){return props.show===false;}},glowColor:{type:ControlType.Color,title:\"Glow Color\",defaultValue:\"#2BD9A4\",hidden(props){return props.show===false||props.glow===0;}},clearance:{type:ControlType.Number,title:\"Clearance\",defaultValue:.45,min:0,max:1,step:.05,description:\"Thins the sphere's near-side dots over the mark so it stays readable.\",hidden(props){return props.show===false;}},formDelay:{type:ControlType.Number,title:\"Form Delay\",defaultValue:1.1,min:0,max:6,step:.05,unit:\"s\",description:\"Wait before the dots gather into the mark.\",hidden(props){return props.show===false;}},formDuration:{type:ControlType.Number,title:\"Form Time\",defaultValue:1.7,min:.2,max:6,step:.1,unit:\"s\",hidden(props){return props.show===false;}},breathe:{type:ControlType.Number,title:\"Breathe\",defaultValue:.03,min:0,max:.3,step:.01,description:\"Subtle scale pulse.\",hidden(props){return props.show===false;}}}},rotation:{type:ControlType.Object,title:\"Rotation\",icon:\"interaction\",defaultValue:DEFAULT_ROTATION,controls:{speed:{type:ControlType.Number,title:\"Speed\",defaultValue:6,min:0,max:60,step:.5,unit:\"\\xb0/s\"},direction:{type:ControlType.Enum,title:\"Direction\",defaultValue:\"leftward\",options:[\"leftward\",\"rightward\"],optionTitles:[\"Right → Left\",\"Left → Right\"],displaySegmentedControl:true},tilt:{type:ControlType.Number,title:\"Tilt\",defaultValue:-8,min:-45,max:45,step:1,unit:\"\\xb0\"},wobbleAmount:{type:ControlType.Number,title:\"Wobble\",defaultValue:2,min:0,max:15,step:.5,unit:\"\\xb0\"},wobbleSpeed:{type:ControlType.Number,title:\"Wobble Speed\",defaultValue:.15,min:.02,max:1,step:.01,hidden(props){return props.wobbleAmount===0;}}}},lighting:{type:ControlType.Object,title:\"Lighting\",icon:\"effect\",defaultValue:DEFAULT_LIGHTING,controls:{intensity:{type:ControlType.Number,title:\"Intensity\",defaultValue:.55,min:0,max:1,step:.05},directionX:{type:ControlType.Number,title:\"Light X\",defaultValue:.15,min:-1,max:1,step:.05,hidden(props){return props.intensity===0;}},directionY:{type:ControlType.Number,title:\"Light Y\",defaultValue:.7,min:-1,max:1,step:.05,description:\"Positive lights the sphere from above.\",hidden(props){return props.intensity===0;}},rim:{type:ControlType.Number,title:\"Rim\",defaultValue:.9,min:0,max:2.5,step:.05,description:\"Brightens the silhouette where density peaks.\"},depthFade:{type:ControlType.Number,title:\"Depth Fade\",defaultValue:.55,min:0,max:1,step:.05,description:\"How much the far hemisphere dims.\"}}},scatter:{type:ControlType.Object,title:\"Scroll Scatter\",icon:\"interaction\",defaultValue:DEFAULT_SCATTER,controls:{enabled:{type:ControlType.Boolean,title:\"Scatter\",defaultValue:true},source:{type:ControlType.Enum,title:\"Trigger\",defaultValue:\"heroExit\",options:[\"heroExit\",\"viewport\",\"sticky\"],optionTitles:[\"Hero Exit\",\"Through View\",\"Sticky\"],description:\"Hero Exit disperses as the section scrolls off the top.\",hidden(props){return props.enabled===false;}},start:{type:ControlType.Number,title:\"Start\",defaultValue:0,min:0,max:1,step:.01,hidden(props){return props.enabled===false;}},end:{type:ControlType.Number,title:\"End\",defaultValue:1,min:0,max:1,step:.01,hidden(props){return props.enabled===false;}},distance:{type:ControlType.Number,title:\"Distance\",defaultValue:1.9,min:.2,max:6,step:.1,hidden(props){return props.enabled===false;}},turbulence:{type:ControlType.Number,title:\"Turbulence\",defaultValue:.55,min:0,max:2,step:.05,description:\"Randomises directions so it breaks up unevenly.\",hidden(props){return props.enabled===false;}},stagger:{type:ControlType.Number,title:\"Stagger\",defaultValue:.45,min:0,max:.85,step:.05,hidden(props){return props.enabled===false;}},driftX:{type:ControlType.Number,title:\"Drift X\",defaultValue:0,min:-1.5,max:1.5,step:.05,hidden(props){return props.enabled===false;}},driftY:{type:ControlType.Number,title:\"Drift Y\",defaultValue:.15,min:-1.5,max:1.5,step:.05,description:\"Positive drifts the cloud downward as it breaks.\",hidden(props){return props.enabled===false;}},fade:{type:ControlType.Number,title:\"Fade Out\",defaultValue:1,min:0,max:1,step:.05,hidden(props){return props.enabled===false;}},spinBoost:{type:ControlType.Number,title:\"Spin Boost\",defaultValue:1.8,min:0,max:6,step:.1,description:\"Extra rotation while dispersing.\",hidden(props){return props.enabled===false;}},smoothing:{type:ControlType.Number,title:\"Smoothing\",defaultValue:.14,min:.02,max:.6,step:.01,description:\"Higher is looser and laggier behind the scroll.\",hidden(props){return props.enabled===false;}},preview:{type:ControlType.Number,title:\"Preview\",defaultValue:0,min:0,max:1,step:.01,description:\"Canvas only — drag to preview any scatter state while designing.\"}}},ripple:{type:ControlType.Object,title:\"Click Ripple\",icon:\"interaction\",defaultValue:DEFAULT_RIPPLE,controls:{enabled:{type:ControlType.Boolean,title:\"Click Effect\",defaultValue:true},mode:{type:ControlType.Enum,title:\"Mode\",defaultValue:\"burst\",options:[\"burst\",\"ripple\"],optionTitles:[\"Burst\",\"Ripple\"],displaySegmentedControl:true,description:\"Burst knocks dots apart and lets each drift back on its own. Ripple sends a wave across the surface like water.\",hidden(props){return props.enabled===false;}},force:{type:ControlType.Number,title:\"Force\",defaultValue:.45,min:0,max:2,step:.01,description:\"How far dots are thrown.\",hidden(props){return props.enabled===false||props.mode===\"ripple\";}},reach:{type:ControlType.Number,title:\"Reach\",defaultValue:.8,min:.1,max:3,step:.05,description:\"How much of the sphere feels it. High values move the whole cloud.\",hidden(props){return props.enabled===false||props.mode===\"ripple\";}},recover:{type:ControlType.Number,title:\"Recover\",defaultValue:.4,min:.05,max:3,step:.05,unit:\"s\",description:\"How long dots take to drift back into place.\",hidden(props){return props.enabled===false||props.mode===\"ripple\";}},swirl:{type:ControlType.Number,title:\"Swirl\",defaultValue:.35,min:0,max:2,step:.05,description:\"Rotation around the impact, so dots spiral out and back.\",hidden(props){return props.enabled===false||props.mode===\"ripple\";}},drift:{type:ControlType.Number,title:\"Drift\",defaultValue:.25,min:0,max:1.5,step:.05,description:\"Random scatter per dot, so the burst is not perfectly even.\",hidden(props){return props.enabled===false||props.mode===\"ripple\";}},strength:{type:ControlType.Number,title:\"Depth\",defaultValue:.22,min:0,max:1,step:.01,description:\"How far dots rise and dip as the wave passes.\",hidden(props){return props.enabled===false||props.mode===\"burst\";}},spread:{type:ControlType.Number,title:\"Displacement\",defaultValue:.3,min:0,max:1,step:.01,description:\"How far dots move aside — how wide the hole opens.\",hidden(props){return props.enabled===false||props.mode===\"burst\";}},width:{type:ControlType.Number,title:\"Wave Width\",defaultValue:.45,min:.1,max:1.5,step:.05,description:\"Narrow is a sharp ring, wide is a soft swell.\",hidden(props){return props.enabled===false||props.mode===\"burst\";}},speed:{type:ControlType.Number,title:\"Wave Speed\",defaultValue:2.2,min:.3,max:8,step:.1,hidden(props){return props.enabled===false||props.mode===\"burst\";}},decay:{type:ControlType.Number,title:\"Settle Time\",defaultValue:1.1,min:.2,max:4,step:.05,unit:\"s\",hidden(props){return props.enabled===false||props.mode===\"burst\";}},maxConcurrent:{type:ControlType.Number,title:\"Max Ripples\",defaultValue:3,min:1,max:5,step:1,displayStepper:true,description:\"Overlapping waves from rapid clicks.\",hidden(props){return props.enabled===false;}},spinKick:{type:ControlType.Number,title:\"Spin Kick\",defaultValue:.8,min:0,max:4,step:.1,description:\"Rotation nudge on impact.\",hidden(props){return props.enabled===false;}},markFlash:{type:ControlType.Number,title:\"Logo Flash\",defaultValue:.7,min:0,max:2,step:.05,hidden(props){return props.enabled===false;}}}},entrance:{type:ControlType.Object,title:\"Entrance\",icon:\"interaction\",defaultValue:DEFAULT_ENTRANCE,controls:{enabled:{type:ControlType.Boolean,title:\"Assemble In\",defaultValue:true},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:1.8,min:.3,max:6,step:.1,unit:\"s\",hidden(props){return props.enabled===false;}},delay:{type:ControlType.Number,title:\"Delay\",defaultValue:.15,min:0,max:3,step:.05,unit:\"s\",hidden(props){return props.enabled===false;}},spread:{type:ControlType.Number,title:\"Spread\",defaultValue:1.25,min:.2,max:3,step:.05,description:\"How far out the particles start.\",hidden(props){return props.enabled===false;}}}},interaction:{type:ControlType.Object,title:\"Pointer\",icon:\"interaction\",defaultValue:DEFAULT_INTERACTION,controls:{parallax:{type:ControlType.Boolean,title:\"Parallax\",defaultValue:true},strength:{type:ControlType.Number,title:\"Strength\",defaultValue:6,min:0,max:25,step:.5,unit:\"\\xb0\",hidden(props){return props.parallax===false;}},smoothing:{type:ControlType.Number,title:\"Smoothing\",defaultValue:.08,min:.02,max:.5,step:.01,hidden(props){return props.parallax===false;}}}},performance:{type:ControlType.Object,title:\"Performance\",defaultValue:DEFAULT_PERFORMANCE,controls:{maxPixelRatio:{type:ControlType.Number,title:\"Max DPR\",defaultValue:2,min:1,max:3,step:.5},mobileScale:{type:ControlType.Number,title:\"Mobile Scale\",defaultValue:.5,min:.1,max:1,step:.05,description:\"Particle multiplier below 768px.\"},pauseOffscreen:{type:ControlType.Boolean,title:\"Pause Offscreen\",defaultValue:true},respectReducedMotion:{type:ControlType.Boolean,title:\"Reduced Motion\",defaultValue:true,description:\"Renders a still sphere for visitors who ask for less motion.\"}}}});function blendOp(params){return params.appearance.blend===\"normal\"?\"source-over\":\"lighter\";}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ParticleSphere\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"640\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"640\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ParticleSphere.map"],"mappings":"A,+QAIA,SAAgBoB,EAAgB,EAAU,CAAC,MAAoB,gBAAW,SAAqB,EAAM,EAAI,CAAC,IAAMC,EAAMrB,EAAO,IAAI,EAAQsB,EAAQ,GAAM,CAAC,EAAM,QAAQC,EAAQ,OAAOC,GAAM,WAAWA,EAAID,CAAI,EAAUC,IAAI,EAAI,QAAQD,EAAK,EAA69B,OAA39BZ,MAAc,CAAC,IAAMc,EAAGJ,EAAM,QAAQ,GAAG,CAACI,GAAWpB,IAAS,OAAY,OAAO,IAAIqB,EAAM,EAAQC,MAAQ,CAAC,EAAM,EAAE,IAAMC,EAAM,MAAM,KAAKH,EAAG,iBAAiB,sDAAsD,CAAC,EAAE,GAAG,CAACG,EAAM,OAAO,OAAOA,EAA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