{"version":3,"file":"SplineWithImageFallback.nCH9kHVJ.mjs","names":["useRef","useState","useRef","useState"],"sources":["https:/framerusercontent.com/modules/BN18txKVhFaeuor7rO53/S475LGmuaUZTlcB1TuxE/Safari_Thumbnail_Fix.js","https:/framerusercontent.com/modules/g9Lq1AZIyz12iDQF5fjm/iYcCvIwC6HHKvFh575bY/SplineWithImageFallback.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef,useEffect,useState}from\"react\";export function SafariMaskFix(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,WebkitMaskImage:\"-webkit-radial-gradient(white, black)\"}});};}// Squircle path generator — adapted from the hyperellipse library's geometry\n// (https://github.com/mikhailmogilnikov/hyperellipse, MIT license)\nconst HALF=.5;const FALLBACK_SHAPE=1.6// used only if no squircle/corner-shape is set\n;const FALLBACK_RADIUS=80// used only if radius can't be read\n;const MIN_SEGMENTS=4;const MAX_SEGMENTS=26;const SEGMENTS_PER_PIXEL=.4;function parseShapeValue(raw){const match=raw.match(/superellipse\\(\\s*(-?\\d*\\.?\\d+)\\s*\\)/);if(match)return parseFloat(match[1]);if(raw.includes(\"squircle\"))return 2;if(raw.includes(\"square\"))return Infinity;if(raw.includes(\"scoop\"))return-1;if(raw.includes(\"notch\"))return-Infinity;return 1// \"round\" or unset\n;}function fmt(value){return String(Math.round(value*100)/100);}function cosineSpaced(t){return(1-Math.cos(Math.PI*t))*HALF;}function segmentCount(size,shape){if(shape===0)return 1;return Math.min(MAX_SEGMENTS,Math.max(MIN_SEGMENTS,Math.ceil(size*SEGMENTS_PER_PIXEL)));}// Points tracing one outer corner's curve, from `start` to `end`, bulging toward `outer`.\nfunction cornerPoints(start,end,outer,corner){if(corner.rx<=0||corner.ry<=0)return[outer];const exponent=HALF**Math.abs(corner.shape);const center={x:start.x+end.x-outer.x,y:start.y+end.y-outer.y};const segments=segmentCount(Math.max(corner.rx,corner.ry),corner.shape);const points=[start];for(let i=1;i<segments;i++){const t=cosineSpaced(i/segments);const fx=Math.pow(t,exponent);const fy=Math.pow(1-t,exponent);points.push({x:center.x+(end.x-center.x)*fx+(start.x-center.x)*fy,y:center.y+(end.y-center.y)*fx+(start.y-center.y)*fy});}points.push(end);return points;}// Builds the outer squircle outline as an SVG path string.\nfunction buildShapePath(box,corners){const left=box.x;const top=box.y;const right=box.x+box.width;const bottom=box.y+box.height;const[tl,tr,br,bl]=corners;const arcs=[cornerPoints({x:right-tr.rx,y:top},{x:right,y:top+tr.ry},{x:right,y:top},tr),cornerPoints({x:right,y:bottom-br.ry},{x:right-br.rx,y:bottom},{x:right,y:bottom},br),cornerPoints({x:left+bl.rx,y:bottom},{x:left,y:bottom-bl.ry},{x:left,y:bottom},bl),cornerPoints({x:left,y:top+tl.ry},{x:left+tl.rx,y:top},{x:left,y:top},tl)];const startPoint=arcs[3][arcs[3].length-1]??{x:left,y:top};const segs=[`M ${fmt(startPoint.x)} ${fmt(startPoint.y)}`];for(const arc of arcs){for(const pt of arc)segs.push(`L ${fmt(pt.x)} ${fmt(pt.y)}`);}segs.push(\"Z\");return segs.join(\" \");}// --- Inset (\"inner\") contour, used to draw a border ring of even thickness ---\nfunction rotate90(point,steps){let{x,y}=point;const turns=(steps%4+4)%4;for(let i=0;i<turns;i++){const nextX=-y;y=x;x=nextX;}return{x,y};}function clockwiseQuad(box){return[{x:box.x,y:box.y},{x:box.x+box.width,y:box.y},{x:box.x+box.width,y:box.y+box.height},{x:box.x,y:box.y+box.height}];}function projectCornerPoint(normalized,rect,orientation){const centered=rotate90({x:normalized.x-HALF,y:normalized.y-HALF},orientation);return{x:rect.x+(centered.x+HALF)*rect.width,y:rect.y+(centered.y+HALF)*rect.height};}function alignedCornerPoint(origin,offset,thickness,orientation){const length=Math.hypot(offset.x,offset.y)||1;const rotated=rotate90(offset,orientation);return{x:origin.x+rotated.x/length*thickness,y:origin.y+rotated.y/length*thickness};}function normalizedHalfCorner(shape){if(shape===Number.NEGATIVE_INFINITY)return 0;if(shape===Number.POSITIVE_INFINITY)return 1;const k=HALF**Math.abs(shape);const convex=HALF**k;return shape<0?1-convex:convex;}function clampUnit(value){return Math.min(Math.max(value,-1),1);}function contourCornerPoints(cornerRect,orientation,startThickness,endThickness,shape){const quad=clockwiseQuad(cornerRect);const vertex=quad[(orientation+1)%4];if(cornerRect.width<=0||cornerRect.height<=0||shape===Number.POSITIVE_INFINITY){return[vertex];}const half=normalizedHalfCorner(clampUnit(shape));const control=half*2-HALF;const start=alignedCornerPoint(quad[orientation],{x:control,y:1-control},startThickness,orientation+1);const end=alignedCornerPoint(quad[(orientation+2)%4],{x:control-1,y:-control},endThickness,orientation+3);if(shape===Number.NEGATIVE_INFINITY){return[start,{x:start.x+end.x-vertex.x,y:start.y+end.y-vertex.y},end];}const rect={x:Math.min(start.x,end.x),y:Math.min(start.y,end.y),width:Math.abs(end.x-start.x),height:Math.abs(end.y-start.y)};const exponent=HALF**Math.abs(shape);const segments=segmentCount(Math.max(rect.width,rect.height),shape);const points=[];for(let i=0;i<=segments;i++){const t=cosineSpaced(i/segments);const a=Math.pow(t,exponent);const b=1-Math.pow(1-t,exponent);const normalized=shape>0?{x:a,y:b}:{x:b,y:a};points.push(projectCornerPoint(normalized,rect,orientation));}return points;}const CLIP_EPSILON=1e-4;function interpolate(a,b,t){return{x:a.x+(b.x-a.x)*t,y:a.y+(b.y-a.y)*t};}function clipPolygonToRect(polygon,rect){const left=rect.x;const right=rect.x+rect.width;const top=rect.y;const bottom=rect.y+rect.height;const edges=[{inside:p=>p.x>=left-CLIP_EPSILON,intersect:(a,b)=>interpolate(a,b,(left-a.x)/(b.x-a.x))},{inside:p=>p.x<=right+CLIP_EPSILON,intersect:(a,b)=>interpolate(a,b,(right-a.x)/(b.x-a.x))},{inside:p=>p.y>=top-CLIP_EPSILON,intersect:(a,b)=>interpolate(a,b,(top-a.y)/(b.y-a.y))},{inside:p=>p.y<=bottom+CLIP_EPSILON,intersect:(a,b)=>interpolate(a,b,(bottom-a.y)/(b.y-a.y))}];let output=polygon;for(const edge of edges){if(output.length===0)break;const input=output;output=[];for(let i=0;i<input.length;i++){const current=input[i];const previous=input[(i+input.length-1)%input.length];const currentInside=edge.inside(current);const previousInside=edge.inside(previous);if(currentInside){if(!previousInside)output.push(edge.intersect(previous,current));output.push(current);}else if(previousInside){output.push(edge.intersect(previous,current));}}}return output;}function polygonToPath(points){if(points.length===0)return\"\";const first=points[0];const segs=[`M ${fmt(first.x)} ${fmt(first.y)}`];for(let i=1;i<points.length;i++)segs.push(`L ${fmt(points[i].x)} ${fmt(points[i].y)}`);segs.push(\"Z\");return segs.join(\" \");}// The inner boundary of the border ring: the outer squircle, inset by the border thickness.\nfunction contourPath(outerBox,corners,target){const left=outerBox.x;const top=outerBox.y;const right=outerBox.x+outerBox.width;const bottom=outerBox.y+outerBox.height;const targetLeft=target.x;const targetTop=target.y;const targetRight=target.x+target.width;const targetBottom=target.y+target.height;const[tl,tr,br,bl]=corners;const points=[...contourCornerPoints({x:right-tr.rx,y:top,width:tr.rx,height:tr.ry},0,targetTop-top,right-targetRight,tr.shape),...contourCornerPoints({x:right-br.rx,y:bottom-br.ry,width:br.rx,height:br.ry},1,right-targetRight,bottom-targetBottom,br.shape),...contourCornerPoints({x:left,y:bottom-bl.ry,width:bl.rx,height:bl.ry},2,bottom-targetBottom,targetLeft-left,bl.shape),...contourCornerPoints({x:left,y:top,width:tl.rx,height:tl.ry},3,targetLeft-left,targetTop-top,tl.shape)];return polygonToPath(clipPolygonToRect(points,target));}function svgDataUri(width,height,body){const svg=`<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"${width}\" height=\"${height}\" viewBox=\"0 0 ${width} ${height}\">${body}</svg>`;return`data:image/svg+xml,${encodeURIComponent(svg)}`;}// Draws the border as a filled ring (outer squircle minus inset inner squircle).\nfunction buildRingDataUri(width,height,corners,borderWidth,borderColor){const box={x:0,y:0,width,height};const outer=buildShapePath(box,corners);const innerWidth=width-borderWidth*2;const innerHeight=height-borderWidth*2;if(innerWidth<=0||innerHeight<=0){return svgDataUri(width,height,`<path d=\"${outer}\" fill=\"${borderColor}\"/>`);}const inner=contourPath(box,corners,{x:borderWidth,y:borderWidth,width:innerWidth,height:innerHeight});return svgDataUri(width,height,`<path d=\"${outer} ${inner}\" fill=\"${borderColor}\" fill-rule=\"evenodd\"/>`);}// --- Border settings ---\n// Framer's own \"Inside\" border can't bend around a squircle corner (it uses an\n// inset shadow trick under the hood), so Framer's border should be turned off\n// on these layers — the border look is controlled here instead, per variant\n// below, so it always matches the squircle curve exactly.\n// The border is drawn with a ::after pseudo-element instead of a background —\n// backgrounds always render *behind* an element's content, so a full-bleed\n// video/embed would cover it up. A ::after box paints on top of normal content,\n// so the border stays visible no matter what's inside. This injects one small\n// stylesheet rule, once, shared by every element using any of these overrides.\nconst SQUIRCLE_BORDER_STYLE_ID=\"squircle-border-style\";function ensureBorderStylesheet(){if(document.getElementById(SQUIRCLE_BORDER_STYLE_ID))return;const styleEl=document.createElement(\"style\");styleEl.id=SQUIRCLE_BORDER_STYLE_ID;styleEl.textContent=`\n        [data-squircle-border]::after {\n            content: \"\";\n            position: absolute;\n            inset: 0;\n            background-image: var(--squircle-border-image, none);\n            background-size: 100% 100%;\n            background-repeat: no-repeat;\n            pointer-events: none;\n            z-index: 2;\n        }\n    `;document.head.appendChild(styleEl);}// Builds a squircle-clip override with the given border look baked in.\n// Assign a different exported variant (below) to each layer via the\n// Override dropdown to get different borders per instance.\nfunction createSquircleClip(options={}){const{borderEnabled=false,borderThickness=2,borderColor=\"255, 255, 255\",borderOpacity=.15}=options;return function SquircleClipVariant(Component){return props=>{const ref=useRef(null);const[style,setStyle]=useState({});const[hasBorder,setHasBorder]=useState(false);useEffect(()=>{ensureBorderStylesheet();},[]);useEffect(()=>{const el=ref.current;if(!el)return;const update=()=>{const w=el.offsetWidth;const h=el.offsetHeight;if(!(w>0&&h>0))return;const cs=getComputedStyle(el);const radius=parseFloat(cs.borderTopLeftRadius)||FALLBACK_RADIUS;const shapeRaw=cs.getPropertyValue(\"corner-shape\");const shapeValue=shapeRaw?parseShapeValue(shapeRaw):FALLBACK_SHAPE;const r=Math.max(0,Math.min(radius,w/2,h/2));const corners=[{rx:r,ry:r,shape:shapeValue},{rx:r,ry:r,shape:shapeValue},{rx:r,ry:r,shape:shapeValue},{rx:r,ry:r,shape:shapeValue}];const outerPath=buildShapePath({x:0,y:0,width:w,height:h},corners);const next={position:cs.position===\"static\"?\"relative\":cs.position,clipPath:`path(\"${outerPath}\")`,WebkitClipPath:`path(\"${outerPath}\")`,borderRadius:\"0px\",WebkitMaskImage:\"none\",border:\"none\",boxShadow:\"none\"};const showBorder=borderEnabled&&borderThickness>0&&borderOpacity>0;if(showBorder){const ringColor=`rgba(${borderColor}, ${borderOpacity})`;const ringUri=buildRingDataUri(w,h,corners,borderThickness,ringColor);next[\"--squircle-border-image\"]=`url(\"${ringUri}\")`;}setHasBorder(showBorder);setStyle(next);};update();const ro=new ResizeObserver(update);ro.observe(el);return()=>ro.disconnect();},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-squircle-border\":hasBorder?\"\":undefined,style:{...props.style,...style}});};};}const noBorderImpl=createSquircleClip({borderEnabled:false});const thinBorderImpl=createSquircleClip({borderEnabled:true,borderThickness:2,borderColor:\"255, 255, 255\",borderOpacity:.15});const thickBorderImpl=createSquircleClip({borderEnabled:true,borderThickness:4,borderColor:\"255, 255, 255\",borderOpacity:.3});// No border — squircle clipping only.\nexport function SquircleClip(Component){return noBorderImpl(Component);}// Thin border — the default look from before (2px, white, 15% opacity).\nexport function SquircleClipBorder(Component){return thinBorderImpl(Component);}// Thick border — more prominent (4px, white, 30% opacity).\nexport function SquircleClipThickBorder(Component){return thickBorderImpl(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"SafariMaskFix\":{\"type\":\"reactHoc\",\"name\":\"SafariMaskFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SquircleClip\":{\"type\":\"reactHoc\",\"name\":\"SquircleClip\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SquircleClipBorder\":{\"type\":\"reactHoc\",\"name\":\"SquircleClipBorder\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SquircleClipThickBorder\":{\"type\":\"reactHoc\",\"name\":\"SquircleClipThickBorder\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Safari_Thumbnail_Fix.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const SPLINE_VIEWER_SRC=\"https://unpkg.com/@splinetool/viewer@1.12.98/build/spline-viewer.js\";let splineScriptPromise=null;function loadSplineViewerScript(){if(typeof window===\"undefined\")return Promise.resolve();if(window.customElements?.get(\"spline-viewer\"))return Promise.resolve();if(splineScriptPromise)return splineScriptPromise;splineScriptPromise=new Promise((resolve,reject)=>{const existing=document.querySelector(`script[src=\"${SPLINE_VIEWER_SRC}\"]`);if(existing){existing.addEventListener(\"load\",()=>resolve());existing.addEventListener(\"error\",()=>reject());return;}const script=document.createElement(\"script\");script.type=\"module\";script.src=SPLINE_VIEWER_SRC;script.addEventListener(\"load\",()=>resolve());script.addEventListener(\"error\",()=>reject());document.head.appendChild(script);});return splineScriptPromise;}/**\n * SplineWithImageFallback\n *\n * Embeds a live Spline scene via <spline-viewer>. The fallback image\n * doubles as a poster: it's shown immediately and stays up for the\n * entire time the scene is loading, then swaps to the real embed the\n * moment it confirms it's actually rendering. This avoids a flash of\n * blank/white space while the scene downloads and WebGL spins up,\n * which can visibly take a second or more. If the scene hasn't\n * actually finished loading within `timeout` ms of becoming visible —\n * slow connection, blocked script, WebGL unavailable, low power mode,\n * etc. — it just stays on the poster indefinitely instead of ever\n * revealing a broken/empty embed.\n *\n * spline-viewer doesn't stretch to fill an arbitrary container — it\n * renders at the scene's actual designed canvas size and sits inside\n * whatever box it's given. Set Scene Width/Height to match your\n * scene's real size in Spline; the embed is sized to exactly that and\n * centered with flexbox, so Embed Scale always zooms from the true\n * center instead of drifting toward a corner.\n *\n * By default, outside of actual Preview mode (i.e. in the Canvas\n * editor, during export, or in the component thumbnail) the\n * spline-viewer script is never even loaded and the scene is never\n * mounted — only the static fallback image is shown, to keep the\n * Framer editor light on GPU/CPU. Turn the \"Live in Editor\" toggle ON\n * to override this and have the real embed play freely right in the\n * Canvas too — useful while you're sizing/positioning it. Just turn\n * it back off afterward so the editor stays light again.\n *\n * The fallback image shows for one of these concrete reasons: (1) the\n * scene hasn't confirmed it's loaded yet (the normal, brief, expected\n * case on every page load), (2) Live in Editor is off and you're in\n * the Canvas, (3) the Preview Fallback toggle is on AND you're\n * actually inside Framer's own Preview mode (this toggle is\n * automatically ignored on the published site, so leaving it on by\n * mistake can never affect real visitors), (4) the spline-viewer\n * script itself failed to load, or (5) the scene didn't finish loading\n * within the Timeout. If it's stuck on the fallback well past when the\n * scene should be ready, open the browser console — reasons (4) and\n * (5) both log a `[SplineWithImageFallback]` message telling you which\n * one happened.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function SplineWithImageFallback(props){const{url,fallbackSrc,radius,fit,scale,fallbackScale,sceneWidth,sceneHeight,timeout,forcePreview,liveInCanvas}=props;const containerRef=useRef(null);const viewerRef=useRef(null);const renderTarget=RenderTarget.current();// suppressLive is the one flag everything below checks. It's true\n// only when we're in the Canvas/export/thumbnail AND the \"Live in\n// Editor\" toggle is off. If the toggle is on, the real embed plays\n// everywhere, full stop — no further guard logic to think about.\nconst suppressLive=liveInCanvas?false:renderTarget!==RenderTarget.preview;// Framer's RenderTarget reports the exact same \"preview\" value for\n// both the designer's in-app Preview AND the actual published site\n// — there's no built-in way to tell them apart. That matters\n// because Preview Fallback is meant to be a temporary way to check\n// the fallback image while designing, not something that should\n// ever be able to break the real site if left on by mistake. The\n// reliable distinguishing signal is the hostname: Framer's own\n// Preview runs on a framercanvas.com domain, the published site\n// never does. \"Live\" is the fallback if that check can't confirm\n// we're on Framer's preview host — so even if Framer ever changes\n// that hostname, or the check fails for any reason, Preview\n// Fallback just quietly stops doing anything rather than risking\n// getting stuck showing only the fallback image to real visitors.\nconst isFramerPreviewHost=typeof window!==\"undefined\"&&window.location.host.includes(\"framercanvas.com\");const effectiveForcePreview=forcePreview&&renderTarget===RenderTarget.preview&&isFramerPreviewHost;// If the runtime script itself fails to load (network block, etc.)\n// there's no recovering — go straight to the fallback.\nconst[scriptFailed,setScriptFailed]=useState(false);// True once the scene has actually confirmed it's rendering. Starts\n// false on purpose — a 3D scene can visibly take a second or more to\n// download and spin up WebGL, and an empty <spline-viewer> box during\n// that window just shows the page background through it (a flash of\n// white/blank). Treating \"not loaded yet\" as its own fallback reason,\n// same as a real failure, means the fallback image acts as a poster\n// for that entire window instead of leaving a blank gap.\nconst[hasLoaded,setHasLoaded]=useState(false);const[showFallback,setShowFallback]=useState(false);const displayFallback=!hasLoaded||suppressLive||effectiveForcePreview||showFallback||scriptFailed||!url;useEffect(()=>{// Never run any of this while the real embed is suppressed — no\n// script load, no IntersectionObserver, no grace timer. The\n// component just renders the static fallback image instead.\nif(suppressLive)return;if(!url)return;const container=containerRef.current;if(!container)return;// Reset for this url — if we're re-running because the scene\n// changed, the new one hasn't loaded yet, so go back to showing\n// the poster until it confirms it's ready.\nsetHasLoaded(false);let hasLoadedOnce=false;let isVisible=false;let graceTimer=null;let cancelled=false;const clearGraceTimer=()=>{if(graceTimer){clearTimeout(graceTimer);graceTimer=null;}};const scheduleGraceCheck=()=>{clearGraceTimer();graceTimer=setTimeout(()=>{if(!hasLoadedOnce&&isVisible){console.warn(`[SplineWithImageFallback] Scene didn't fire \"load\" within ${timeout}ms — showing fallback. URL: ${url}`);setShowFallback(true);}},timeout);};const onLoad=()=>{hasLoadedOnce=true;clearGraceTimer();setShowFallback(false);setHasLoaded(true);};const onError=e=>{console.warn(`[SplineWithImageFallback] spline-viewer fired an error event — showing fallback. URL: ${url}`,e);setShowFallback(true);};const observer=new IntersectionObserver(([entry])=>{const wasVisible=isVisible;isVisible=entry.isIntersecting;if(isVisible&&!wasVisible&&!hasLoadedOnce){scheduleGraceCheck();}},{threshold:.1});observer.observe(container);const CHECK_MS=200;const readinessPoll=setInterval(()=>{if(hasLoadedOnce){clearInterval(readinessPoll);return;}const viewer=viewerRef.current;if(viewer?.shadowRoot?.querySelector(\"canvas\")){console.info(`[SplineWithImageFallback] Detected a rendering canvas before \"load\" fired — treating as loaded. URL: ${url}`);onLoad();}},CHECK_MS);loadSplineViewerScript().then(()=>{if(cancelled)return;const viewer=viewerRef.current;if(!viewer)return;viewer.addEventListener(\"load\",onLoad);viewer.addEventListener(\"error\",onError);}).catch(err=>{if(!cancelled){console.warn(\"[SplineWithImageFallback] spline-viewer runtime script failed to load — showing fallback.\",err);setScriptFailed(true);}});return()=>{cancelled=true;clearGraceTimer();clearInterval(readinessPoll);observer.disconnect();const viewer=viewerRef.current;if(viewer){viewer.removeEventListener(\"load\",onLoad);viewer.removeEventListener(\"error\",onError);}};},[url,timeout,suppressLive]);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",borderRadius:radius,overflow:\"hidden\"},children:[!suppressLive&&url&&!scriptFailed&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:displayFallback?0:1,pointerEvents:displayFallback?\"none\":\"auto\",transition:\"opacity 0.15s ease-out\"},children:/*#__PURE__*/_jsx(\"spline-viewer\",{ref:viewerRef,url:url,style:{display:\"block\",flexShrink:0,width:`${sceneWidth}px`,height:`${sceneHeight}px`,...scale!==1&&{transform:`scale(${scale})`}}})}),fallbackSrc&&/*#__PURE__*/_jsx(\"img\",{src:fallbackSrc.src??fallbackSrc,alt:\"\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:fit,...fallbackScale!==1&&{transform:`scale(${fallbackScale})`},opacity:displayFallback?1:0,pointerEvents:displayFallback?\"auto\":\"none\",...!suppressLive&&{transition:\"opacity 0.15s ease-out\"},zIndex:1}})]});}addPropertyControls(SplineWithImageFallback,{url:{type:ControlType.String,title:\"Scene URL\",defaultValue:\"\",placeholder:\"https://prod.spline.design/xxx/scene.splinecode\"},fallbackSrc:{type:ControlType.ResponsiveImage,title:\"Fallback\"},fallbackScale:{type:ControlType.Number,title:\"Fallback Scale\",defaultValue:1,min:.1,max:3,step:.05,description:\"Zoom the fallback image in or out from its own center — independent of Embed Scale, so sizing the image never affects the live embed.\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:0,min:0},fit:{type:ControlType.Enum,title:\"Fit\",options:[\"cover\",\"contain\",\"fill\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\"],defaultValue:\"cover\"},sceneWidth:{type:ControlType.Number,title:\"Scene Width\",defaultValue:300,min:1,description:\"The actual pixel width your scene was designed at in Spline — check your project's canvas/artboard size. This is how the embed knows how to center itself correctly.\"},sceneHeight:{type:ControlType.Number,title:\"Scene Height\",defaultValue:350,min:1,description:\"The actual pixel height your scene was designed at in Spline. Must match Scene Width for correct centering.\"},scale:{type:ControlType.Number,title:\"Embed Scale\",defaultValue:1,min:.1,max:3,step:.05,description:\"Zoom the live embed in or out from its own center — below 1 shrinks, above 1 zooms in (may clip at the edges of the component).\"},timeout:{type:ControlType.Number,title:\"Timeout (ms)\",defaultValue:6e3,min:300,max:15e3,step:100,description:\"Spline scenes take longer to initialize than video, especially on a cold CDN cache — give this generous headroom. If it's falling back unexpectedly, check the browser console for the actual reason before just raising this.\"},forcePreview:{type:ControlType.Boolean,title:\"Preview Fallback\",defaultValue:false,description:\"Toggle on to see the fallback image while testing in Framer's own Preview mode. Safe to forget: this only ever has an effect inside Framer's Preview — it's automatically ignored on the actual published site, so it can't accidentally break the live embed for real visitors.\"},liveInCanvas:{type:ControlType.Boolean,title:\"Live in Editor\",defaultValue:false,description:\"ON = the real embed plays freely right here in the Canvas, so you can size and position it visually. OFF = the Canvas shows the static fallback instead, to keep the editor light on GPU. Turn this back off once you're done sizing.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SplineWithImageFallback\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SplineWithImageFallback.map"],"mappings":"oNAIwE,SAAS,EAAgB,EAAI,CAAC,IAAM,EAAM,EAAI,MAAM,qCAAqC,EAAiM,OAA5L,EAAa,WAAW,EAAM,EAAE,EAAK,EAAI,SAAS,UAAU,EAAS,EAAK,EAAI,SAAS,QAAQ,EAAS,IAAY,EAAI,SAAS,OAAO,EAAQ,GAAM,EAAI,SAAS,OAAO,EAAQ,KAAiB,CACxW,CAAC,SAAS,EAAI,EAAM,CAAC,OAAO,OAAO,KAAK,MAAM,EAAM,GAAG,EAAE,GAAG,CAAE,CAAC,SAAS,EAAa,EAAE,CAAC,OAAO,EAAE,KAAK,IAAI,KAAK,GAAG,CAAC,GAAG,CAAK,CAAC,SAAS,EAAa,EAAK,EAAM,CAAuB,OAAnB,IAAQ,EAAS,EAAS,KAAK,IAAI,EAAa,KAAK,IAAI,EAAa,KAAK,KAAK,EAAK,CAAkB,CAAC,CAAC,CAAE,CAC7Q,SAAS,EAAa,EAAM,EAAI,EAAM,EAAO,CAAC,GAAG,EAAO,IAAI,GAAG,EAAO,IAAI,EAAE,MAAM,CAAC,CAAK,EAAE,IAAM,EAAS,GAAM,KAAK,IAAI,EAAO,KAAK,EAAQ,EAAO,CAAC,EAAE,EAAM,EAAE,EAAI,EAAE,EAAM,EAAE,EAAE,EAAM,EAAE,EAAI,EAAE,EAAM,CAAC,EAAQ,EAAS,EAAa,KAAK,IAAI,EAAO,GAAG,EAAO,EAAE,EAAE,EAAO,KAAK,EAAQ,EAAO,CA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