{"version":3,"file":"Snow.01STmr7T.mjs","names":["React.useState","React.useRef","p","React.useCallback","canvas","ctx","u"],"sources":["https:/framerusercontent.com/modules/9YqTpMv0H4P50CG3JPgV/6cA8bLh38lmPKyS6cMrv/Snow.js"],"sourcesContent":["// snow.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function clamp(n,a,b){return Math.max(a,Math.min(b,n));}// Tiny deterministic RNG so “seed” is stable across reloads.\nfunction mulberry32(seed){let t=seed>>>0;return function(){t+=1831565813;let x=Math.imul(t^t>>>15,1|t);x^=x+Math.imul(x^x>>>7,61|x);return((x^x>>>14)>>>0)/4294967296;};}function degToRad(deg){return deg*Math.PI/180;}export default function Snow(props){const[isOn,setIsOn]=React.useState(true);const layerAlphaRef=React.useRef(1);const targetAlphaRef=React.useRef(1);const isOnRef=React.useRef(true);const p={...Snow.defaultProps,...props};const containerRef=React.useRef(null);const canvasRef=React.useRef(null);const flakesRef=React.useRef([]);const rafRef=React.useRef(null);const lastTRef=React.useRef(0);const reduceMotion=p.respectReducedMotion&&typeof window!==\"undefined\"&&\"matchMedia\"in window&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;React.useEffect(()=>{// Keep refs in sync + establish initial alpha target.\nisOnRef.current=isOn;targetAlphaRef.current=isOn?1:0;},[isOn]);const initOrResize=React.useCallback(()=>{const canvas=canvasRef.current;const container=containerRef.current;if(!canvas||!container)return;const rect=container.getBoundingClientRect();const cssW=Math.max(1,rect.width);const cssH=Math.max(1,rect.height);// High-DPI crispness\nconst dpr=typeof window!==\"undefined\"?window.devicePixelRatio||1:1;canvas.width=Math.floor(cssW*dpr);canvas.height=Math.floor(cssH*dpr);canvas.style.width=`${cssW}px`;canvas.style.height=`${cssH}px`;const ctx=canvas.getContext(\"2d\");if(ctx)ctx.setTransform(dpr,0,0,dpr,0,0);// Target flakes based on area and intensity (flakes per 10k px²)\nconst area=cssW*cssH;const target=clamp(Math.round(area/1e4*p.intensity),0,p.maxFlakes);const rng=mulberry32(Math.floor(p.seed));// Keep existing flakes when possible; add/remove to match target.\nconst flakes=flakesRef.current;if(flakes.length>target){flakesRef.current=flakes.slice(0,target);}else if(flakes.length<target){const addCount=target-flakes.length;for(let i=0;i<addCount;i++){flakes.push(makeFlake(rng,cssW,cssH,p,true));}}},[p.intensity,p.maxFlakes,p.seed,p.sizeMin,p.sizeMax,p.sizeBias,p.speed,p.speedVariance,p.wind,p.windVariance,p.turbulence,p.roundness]);React.useEffect(()=>{initOrResize();const el=containerRef.current;if(!el)return;const ro=new ResizeObserver(()=>initOrResize());ro.observe(el);return()=>ro.disconnect();},[initOrResize]);React.useEffect(()=>{// Respect reduced motion: no animation.\nif(reduceMotion){const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;const container=containerRef.current;const rect=container?container.getBoundingClientRect():canvas.getBoundingClientRect();ctx.clearRect(0,0,rect.width,rect.height);return;}const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;const rng=mulberry32(Math.floor(p.seed));const tick=t=>{const container=containerRef.current;if(!container)return;const rect=container.getBoundingClientRect();const w=Math.max(1,rect.width);const h=Math.max(1,rect.height);const dt=lastTRef.current?Math.min(.05,(t-lastTRef.current)/1e3):0;lastTRef.current=t;// Clear\nctx.clearRect(0,0,w,h);// Smooth layer fade (for toggle)\nconst target=targetAlphaRef.current;const current=layerAlphaRef.current;// Exponential smoothing: fast but not abrupt.\n// IMPORTANT: when dt==0 (first frame after start/reset), do NOT snap to target.\nconst effectiveDt=dt>0?dt:1/60;const k=1-Math.exp(-effectiveDt*6)// ~250ms-ish to react\n;const nextAlpha=current+(target-current)*k;layerAlphaRef.current=nextAlpha;// Style\nctx.globalAlpha=clamp(p.opacity,0,1)*clamp(nextAlpha,0,1);ctx.fillStyle=p.color;const dir=degToRad(p.direction);const dirX=Math.cos(dir);const dirY=Math.sin(dir);const baseVy=p.speed*dirY;const baseVx=p.speed*dirX;const flakes=flakesRef.current;const pad=Math.max(0,p.spawnPadding);// Update & draw\nfor(let i=0;i<flakes.length;i++){const f=flakes[i];// Turbulence: subtle sinusoidal wiggle + random-ish drift\nf.phase+=f.phaseSpeed*dt;const wiggle=Math.sin(f.phase)*p.turbulence*30// px/sec-ish\n;const vx=baseVx+f.vx+p.wind+wiggle;const vy=baseVy+f.vy;if(!isOnRef.current){// Make flakes disappear more naturally when toggled off:\n// accelerate slightly + shrink so it looks like melting.\nconst meltFactor=1+f.melt*1.2;f.y+=vy*dt*(.6*meltFactor);f.r=Math.max(0,f.r-dt*(.8+f.melt*1.6));}f.x+=vx*dt;f.y+=vy*dt;// Wrap / respawn if out of bounds (with padding)\nif(f.y>h+pad||f.x<-pad||f.x>w+pad){if(isOnRef.current){flakes[i]=makeFlake(rng,w,h,p,false);}else{// When off: keep them out of view and let fade handle visibility.\nf.y=h+pad+1;}continue;}// Draw as slightly squashed ellipse to avoid “perfect dots” if desired.\nconst squash=1-(1-clamp(p.roundness,0,1))*f.squash// near 1 => round\n;const rx=f.r;const ry=f.r*squash;ctx.beginPath();// Ellipse is supported widely; fallback to arc if needed.\nif(ctx.ellipse){ctx.ellipse(f.x,f.y,rx,ry,0,0,Math.PI*2);}else{ctx.arc(f.x,f.y,f.r,0,Math.PI*2);}ctx.fill();}// If toggled off and fully faded out, stop animating.\nif(!isOnRef.current&&layerAlphaRef.current<=.01){ctx.clearRect(0,0,w,h);rafRef.current=null;return;}rafRef.current=requestAnimationFrame(tick);};rafRef.current=requestAnimationFrame(tick);return()=>{if(rafRef.current)cancelAnimationFrame(rafRef.current);rafRef.current=null;lastTRef.current=0;};},[p.color,p.opacity,p.speed,p.speedVariance,p.wind,p.windVariance,p.turbulence,p.direction,p.sizeMin,p.sizeMax,p.sizeBias,p.spawnPadding,p.seed,p.roundness,reduceMotion,isOn]);// Keep canvas blur & blend mode in CSS (cheap + composable).\nconst canvasStyle={width:\"100%\",height:\"100%\",filter:p.blur>0?`blur(${p.blur}px)`:undefined,mixBlendMode:p.blendMode,display:\"block\"};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\",pointerEvents:\"none\",zIndex:0,...p.style},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:canvasStyle})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":isOn?\"Disable snow\":\"Enable snow\",onClick:()=>{setIsOn(v=>{const next=!v;isOnRef.current=next;targetAlphaRef.current=next?1:0;if(next){// Fade-in should never pop: restart from 0 alpha.\nlayerAlphaRef.current=0;// Bring flakes back into view gradually (spawn above top).\nconst container=containerRef.current;const rect=container?container.getBoundingClientRect():null;const w=rect?Math.max(1,rect.width):0;const h=rect?Math.max(1,rect.height):0;if(w>0&&h>0){const pad=Math.max(0,p.spawnPadding);for(const f of flakesRef.current){f.x=-pad+Math.random()*(w+pad*2);f.y=-pad-Math.random()*(h*.6+pad);// restore size a bit in case it was melted down\nif(f.r<p.sizeMin)f.r=p.sizeMin+Math.random()*(p.sizeMax-p.sizeMin);}}// If we previously stopped the RAF, kick it again.\nif(rafRef.current==null){lastTRef.current=0;rafRef.current=requestAnimationFrame(()=>{// no-op; the effect will schedule its own tick on the next paint\n});}}return next;});},style:{position:\"absolute\",right:12,bottom:24,width:44,height:44,borderRadius:999,border:\"1px solid rgba(255,255,255,0.25)\",background:\"rgba(255,255,255,0.16)\",backdropFilter:\"blur(8px)\",WebkitBackdropFilter:\"blur(8px)\",display:\"grid\",placeItems:\"center\",cursor:\"pointer\",padding:0,pointerEvents:\"auto\",zIndex:1,opacity:0},tabIndex:0,onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),children:/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{opacity:isOn?1:.55},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 2v20M6 5l12 14M18 5L6 19M3 12h18\",stroke:isOn?\"rgba(255,255,255,0.95)\":\"rgba(255,255,255,0.75)\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8.2 3.9L12 6.3l3.8-2.4M8.2 20.1L12 17.7l3.8 2.4M3.9 8.2L6.3 12l-2.4 3.8M20.1 8.2L17.7 12l2.4 3.8\",stroke:isOn?\"rgba(255,255,255,0.9)\":\"rgba(255,255,255,0.7)\",strokeWidth:\"1.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})})]});}function makeFlake(rng,w,h,p,initialFill){const pad=Math.max(0,p.spawnPadding);// Biased size distribution:\n// sizeBias 0 => skew small; 1 => skew large\nconst u=rng();const bias=clamp(p.sizeBias,0,1);const expo=1+(1-bias)*3// more small when bias low\n;const t=Math.pow(u,expo);const r=p.sizeMin+(p.sizeMax-p.sizeMin)*t;const dir=degToRad(p.direction);const dirX=Math.cos(dir);const dirY=Math.sin(dir);// Base speed components derived from direction; variance applied per flake.\nconst spVar=clamp(p.speedVariance,0,1);const wnVar=clamp(p.windVariance,0,1);const speedRand=1+(rng()*2-1)*spVar// 1 ± variance\n;const windRand=(rng()*2-1)*wnVar*Math.max(10,Math.abs(p.wind)+20);const vy=Math.max(5,p.speed*speedRand*Math.max(.2,dirY));const vx=p.speed*speedRand*dirX+windRand;// Spawn:\n// - initial fill: random anywhere (nice when first dropped on canvas)\n// - later respawn: start above/top edge with x spread\nconst x=initialFill?rng()*w:-pad+rng()*(w+pad*2);const y=initialFill?rng()*h:-pad-rng()*(h*.2+pad);return{x,y,r,vy,vx,phase:rng()*Math.PI*2,phaseSpeed:1+rng()*3,squash:.6+rng()*.4,melt:rng()};}// Defaults (Framer will also show these as initial control values)\nSnow.defaultProps={intensity:35,maxFlakes:1400,speed:90,speedVariance:.35,wind:0,windVariance:.35,turbulence:.25,direction:90,color:\"#FFFFFF\",opacity:.85,blur:0,sizeMin:1,sizeMax:3.5,sizeBias:.2,roundness:.9,spawnPadding:40,seed:1,respectReducedMotion:true,blendMode:\"normal\"};addPropertyControls(Snow,{intensity:{type:ControlType.Number,title:\"Intensity\",min:0,max:200,step:1,displayStepper:true},maxFlakes:{type:ControlType.Number,title:\"Max Flakes\",min:0,max:5e3,step:10,displayStepper:true},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:600,step:5,unit:\"px/s\"},speedVariance:{type:ControlType.Number,title:\"Speed Var\",min:0,max:1,step:.05},wind:{type:ControlType.Number,title:\"Wind\",min:-400,max:400,step:5,unit:\"px/s\"},windVariance:{type:ControlType.Number,title:\"Wind Var\",min:0,max:1,step:.05},turbulence:{type:ControlType.Number,title:\"Turbulence\",min:0,max:1,step:.05},direction:{type:ControlType.Number,title:\"Direction\",min:0,max:360,step:1,unit:\"\\xb0\"},color:{type:ControlType.Color,title:\"Color\"},opacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,step:.05},blur:{type:ControlType.Number,title:\"Blur\",min:0,max:10,step:.5,unit:\"px\"},sizeMin:{type:ControlType.Number,title:\"Size Min\",min:.5,max:10,step:.5,unit:\"px\"},sizeMax:{type:ControlType.Number,title:\"Size Max\",min:.5,max:20,step:.5,unit:\"px\"},sizeBias:{type:ControlType.Number,title:\"Size Bias\",min:0,max:1,step:.05},roundness:{type:ControlType.Number,title:\"Roundness\",min:0,max:1,step:.05},spawnPadding:{type:ControlType.Number,title:\"Padding\",min:0,max:200,step:5,unit:\"px\"},seed:{type:ControlType.Number,title:\"Seed\",min:0,max:9999,step:1,displayStepper:true},respectReducedMotion:{type:ControlType.Boolean,title:\"Reduce Motion\",enabledTitle:\"Respect\",disabledTitle:\"Ignore\"},blendMode:{type:ControlType.Enum,title:\"Blend\",options:[\"normal\",\"screen\",\"overlay\",\"lighten\",\"soft-light\"],optionTitles:[\"Normal\",\"Screen\",\"Overlay\",\"Lighten\",\"Soft Light\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Snow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Snow.map"],"mappings":"+MACyI,SAAS,EAAM,EAAE,EAAE,EAAE,CAAC,OAAO,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,EAAE,CAAC,CAC/L,SAAS,EAAW,EAAK,CAAC,IAAI,EAAE,IAAO,EAAE,OAAO,UAAU,CAAC,GAAG,WAAW,IAAI,EAAE,KAAK,KAAK,EAAE,IAAI,GAAG,EAAE,EAAE,CAA8B,MAA7B,IAAG,EAAE,KAAK,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,GAAS,EAAE,IAAI,MAAM,GAAG,YAAc,SAAS,EAAS,EAAI,CAAC,OAAO,EAAI,KAAK,GAAG,IAAK,SAAwB,EAAK,EAAM,CAAC,GAAK,CAAC,EAAK,GAASA,EAAe,GAAK,CAAO,EAAcC,EAAa,EAAE,CAAO,EAAeA,EAAa,EAAE,CAAO,EAAQA,EAAa,GAAK,CAAOC,EAAE,CAAC,GAAG,EAAK,aAAa,GAAG,EAAM,CAAO,EAAaD,EAAa,KAAK,CAAO,EAAUA,EAAa,KAAK,CAAO,EAAUA,EAAa,EAAE,CAAC,CAAO,EAAOA,EAAa,KAAK,CAAO,EAASA,EAAa,EAAE,CAAO,EAAaC,EAAE,sBAA6B,IAAS,QAAa,eAAe,GAAQ,EAAO,WAAW,mCAAmC,CAAC,QAAQ,MAAoB,CACjxB,EAAQ,QAAQ,EAAK,EAAe,QAAQ,EAAK,EAAE,GAAI,CAAC,EAAK,CAAC,CAAC,IAAM,EAAaC,MAAsB,CAAC,IAAM,EAAO,EAAU,QAAc,EAAU,EAAa,QAAQ,GAAG,CAAC,GAAQ,CAAC,EAAU,OAAO,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