{"version":3,"file":"AnimatedGradient.-KE4t1Az.mjs","names":["useRef","useState","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","de","init_framer_DKtAEkcX","RenderTarget","addPropertyControls","ControlType","onReducedMotionChange","prefersReducedMotion","init_a11y","clamp","n","min","max","hexToRgb01","color","m","clean","c","int","isSoftwareRenderer","ext","gl","name","SOFTWARE_RENDERER","compileShader","shader","type","source","buildProgram","FRAG_SRC","vs","VERT_SRC","fs","fragSrc","program","AnimatedGradientBackground","props","containerRef","canvasRef","rafRef","elapsedRef","lastTimeRef","firstFrameRef","visibleRef","reducedMotionRef","resolutionRef","capsRef","resDesktop","resTablet","resPhone","resizeRef","paramsRef","startRef","isCanvasEditor","shouldAnimate","forceStatic","preview","inViewport","setInViewport","tabVisible","setTabVisible","reducedMotion","setReducedMotion","webglFailed","setWebglFailed","canvasReady","setCanvasReady","restoreKey","setRestoreKey","visible","pauseWhenHidden","color1","color2","color3","rotation","proportion","scale","speed","distortion","swirl","iterations","MAX_OCTAVES","softness","offset","SHAPE_CODES","shape","shapeSize","noise","fieldRes","fps","cssBackdrop","onChange","el","io","entry","onVisibilityChange","container","canvas","buffer","locs","resizeObserver","cancelled","onContextLost","onContextRestored","k","software","posLoc","fieldProg","colourProg","grainProg","fieldTex","fieldFbo","colourTex","colourFbo","fieldLocs","colourLocs","grainLocs","fieldW","fieldH","twoPass","FIELD_SRC","COLOUR_SRC","GRAIN_SRC","i","keyA","keyB","fieldKey","sizeFields","fw","w","fh","h","resize","rect","vw","capD","capT","capP","setCap","DESKTOP_MIN","TABLET_MIN","cap","SOFTWARE_RES","dpr","RES_FLOOR","glCtx","prog","renderField","keyGap","renderTwoPass","key","gap","tmpT","tmpF","renderFrame","lastDrawAt","park","draw","setFps","TARGET_FPS","fpsNow","SOFTWARE_FPS","now","dt","start","radius","fallbackImage","NOISE_LIB","init_AnimatedGradient","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/xeqArbQpXnoDzhJMu8o3/MvONxw1KlZEkd44yxdyg/AnimatedGradient.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{onReducedMotionChange,prefersReducedMotion}from\"https://framerusercontent.com/modules/fWuRkqycSze9pCNxxG5m/v4l4zIZEpvNNYZRd27T8/a11y.js\";const SHAPE_CODES={none:0,checks:1,dots:2,circles:3,stripes:4};function clamp(n,min,max){if(typeof n!==\"number\"||Number.isNaN(n))return min;return Math.min(max,Math.max(min,n));}function hexToRgb01(color){if(!color)return[0,0,0];const t=color.trim();const m=t.match(/rgba?\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)/);if(m)return[Math.round(+m[1])/255,Math.round(+m[2])/255,Math.round(+m[3])/255];let clean=t.replace(\"#\",\"\");if(clean.length===3)clean=clean.split(\"\").map(c=>c+c).join(\"\");const int=parseInt(clean,16);if(Number.isNaN(int))return[0,0,0];return[(int>>16&255)/255,(int>>8&255)/255,(int&255)/255];}const VERT_SRC=`#version 300 es\nin vec2 aPos;\nvoid main() {\n  gl_Position = vec4(aPos, 0.0, 1.0);\n}\n`;// Fixed loop bound (GLSL wants a constant upper bound); \"Iterations\"\n// breaks out of it early, so it still behaves like a variable octave count.\nconst MAX_OCTAVES=8;// The domain-warped fbm layer is the expensive half of the shader (5 fbm\n// evaluations per pixel), and at the speeds this is actually used at it\n// advances a fraction of a noise-unit per second — consecutive 60fps frames\n// are visually identical. Capping the loop also halves the repaint cost of\n// anything painted over this canvas with backdrop-filter, which is where the\n// real CPU went.\nconst TARGET_FPS=30;// The site's breakpoints, as OHD Orbit V2 GL uses them: Desktop from 1150,\n// Tablet from 810, Phone below. Resolution is chosen by which of them the\n// window falls in.\nconst TABLET_MIN=810;const DESKTOP_MIN=1150;// Never drawn coarser than this many device pixels per CSS pixel.\nconst RES_FLOOR=.25;// Software-rendering safety net (2026-10-15). On a machine with no usable\n// graphics chip — virtual/remote desktops, blocklisted drivers, hardware\n// acceleration switched off — the browser still offers WebGL but draws it on\n// the CPU, and every pixel of this full-canvas pass is paid in main-thread\n// time. There the caps below override the instance settings; everywhere else\n// nothing changes. This is what lets the Resolution controls be set for the\n// common case (a real GPU) instead of the worst one.\nconst SOFTWARE_RES=.5;const SOFTWARE_FPS=10;/** Renderer names of CPU implementations of WebGL: SwiftShader (Chrome's\n *  fallback), Mesa's llvmpipe / softpipe / lavapipe (Linux), and Windows'\n *  \"Microsoft Basic Render Driver\". */const SOFTWARE_RENDERER=/swiftshader|llvmpipe|softpipe|lavapipe|basic render|software rasterizer/i;function isSoftwareRenderer(gl){try{// The unmasked name where the browser still exposes it; Chrome and\n// Safari also put the real name in RENDERER nowadays.\nconst ext=gl.getExtension(\"WEBGL_debug_renderer_info\");const name=String(ext&&gl.getParameter(ext.UNMASKED_RENDERER_WEBGL)||gl.getParameter(gl.RENDERER)||\"\");return SOFTWARE_RENDERER.test(name);}catch{return false;}}/** Simplex noise, fbm and the domain warp, shared by every program. */const NOISE_LIB=`\nvec3 mod289(vec3 x) { return x - floor(x / 289.0) * 289.0; }\nvec2 mod289(vec2 x) { return x - floor(x / 289.0) * 289.0; }\nvec3 permute(vec3 x) { return mod289(((x * 34.0) + 1.0) * x); }\n\nfloat snoise(vec2 v) {\n  const vec4 C = vec4(0.211324865405187, 0.366025403784439,\n                      -0.577350269189626, 0.024390243902439);\n  vec2 i  = floor(v + dot(v, C.yy));\n  vec2 x0 = v - i + dot(i, C.xx);\n  vec2 i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);\n  vec4 x12 = x0.xyxy + C.xxzz;\n  x12.xy -= i1;\n  i = mod289(i);\n  vec3 p = permute(permute(i.y + vec3(0.0, i1.y, 1.0)) + i.x + vec3(0.0, i1.x, 1.0));\n  vec3 m = max(0.5 - vec3(dot(x0, x0), dot(x12.xy, x12.xy), dot(x12.zw, x12.zw)), 0.0);\n  m = m * m;\n  m = m * m;\n  vec3 x = 2.0 * fract(p * C.www) - 1.0;\n  vec3 h = abs(x) - 0.5;\n  vec3 ox = floor(x + 0.5);\n  vec3 a0 = x - ox;\n  m *= 1.79284291400159 - 0.85373472095314 * (a0 * a0 + h * h);\n  vec3 g;\n  g.x = a0.x * x0.x + h.x * x0.y;\n  g.yz = a0.yz * x12.xz + h.yz * x12.yw;\n  return 130.0 * dot(m, g);\n}\n\nfloat fbm(vec2 p, int octaves) {\n  float value = 0.0;\n  float amp = 0.5;\n  for (int i = 0; i < ${MAX_OCTAVES}; i++) {\n    if (i >= octaves) break;\n    value += amp * snoise(p);\n    p *= 2.0;\n    amp *= 0.5;\n  }\n  return value;\n}\n\nvec2 warp(vec2 p, float t, float distortion, float swirl, int iterations) {\n  vec2 q = vec2(\n    fbm(p + t * 0.15, iterations),\n    fbm(p + vec2(5.2, 1.3) + t * 0.15, iterations)\n  );\n  vec2 r = vec2(\n    fbm(p + distortion * q + vec2(1.7, 9.2) + t * 0.12 * (1.0 + swirl), iterations),\n    fbm(p + distortion * q + vec2(8.3, 2.8) + t * 0.10 * (1.0 + swirl), iterations)\n  );\n  return p + distortion * r;\n}\n`;/** Pass 1: the field. Runs on the small offscreen sheet, a few times a\n *  second. Each texel is placed at the full-resolution pixel it stands for,\n *  so the field lines up exactly with what the single pass would draw. The\n *  value n (in -1..1) is stored as 16 bits across red and green. */const FIELD_SRC=`#version 300 es\nprecision highp float;\nout vec4 outColor;\nuniform vec2 uResolution;\nuniform vec2 uFieldScale;\nuniform float uTime;\nuniform float uRotation;\nuniform float uScale;\nuniform float uSpeed;\nuniform float uDistortion;\nuniform float uSwirl;\nuniform int uIterations;\nuniform float uOffset;\n${NOISE_LIB}\nvoid main() {\n  vec2 frag = gl_FragCoord.xy / uFieldScale;\n  vec2 uv = (frag - 0.5 * uResolution) / uResolution.y;\n  float ang = radians(uRotation);\n  mat2 rot = mat2(cos(ang), -sin(ang), sin(ang), cos(ang));\n  uv = rot * uv;\n  uv = uv * uScale + uOffset * 0.02;\n  vec2 warped = warp(uv, uTime * uSpeed, uDistortion, uSwirl, uIterations);\n  float n = fbm(warped, uIterations);\n  float v = floor(clamp(n * 0.5 + 0.5, 0.0, 1.0) * 65535.0 + 0.5);\n  float hi = floor(v / 256.0);\n  outColor = vec4(hi / 255.0, (v - hi * 256.0) / 255.0, 0.0, 1.0);\n}\n`;/** Pass 2, every frame but on the small sheet: blend the two field\n *  snapshots either side of now and map the result to the palette, exactly\n *  as the single pass does — minus the grain. The output is a plain colour\n *  image, so the full-size pass can read it with the GPU's own smooth\n *  filtering. */const COLOUR_SRC=`#version 300 es\nprecision highp float;\nout vec4 outColor;\nuniform ivec2 uFieldSize;\nuniform sampler2D uFieldA;\nuniform sampler2D uFieldB;\nuniform float uMix;\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform vec3 uColor3;\nuniform float uProportion;\nuniform float uSoftness;\n\nfloat unpack(vec4 t) { return (t.r * 255.0 * 256.0 + t.g * 255.0) / 65535.0; }\n\nvoid main() {\n  ivec2 c = ivec2(gl_FragCoord.xy);\n  float n01 = mix(unpack(texelFetch(uFieldA, c, 0)), unpack(texelFetch(uFieldB, c, 0)), uMix);\n  float n = n01 * 2.0 - 1.0;\n\n  float mixFactor = n * 0.5 + 0.5;\n  mixFactor += (uProportion / 100.0 - 0.5);\n  mixFactor = clamp(mixFactor, 0.0, 1.0);\n  float edge = clamp(uSoftness / 100.0, 0.001, 1.0) * 0.5 + 0.02;\n  mixFactor = smoothstep(0.5 - edge, 0.5 + edge, mixFactor);\n\n  vec3 col = mix(uColor1, uColor2, mixFactor);\n  float highlight = smoothstep(0.55, 0.95, n * 0.5 + 0.5);\n  col = mix(col, uColor3, highlight * 0.4);\n  outColor = vec4(col, 1.0);\n}\n`;/** Pass 3, every frame, every pixel: one filtered read of the coloured\n *  sheet, plus the grain. This is all that runs at full resolution. */const GRAIN_SRC=`#version 300 es\nprecision highp float;\nout vec4 outColor;\nuniform vec2 uResolution;\nuniform sampler2D uColour;\nuniform float uTime;\nuniform float uNoiseAmount;\n\nvoid main() {\n  vec3 col = texture(uColour, gl_FragCoord.xy / uResolution).rgb;\n  float grain = fract(sin(dot(mod(gl_FragCoord.xy, 512.0), vec2(12.9898, 78.233)) + mod(uTime, 10.0) * 60.0) * 43758.5453);\n  col += (grain - 0.5) * uNoiseAmount * 0.1;\n  outColor = vec4(clamp(col, 0.0, 1.0), 1.0);\n}\n`;const FRAG_SRC=`#version 300 es\nprecision highp float;\nout vec4 outColor;\n\nuniform vec2 uResolution;\nuniform float uTime;\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform vec3 uColor3;\nuniform float uRotation;\nuniform float uProportion;\nuniform float uScale;\nuniform float uSpeed;\nuniform float uDistortion;\nuniform float uSwirl;\nuniform int uIterations;\nuniform float uSoftness;\nuniform float uOffset;\nuniform int uShape;\nuniform float uShapeSize;\nuniform float uNoiseAmount;\n${NOISE_LIB}\nvoid main() {\n  vec2 uv = (gl_FragCoord.xy - 0.5 * uResolution) / uResolution.y;\n\n  float ang = radians(uRotation);\n  mat2 rot = mat2(cos(ang), -sin(ang), sin(ang), cos(ang));\n  uv = rot * uv;\n  uv = uv * uScale + uOffset * 0.02;\n\n  vec2 warped = warp(uv, uTime * uSpeed, uDistortion, uSwirl, uIterations);\n  float n = fbm(warped, uIterations);\n\n  float mixFactor = n * 0.5 + 0.5;\n  mixFactor += (uProportion / 100.0 - 0.5);\n  mixFactor = clamp(mixFactor, 0.0, 1.0);\n  float edge = clamp(uSoftness / 100.0, 0.001, 1.0) * 0.5 + 0.02;\n  mixFactor = smoothstep(0.5 - edge, 0.5 + edge, mixFactor);\n\n  vec3 col = mix(uColor1, uColor2, mixFactor);\n  float highlight = smoothstep(0.55, 0.95, n * 0.5 + 0.5);\n  col = mix(col, uColor3, highlight * 0.4);\n\n  if (uShape != 0) {\n    float mask = 1.0;\n    float s = max(uShapeSize, 1.0) * 0.15;\n    if (uShape == 1) {\n      vec2 c = floor(warped * s);\n      mask = mod(c.x + c.y, 2.0);\n    } else if (uShape == 2) {\n      vec2 c = fract(warped * s) - 0.5;\n      mask = smoothstep(0.34, 0.28, length(c));\n    } else if (uShape == 3) {\n      mask = 0.5 + 0.5 * sin(length(warped) * s * 4.0);\n    } else if (uShape == 4) {\n      mask = 0.5 + 0.5 * sin((warped.x + warped.y) * s * 4.0);\n    }\n    col *= mix(0.85, 1.15, mask);\n  }\n\n  // Both inputs are wrapped: an unbounded uTime pushes sin()'s argument\n  // past what a 24-bit mantissa can resolve, which collapses the grain into\n  // a visible correlated pattern after ~10 minutes on the page.\n  float grain = fract(sin(dot(mod(gl_FragCoord.xy, 512.0), vec2(12.9898, 78.233)) + mod(uTime, 10.0) * 60.0) * 43758.5453);\n  col += (grain - 0.5) * uNoiseAmount * 0.1;\n\n  outColor = vec4(clamp(col, 0.0, 1.0), 1.0);\n}\n`;function compileShader(gl,type,source){const shader=gl.createShader(type);if(!shader)return null;gl.shaderSource(shader,source);gl.compileShader(shader);if(!gl.getShaderParameter(shader,gl.COMPILE_STATUS)){console.warn(\"[AnimatedGradientBackground] Shader compile error:\",gl.getShaderInfoLog(shader));gl.deleteShader(shader);return null;}return shader;}function buildProgram(gl,fragSrc=FRAG_SRC){const vs=compileShader(gl,gl.VERTEX_SHADER,VERT_SRC);const fs=compileShader(gl,gl.FRAGMENT_SHADER,fragSrc);if(!vs||!fs)return null;const program=gl.createProgram();if(!program)return null;gl.attachShader(program,vs);gl.attachShader(program,fs);gl.linkProgram(program);gl.deleteShader(vs);gl.deleteShader(fs);if(!gl.getProgramParameter(program,gl.LINK_STATUS)){console.warn(\"[AnimatedGradientBackground] Program link error:\",gl.getProgramInfoLog(program));gl.deleteProgram(program);return null;}return program;}/**\n * AnimatedGradientBackground\n *\n * A liquid, domain-warped gradient rendered with WebGL2, with graceful\n * fallback to a static CSS gradient if WebGL isn't available or the\n * context is lost. Animation is off inside the Framer Canvas editor\n * unless \"Preview\" is on, and pauses automatically when hidden,\n * off-screen, or the visitor prefers reduced motion.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function AnimatedGradientBackground(props){const{preview=false,color1=\"#1B1035\",color2=\"#7B2FF7\",color3=\"#F72585\",noise={amount:.15},rotation=0,proportion=50,scale=.6,speed=30,// Matches the Distortion control's default; paramsRef divides by 40.\ndistortion=40,swirl=10,iterations=5,softness=50,offset=10,shape=\"none\",shapeSize=10,radius=0,fallbackImage=\"\",pauseWhenHidden=true,forceStatic=false,resDesktop=1,resTablet=1,resPhone=1,fieldRes=.25,fps=24}=props;const containerRef=useRef(null);const canvasRef=useRef(null);const rafRef=useRef(null);const elapsedRef=useRef(0);const lastTimeRef=useRef(null);const firstFrameRef=useRef(false);const visibleRef=useRef(true);const reducedMotionRef=useRef(false);const resolutionRef=useRef([1,1]);// Read by resize() below, which lives inside the GL effect; a ref so a\n// changed cap does not tear the context down and build it again.\nconst capsRef=useRef([1,1,1]);capsRef.current=[resDesktop,resTablet,resPhone];const resizeRef=useRef(null);const paramsRef=useRef({});const startRef=useRef(null);const renderTarget=RenderTarget.current();const isCanvasEditor=renderTarget!==RenderTarget.preview;const shouldAnimate=!forceStatic&&(preview||!isCanvasEditor);const[inViewport,setInViewport]=useState(!isCanvasEditor);const[tabVisible,setTabVisible]=useState(true);const[reducedMotion,setReducedMotion]=useState(false);const[webglFailed,setWebglFailed]=useState(false);const[canvasReady,setCanvasReady]=useState(false);const[restoreKey,setRestoreKey]=useState(0);// Derived rather than stored: one `visible` flag conflated \"scrolled into\n// view\" with \"tab is focused\", and the visibilitychange handler could only\n// ever turn it off — so a single tab switch froze the canvas for good.\nconst visible=inViewport&&(!pauseWhenHidden||tabVisible);visibleRef.current=visible;reducedMotionRef.current=reducedMotion;// Keep the latest prop values available to the render loop without\n// re-creating the WebGL context every time a slider moves — the loop\n// just reads this ref each frame.\nparamsRef.current={color1:hexToRgb01(color1),color2:hexToRgb01(color2),color3:hexToRgb01(color3),rotation:rotation||0,proportion:clamp(proportion,0,100),scale:clamp(scale,.02,3),speed:clamp(speed,0,100)/100,distortion:clamp(distortion,0,100)/40,swirl:clamp(swirl,0,100)/100,iterations:clamp(Math.round(iterations),1,MAX_OCTAVES),softness:clamp(softness,0,100),offset:offset||0,shapeCode:SHAPE_CODES[String(shape??\"none\").toLowerCase()]??0,shapeSize:clamp(shapeSize,2,200),noiseAmount:clamp(noise?.amount??.15,0,1),fieldRes:clamp(fieldRes,.1,1),fps:clamp(Math.round(fps),6,60)};// Static CSS gradient — the always-present backdrop. It's what shows\n// while WebGL warms up, and what stays visible permanently if WebGL\n// fails or the context is lost.\nconst cssBackdrop=`linear-gradient(${rotation}deg, ${color1} 0%, ${color2} ${clamp(proportion,0,100)}%, ${color3} 100%)`;useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;// The OS setting, or software rendering once a11y.tsx detects it.\nconst onChange=()=>setReducedMotion(prefersReducedMotion());onChange();return onReducedMotionChange(onChange);},[]);useEffect(()=>{if(!shouldAnimate)return;const el=containerRef.current;if(!el||typeof IntersectionObserver===\"undefined\")return;const io=new IntersectionObserver(([entry])=>setInViewport(entry.isIntersecting),{threshold:.01});io.observe(el);const onVisibilityChange=()=>{setTabVisible(document.visibilityState===\"visible\");};document.addEventListener(\"visibilitychange\",onVisibilityChange);return()=>{io.disconnect();document.removeEventListener(\"visibilitychange\",onVisibilityChange);};},[shouldAnimate,pauseWhenHidden]);useEffect(()=>{if(!shouldAnimate){setCanvasReady(false);return;}const container=containerRef.current;const canvas=canvasRef.current;if(!container||!canvas)return;let gl=null;let program=null;let buffer=null;let locs={};let resizeObserver=null;let cancelled=false;firstFrameRef.current=false;elapsedRef.current=0;lastTimeRef.current=null;const onContextLost=e=>{e.preventDefault();console.warn(\"[AnimatedGradientBackground] WebGL context lost — showing fallback gradient until it recovers.\");if(rafRef.current)cancelAnimationFrame(rafRef.current);setWebglFailed(true);setCanvasReady(false);};const onContextRestored=()=>{console.warn(\"[AnimatedGradientBackground] WebGL context restored — rebuilding.\");setWebglFailed(false);setRestoreKey(k=>k+1);};try{gl=canvas.getContext(\"webgl2\",{alpha:false,// No geometry edges exist here — one full-screen triangle — so\n// MSAA only bought a multisampled buffer and a resolve pass.\nantialias:false,powerPreference:\"low-power\",preserveDrawingBuffer:false});}catch(err){gl=null;}if(!gl){console.warn(\"[AnimatedGradientBackground] WebGL2 unavailable — using the CSS gradient fallback.\");setWebglFailed(true);return;}// Decided once per context, before the first resize reads it.\nconst software=isSoftwareRenderer(gl);if(software)canvas.dataset.renderer=\"software\";canvas.addEventListener(\"webglcontextlost\",onContextLost,false);canvas.addEventListener(\"webglcontextrestored\",onContextRestored,false);program=buildProgram(gl);if(!program){setWebglFailed(true);return;}const posLoc=gl.getAttribLocation(program,\"aPos\");buffer=gl.createBuffer();gl.bindBuffer(gl.ARRAY_BUFFER,buffer);// One big triangle covering the whole clip space — cheaper than a\n// quad (two triangles) and just as correct since we only read\n// gl_FragCoord in the fragment shader.\ngl.bufferData(gl.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),gl.STATIC_DRAW);gl.enableVertexAttribArray(posLoc);gl.vertexAttribPointer(posLoc,2,gl.FLOAT,false,0,0);const uniformNames=[\"uResolution\",\"uTime\",\"uColor1\",\"uColor2\",\"uColor3\",\"uRotation\",\"uProportion\",\"uScale\",\"uSpeed\",\"uDistortion\",\"uSwirl\",\"uIterations\",\"uSoftness\",\"uOffset\",\"uShape\",\"uShapeSize\",\"uNoiseAmount\"];for(const name of uniformNames){locs[name]=gl.getUniformLocation(program,name);}// THE TWO-PASS PATH. Two small sheets hold the field at two moments\n// (A = the last snapshot, B = the next); every frame blends them.\n// Anything that fails here simply leaves the single pass in charge.\nlet fieldProg=null;let colourProg=null;let grainProg=null;const fieldTex=[null,null];const fieldFbo=[null,null];let colourTex=null;let colourFbo=null;let fieldLocs={};let colourLocs={};let grainLocs={};let fieldW=0,fieldH=0;let twoPass=false;try{fieldProg=buildProgram(gl,FIELD_SRC);colourProg=buildProgram(gl,COLOUR_SRC);grainProg=buildProgram(gl,GRAIN_SRC);if(fieldProg&&colourProg&&grainProg){for(let i=0;i<2;i++){fieldTex[i]=gl.createTexture();fieldFbo[i]=gl.createFramebuffer();}colourTex=gl.createTexture();colourFbo=gl.createFramebuffer();for(const n of[\"uResolution\",\"uFieldScale\",\"uTime\",\"uRotation\",\"uScale\",\"uSpeed\",\"uDistortion\",\"uSwirl\",\"uIterations\",\"uOffset\"]){fieldLocs[n]=gl.getUniformLocation(fieldProg,n);}for(const n of[\"uFieldSize\",\"uFieldA\",\"uFieldB\",\"uMix\",\"uColor1\",\"uColor2\",\"uColor3\",\"uProportion\",\"uSoftness\"]){colourLocs[n]=gl.getUniformLocation(colourProg,n);}for(const n of[\"uResolution\",\"uColour\",\"uTime\",\"uNoiseAmount\"]){grainLocs[n]=gl.getUniformLocation(grainProg,n);}twoPass=true;}}catch(err){twoPass=false;}// When the two snapshots were taken (in elapsed seconds), and what the\n// field depended on when they were, so an edit forces fresh ones.\nlet keyA=0,keyB=0;let fieldKey=\"\";const sizeFields=(w,h)=>{if(!twoPass||!gl)return;const fs=paramsRef.current.fieldRes??.25;const fw=Math.max(1,Math.ceil(w*fs)),fh=Math.max(1,Math.ceil(h*fs));if(fw===fieldW&&fh===fieldH)return;fieldW=fw;fieldH=fh;for(let i=0;i<2;i++){gl.bindTexture(gl.TEXTURE_2D,fieldTex[i]);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA8,fw,fh,0,gl.RGBA,gl.UNSIGNED_BYTE,null);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.NEAREST);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.NEAREST);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE);gl.bindFramebuffer(gl.FRAMEBUFFER,fieldFbo[i]);gl.framebufferTexture2D(gl.FRAMEBUFFER,gl.COLOR_ATTACHMENT0,gl.TEXTURE_2D,fieldTex[i],0);if(gl.checkFramebufferStatus(gl.FRAMEBUFFER)!==gl.FRAMEBUFFER_COMPLETE)twoPass=false;}gl.bindTexture(gl.TEXTURE_2D,colourTex);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA8,fw,fh,0,gl.RGBA,gl.UNSIGNED_BYTE,null);// The coloured sheet IS smoothly filtered: it is a plain image.\ngl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.LINEAR);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE);gl.bindFramebuffer(gl.FRAMEBUFFER,colourFbo);gl.framebufferTexture2D(gl.FRAMEBUFFER,gl.COLOR_ATTACHMENT0,gl.TEXTURE_2D,colourTex,0);if(gl.checkFramebufferStatus(gl.FRAMEBUFFER)!==gl.FRAMEBUFFER_COMPLETE)twoPass=false;gl.bindFramebuffer(gl.FRAMEBUFFER,null);gl.bindTexture(gl.TEXTURE_2D,null);fieldKey=\"\"// new sheets are empty: take both snapshots again\n;};const resize=()=>{if(!gl||!canvas)return;const rect=container.getBoundingClientRect();const vw=window.innerWidth;const[capD,capT,capP]=capsRef.current;const setCap=vw>=DESKTOP_MIN?capD:vw>=TABLET_MIN?capT:capP;const cap=software?Math.min(setCap,SOFTWARE_RES):setCap;const dpr=Math.min(window.devicePixelRatio||1,Math.max(RES_FLOOR,cap));const w=Math.max(1,Math.round(rect.width*dpr));const h=Math.max(1,Math.round(rect.height*dpr));if(canvas.width!==w||canvas.height!==h){canvas.width=w;canvas.height=h;gl.viewport(0,0,w,h);resolutionRef.current=[w,h];sizeFields(w,h);// Resizing blanks the drawing buffer. When the loop is parked\n// (Reduce Motion drew its single frame and stopped) nothing\n// else would repaint it, so ask for one frame. startRef is\n// still null during the initial synchronous call below.\nif(rafRef.current==null)startRef.current?.();}};resize();resizeRef.current=resize;// The layer can keep its size while the window crosses a breakpoint,\n// so the window is watched as well as the layer.\nwindow.addEventListener(\"resize\",resize);if(typeof ResizeObserver!==\"undefined\"){resizeObserver=new ResizeObserver(resize);resizeObserver.observe(container);}// Non-null locals so the frame path doesn't re-check every call.\nconst glCtx=gl;const prog=program;// One field snapshot at elapsed time t into sheet i.\nconst renderField=(i,t)=>{const p=paramsRef.current;const[w,h]=resolutionRef.current;glCtx.bindFramebuffer(glCtx.FRAMEBUFFER,fieldFbo[i]);glCtx.viewport(0,0,fieldW,fieldH);glCtx.useProgram(fieldProg);glCtx.uniform2f(fieldLocs.uResolution,w,h);glCtx.uniform2f(fieldLocs.uFieldScale,fieldW/w,fieldH/h);glCtx.uniform1f(fieldLocs.uTime,t);glCtx.uniform1f(fieldLocs.uRotation,p.rotation);glCtx.uniform1f(fieldLocs.uScale,p.scale);glCtx.uniform1f(fieldLocs.uSpeed,p.speed);glCtx.uniform1f(fieldLocs.uDistortion,p.distortion);glCtx.uniform1f(fieldLocs.uSwirl,p.swirl);glCtx.uniform1i(fieldLocs.uIterations,p.iterations);glCtx.uniform1f(fieldLocs.uOffset,p.offset);glCtx.drawArrays(glCtx.TRIANGLES,0,3);glCtx.bindFramebuffer(glCtx.FRAMEBUFFER,null);glCtx.viewport(0,0,w,h);};// How far apart the snapshots are: the field is blended linearly\n// between them, so they must be close enough that it barely moves in\n// between. It advances by Speed x 0.15 noise units a second; spacing\n// them 0.03 units apart keeps the blend invisible. At the site's\n// Speed (0.01) that is the 2 s ceiling; at the default 0.3, ~0.7 s.\nconst keyGap=speed=>Math.min(2,Math.max(1/15,.03/Math.max(1e-6,speed*.15)));const renderTwoPass=()=>{const p=paramsRef.current;const t=elapsedRef.current;const key=[p.rotation,p.scale,p.speed,p.distortion,p.swirl,p.iterations,p.offset,fieldW,fieldH].join(\",\");const gap=keyGap(p.speed);if(key!==fieldKey){fieldKey=key;keyA=t;keyB=t+gap;renderField(0,keyA);renderField(1,keyB);}else if(t>=keyB){// Past the second snapshot: it becomes the first, and the\n// next one is taken. A long stall jumps straight to now.\nconst tmpT=fieldTex[0];fieldTex[0]=fieldTex[1];fieldTex[1]=tmpT;const tmpF=fieldFbo[0];fieldFbo[0]=fieldFbo[1];fieldFbo[1]=tmpF;keyA=t-keyB>gap?t:keyB;if(keyA===t)renderField(0,keyA);keyB=keyA+gap;renderField(1,keyB);}const[w,h]=resolutionRef.current;// Colour, on the small sheet.\nglCtx.bindFramebuffer(glCtx.FRAMEBUFFER,colourFbo);glCtx.viewport(0,0,fieldW,fieldH);glCtx.useProgram(colourProg);glCtx.activeTexture(glCtx.TEXTURE0);glCtx.bindTexture(glCtx.TEXTURE_2D,fieldTex[0]);glCtx.activeTexture(glCtx.TEXTURE1);glCtx.bindTexture(glCtx.TEXTURE_2D,fieldTex[1]);glCtx.uniform1i(colourLocs.uFieldA,0);glCtx.uniform1i(colourLocs.uFieldB,1);glCtx.uniform1f(colourLocs.uMix,Math.min(1,Math.max(0,(t-keyA)/(keyB-keyA))));glCtx.uniform2i(colourLocs.uFieldSize,fieldW,fieldH);glCtx.uniform3f(colourLocs.uColor1,p.color1[0],p.color1[1],p.color1[2]);glCtx.uniform3f(colourLocs.uColor2,p.color2[0],p.color2[1],p.color2[2]);glCtx.uniform3f(colourLocs.uColor3,p.color3[0],p.color3[1],p.color3[2]);glCtx.uniform1f(colourLocs.uProportion,p.proportion);glCtx.uniform1f(colourLocs.uSoftness,p.softness);glCtx.drawArrays(glCtx.TRIANGLES,0,3);// Grain, at full size.\nglCtx.bindFramebuffer(glCtx.FRAMEBUFFER,null);glCtx.viewport(0,0,w,h);glCtx.useProgram(grainProg);glCtx.activeTexture(glCtx.TEXTURE0);glCtx.bindTexture(glCtx.TEXTURE_2D,colourTex);glCtx.uniform1i(grainLocs.uColour,0);glCtx.uniform2f(grainLocs.uResolution,w,h);glCtx.uniform1f(grainLocs.uTime,t);glCtx.uniform1f(grainLocs.uNoiseAmount,p.noiseAmount);glCtx.drawArrays(glCtx.TRIANGLES,0,3);if(!firstFrameRef.current){firstFrameRef.current=true;setCanvasReady(true);}};const renderFrame=()=>{const p=paramsRef.current;if(twoPass&&p.shapeCode===0){// The sheets follow Field resolution as well as the canvas.\nsizeFields(resolutionRef.current[0],resolutionRef.current[1]);if(twoPass)return renderTwoPass();}glCtx.useProgram(prog);glCtx.uniform2f(locs.uResolution,resolutionRef.current[0],resolutionRef.current[1]);glCtx.uniform1f(locs.uTime,elapsedRef.current);glCtx.uniform3f(locs.uColor1,p.color1[0],p.color1[1],p.color1[2]);glCtx.uniform3f(locs.uColor2,p.color2[0],p.color2[1],p.color2[2]);glCtx.uniform3f(locs.uColor3,p.color3[0],p.color3[1],p.color3[2]);glCtx.uniform1f(locs.uRotation,p.rotation);glCtx.uniform1f(locs.uProportion,p.proportion);glCtx.uniform1f(locs.uScale,p.scale);glCtx.uniform1f(locs.uSpeed,p.speed);glCtx.uniform1f(locs.uDistortion,p.distortion);glCtx.uniform1f(locs.uSwirl,p.swirl);glCtx.uniform1i(locs.uIterations,p.iterations);glCtx.uniform1f(locs.uSoftness,p.softness);glCtx.uniform1f(locs.uOffset,p.offset);glCtx.uniform1i(locs.uShape,p.shapeCode);glCtx.uniform1f(locs.uShapeSize,p.shapeSize);glCtx.uniform1f(locs.uNoiseAmount,p.noiseAmount);glCtx.drawArrays(glCtx.TRIANGLES,0,3);if(!firstFrameRef.current){firstFrameRef.current=true;setCanvasReady(true);}};let lastDrawAt=-Infinity;const park=()=>{rafRef.current=null;lastTimeRef.current=null;};const draw=now=>{if(cancelled)return;// Hidden (off-screen, backgrounded tab, or a display:none\n// breakpoint replica that's still mounted): stop the loop instead\n// of spinning a no-op callback 60 times a second in every mounted\n// instance. The effect below restarts it when that changes.\nif(!visibleRef.current){park();return;}// Reduce Motion: paint the frame once and stop. This used to keep\n// re-rendering a byte-identical image every frame forever.\nif(reducedMotionRef.current){park();renderFrame();return;}rafRef.current=requestAnimationFrame(draw);const setFps=paramsRef.current.fps||TARGET_FPS;const fpsNow=software?Math.min(setFps,SOFTWARE_FPS):setFps;if(now-lastDrawAt<1e3/fpsNow-1)return;lastDrawAt=now;if(lastTimeRef.current==null)lastTimeRef.current=now;const dt=(now-lastTimeRef.current)/1e3;lastTimeRef.current=now;elapsedRef.current+=dt;renderFrame();};const start=()=>{if(cancelled||rafRef.current!=null)return;lastTimeRef.current=null;lastDrawAt=-Infinity;rafRef.current=requestAnimationFrame(draw);};startRef.current=start;start();return()=>{cancelled=true;startRef.current=null;if(rafRef.current)cancelAnimationFrame(rafRef.current);rafRef.current=null;if(resizeObserver)resizeObserver.disconnect();window.removeEventListener(\"resize\",resize);resizeRef.current=null;canvas.removeEventListener(\"webglcontextlost\",onContextLost);canvas.removeEventListener(\"webglcontextrestored\",onContextRestored);if(gl){if(buffer)gl.deleteBuffer(buffer);if(program)gl.deleteProgram(program);if(fieldProg)gl.deleteProgram(fieldProg);if(colourProg)gl.deleteProgram(colourProg);if(grainProg)gl.deleteProgram(grainProg);if(colourTex)gl.deleteTexture(colourTex);if(colourFbo)gl.deleteFramebuffer(colourFbo);for(let i=0;i<2;i++){if(fieldTex[i])gl.deleteTexture(fieldTex[i]);if(fieldFbo[i])gl.deleteFramebuffer(fieldFbo[i]);}}};},[shouldAnimate,restoreKey]);// `draw` parks itself when hidden rather than idling, so something has to\n// kick it back off. Reduce Motion is included because leaving it repaints\n// one fresh frame.\nuseEffect(()=>{if(!shouldAnimate||!visible)return;startRef.current?.();},[shouldAnimate,visible,reducedMotion,restoreKey]);// A changed cap takes effect at once, without rebuilding the context.\nuseEffect(()=>{resizeRef.current?.();},[resDesktop,resTablet,resPhone]);const showCanvas=shouldAnimate&&!webglFailed;return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",borderRadius:radius,background:cssBackdrop},children:[(webglFailed||forceStatic)&&fallbackImage&&/*#__PURE__*/_jsx(\"img\",{src:fallbackImage,alt:\"\",\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\"}}),showCanvas&&/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",opacity:canvasReady?1:0,transition:\"opacity 0.4s ease-out\"}})]});}addPropertyControls(AnimatedGradientBackground,{preview:{type:ControlType.Boolean,title:\"Preview\",defaultValue:false,description:\"Animate inside the Framer editor. Leave off while designing — it always animates on the published site.\"},pauseWhenHidden:{type:ControlType.Boolean,title:\"Pause When Hidden\",defaultValue:true,description:\"Freeze the animation clock when the browser tab is backgrounded. Turn off for a full-page background so it doesn't sit frozen on a stale frame when the visitor switches back.\"},color1:{type:ControlType.Color,title:\"Color 1\",defaultValue:\"#1B1035\"},color2:{type:ControlType.Color,title:\"Color 2\",defaultValue:\"#7B2FF7\"},color3:{type:ControlType.Color,title:\"Color 3\",defaultValue:\"#F72585\"},noise:{type:ControlType.Object,title:\"Noise\",controls:{amount:{type:ControlType.Number,title:\"Amount\",min:0,max:1,step:.05,defaultValue:.15}}},rotation:{type:ControlType.Number,title:\"Rotation\",min:0,max:360,step:1,unit:\"\\xb0\",defaultValue:0},proportion:{type:ControlType.Number,title:\"Proportion\",min:0,max:100,step:1,defaultValue:50},scale:{type:ControlType.Number,title:\"Scale\",min:.02,max:3,step:.01,defaultValue:.6},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:100,step:1,defaultValue:30},distortion:{type:ControlType.Number,title:\"Distortion\",min:0,max:100,step:1,defaultValue:40},swirl:{type:ControlType.Number,title:\"Swirl\",min:0,max:100,step:1,defaultValue:10},iterations:{type:ControlType.Number,title:\"Iterations\",min:1,max:MAX_OCTAVES,step:1,defaultValue:5,description:`Capped at ${MAX_OCTAVES} internally to keep it smooth on lower-power devices.`},softness:{type:ControlType.Number,title:\"Softness\",min:0,max:100,step:1,defaultValue:50},offset:{type:ControlType.Number,title:\"Offset\",min:0,max:100,step:1,defaultValue:10},shape:{type:ControlType.Enum,title:\"Shape\",options:[\"none\",\"checks\",\"dots\",\"circles\",\"stripes\"],optionTitles:[\"None\",\"Checks\",\"Dots\",\"Circles\",\"Stripes\"],defaultValue:\"none\"},shapeSize:{type:ControlType.Number,title:\"Shape Size\",min:2,max:200,step:1,defaultValue:10,hidden:props=>props.shape===\"none\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,step:1,defaultValue:0},fallbackImage:{type:ControlType.Image,title:\"Fallback Image\",description:\"Shown when WebGL fails to initialize, or always when Force Static is on. Leave empty to use the CSS gradient fallback instead.\"},resDesktop:{type:ControlType.Number,title:\"Resolution desktop\",defaultValue:1,min:.25,max:3,step:.25,description:\"The most device pixels drawn per CSS pixel, for windows 1150 wide and up. A screen never draws more than it has. The gradient is soft enough to be drawn coarse; what changes is the grain, which gets chunkier as this goes down.\"},resTablet:{type:ControlType.Number,title:\"Resolution tablet\",defaultValue:1,min:.25,max:3,step:.25,description:\"The same, for windows from 810 to 1149 wide.\"},resPhone:{type:ControlType.Number,title:\"Resolution phone\",defaultValue:1,min:.25,max:3,step:.25,description:\"The same, below 810.\"},fieldRes:{type:ControlType.Number,title:\"Field resolution\",defaultValue:.25,min:.1,max:1,step:.05,description:\"The liquid field is drawn on a small offscreen sheet at this fraction of the canvas, a few times a second, and blended every frame; the grain stays full resolution. It is soft, so a quarter loses nothing. Raise it only if the shapes look blocky at a large Scale.\"},fps:{type:ControlType.Number,title:\"Frame rate\",defaultValue:24,min:6,max:60,step:1,description:\"How often the canvas is redrawn. Only the grain really needs it. Every redraw also repaints anything layered over this with glass/blur, so this is the main lever on page CPU.\"},forceStatic:{type:ControlType.Boolean,title:\"Force Static\",defaultValue:false,description:\"Always show the Fallback Image instead of running the WebGL animation — skips the shader entirely (no GPU cost). Useful on mobile.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimatedGradientBackground\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,uQAAsX,SAASiB,EAAM,EAAE,EAAI,EAAI,CAAoD,OAAhD,OAAOC,GAAI,UAAU,OAAO,MAAMA,CAAC,EAASC,EAAW,KAAK,IAAIC,EAAI,KAAK,IAAID,EAAID,CAAC,CAAC,CAAE,CAAC,SAASG,EAAW,EAAM,CAAC,GAAG,CAACC,EAAM,MAAM,CAAC,EAAE,EAAE,CAAC,EAAE,IAAM,EAAEA,EAAM,KAAK,EAAQC,EAAE,EAAE,MAAM,qDAAqD,EAAE,GAAGA,EAAE,MAAM,CAAC,KAAK,MAAM,CAACA,EAAE,EAAE,EAAE,IAAI,KAAK,MAAM,CAACA,EAAE,EAAE,EAAE,IAAI,KAAK,MAAM,CAACA,EAAE,EAAE,EAAE,GAAG,EAAE,IAAIC,EAAM,EAAE,QAAQ,IAAI,EAAE,EAAKA,EAAM,SAAS,IAAE,EAAMA,EAAM,MAAM,EAAE,CAAC,CAAC,IAAI,GAAGC,EAAEA,CAAC,CAAC,CAAC,KAAK,EAAE,GAAE,IAAMC,EAAI,SAASF,EAAM,EAAE,EAAqC,OAAhC,OAAO,MAAME,CAAG,EAAQ,CAAC,EAAE,EAAE,CAAC,EAAQ,EAAEA,GAAK,GAAG,KAAK,KAAKA,GAAK,EAAE,KAAK,KAAKA,EAAI,KAAK,GAAG,CAAE,CA0BjxB,SAASC,GAAmB,EAAG,CAAC,GAAG,CAE7K,IAAMC,EAAIC,EAAG,aAAa,2BAA2B,EAAQC,EAAK,OAAOF,GAAKC,EAAG,aAAaD,EAAI,uBAAuB,GAAGC,EAAG,aAAaA,EAAG,QAAQ,GAAG,EAAE,E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