{"version":3,"file":"shared-lib.s75IkDCc.mjs","names":["useRef","vertexShader","fragmentShader","gl"],"sources":["https:/framerusercontent.com/modules/pDVaOhPNTsF3M6OAec36/SGwp7XwnOnjXQNPDlHnH/BurnTransition_prod.js","https:/framerusercontent.com/modules/pQvcjuC4UyWM9POBcaVu/0goMiSBrgxyhAD1vMWtI/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// CSS variable token and color parsing (hex/rgba/var())\nconst cssVariableRegex=/var\\s*\\(\\s*(--[\\w-]+)(?:\\s*,\\s*((?:[^)(]+|\\((?:[^)(]+|\\([^)(]*\\))*\\))*))?\\s*\\)/;function extractDefaultValue(cssVar){if(!cssVar||!cssVar.startsWith(\"var(\"))return cssVar;const match=cssVariableRegex.exec(cssVar);if(!match)return cssVar;const fallback=(match[2]||\"\").trim();if(fallback.startsWith(\"var(\"))return extractDefaultValue(fallback);return fallback||cssVar;}function resolveTokenColor(input){if(typeof input!==\"string\")return input;if(!input.startsWith(\"var(\"))return input;return extractDefaultValue(input);}function parseColorToRgba(input){if(!input||input.trim()===\"\")return{r:0,g:0,b:0,a:1};const str=input.trim();// Handle rgba() format\nconst rgbaMatch=str.match(/rgba?\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*(?:,\\s*([\\d.]+)\\s*)?\\)/i);if(rgbaMatch){const r=Math.max(0,Math.min(255,parseFloat(rgbaMatch[1])))/255;const g=Math.max(0,Math.min(255,parseFloat(rgbaMatch[2])))/255;const b=Math.max(0,Math.min(255,parseFloat(rgbaMatch[3])))/255;const a=rgbaMatch[4]!==undefined?Math.max(0,Math.min(1,parseFloat(rgbaMatch[4]))):1;return{r,g,b,a};}// Handle hex formats\nconst hex=str.replace(/^#/,\"\");if(hex.length===8){return{r:parseInt(hex.slice(0,2),16)/255,g:parseInt(hex.slice(2,4),16)/255,b:parseInt(hex.slice(4,6),16)/255,a:parseInt(hex.slice(6,8),16)/255};}if(hex.length===6){return{r:parseInt(hex.slice(0,2),16)/255,g:parseInt(hex.slice(2,4),16)/255,b:parseInt(hex.slice(4,6),16)/255,a:1};}if(hex.length===4){return{r:parseInt(hex[0]+hex[0],16)/255,g:parseInt(hex[1]+hex[1],16)/255,b:parseInt(hex[2]+hex[2],16)/255,a:parseInt(hex[3]+hex[3],16)/255};}if(hex.length===3){return{r:parseInt(hex[0]+hex[0],16)/255,g:parseInt(hex[1]+hex[1],16)/255,b:parseInt(hex[2]+hex[2],16)/255,a:1};}return{r:0,g:0,b:0,a:1};}// Linear mapping function for normalizing UI values to internal values\nfunction mapLinear(value,inMin,inMax,outMin,outMax){if(inMax===inMin)return outMin;const t=(value-inMin)/(inMax-inMin);return outMin+t*(outMax-outMin);}// Mapping functions for UI (0-1) to internal values\n// Noise Scale: UI 0-1 → Internal 1-20\nfunction mapNoiseScale(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,1,20);}// Noise Intensity: UI 0-1 → Internal 0-0.5\nfunction mapNoiseIntensity(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,0,.5);}// Scroll Sensitivity: UI 0-1 → Internal 0-0.01\nfunction mapScrollSensitivity(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,0,.01);}// Base Animation Speed: UI 0-1 → Internal 0-0.1\nfunction mapBaseAnimationSpeed(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,0,.1);}// Edge Softness: UI 0-1 → Internal 0.01-0.2 (transition zone width)\nfunction mapEdgeSoftness(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,.01,.2);}// Grain Scale: UI 0-1 → Internal 50-500 (noise frequency for grain)\nfunction mapGrainScale(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,50,500);}// Bloom Radius: UI 0-1 → Internal 0-0.3 (blur radius for bloom effect)\nfunction mapBloomRadius(ui){return mapLinear(Math.max(0,Math.min(1,ui)),0,1,0,.3);}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n * @framerDisableUnlink\n */export default function BurnTransition({preview=false,color=\"#ff0000\",transitionColor,noiseScale=.37,noiseIntensity=.3,scrollSensitivity=.01,baseAnimationSpeed=.1,edgeSoftness=.4,bloomIntensity=.5,bloomRadius=.5,parallaxEnabled=false,style,movement={horizontal:\"center\",vertical:.5}}){// Map UI values to internal values\nconst internalNoiseScale=mapNoiseScale(noiseScale);const internalNoiseIntensity=mapNoiseIntensity(noiseIntensity);const internalScrollSensitivity=mapScrollSensitivity(scrollSensitivity);const internalBaseAnimationSpeed=mapBaseAnimationSpeed(baseAnimationSpeed);const internalEdgeSoftness=mapEdgeSoftness(edgeSoftness);const internalGrainScale=0;const internalBloomRadius=mapBloomRadius(bloomRadius);// Map horizontal movement enum to numeric value: left = 1, right = -1, center = 0\nconst horizontalMovementValue=movement?.horizontal===\"left\"?1:movement?.horizontal===\"right\"?-1:0;// Resolve color token and parse to RGBA\nconst resolvedColor=resolveTokenColor(color);const colorRgba=parseColorToRgba(resolvedColor);// Resolve transition color (defaults to a lighter version of base color if not provided)\nconst resolvedTransitionColor=transitionColor?resolveTokenColor(transitionColor):resolvedColor;const transitionColorRgba=parseColorToRgba(resolvedTransitionColor);const canvasRef=useRef(null);const containerRef=useRef(null);const glRef=useRef(null);const programRef=useRef(null);const bufferRef=useRef(null);const colorRef=useRef([colorRgba.r,colorRgba.g,colorRgba.b]);const transitionColorRef=useRef([transitionColorRgba.r,transitionColorRgba.g,transitionColorRgba.b]);const noiseScaleRef=useRef(internalNoiseScale);const noiseIntensityRef=useRef(internalNoiseIntensity);const scrollSensitivityRef=useRef(internalScrollSensitivity);const baseAnimationSpeedRef=useRef(internalBaseAnimationSpeed);const edgeSoftnessRef=useRef(internalEdgeSoftness);const grainScaleRef=useRef(internalGrainScale);const movementHorizontalRef=useRef(horizontalMovementValue);const movementVerticalRef=useRef(movement?.vertical??.5);const scrollOffsetRef=useRef(0);const lastScrollYRef=useRef(0);const lastScrollTimeRef=useRef(0);const scrollVelocityRef=useRef(0);const animationFrameRef=useRef(null);const baseTimeRef=useRef(0);const startTimeRef=useRef(0);const previewRef=useRef(preview);const parallaxEnabledRef=useRef(parallaxEnabled);// Check canvas mode ONCE at component mount and cache it\nconst isCanvasRef=useRef(null);if(isCanvasRef.current===null){isCanvasRef.current=RenderTarget.current()===RenderTarget.canvas;}const isCanvas=isCanvasRef.current;// Hardcode parallax values: start = 0% (bottom), end = 100% (top)\nconst parallaxStartRef=useRef(0);const parallaxEndRef=useRef(100);const parallaxOffsetRef=useRef(0);const canvasSizeRef=useRef({width:0,height:0});// Bloom refs\nconst bloomIntensityRef=useRef(bloomIntensity);const bloomRadiusRef=useRef(internalBloomRadius);const extractProgramRef=useRef(null);const blurProgramRef=useRef(null);const compositeProgramRef=useRef(null);const framebufferRef=useRef(null);const sceneTextureRef=useRef(null);const extractFramebufferRef=useRef(null);const extractTextureRef=useRef(null);const blurFramebuffer1Ref=useRef(null);const blurTexture1Ref=useRef(null);const blurFramebuffer2Ref=useRef(null);const blurTexture2Ref=useRef(null);const bloomDownsampleRef=useRef(2)// Render bloom at half resolution for performance\n;// Helper function to create shader\nconst createShader=(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.error(\"Shader compilation error:\",gl.getShaderInfoLog(shader));gl.deleteShader(shader);return null;}return shader;};// Helper function to create program\nconst createProgram=(gl,vertexShader,fragmentShader)=>{const program=gl.createProgram();if(!program)return null;gl.attachShader(program,vertexShader);gl.attachShader(program,fragmentShader);gl.linkProgram(program);if(!gl.getProgramParameter(program,gl.LINK_STATUS)){console.error(\"Program linking error:\",gl.getProgramInfoLog(program));gl.deleteProgram(program);return null;}return program;};// Helper to create a framebuffer with texture\nconst createFramebufferTexture=(gl,width,height)=>{const texture=gl.createTexture();if(!texture)return{framebuffer:null,texture:null};gl.bindTexture(gl.TEXTURE_2D,texture);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,width,height,0,gl.RGBA,gl.UNSIGNED_BYTE,null);gl.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);const framebuffer=gl.createFramebuffer();if(!framebuffer)return{framebuffer:null,texture};gl.bindFramebuffer(gl.FRAMEBUFFER,framebuffer);gl.framebufferTexture2D(gl.FRAMEBUFFER,gl.COLOR_ATTACHMENT0,gl.TEXTURE_2D,texture,0);gl.bindFramebuffer(gl.FRAMEBUFFER,null);return{framebuffer,texture};};// Resize canvas and framebuffers\nconst resizeCanvas=()=>{const canvas=canvasRef.current;const container=containerRef.current;const gl=glRef.current;if(!canvas||!container)return;const rect=container.getBoundingClientRect();const dpr=Math.min(window.devicePixelRatio||1,2);const newWidth=Math.floor(rect.width*dpr);const newHeight=Math.floor(rect.height*dpr);// Only resize if dimensions changed\nif(canvas.width===newWidth&&canvas.height===newHeight)return;canvas.width=newWidth;canvas.height=newHeight;canvasSizeRef.current={width:newWidth,height:newHeight};if(gl){gl.viewport(0,0,canvas.width,canvas.height);const downsample=bloomDownsampleRef.current;const bloomWidth=Math.floor(newWidth/downsample);const bloomHeight=Math.floor(newHeight/downsample);// Resize framebuffer textures\nif(sceneTextureRef.current){gl.bindTexture(gl.TEXTURE_2D,sceneTextureRef.current);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,newWidth,newHeight,0,gl.RGBA,gl.UNSIGNED_BYTE,null);}// Bloom textures at half resolution for performance\nif(extractTextureRef.current){gl.bindTexture(gl.TEXTURE_2D,extractTextureRef.current);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,bloomWidth,bloomHeight,0,gl.RGBA,gl.UNSIGNED_BYTE,null);}if(blurTexture1Ref.current){gl.bindTexture(gl.TEXTURE_2D,blurTexture1Ref.current);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,bloomWidth,bloomHeight,0,gl.RGBA,gl.UNSIGNED_BYTE,null);}if(blurTexture2Ref.current){gl.bindTexture(gl.TEXTURE_2D,blurTexture2Ref.current);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,bloomWidth,bloomHeight,0,gl.RGBA,gl.UNSIGNED_BYTE,null);}gl.bindTexture(gl.TEXTURE_2D,null);}};// Render the main scene to a target (framebuffer or screen)\nconst renderScene=targetFramebuffer=>{const gl=glRef.current;const program=programRef.current;const buffer=bufferRef.current;if(!gl||!program||!buffer)return;gl.bindFramebuffer(gl.FRAMEBUFFER,targetFramebuffer);// Scene always renders at full resolution\ngl.viewport(0,0,canvasSizeRef.current.width,canvasSizeRef.current.height);// Use program\ngl.useProgram(program);// Bind buffer\ngl.bindBuffer(gl.ARRAY_BUFFER,buffer);// Set up position attribute\nconst positionLocation=gl.getAttribLocation(program,\"a_position\");gl.enableVertexAttribArray(positionLocation);gl.vertexAttribPointer(positionLocation,2,gl.FLOAT,false,0,0);// Set color uniform\nconst colorLocation=gl.getUniformLocation(program,\"u_color\");const[r,g,b]=colorRef.current;gl.uniform3f(colorLocation,r,g,b);// Set transition color uniform\nconst transitionColorLocation=gl.getUniformLocation(program,\"u_transition_color\");if(transitionColorLocation){const[tr,tg,tb]=transitionColorRef.current;gl.uniform3f(transitionColorLocation,tr,tg,tb);}// Set noise uniforms\nconst noiseScaleLocation=gl.getUniformLocation(program,\"u_noise_scale\");if(noiseScaleLocation){gl.uniform1f(noiseScaleLocation,noiseScaleRef.current);}const noiseIntensityLocation=gl.getUniformLocation(program,\"u_noise_intensity\");if(noiseIntensityLocation){gl.uniform1f(noiseIntensityLocation,noiseIntensityRef.current);}// Update base time (linear, constant speed animation)\n// In canvas mode with preview off, freeze time (set speed to 0)\nconst currentTime=performance.now();if(startTimeRef.current===0){startTimeRef.current=currentTime;}// Only update time if not in canvas mode with preview off\nconst shouldAnimate=!(isCanvas&&!previewRef.current);if(shouldAnimate){const elapsedSeconds=(currentTime-startTimeRef.current)/1e3;baseTimeRef.current=elapsedSeconds*baseAnimationSpeedRef.current;}// If preview is off in canvas mode, baseTimeRef stays frozen at its current value\n// Set scroll offset uniform for animation (base time + scroll offset)\nconst scrollOffsetLocation=gl.getUniformLocation(program,\"u_scroll_offset\");if(scrollOffsetLocation){gl.uniform1f(scrollOffsetLocation,baseTimeRef.current+scrollOffsetRef.current);}// Set edge softness uniform\nconst edgeSoftnessLocation=gl.getUniformLocation(program,\"u_edge_softness\");if(edgeSoftnessLocation){gl.uniform1f(edgeSoftnessLocation,edgeSoftnessRef.current);}// Set grain scale uniform\nconst grainScaleLocation=gl.getUniformLocation(program,\"u_grain_scale\");if(grainScaleLocation){gl.uniform1f(grainScaleLocation,grainScaleRef.current);}// Set movement uniforms\nconst movementHorizontalLocation=gl.getUniformLocation(program,\"u_movement_horizontal\");if(movementHorizontalLocation){gl.uniform1f(movementHorizontalLocation,movementHorizontalRef.current);}const movementVerticalLocation=gl.getUniformLocation(program,\"u_movement_vertical\");if(movementVerticalLocation){gl.uniform1f(movementVerticalLocation,movementVerticalRef.current);}// Set parallax offset uniform\nconst parallaxOffsetLocation=gl.getUniformLocation(program,\"u_parallax_offset\");if(parallaxOffsetLocation){gl.uniform1f(parallaxOffsetLocation,parallaxOffsetRef.current);}// Set aspect ratio uniform for consistent noise scaling\nconst aspectRatioLocation=gl.getUniformLocation(program,\"u_aspect_ratio\");if(aspectRatioLocation){const width=canvasSizeRef.current.width;const height=canvasSizeRef.current.height;const aspectRatio=height>0?width/height:1;gl.uniform1f(aspectRatioLocation,aspectRatio);}// Clear with transparent background\ngl.clearColor(0,0,0,0);gl.clear(gl.COLOR_BUFFER_BIT);// Enable blending for transparency\ngl.enable(gl.BLEND);gl.blendFunc(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA);// Draw\ngl.drawArrays(gl.TRIANGLE_STRIP,0,4);};// Extract pass - extracts only transition color pixels for bloom\nconst renderExtract=(sourceTexture,targetFramebuffer)=>{const gl=glRef.current;const extractProgram=extractProgramRef.current;const buffer=bufferRef.current;if(!gl||!extractProgram||!buffer)return;gl.bindFramebuffer(gl.FRAMEBUFFER,targetFramebuffer);// Use downsampled resolution for bloom for better performance\nconst downsample=bloomDownsampleRef.current;const bloomWidth=Math.floor(canvasSizeRef.current.width/downsample);const bloomHeight=Math.floor(canvasSizeRef.current.height/downsample);gl.viewport(0,0,bloomWidth,bloomHeight);gl.useProgram(extractProgram);gl.bindBuffer(gl.ARRAY_BUFFER,buffer);const positionLocation=gl.getAttribLocation(extractProgram,\"a_position\");gl.enableVertexAttribArray(positionLocation);gl.vertexAttribPointer(positionLocation,2,gl.FLOAT,false,0,0);// Bind source texture\ngl.activeTexture(gl.TEXTURE0);gl.bindTexture(gl.TEXTURE_2D,sourceTexture);const textureLocation=gl.getUniformLocation(extractProgram,\"u_texture\");gl.uniform1i(textureLocation,0);// Set transition color\nconst transitionColorLocation=gl.getUniformLocation(extractProgram,\"u_transition_color\");if(transitionColorLocation){const[tr,tg,tb]=transitionColorRef.current;gl.uniform3f(transitionColorLocation,tr,tg,tb);}// Set base color (to exclude from bloom)\nconst baseColorLocation=gl.getUniformLocation(extractProgram,\"u_base_color\");if(baseColorLocation){const[r,g,b]=colorRef.current;gl.uniform3f(baseColorLocation,r,g,b);}gl.clearColor(0,0,0,0);gl.clear(gl.COLOR_BUFFER_BIT);gl.disable(gl.BLEND);gl.drawArrays(gl.TRIANGLE_STRIP,0,4);};// Blur pass\nconst renderBlur=(sourceTexture,targetFramebuffer,direction)=>{const gl=glRef.current;const blurProgram=blurProgramRef.current;const buffer=bufferRef.current;if(!gl||!blurProgram||!buffer)return;gl.bindFramebuffer(gl.FRAMEBUFFER,targetFramebuffer);// Use downsampled resolution for bloom for better performance\nconst downsample=bloomDownsampleRef.current;const bloomWidth=Math.floor(canvasSizeRef.current.width/downsample);const bloomHeight=Math.floor(canvasSizeRef.current.height/downsample);gl.viewport(0,0,bloomWidth,bloomHeight);gl.useProgram(blurProgram);gl.bindBuffer(gl.ARRAY_BUFFER,buffer);const positionLocation=gl.getAttribLocation(blurProgram,\"a_position\");gl.enableVertexAttribArray(positionLocation);gl.vertexAttribPointer(positionLocation,2,gl.FLOAT,false,0,0);// Bind source texture\ngl.activeTexture(gl.TEXTURE0);gl.bindTexture(gl.TEXTURE_2D,sourceTexture);const textureLocation=gl.getUniformLocation(blurProgram,\"u_texture\");gl.uniform1i(textureLocation,0);// Set direction\nconst directionLocation=gl.getUniformLocation(blurProgram,\"u_direction\");gl.uniform2f(directionLocation,direction[0],direction[1]);// Set resolution (use downsampled resolution for bloom)\nconst resolutionLocation=gl.getUniformLocation(blurProgram,\"u_resolution\");gl.uniform2f(resolutionLocation,bloomWidth,bloomHeight);// Set radius\nconst radiusLocation=gl.getUniformLocation(blurProgram,\"u_radius\");gl.uniform1f(radiusLocation,bloomRadiusRef.current);gl.clearColor(0,0,0,0);gl.clear(gl.COLOR_BUFFER_BIT);gl.disable(gl.BLEND);gl.drawArrays(gl.TRIANGLE_STRIP,0,4);};// Composite pass - combine scene with bloom\nconst renderComposite=(sceneTexture,bloomTexture)=>{const gl=glRef.current;const compositeProgram=compositeProgramRef.current;const buffer=bufferRef.current;if(!gl||!compositeProgram||!buffer)return;gl.bindFramebuffer(gl.FRAMEBUFFER,null);gl.viewport(0,0,canvasSizeRef.current.width,canvasSizeRef.current.height);gl.useProgram(compositeProgram);gl.bindBuffer(gl.ARRAY_BUFFER,buffer);const positionLocation=gl.getAttribLocation(compositeProgram,\"a_position\");gl.enableVertexAttribArray(positionLocation);gl.vertexAttribPointer(positionLocation,2,gl.FLOAT,false,0,0);// Bind scene texture\ngl.activeTexture(gl.TEXTURE0);gl.bindTexture(gl.TEXTURE_2D,sceneTexture);const sceneLocation=gl.getUniformLocation(compositeProgram,\"u_scene\");gl.uniform1i(sceneLocation,0);// Bind bloom texture\ngl.activeTexture(gl.TEXTURE1);gl.bindTexture(gl.TEXTURE_2D,bloomTexture);const bloomLocation=gl.getUniformLocation(compositeProgram,\"u_bloom\");gl.uniform1i(bloomLocation,1);// Set bloom intensity\nconst intensityLocation=gl.getUniformLocation(compositeProgram,\"u_bloom_intensity\");gl.uniform1f(intensityLocation,bloomIntensityRef.current);// Set transition color for glow tinting\nconst transitionColorLocation=gl.getUniformLocation(compositeProgram,\"u_transition_color\");if(transitionColorLocation){const[tr,tg,tb]=transitionColorRef.current;gl.uniform3f(transitionColorLocation,tr,tg,tb);}gl.clearColor(0,0,0,0);gl.clear(gl.COLOR_BUFFER_BIT);// Disable blending - we're compositing everything in the shader\n// This prevents GL from darkening our semi-transparent bloom pixels\ngl.disable(gl.BLEND);gl.drawArrays(gl.TRIANGLE_STRIP,0,4);// Re-enable blending for future passes\ngl.enable(gl.BLEND);gl.blendFunc(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA);};// Main render function with bloom\nconst render=()=>{const gl=glRef.current;if(!gl||!programRef.current)return;const hasBloom=bloomIntensityRef.current>0&&framebufferRef.current&&sceneTextureRef.current&&blurFramebuffer1Ref.current&&blurTexture1Ref.current&&blurFramebuffer2Ref.current&&blurTexture2Ref.current&&blurProgramRef.current&&compositeProgramRef.current;if(hasBloom&&extractProgramRef.current&&extractFramebufferRef.current&&extractTextureRef.current){// Pass 1: Render scene to framebuffer\nrenderScene(framebufferRef.current);// Pass 2: Extract only transition color pixels\nrenderExtract(sceneTextureRef.current,extractFramebufferRef.current);// Pass 3: Horizontal blur on extracted pixels\nrenderBlur(extractTextureRef.current,blurFramebuffer1Ref.current,[1,0]);// Pass 4: Vertical blur\nrenderBlur(blurTexture1Ref.current,blurFramebuffer2Ref.current,[0,1]);// Pass 5: Composite scene + bloom to screen\nrenderComposite(sceneTextureRef.current,blurTexture2Ref.current);}else{// No bloom - render directly to screen\nrenderScene(null);}};// Function to calculate parallax offset based on component position in viewport\nconst updateParallaxOffset=()=>{const container=containerRef.current;if(!container)return;// If parallax is disabled, set offset to 0 (don't render here, let animation loop handle it)\nif(!parallaxEnabledRef.current){parallaxOffsetRef.current=0;return;}const rect=container.getBoundingClientRect();const viewportHeight=window.innerHeight;// Calculate scroll progress based on component's position in viewport\n// progress = 0 when component top enters viewport (at bottom)\n// progress = 1 when component bottom exits viewport (at top)\nconst componentTop=rect.top;const componentBottom=rect.bottom;const componentHeight=rect.height;// Calculate progress: inverted so progress=1 when entering, progress=0 when exiting\n// This should make wave move in correct direction\nlet progress=0;if(componentTop>=viewportHeight){// Component hasn't entered yet (below viewport) - use 1 (about to enter)\nprogress=1;}else if(componentBottom<=0){// Component has exited (above viewport) - use 0 (has exited)\nprogress=0;}else{// Component is visible - calculate inverted progress\n// When top = viewportHeight (entering): progress should be 1\n// When bottom = 0 (exiting): progress should be 0\n// Invert: progress = 1 - ((viewportHeight - componentTop) / (viewportHeight + componentHeight))\nprogress=1-(viewportHeight-componentTop)/(viewportHeight+componentHeight);progress=Math.max(0,Math.min(1,progress));}// Convert percentages to UV coordinates (0-1)\n// In UV: 0 = top, 1 = bottom\n// User interface: 0% = bottom, 50% = middle, 100% = top\nconst startPosition=parallaxStartRef.current/100;const endPosition=parallaxEndRef.current/100;// With inverted progress: progress=1 when entering, progress=0 when exiting\n// We want: progress=1 → startPosition, progress=0 → endPosition\n// So: targetPosition = startPosition + (endPosition - startPosition) * (1 - progress)\n// When progress=1 (entering): startPosition + (endPosition - startPosition) * 0 = startPosition ✓\n// When progress=0 (exiting): startPosition + (endPosition - startPosition) * 1 = endPosition ✓\nconst targetPosition=startPosition+(endPosition-startPosition)*(1-progress);// Calculate offset from center (0.5)\n// baseLine = 0.5 + offset, so offset = targetPosition - 0.5\nparallaxOffsetRef.current=targetPosition-.5;// Note: render() is called by animation loop, no need to call it here\n};// Update preview ref when preview prop changes\nuseEffect(()=>{previewRef.current=preview;// When preview turns on in canvas mode, reset start time to prevent jump\nif(isCanvas&&preview&&startTimeRef.current>0){startTimeRef.current=performance.now();}},[preview,isCanvas]);// Update refs when props change\nuseEffect(()=>{const resolved=resolveTokenColor(color);const rgba=parseColorToRgba(resolved);colorRef.current=[rgba.r,rgba.g,rgba.b];if(glRef.current&&programRef.current){render();}},[color]);useEffect(()=>{const resolved=transitionColor?resolveTokenColor(transitionColor):resolveTokenColor(color);const rgba=parseColorToRgba(resolved);transitionColorRef.current=[rgba.r,rgba.g,rgba.b];if(glRef.current&&programRef.current){render();}},[transitionColor,color]);useEffect(()=>{noiseScaleRef.current=mapNoiseScale(noiseScale);if(glRef.current&&programRef.current){render();}},[noiseScale]);useEffect(()=>{noiseIntensityRef.current=mapNoiseIntensity(noiseIntensity);if(glRef.current&&programRef.current){render();}},[noiseIntensity]);useEffect(()=>{scrollSensitivityRef.current=mapScrollSensitivity(scrollSensitivity);},[scrollSensitivity]);useEffect(()=>{baseAnimationSpeedRef.current=mapBaseAnimationSpeed(baseAnimationSpeed);},[baseAnimationSpeed]);useEffect(()=>{edgeSoftnessRef.current=mapEdgeSoftness(edgeSoftness);if(glRef.current&&programRef.current){render();}},[edgeSoftness]);useEffect(()=>{grainScaleRef.current=mapGrainScale(0);if(glRef.current&&programRef.current){render();}},[]);useEffect(()=>{// Map horizontal movement enum to value: left = 1, right = -1, center = 0\nconst horizontalValue=movement?.horizontal===\"left\"?1:movement?.horizontal===\"right\"?-1:0;movementHorizontalRef.current=horizontalValue;if(glRef.current&&programRef.current){render();}},[movement?.horizontal]);useEffect(()=>{movementVerticalRef.current=movement?.vertical??.5;if(glRef.current&&programRef.current){render();}},[movement?.vertical]);useEffect(()=>{parallaxEnabledRef.current=parallaxEnabled;// Hardcode parallax values: start = 0% (bottom), end = 100% (top)\nparallaxStartRef.current=0;parallaxEndRef.current=100;updateParallaxOffset();},[parallaxEnabled]);useEffect(()=>{bloomIntensityRef.current=bloomIntensity;},[bloomIntensity]);useEffect(()=>{bloomRadiusRef.current=mapBloomRadius(bloomRadius);if(glRef.current&&blurProgramRef.current){render();}},[bloomRadius]);// Handle preview changes - re-render when preview toggles\nuseEffect(()=>{if(glRef.current&&programRef.current){render();}},[preview]);// Vertex shader - simple fullscreen quad\nconst vertexShader=`\n        attribute vec2 a_position;\n        varying vec2 v_uv;\n\n        void main() {\n            v_uv = 0.5 * (a_position + 1.0);\n            gl_Position = vec4(a_position, 0.0, 1.0);\n        }\n    `;// Fragment shader - torn paper effect with uneven transition thickness\nconst fragmentShader=`\n        precision mediump float;\n        varying vec2 v_uv;\n        uniform vec3 u_color;\n        uniform vec3 u_transition_color;\n        uniform float u_noise_scale;\n        uniform float u_noise_intensity;\n        uniform float u_scroll_offset;\n        uniform float u_edge_softness;\n        uniform float u_grain_scale;\n        uniform float u_movement_horizontal;\n        uniform float u_movement_vertical;\n        uniform float u_parallax_offset;\n        uniform float u_aspect_ratio;\n\n        // Random function\n        float random(vec2 st) {\n            return fract(sin(dot(st.xy, vec2(12.9898, 78.233))) * 43758.5453123);\n        }\n\n        // 2D Noise function\n        float noise(vec2 st) {\n            vec2 i = floor(st);\n            vec2 f = fract(st);\n            \n            float a = random(i);\n            float b = random(i + vec2(1.0, 0.0));\n            float c = random(i + vec2(0.0, 1.0));\n            float d = random(i + vec2(1.0, 1.0));\n            \n            vec2 u = f * f * (3.0 - 2.0 * f);\n            \n            return mix(a, b, u.x) + (c - a) * u.y * (1.0 - u.x) + (d - b) * u.x * u.y;\n        }\n\n        // Fractal noise (multiple octaves)\n        float fbm(vec2 st) {\n            float value = 0.0;\n            float amplitude = 0.5;\n            \n            for (int i = 0; i < 4; i++) {\n                value += amplitude * noise(st);\n                st *= 2.0;\n                amplitude *= 0.5;\n            }\n            return value;\n        }\n\n        // High-frequency detailed noise for fiber-like grain\n        float detailedNoise(vec2 st) {\n            float value = 0.0;\n            float amplitude = 0.5;\n            \n            for (int i = 0; i < 6; i++) {\n                value += amplitude * noise(st);\n                st *= 2.2;\n                amplitude *= 0.45;\n            }\n            return value;\n        }\n\n        void main() {\n            // === STEP 1: Define the main wavy edge (the \"tear line\") ===\n            // Apply parallax offset to translate the wave vertically\n            float baseLine = 0.5 + u_parallax_offset;\n            // Apply movement controls: horizontal controls direction/speed, vertical controls evolution amount\n            // horizontal: -1 = right to left, 1 = left to right, 0 = no horizontal movement\n            // vertical: 0 = no vertical evolution, 1 = full vertical evolution\n            float horizontalOffset = u_scroll_offset * u_movement_horizontal;\n            float verticalOffset = u_scroll_offset * u_movement_vertical;\n            \n            // Use aspect-ratio-corrected x-coordinates to prevent noise stretching\n            // Keep original y-scaling for the \"mountain-ish\" profile\n            vec2 noiseCoord = vec2(\n                v_uv.x * u_aspect_ratio * u_noise_scale + horizontalOffset,\n                v_uv.y * 3.0 + verticalOffset * 0.6\n            );\n            float edgeNoise = fbm(noiseCoord);\n            float mainEdge = baseLine + (edgeNoise - 0.5) * u_noise_intensity;\n            \n            // === STEP 2: Create UNEVEN transition thickness ===\n            // Use a different noise to vary how thick the transition zone is at each point\n            // Apply movement controls for consistent animation\n            // Use aspect-ratio-corrected x-coordinates, original y-scaling\n            vec2 thicknessNoiseCoord = vec2(\n                v_uv.x * u_aspect_ratio * u_noise_scale * 2.3 + horizontalOffset * 0.7,\n                v_uv.y * 2.0 + verticalOffset * 0.4 + 100.0\n            );\n            float thicknessNoise = fbm(thicknessNoiseCoord);\n            // Transition width varies from very thin to full width\n            float minThickness = u_edge_softness * 0.1;\n            float maxThickness = u_edge_softness;\n            float localThickness = mix(minThickness, maxThickness, thicknessNoise);\n            \n            // === STEP 3: Define the two boundaries ===\n            // Lower boundary: where solid base color ends\n            // Upper boundary: where transparency begins\n            // The transition color fills the space between\n            float lowerBound = mainEdge - localThickness * 0.4;  // Solid color edge\n            float upperBound = mainEdge + localThickness * 0.6;  // Transparency edge\n            \n            // === STEP 4: High-frequency grain for fiber effect ===\n            // Animate grain both horizontally and vertically using movement controls\n            // Use aspect-ratio-corrected coordinates\n            vec2 grainCoord = vec2(\n                v_uv.x * u_aspect_ratio * u_grain_scale * 3.0 + horizontalOffset * 0.5,\n                v_uv.y * u_grain_scale * 3.0 + verticalOffset * 0.3\n            );\n            float grain = detailedNoise(grainCoord);\n            \n            // Additional \"fiber\" noise - elongated in Y direction for torn paper fibers\n            // Apply movement controls for consistent animation\n            // Use aspect-ratio-corrected coordinates\n            vec2 fiberCoord = vec2(\n                v_uv.x * u_aspect_ratio * u_grain_scale * 8.0 + horizontalOffset * 0.3,\n                v_uv.y * u_grain_scale * 2.0 + verticalOffset * 0.2\n            );\n            float fiberNoise = noise(fiberCoord);\n            \n            // Combine grain patterns\n            float combinedGrain = grain * 0.6 + fiberNoise * 0.4;\n            \n            // === STEP 5: Render based on position ===\n            \n            // Below lower bound - solid base color\n            if (v_uv.y < lowerBound) {\n                gl_FragColor = vec4(u_color, 1.0);\n            }\n            // Between lower bound and main edge - base color with transition color fibers bleeding in\n            else if (v_uv.y < mainEdge) {\n                // How far into the transition zone (0 at lowerBound, 1 at mainEdge)\n                float t = (v_uv.y - lowerBound) / max(mainEdge - lowerBound, 0.001);\n                \n                // Grain threshold: less grain near solid, more grain near edge\n                // Use exponential curve for more natural distribution\n                float grainThreshold = 1.0 - pow(t, 1.5);\n                \n                // Add some randomness to threshold based on position\n                grainThreshold -= thicknessNoise * 0.2;\n                \n                if (combinedGrain > grainThreshold) {\n                    gl_FragColor = vec4(u_transition_color, 1.0);\n                } else {\n                    gl_FragColor = vec4(u_color, 1.0);\n                }\n            }\n            // Between main edge and upper bound - transition color with transparency bleeding in\n            else if (v_uv.y < upperBound) {\n                // How far into the upper transition zone (0 at mainEdge, 1 at upperBound)\n                float t = (v_uv.y - mainEdge) / max(upperBound - mainEdge, 0.001);\n                \n                // Grain threshold: more visible near edge, fading to transparent\n                float grainThreshold = pow(t, 1.2);\n                \n                // Add variation\n                grainThreshold += thicknessNoise * 0.15;\n                \n                if (combinedGrain > grainThreshold) {\n                    gl_FragColor = vec4(u_transition_color, 1.0);\n                } else {\n                    discard;\n                }\n            }\n            // Above upper bound - fully transparent\n            else {\n                discard;\n            }\n        }\n    `;// Extraction shader - extracts transition area for bloom\nconst extractFragmentShader=`\n        precision mediump float;\n        varying vec2 v_uv;\n        uniform sampler2D u_texture;\n        uniform vec3 u_transition_color;\n        uniform vec3 u_base_color;\n        \n        void main() {\n            vec4 pixel = texture2D(u_texture, v_uv);\n            \n            // Check how close this pixel is to the transition color\n            float distToTransition = length(pixel.rgb - u_transition_color);\n            float distToBase = length(pixel.rgb - u_base_color);\n            \n            // Extract transition pixels with smooth falloff\n            float isTransition = 1.0 - smoothstep(0.0, 0.5, distToTransition);\n            float notBase = smoothstep(0.0, 0.3, distToBase);\n            \n            // Create mask for bloom\n            float mask = isTransition * notBase * pixel.a;\n            \n            // Apply smooth falloff for organic feel\n            mask = pow(mask, 0.8);\n            \n            // Output intensity for bloom (white, we'll apply color in composite)\n            gl_FragColor = vec4(1.0, 1.0, 1.0, mask);\n        }\n    `;// Optimized blur shader - proper gaussian blur with more samples\nconst blurFragmentShader=`\n        precision mediump float;\n        varying vec2 v_uv;\n        uniform sampler2D u_texture;\n        uniform vec2 u_direction;\n        uniform vec2 u_resolution;\n        uniform float u_radius;\n        \n        void main() {\n            // Blur size - scale appropriately for downsampled texture\n            float blur_size = u_radius * 12.0;\n            \n            // 13-tap gaussian blur with proper distribution\n            float alpha = 0.0;\n            float totalWeight = 0.0;\n            \n            // Proper gaussian weights for 13 samples\n            for (int i = -6; i <= 6; i++) {\n                float offset = float(i);\n                \n                // Gaussian weight with sigma = 2.0 for smooth falloff\n                float weight = exp(-0.5 * (offset * offset) / 4.0);\n                \n                // Sample texture\n                vec2 sampleOffset = u_direction * (offset * blur_size) / u_resolution;\n                float sampleAlpha = texture2D(u_texture, v_uv + sampleOffset).a;\n                \n                alpha += sampleAlpha * weight;\n                totalWeight += weight;\n            }\n            \n            // Normalize to ensure proper blending\n            alpha = totalWeight > 0.0 ? alpha / totalWeight : 0.0;\n            \n            // Always output pure white RGB, only blur the alpha\n            gl_FragColor = vec4(1.0, 1.0, 1.0, alpha);\n        }\n    `;// Composite shader - combines scene with bloom using proper blending\nconst compositeFragmentShader=`\n        precision mediump float;\n        varying vec2 v_uv;\n        uniform sampler2D u_scene;\n        uniform sampler2D u_bloom;\n        uniform float u_bloom_intensity;\n        uniform vec3 u_transition_color;\n        \n        void main() {\n            vec4 scene = texture2D(u_scene, v_uv);\n            vec4 bloom = texture2D(u_bloom, v_uv);\n            \n            // Bloom strength - use bloom alpha directly, scaled by intensity\n            float bloomStrength = bloom.a * u_bloom_intensity;\n            \n            // Simple additive bloom that works on any background\n            // For transparent areas, output the bloom glow directly\n            // For solid areas, add bloom on top\n            \n            vec3 bloomColor = u_transition_color * bloomStrength * 2.0;\n            \n            if (scene.a < 0.001) {\n                // Transparent area - output bloom glow directly\n                // Use the transition color with bloom-derived alpha\n                float glowAlpha = bloomStrength * 1.5;\n                gl_FragColor = vec4(u_transition_color, glowAlpha);\n            } else {\n                // Solid area - add bloom on top (additive)\n                vec3 result = scene.rgb + bloomColor;\n                // Clamp to valid range\n                result = min(result, vec3(1.0));\n                gl_FragColor = vec4(result, scene.a);\n            }\n        }\n    `;// Initialize WebGL\nuseEffect(()=>{const canvas=canvasRef.current;const container=containerRef.current;if(!canvas||!container)return;// Get WebGL context\nconst gl=canvas.getContext(\"webgl\",{alpha:true,premultipliedAlpha:false});if(!gl){console.error(\"WebGL not supported\");return;}glRef.current=gl;// Create shaders\nconst vertexShaderObj=createShader(gl,gl.VERTEX_SHADER,vertexShader);const fragmentShaderObj=createShader(gl,gl.FRAGMENT_SHADER,fragmentShader);if(!vertexShaderObj||!fragmentShaderObj)return;// Create program\nconst program=createProgram(gl,vertexShaderObj,fragmentShaderObj);if(!program)return;programRef.current=program;// Create extract program (for bloom extraction)\nconst extractFragmentShaderObj=createShader(gl,gl.FRAGMENT_SHADER,extractFragmentShader);if(extractFragmentShaderObj){const extractProgram=createProgram(gl,vertexShaderObj,extractFragmentShaderObj);if(extractProgram){extractProgramRef.current=extractProgram;}}// Create blur program\nconst blurFragmentShaderObj=createShader(gl,gl.FRAGMENT_SHADER,blurFragmentShader);if(blurFragmentShaderObj){const blurProgram=createProgram(gl,vertexShaderObj,blurFragmentShaderObj);if(blurProgram){blurProgramRef.current=blurProgram;}}// Create composite program\nconst compositeFragmentShaderObj=createShader(gl,gl.FRAGMENT_SHADER,compositeFragmentShader);if(compositeFragmentShaderObj){const compositeProgram=createProgram(gl,vertexShaderObj,compositeFragmentShaderObj);if(compositeProgram){compositeProgramRef.current=compositeProgram;}}// Create fullscreen quad\nconst positions=new Float32Array([-1,-1,1,-1,-1,1,1,1]);const buffer=gl.createBuffer();if(!buffer)return;gl.bindBuffer(gl.ARRAY_BUFFER,buffer);gl.bufferData(gl.ARRAY_BUFFER,positions,gl.STATIC_DRAW);bufferRef.current=buffer;// Create framebuffers for bloom (initial size, will be resized)\nconst initialWidth=256;const initialHeight=256;const{framebuffer:fb1,texture:tex1}=createFramebufferTexture(gl,initialWidth,initialHeight);framebufferRef.current=fb1;sceneTextureRef.current=tex1;const{framebuffer:fbExtract,texture:texExtract}=createFramebufferTexture(gl,initialWidth,initialHeight);extractFramebufferRef.current=fbExtract;extractTextureRef.current=texExtract;const{framebuffer:fb2,texture:tex2}=createFramebufferTexture(gl,initialWidth,initialHeight);blurFramebuffer1Ref.current=fb2;blurTexture1Ref.current=tex2;const{framebuffer:fb3,texture:tex3}=createFramebufferTexture(gl,initialWidth,initialHeight);blurFramebuffer2Ref.current=fb3;blurTexture2Ref.current=tex3;// Initialize base animation time\nstartTimeRef.current=performance.now();// Setup resize observer\nconst resizeObserver=new ResizeObserver(()=>{resizeCanvas();});resizeObserver.observe(container);// Initial render\nresizeCanvas();updateParallaxOffset();render();// Animation loop - optimized\nconst animate=()=>{if(glRef.current&&programRef.current){// Update parallax if enabled\nif(parallaxEnabledRef.current){updateParallaxOffset();}// Always render (updateParallaxOffset doesn't call render anymore)\nrender();}animationFrameRef.current=requestAnimationFrame(animate);};animationFrameRef.current=requestAnimationFrame(animate);// Track scroll for animation and parallax\nconst scrollHandler=()=>{// In canvas mode with preview off, don't update scroll offset (freeze animation)\nconst shouldAnimate=!(isCanvas&&!previewRef.current);const currentScrollY=window.scrollY||window.pageYOffset;const currentTime=performance.now();if(lastScrollTimeRef.current>0&&shouldAnimate){const deltaY=currentScrollY-lastScrollYRef.current;const deltaTime=currentTime-lastScrollTimeRef.current;if(deltaTime>0&&Math.abs(deltaY)>0){// Calculate scroll velocity (pixels per second) for tracking\nscrollVelocityRef.current=deltaY/deltaTime*1e3;// Use deltaY directly with sensitivity for more controlled animation\n// This prevents velocity spikes from causing huge animations\nscrollOffsetRef.current+=deltaY*scrollSensitivityRef.current;}}lastScrollYRef.current=currentScrollY;lastScrollTimeRef.current=currentTime;// Update parallax offset on scroll (still needed for parallax to work)\nif(shouldAnimate||parallaxEnabledRef.current){updateParallaxOffset();}};// Initialize scroll tracking\nlastScrollYRef.current=window.scrollY||window.pageYOffset;lastScrollTimeRef.current=performance.now();// Add scroll listener\nwindow.addEventListener(\"scroll\",scrollHandler,{passive:true});return()=>{resizeObserver.disconnect();window.removeEventListener(\"scroll\",scrollHandler);if(animationFrameRef.current){cancelAnimationFrame(animationFrameRef.current);}if(glRef.current){const gl=glRef.current;if(bufferRef.current)gl.deleteBuffer(bufferRef.current);if(programRef.current)gl.deleteProgram(programRef.current);if(extractProgramRef.current)gl.deleteProgram(extractProgramRef.current);if(blurProgramRef.current)gl.deleteProgram(blurProgramRef.current);if(compositeProgramRef.current)gl.deleteProgram(compositeProgramRef.current);if(framebufferRef.current)gl.deleteFramebuffer(framebufferRef.current);if(sceneTextureRef.current)gl.deleteTexture(sceneTextureRef.current);if(extractFramebufferRef.current)gl.deleteFramebuffer(extractFramebufferRef.current);if(extractTextureRef.current)gl.deleteTexture(extractTextureRef.current);if(blurFramebuffer1Ref.current)gl.deleteFramebuffer(blurFramebuffer1Ref.current);if(blurTexture1Ref.current)gl.deleteTexture(blurTexture1Ref.current);if(blurFramebuffer2Ref.current)gl.deleteFramebuffer(blurFramebuffer2Ref.current);if(blurTexture2Ref.current)gl.deleteTexture(blurTexture2Ref.current);}};},[]);const containerStyle={...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\"};const canvasStyle={position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",display:\"block\"};return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:containerStyle,children:/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:canvasStyle})});}// Property controls for Framer\naddPropertyControls(BurnTransition,{preview:{type:ControlType.Boolean,title:\"Preview\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#D9D6CA\"},transitionColor:{type:ControlType.Color,title:\"Transition\",defaultValue:\"#ffffff\",optional:true},noiseScale:{type:ControlType.Number,title:\"Scale\",defaultValue:.37,min:0,max:1,step:.1},noiseIntensity:{type:ControlType.Number,title:\"Noise\",defaultValue:.3,min:0,max:1,step:.1},scrollSensitivity:{type:ControlType.Number,title:\"Scroll\",defaultValue:.4,min:0,max:1,step:.1},baseAnimationSpeed:{type:ControlType.Number,title:\"Base Speed\",defaultValue:.1,min:0,max:1,step:.1},edgeSoftness:{type:ControlType.Number,title:\"Edge\",defaultValue:.4,min:0,max:1,step:.1},bloomIntensity:{type:ControlType.Number,title:\"Bloom\",defaultValue:.5,min:0,max:1,step:.1},bloomRadius:{type:ControlType.Number,title:\"Bloom Width\",defaultValue:.1,min:0,max:1,step:.1},parallaxEnabled:{type:ControlType.Boolean,title:\"Parallax\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},movement:{type:ControlType.Object,title:\"Movement\",description:\"More components at [Framer University](https://frameruni.link/cc).\",controls:{horizontal:{type:ControlType.Enum,title:\"Horizontal\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"<-\",\"•\",\"->\"],defaultValue:\"center\",displaySegmentedControl:true},vertical:{type:ControlType.Number,title:\"Vertical\",defaultValue:.5,step:.1,min:0,max:1,description:\"Set parallax = Off to see better what this does.\"}},defaultValue:{horizontal:\"center\",vertical:.5}}});BurnTransition.displayName=\"Burn Transition\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BurnTransition\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BurnTransition_prod.map","// Generated by Framer (b47b624)\nconst valuesByLocaleId={NdMIS9vgN:{v0:\"जय - प्रोडक्ट डिज़ाइनर\",v1:\"प्रोडक्ट डिज़ाइनर, अनुभव से समझौता किए बिना विज़ुअल और इंटरैक्शन डिज़ाइन पर केंद्रित।\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{description:getLocalizedValue(\"v1\",activeLocale)??\"Product Designer, Focusing on in Visual and Interaction Design without compromising the experience. \",favicon:\"https://framerusercontent.com/assets/ieFR4lhkY8utSkY4aAL9rGeA6g.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/CEGsdSi7Ejh9e9pqdESaPEVi0E.png\",title:getLocalizedValue(\"v0\",activeLocale)??\"Jay - Product Designer\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\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