{"version":3,"file":"shared-lib.BGLlj3tz.mjs","names":["React.useState","React.useRef","React.useCallback","React.useMemo","React.useId","useMemo","useMemo","useMemo","useState","useRef"],"sources":["https:/framerusercontent.com/modules/fUbwE4iLH2ORMqk8gOZx/bCvGv6MKodKnLTwoldCF/GooeyNavbar.js","https:/framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js","https:/framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js","https:/framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js","https:/framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js","https:/framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js","https:/framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js","https:/framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js","https:/framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js","https:/framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js","https:/framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js","https:/framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js","https:/framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js","https:/framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js","https:/framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js","https:/framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js","https:/framer.com/m/framer/default-utils.js","https:/framerusercontent.com/modules/o1PI5S8YtkA5bP5g4dFz/cAPMVEI6osbJ1UvICgTq/Embed.js","https:/framerusercontent.com/modules/hGWQ6DoocusTRlKjXbzF/itczqvbEqpED3jEVlLGI/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,useInView,useMotionValue}from\"framer-motion\";// Link controls hand back anything from \"/about\" to a full absolute URL, so\n// both sides are reduced to a bare lowercase path before they are compared.\nfunction toPath(value){if(!value)return null;let path=value;const schemeEnd=path.indexOf(\"://\");if(schemeEnd!==-1){const afterHost=path.indexOf(\"/\",schemeEnd+3);path=afterHost===-1?\"/\":path.slice(afterHost);}const queryStart=path.search(/[?#]/u);if(queryStart!==-1)path=path.slice(0,queryStart);if(!path.startsWith(\"/\"))path=`/${path}`;if(path.length>1)path=path.replace(/\\/+$/u,\"\");return path.toLowerCase()||\"/\";}/** The `#section` an item points at, if it points at one. */function toHash(value){if(!value)return null;const marker=value.indexOf(\"#\");if(marker===-1)return null;return value.slice(marker+1).trim()||null;}function round(value){return(Math.round(value*100)/100).toString();}/** A rounded rectangle, drawn with arcs so the corners stay true circles. */function pillPath(rect,radius){const r=Math.min(radius,rect.width/2,rect.height/2);const{x,y,width:w,height:h}=rect;return[`M${round(x)} ${round(y+r)}`,`A${round(r)} ${round(r)} 0 0 1 ${round(x+r)} ${round(y)}`,`L${round(x+w-r)} ${round(y)}`,`A${round(r)} ${round(r)} 0 0 1 ${round(x+w)} ${round(y+r)}`,`L${round(x+w)} ${round(y+h-r)}`,`A${round(r)} ${round(r)} 0 0 1 ${round(x+w-r)} ${round(y+h)}`,`L${round(x+r)} ${round(y+h)}`,`A${round(r)} ${round(r)} 0 0 1 ${round(x)} ${round(y+h-r)}`,\"Z\"].join(\" \");}/**\n * The waist joining two pills.\n *\n * The scoop on each side is a true fillet: a circle tangent to both pills'\n * corner circles, lowered until its underside just grazes the requested waist.\n * Because it meets each corner tangentially, the pill's own rounding runs on\n * uninterrupted and the join appears to grow out of the side of the pill rather\n * than to be stretched between its corners.\n *\n * Its radius is not a free choice — solving for it is the whole trick. A wider\n * scoop and a thinner waist are the same statement about one circle, so asking\n * for a narrow waist automatically buys the long sweeping curve that goes with\n * it. Drawing the scoop with a bezier instead leaves the two independent, and\n * then a thin waist demands a fall the curve has no room to make, so it gets\n * clipped back into the pinched corner-to-corner look this replaces.\n */function waistPath(left,right,radius,neck,openness){if(openness<=.02)return null;const h=left.height;const cy=left.y+h/2;const r=Math.min(radius,h/2,left.width/2,right.width/2);if(r<=0)return null;const xa=left.x+left.width;const xb=right.x;const gap=xb-xa;if(gap<0)return null;const waistHalf=Math.min(neck/2*openness,h/2-.5);// Distance from a corner circle's centre to the fillet's, measured across;\n// and where the waist sits relative to that corner centre.\nconst across=gap/2+r;const drop=waistHalf-h/2+r;const denom=2*(drop-r);if(Math.abs(denom)<1e-4)return null;const fillet=(r*r-across*across-drop*drop)/denom;if(!(fillet>0)||r+fillet<across)return null;const rise=Math.sqrt(Math.max(0,(r+fillet)*(r+fillet)-across*across));const midX=(xa+xb)/2;// Tangent point where the fillet meets the left pill's top corner.\nconst cornerX=xa-r;const cornerY=left.y+r;const vx=midX-cornerX;const vy=left.y+r-rise-cornerY;const len=Math.hypot(vx,vy)||1;const tax=cornerX+r*vx/len;const tay=cornerY+r*vy/len;const tbx=2*midX-tax;return[`M${round(tax)} ${round(tay)}`,`A${round(fillet)} ${round(fillet)} 0 0 0 ${round(tbx)} ${round(tay)}`,`L${round(tbx)} ${round(2*cy-tay)}`,`A${round(fillet)} ${round(fillet)} 0 0 0 ${round(tax)} ${round(2*cy-tay)}`,\"Z\"].join(\" \");}const defaultItems=[{label:\"Products\",link:\"\"},{label:\"About\",link:\"\"},{label:\"Sustainability\",link:\"\"},{label:\"Journal\",link:\"\"}];/**\n * Gooey Navbar\n *\n * A row of separate pills that grow a waist to their neighbours when hovered, or\n * when they mark the page being viewed. Opening a join needs room, so the row\n * widens; the Anchor setting decides which side absorbs that and which stays\n * where it was put. No pill ever changes size.\n *\n * The shape is drawn, not filtered. Each pill is a rounded rectangle and each\n * join is a fillet tangent to the corners on either side of it. Deriving the\n * join from a blur instead would chain the softness of the waist to the blur\n * radius, and the blur radius to the gap — so the join would coarsen into a\n * welded bar as soon as the pills moved apart. Drawn this way the waist, the\n * corner radius and the gap are three independent numbers.\n *\n * Hovering also lights a soft halo that follows the cursor across pills and\n * waists alike, and whichever item is current carries a dot under its label.\n * What \"current\" means is a setting: the page being viewed, the section being\n * scrolled through, or simply the last one clicked — so the same row serves as\n * a site navigation, a landing page's contents, or a segmented control.\n *\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 60\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function GooeyNavbar(props){const{items=defaultItems,pillColor,hoverPillColor,textColor,hoverTextColor,font,uppercase,letterSpacing,fontSize,paddingX,paddingY,cornerRadius,gap,neighborPush,anchorEdge,neckRatio,glowSize,activeFrom,scrollDuration,scrollOffset,activePreview,onSelect,transition,style}=props;const[hoveredIndex,setHoveredIndex]=React.useState(null);const[rects,setRects]=React.useState([]);const[currentPath,setCurrentPath]=React.useState(null);// Tracked separately from the hovered item: the pointer crosses the gaps\n// between pills, and the halo should ride over them rather than blink out.\nconst[pointerInside,setPointerInside]=React.useState(false);const isStatic=useIsStaticRenderer();const containerRef=React.useRef(null);const itemRefs=React.useRef([]);const inView=useInView(containerRef,{amount:.2});// Hover only drives the effect where it can actually be seen.\nconst activeIndex=!isStatic&&inView?hoveredIndex:null;// Motion values rather than state: the pointer moves far too often to spend\n// a React render on each sample.\nconst pointerX=useMotionValue(-9999);const pointerY=useMotionValue(-9999);// Read by the pointer handler, which must not be rebuilt on every frame.\nconst rectsRef=React.useRef([]);const hoveredRef=React.useRef(null);const trackPointer=React.useCallback(event=>{const container=containerRef.current;if(!container)return;const bounds=container.getBoundingClientRect();const x=event.clientX-bounds.left;pointerX.set(x);pointerY.set(event.clientY-bounds.top);// The nearest pill takes the hover, rather than each pill waiting to\n// be entered itself. The gaps between them are dead ground, and\n// letting the row fall shut every time the cursor crosses one turns a\n// sweep along the row into a stutter of joins opening and closing.\nconst list=rectsRef.current;let nearest=null;let shortest=Infinity;for(let index=0;index<list.length;index++){const rect=list[index];const distance=x<rect.x?rect.x-x:x>rect.x+rect.width?x-(rect.x+rect.width):0;if(distance<shortest){shortest=distance;nearest=index;}}if(nearest!==hoveredRef.current){hoveredRef.current=nearest;React.startTransition(()=>setHoveredIndex(nearest));}if(!pointerInside){React.startTransition(()=>setPointerInside(true));}},[pointerX,pointerY,pointerInside]);const activate=React.useCallback(index=>{hoveredRef.current=index;React.startTransition(()=>setHoveredIndex(index));},[]);const deactivate=React.useCallback(()=>{hoveredRef.current=null;React.startTransition(()=>{setHoveredIndex(null);setPointerInside(false);});},[]);const setItemRef=React.useCallback((index,node)=>{itemRefs.current[index]=node;},[]);// Read once on mount: Framer routes with real navigations, so a fresh mount\n// is exactly when the page can have changed underneath us.\nReact.useEffect(()=>{if(typeof window===\"undefined\")return;setCurrentPath(toPath(window.location.pathname));},[]);// Which item marks the page we are on. The canvas has no address to match\n// against, so there the preview index stands in for it.\n// Section mode: the item is active while the part of the page it points at is\n// the part being read. The observer's margins collapse the viewport to a thin\n// band across its middle, so exactly one section qualifies at a time instead\n// of every section that happens to be on screen.\nconst[sectionIndex,setSectionIndex]=React.useState(null);React.useEffect(()=>{if(isStatic||activeFrom!==\"section\")return;if(typeof window===\"undefined\")return;if(typeof IntersectionObserver===\"undefined\")return;const targets=[];items.forEach((item,index)=>{const id=toHash(item.link);if(!id)return;const element=document.getElementById(id);if(element)targets.push({index,element});});if(targets.length===0)return;const inBand=new Set;const observer=new IntersectionObserver(entries=>{for(const entry of entries){if(entry.isIntersecting)inBand.add(entry.target);else inBand.delete(entry.target);}// While a click is scrolling the page, every section it travels\n// past crosses the band in turn. Letting those through would\n// walk the dot along the row before it settled on the one that\n// was actually asked for.\nif(performance.now()<scrollLockRef.current)return;const hit=targets.find(target=>inBand.has(target.element));React.startTransition(()=>setSectionIndex(hit?hit.index:null));},{rootMargin:\"-40% 0px -55% 0px\",threshold:0});for(const target of targets)observer.observe(target.element);return()=>observer.disconnect();},[isStatic,activeFrom,items]);// Click mode: the row keeps its own selection, the way a segmented control\n// does, rather than reading it from anywhere outside.\nconst[clickedIndex,setClickedIndex]=React.useState(null);// Held past the end of a scroll so the observer above ignores the sections\n// travelled through on the way.\nconst scrollLockRef=React.useRef(0);const scrollFrameRef=React.useRef(0);const select=React.useCallback((index,event)=>{if(activeFrom===\"click\"){React.startTransition(()=>setClickedIndex(index));onSelect?.(index);return;}if(activeFrom!==\"section\"||typeof window===\"undefined\")return;const id=toHash(items[index]?.link);if(!id)return;const element=document.getElementById(id);if(!element)return;// The browser's own jump is what a bare anchor gets; taking the\n// click over is the only way to ease it instead.\nevent.preventDefault();const destination=element.getBoundingClientRect().top+window.scrollY-scrollOffset;const start=window.scrollY;const distance=destination-start;// Whoever asked for it is right, whatever the sections say on the way.\nReact.startTransition(()=>setSectionIndex(index));const reduced=window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;if(reduced||scrollDuration<=0||Math.abs(distance)<1){window.scrollTo(0,destination);scrollLockRef.current=performance.now()+120;return;}cancelAnimationFrame(scrollFrameRef.current);scrollLockRef.current=performance.now()+scrollDuration+150;const began=performance.now();// Ease in and out, so it leaves and arrives without a jolt.\nconst ease=t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2;const step=now=>{const progress=Math.min((now-began)/scrollDuration,1);window.scrollTo(0,start+distance*ease(progress));if(progress<1){scrollFrameRef.current=requestAnimationFrame(step);}};scrollFrameRef.current=requestAnimationFrame(step);},[activeFrom,onSelect,items,scrollOffset,scrollDuration]);// A scroll of one's own has to yield the moment the reader takes over.\nReact.useEffect(()=>{if(typeof window===\"undefined\")return;const stop=()=>{cancelAnimationFrame(scrollFrameRef.current);scrollLockRef.current=0;};window.addEventListener(\"wheel\",stop,{passive:true});window.addEventListener(\"touchstart\",stop,{passive:true});window.addEventListener(\"keydown\",stop);return()=>{window.removeEventListener(\"wheel\",stop);window.removeEventListener(\"touchstart\",stop);window.removeEventListener(\"keydown\",stop);cancelAnimationFrame(scrollFrameRef.current);};},[]);const currentIndex=React.useMemo(()=>{// The control counts from 1 so it reads like the Items list.\nconst preview=activePreview-1;const fallback=preview>=0&&preview<items.length?preview:null;// The canvas has no address, no scroll and no clicks, so the preview\n// index stands in for whichever mode is chosen.\nif(isStatic)return fallback;if(activeFrom===\"click\")return clickedIndex??fallback;if(activeFrom===\"section\")return sectionIndex??fallback;if(currentPath===null)return fallback;const match=items.findIndex(item=>toPath(item.link)===currentPath);return match===-1?null:match;},[activeFrom,isStatic,currentPath,sectionIndex,clickedIndex,activePreview,items]);const dotSize=Math.max(3,Math.round(fontSize*.28));const dotBottom=Math.max(3,Math.round(paddingY*.32));const shouldStretch=style?.width===\"100%\";const textStyle=React.useMemo(()=>({fontFamily:font?.fontFamily,fontWeight:font?.fontWeight,fontStyle:font?.fontStyle,lineHeight:font?.lineHeight,fontSize,letterSpacing:`${letterSpacing}px`,textTransform:uppercase?\"uppercase\":\"none\",textAlign:font?.textAlign??\"center\",whiteSpace:\"nowrap\",minWidth:\"max-content\"}),[font,fontSize,letterSpacing,uppercase]);// The text row is the source of truth for geometry; the shape layer mirrors\n// it. Offsets are read instead of bounding rects on purpose: the push moves\n// the labels with a transform, and bounding rects would feed that movement\n// straight back into the next measurement.\nconst measure=React.useCallback(()=>{const container=containerRef.current;if(!container)return;const next=[];for(let index=0;index<items.length;index++){const element=itemRefs.current[index];if(!element)return;let x=element.offsetLeft;let y=element.offsetTop;let parent=element.offsetParent;while(parent&&parent!==container){x+=parent.offsetLeft;y+=parent.offsetTop;parent=parent.offsetParent;}next.push({x,y,width:element.offsetWidth,height:element.offsetHeight});}React.startTransition(()=>setRects(next));},[items.length]);React.useEffect(()=>{if(typeof window===\"undefined\")return;measure();const container=containerRef.current;if(!container)return;let resizeObserver=null;if(typeof ResizeObserver!==\"undefined\"){resizeObserver=new ResizeObserver(()=>measure());resizeObserver.observe(container);for(const node of itemRefs.current){if(node)resizeObserver.observe(node);}}const onResize=()=>measure();window.addEventListener(\"resize\",onResize);// Web fonts change label widths after first paint.\nconst fonts=document.fonts;if(fonts?.ready){fonts.ready.then(()=>measure());}return()=>{window.removeEventListener(\"resize\",onResize);if(resizeObserver)resizeObserver.disconnect();};},[items,gap,paddingX,paddingY,font,fontSize,letterSpacing,uppercase,shouldStretch,measure]);// Rough first-paint geometry so the canvas is never empty before measuring.\nconst estimatedRects=React.useMemo(()=>{let x=0;return items.map(item=>{const width=item.label.length*(fontSize*.62+letterSpacing)+paddingX*2;const height=fontSize+paddingY*2;const rect={x,y:0,width,height};x+=width+gap;return rect;});},[items,fontSize,letterSpacing,paddingX,paddingY,gap]);const hasMeasured=rects.length===items.length&&rects.length>0;const baseRects=hasMeasured?rects:estimatedRects;const pillHeight=baseRects[0]?.height??fontSize+paddingY*2;const radiusPx=React.useMemo(()=>{const parsed=Number.parseFloat(String(cornerRadius));const value=Number.isFinite(parsed)?parsed:pillHeight*.34;return Math.min(Math.max(value,0),pillHeight/2);},[cornerRadius,pillHeight]);// A gap is open when either of the pills it separates is hovered or marks\n// the current page. It opens once, however many of the two are involved —\n// otherwise hovering next to the current page would stretch a join that\n// already exists and heave the row sideways.\nconst targets=React.useMemo(()=>{const isOpen=index=>index===activeIndex||index===currentIndex;return baseRects.slice(0,-1).map((_,index)=>isOpen(index)||isOpen(index+1)?1:0);},[baseRects,activeIndex,currentIndex]);// Each gap eases toward its target under the Transition control's spring.\n// The whole shape is rebuilt from these numbers, so one value per gap is all\n// the state the animation needs.\nconst[openness,setOpenness]=React.useState([]);const valuesRef=React.useRef([]);const velocityRef=React.useRef([]);// The row is laid out left to right from the gaps alone, which makes every\n// position a continuous function of the springs above.\nconst layoutRef=React.useRef({baseRects,gap,neighborPush});layoutRef.current={baseRects,gap,neighborPush};const spreadFrom=React.useCallback(open=>{const{baseRects:rects,gap:g,neighborPush:push}=layoutRef.current;const out=new Array(rects.length);if(rects.length===0)return out;out[0]=rects[0].x;for(let index=1;index<rects.length;index++){out[index]=out[index-1]+rects[index-1].width+g+push*(open[index-1]??0);}return out;},[]);React.useEffect(()=>{if(isStatic){valuesRef.current=[...targets];setOpenness([...targets]);return;}const stiffness=transition?.stiffness??260;const damping=transition?.damping??30;const mass=Math.max(transition?.mass??1,.01);let frame=0;let last=performance.now();const step=now=>{const dt=Math.min((now-last)/1e3,1/30);last=now;const values=valuesRef.current;const velocity=velocityRef.current;let settling=false;for(let index=0;index<targets.length;index++){const target=targets[index];const x=values[index]??target;const v=velocity[index]??0;const accel=(-stiffness*(x-target)-damping*v)/mass;const nextV=v+accel*dt;const nextX=x+nextV*dt;if(Math.abs(nextX-target)>.002||Math.abs(nextV)>.02){values[index]=nextX;velocity[index]=nextV;settling=true;}else{values[index]=target;velocity[index]=0;}}values.length=targets.length;velocity.length=targets.length;setOpenness([...values]);if(settling)frame=requestAnimationFrame(step);};frame=requestAnimationFrame(step);return()=>cancelAnimationFrame(frame);},[targets,isStatic,transition]);const openAt=React.useCallback(index=>openness[index]??targets[index]??0,[openness,targets]);// Opening a gap makes the row wider, so one end has to give. Which end is a\n// fixed choice rather than a moving one: pinning to a pill would mean the\n// basis of the layout changed the moment a different pill became current,\n// moving every other pill in a single frame. Pinning to an edge instead\n// leaves the offset a plain function of how far the row has grown, so it\n// follows the same springs as everything else and can never jump.\nconst shifts=React.useMemo(()=>{const count=baseRects.length;if(count===0)return[];const open=baseRects.slice(0,-1).map((_,index)=>openAt(index));const positions=spreadFrom(open);const last=count-1;const grown=positions[last]+baseRects[last].width-positions[0];const resting=baseRects[last].x+baseRects[last].width-baseRects[0].x;const growth=grown-resting;// Centring on the outer edges is not the same as centring on what the\n// eye sees. The pills differ in width and the extra room appears at one\n// gap rather than spread evenly, so holding the bounding box still lets\n// the weight of the row drift inside it. Balancing the ink instead —\n// each pill's midpoint carried by its width — keeps the row looking\n// planted, at the cost of the invisible edges shifting a little.\nconst balance=xs=>{let moment=0;let total=0;for(let index=0;index<count;index++){const width=baseRects[index].width;moment+=(xs[index]+width/2)*width;total+=width;}return total>0?moment/total:0;};const offset=anchorEdge===\"left\"?0:anchorEdge===\"right\"?-growth:balance(baseRects.map(rect=>rect.x))-balance(positions);return positions.map((x,index)=>x+offset-baseRects[index].x);},[baseRects,openAt,spreadFrom,anchorEdge]);const shapeRects=React.useMemo(()=>baseRects.map((rect,index)=>({...rect,x:rect.x+(shifts[index]??0)})),[baseRects,shifts]);rectsRef.current=shapeRects;// Every pill and every waist ends up as subpaths of one single path, rather\n// than a path element each. Each waist tucks its ends inside the two pills it\n// joins, and drawing those as separate elements paints the overlaps twice —\n// invisible while the fill is opaque, but the halo's fill is not, so each\n// overlap would show up as a bright seam down the join. Gathered into one\n// path they are wound the same way, so the non-zero fill rule takes the union\n// and paints every pixel exactly once.\nconst shapeData=React.useMemo(()=>{const parts=[];for(const rect of shapeRects)parts.push(pillPath(rect,radiusPx));for(let index=0;index<shapeRects.length-1;index++){const d=waistPath(shapeRects[index],shapeRects[index+1],radiusPx,pillHeight*neckRatio,openAt(index));if(d)parts.push(d);}return parts.join(\" \");},[shapeRects,radiusPx,pillHeight,neckRatio,openAt]);// The halo is a gradient the shapes are *filled* with, not a mask laid over\n// them. A CSS mask only paints across its own element's box, so anything the\n// row overhangs — a shoved end pill, or simply the far side of the halo\n// itself — gets sheared off at that boundary. Filling instead puts the\n// gradient in the same user space as the paths, where there is no box to\n// reach the edge of.\nconst reactId=React.useId();const glowId=`goo-glow-${reactId.replace(/:/g,\"\")}`;const gradientRef=React.useRef(null);React.useEffect(()=>{const follow=(value,axis)=>{const handler=next=>gradientRef.current?.setAttribute(axis,String(next));return typeof value.on===\"function\"?value.on(\"change\",handler):value.onChange?.(handler);};const stopX=follow(pointerX,\"cx\");const stopY=follow(pointerY,\"cy\");return()=>{stopX?.();stopY?.();};},[pointerX,pointerY]);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",display:\"block\",width:shouldStretch?\"100%\":\"max-content\",...style},onMouseMove:isStatic?undefined:trackPointer,onMouseLeave:deactivate,children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",\"aria-hidden\":\"true\",focusable:\"false\",style:{position:\"absolute\",inset:0,zIndex:0,pointerEvents:\"none\",overflow:\"visible\"},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"radialGradient\",{ref:gradientRef,id:glowId,gradientUnits:\"userSpaceOnUse\",cx:-9999,cy:-9999,r:glowSize,children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:hoverPillColor,stopOpacity:1}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.45\",stopColor:hoverPillColor,stopOpacity:.55}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:hoverPillColor,stopOpacity:0})]})}),/*#__PURE__*/_jsx(\"path\",{d:shapeData,fill:pillColor,fillRule:\"nonzero\"}),!isStatic&&/*#__PURE__*/_jsx(motion.path,{d:shapeData,fill:`url(#${glowId})`,fillRule:\"nonzero\",initial:false,animate:{opacity:pointerInside?1:0},transition:transition})]}),/*#__PURE__*/_jsx(\"nav\",{\"aria-label\":\"Main\",style:{display:\"flex\",alignItems:\"center\",justifyContent:shouldStretch?\"center\":\"flex-start\",gap,width:shouldStretch?\"100%\":\"max-content\",minWidth:shouldStretch?undefined:\"max-content\",position:\"relative\",zIndex:1},children:items.map((item,index)=>{const isHovered=activeIndex===index;const isCurrent=currentIndex===index;const sharedStyle={...textStyle,color:isHovered?hoverTextColor:textColor,paddingTop:paddingY,paddingBottom:paddingY,paddingLeft:paddingX,paddingRight:paddingX,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"transparent\",border:\"none\",borderRadius:cornerRadius,textDecoration:\"none\",cursor:\"pointer\",boxSizing:\"border-box\",appearance:\"none\",// Anchors the current-page dot.\nposition:\"relative\"};const interaction={onMouseEnter:()=>activate(index),onFocus:()=>activate(index),onBlur:deactivate,onClick:event=>select(index,event),ref:node=>setItemRef(index,node),animate:{color:isHovered?hoverTextColor:textColor,// Labels ride along with their own pill.\nx:shifts[index]??0},transition:{duration:0},style:sharedStyle,\"aria-current\":isCurrent?\"page\":undefined};// Absolutely positioned so it cannot add to the item's\n// height, which is what the shape geometry is measured from.\nconst dot=isCurrent?/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:\"50%\",bottom:dotBottom,marginLeft:-dotSize/2,width:dotSize,height:dotSize,borderRadius:\"50%\",backgroundColor:\"currentColor\"}}):null;return item.link?/*#__PURE__*/_jsxs(motion.a,{href:item.link,...interaction,children:[item.label,dot]},`item-${index}`):/*#__PURE__*/_jsxs(motion.button,{type:\"button\",...interaction,children:[item.label,dot]},`item-${index}`);})})]});}addPropertyControls(GooeyNavbar,{items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Item\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\"}}},defaultValue:defaultItems},pillColor:{type:ControlType.Color,title:\"Pill\",defaultValue:\"#FFFFFF\"},hoverPillColor:{type:ControlType.Color,title:\"Hover Pill\",description:\"Colour of the halo that follows the cursor across the row.\",defaultValue:\"#EFF4C8\"},glowSize:{type:ControlType.Number,title:\"Glow\",description:\"Reach of that halo. Small values light only what is directly under the cursor; large ones wash across several pills.\",defaultValue:90,min:10,max:400,step:5,unit:\"px\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#111111\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"#111111\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,variant:\"Semibold\",letterSpacing:\"0px\",lineHeight:\"1em\",textAlign:\"center\"}},uppercase:{type:ControlType.Boolean,title:\"Uppercase\",defaultValue:true},letterSpacing:{type:ControlType.Number,title:\"Letter Sp\",defaultValue:1,min:-2,max:8,step:.1,unit:\"px\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:10,max:48,step:1,unit:\"px\"},paddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:24,min:4,max:96,step:1,unit:\"px\"},paddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:15,min:2,max:48,step:1,unit:\"px\"},cornerRadius:{type:ControlType.BorderRadius,title:\"Radius\",description:\"Corner rounding of the pills, capped at half their height. The waist is drawn to meet whatever this is, so it is free to be anything from a square to a capsule. Per-corner values are not supported: the first number is used for all four.\",defaultValue:\"999px\"},gap:{type:ControlType.Number,title:\"Gap\",description:\"Space between pills at rest. The waist spans whatever this is without thinning, so it can be set purely by eye.\",defaultValue:16,min:0,max:80,step:1,unit:\"px\"},neighborPush:{type:ControlType.Number,title:\"Push\",description:\"How far the other pills slide aside when one opens. The opened pill itself stays put, so whatever is under the cursor never moves.\",defaultValue:10,min:0,max:60,step:1,unit:\"px\"},anchorEdge:{type:ControlType.Enum,title:\"Anchor\",description:\"What stays put as the row widens to make room for a join. Match it to how the navbar is placed — pin the right edge for a right-aligned bar, so the growth runs inward instead of pushing the bar off its alignment. Balanced holds the row's visual weight still rather than its outer edges, which is what reads as centred.\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left edge\",\"Balanced\",\"Right edge\"],defaultValue:\"center\"},neckRatio:{type:ControlType.Number,title:\"Neck\",description:\"Thickness of the waist as a share of the pill's height, and with it the sweep of the scoop on either side — the two are one circle, so a thinner waist automatically curves wider. Around 0.4 reads as poured together; above 0.7 the join broadens until it spans corner to corner.\",defaultValue:.4,min:.1,max:.9,step:.02},activeFrom:{type:ControlType.Enum,title:\"Active From\",description:\"What decides which item is marked. Page compares each link with the address being viewed. Section watches the part of the page each link points at and follows the scroll. Click keeps the choice locally, the way a segmented control does.\",options:[\"page\",\"section\",\"click\"],optionTitles:[\"Page address\",\"Section in view\",\"Click\"],defaultValue:\"page\"},onSelect:{type:ControlType.EventHandler,title:\"On Select\",hidden:props=>props.activeFrom!==\"click\"},scrollDuration:{type:ControlType.Number,title:\"Scroll\",description:\"How long the glide to a section takes. A bare anchor link jumps instantly, so the click is taken over to ease it. Set to 0 to keep the jump. Readers who ask for reduced motion always get the jump.\",defaultValue:700,min:0,max:2e3,step:50,unit:\"ms\",hidden:props=>props.activeFrom!==\"section\"},scrollOffset:{type:ControlType.Number,title:\"Scroll Offset\",description:\"How far above the section to stop. Set it to the height of a sticky header so the section does not land underneath one.\",defaultValue:0,min:0,max:400,step:4,unit:\"px\",hidden:props=>props.activeFrom!==\"section\"},activePreview:{type:ControlType.Number,title:\"Preview Active\",description:\"Which item shows the dot on the canvas, counting from 1. Use 0 for none. The canvas has no address, scroll or clicks to read, so this stands in for all three; the published site uses the real thing.\",defaultValue:2,min:0,max:20,step:1,displayStepper:true},transition:{type:ControlType.Transition,title:\"Transition\",description:\"Spring the joins open and shut on. Lower stiffness or higher mass slows it down; damping below about twice the square root of stiffness lets it overshoot.\",defaultValue:{type:\"spring\",stiffness:260,damping:30,mass:1}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GooeyNavbar\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"60\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"640\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GooeyNavbar.map","import { ControlType } from \"framer\";\nexport const fontStack = `\"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"`;\nexport const containerStyles = {\n    position: \"relative\",\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(136, 85, 255, 0.3)\",\n    color: \"#85F\",\n    border: \"1px dashed #85F\",\n    flexDirection: \"column\"\n};\nexport const defaultEvents = {\n    onClick: {\n        type: ControlType.EventHandler\n    },\n    onMouseEnter: {\n        type: ControlType.EventHandler\n    },\n    onMouseLeave: {\n        type: ControlType.EventHandler\n    }\n};\nexport const fontSizeOptions = {\n    type: ControlType.Number,\n    title: \"Font Size\",\n    min: 2,\n    max: 200,\n    step: 1,\n    displayStepper: true\n};\nexport const fontControls = {\n    font: {\n        type: ControlType.Boolean,\n        title: \"Font\",\n        defaultValue: false,\n        disabledTitle: \"Default\",\n        enabledTitle: \"Custom\"\n    },\n    fontFamily: {\n        type: ControlType.String,\n        title: \"Family\",\n        placeholder: \"Inter\",\n        hidden: ({ font  })=>!font\n    },\n    fontWeight: {\n        type: ControlType.Enum,\n        title: \"Weight\",\n        options: [\n            100,\n            200,\n            300,\n            400,\n            500,\n            600,\n            700,\n            800,\n            900\n        ],\n        optionTitles: [\n            \"Thin\",\n            \"Extra-light\",\n            \"Light\",\n            \"Regular\",\n            \"Medium\",\n            \"Semi-bold\",\n            \"Bold\",\n            \"Extra-bold\",\n            \"Black\", \n        ],\n        hidden: ({ font  })=>!font\n    }\n};\n// @TODO check if we're missing anything here — there doesn't seem to be a reliable browser API for this\nexport const localeOptions = {\n    af: \"Afrikaans\",\n    sq: \"Albanian\",\n    an: \"Aragonese\",\n    ar: \"Arabic (Standard)\",\n    \"ar-dz\": \"Arabic (Algeria)\",\n    \"ar-bh\": \"Arabic (Bahrain)\",\n    \"ar-eg\": \"Arabic (Egypt)\",\n    \"ar-iq\": \"Arabic (Iraq)\",\n    \"ar-jo\": \"Arabic (Jordan)\",\n    \"ar-kw\": \"Arabic (Kuwait)\",\n    \"ar-lb\": \"Arabic (Lebanon)\",\n    \"ar-ly\": \"Arabic (Libya)\",\n    \"ar-ma\": \"Arabic (Morocco)\",\n    \"ar-om\": \"Arabic (Oman)\",\n    \"ar-qa\": \"Arabic (Qatar)\",\n    \"ar-sa\": \"Arabic (Saudi Arabia)\",\n    \"ar-sy\": \"Arabic (Syria)\",\n    \"ar-tn\": \"Arabic (Tunisia)\",\n    \"ar-ae\": \"Arabic (U.A.E.)\",\n    \"ar-ye\": \"Arabic (Yemen)\",\n    hy: \"Armenian\",\n    as: \"Assamese\",\n    ast: \"Asturian\",\n    az: \"Azerbaijani\",\n    eu: \"Basque\",\n    bg: \"Bulgarian\",\n    be: \"Belarusian\",\n    bn: \"Bengali\",\n    bs: \"Bosnian\",\n    br: \"Breton\",\n    my: \"Burmese\",\n    ca: \"Catalan\",\n    ch: \"Chamorro\",\n    ce: \"Chechen\",\n    zh: \"Chinese\",\n    \"zh-hk\": \"Chinese (Hong Kong)\",\n    \"zh-cn\": \"Chinese (PRC)\",\n    \"zh-sg\": \"Chinese (Singapore)\",\n    \"zh-tw\": \"Chinese (Taiwan)\",\n    cv: \"Chuvash\",\n    co: \"Corsican\",\n    cr: \"Cree\",\n    hr: \"Croatian\",\n    cs: \"Czech\",\n    da: \"Danish\",\n    nl: \"Dutch (Standard)\",\n    \"nl-be\": \"Dutch (Belgian)\",\n    en: \"English\",\n    \"en-au\": \"English (Australia)\",\n    \"en-bz\": \"English (Belize)\",\n    \"en-ca\": \"English (Canada)\",\n    \"en-ie\": \"English (Ireland)\",\n    \"en-jm\": \"English (Jamaica)\",\n    \"en-nz\": \"English (New Zealand)\",\n    \"en-ph\": \"English (Philippines)\",\n    \"en-za\": \"English (South Africa)\",\n    \"en-tt\": \"English (Trinidad & Tobago)\",\n    \"en-gb\": \"English (United Kingdom)\",\n    \"en-us\": \"English (United States)\",\n    \"en-zw\": \"English (Zimbabwe)\",\n    eo: \"Esperanto\",\n    et: \"Estonian\",\n    fo: \"Faeroese\",\n    fa: \"Farsi\",\n    fj: \"Fijian\",\n    fi: \"Finnish\",\n    fr: \"French (Standard)\",\n    \"fr-be\": \"French (Belgium)\",\n    \"fr-ca\": \"French (Canada)\",\n    \"fr-fr\": \"French (France)\",\n    \"fr-lu\": \"French (Luxembourg)\",\n    \"fr-mc\": \"French (Monaco)\",\n    \"fr-ch\": \"French (Switzerland)\",\n    fy: \"Frisian\",\n    fur: \"Friulian\",\n    gd: \"Gaelic (Scots)\",\n    \"gd-ie\": \"Gaelic (Irish)\",\n    gl: \"Galacian\",\n    ka: \"Georgian\",\n    de: \"German (Standard)\",\n    \"de-at\": \"German (Austria)\",\n    \"de-de\": \"German (Germany)\",\n    \"de-li\": \"German (Liechtenstein)\",\n    \"de-lu\": \"German (Luxembourg)\",\n    \"de-ch\": \"German (Switzerland)\",\n    el: \"Greek\",\n    gu: \"Gujurati\",\n    ht: \"Haitian\",\n    he: \"Hebrew\",\n    hi: \"Hindi\",\n    hu: \"Hungarian\",\n    is: \"Icelandic\",\n    id: \"Indonesian\",\n    iu: \"Inuktitut\",\n    ga: \"Irish\",\n    it: \"Italian (Standard)\",\n    \"it-ch\": \"Italian (Switzerland)\",\n    ja: \"Japanese\",\n    kn: \"Kannada\",\n    ks: \"Kashmiri\",\n    kk: \"Kazakh\",\n    km: \"Khmer\",\n    ky: \"Kirghiz\",\n    tlh: \"Klingon\",\n    ko: \"Korean\",\n    \"ko-kp\": \"Korean (North Korea)\",\n    \"ko-kr\": \"Korean (South Korea)\",\n    la: \"Latin\",\n    lv: \"Latvian\",\n    lt: \"Lithuanian\",\n    lb: \"Luxembourgish\",\n    mk: \"FYRO Macedonian\",\n    ms: \"Malay\",\n    ml: \"Malayalam\",\n    mt: \"Maltese\",\n    mi: \"Maori\",\n    mr: \"Marathi\",\n    mo: \"Moldavian\",\n    nv: \"Navajo\",\n    ng: \"Ndonga\",\n    ne: \"Nepali\",\n    no: \"Norwegian\",\n    nb: \"Norwegian (Bokmal)\",\n    nn: \"Norwegian (Nynorsk)\",\n    oc: \"Occitan\",\n    or: \"Oriya\",\n    om: \"Oromo\",\n    \"fa-ir\": \"Persian/Iran\",\n    pl: \"Polish\",\n    pt: \"Portuguese\",\n    \"pt-br\": \"Portuguese (Brazil)\",\n    pa: \"Punjabi\",\n    \"pa-in\": \"Punjabi (India)\",\n    \"pa-pk\": \"Punjabi (Pakistan)\",\n    qu: \"Quechua\",\n    rm: \"Rhaeto-Romanic\",\n    ro: \"Romanian\",\n    \"ro-mo\": \"Romanian (Moldavia)\",\n    ru: \"Russian\",\n    \"ru-mo\": \"Russian (Moldavia)\",\n    sz: \"Sami (Lappish)\",\n    sg: \"Sango\",\n    sa: \"Sanskrit\",\n    sc: \"Sardinian\",\n    sd: \"Sindhi\",\n    si: \"Singhalese\",\n    sr: \"Serbian\",\n    sk: \"Slovak\",\n    sl: \"Slovenian\",\n    so: \"Somani\",\n    sb: \"Sorbian\",\n    es: \"Spanish\",\n    \"es-ar\": \"Spanish (Argentina)\",\n    \"es-bo\": \"Spanish (Bolivia)\",\n    \"es-cl\": \"Spanish (Chile)\",\n    \"es-co\": \"Spanish (Colombia)\",\n    \"es-cr\": \"Spanish (Costa Rica)\",\n    \"es-do\": \"Spanish (Dominican Republic)\",\n    \"es-ec\": \"Spanish (Ecuador)\",\n    \"es-sv\": \"Spanish (El Salvador)\",\n    \"es-gt\": \"Spanish (Guatemala)\",\n    \"es-hn\": \"Spanish (Honduras)\",\n    \"es-mx\": \"Spanish (Mexico)\",\n    \"es-ni\": \"Spanish (Nicaragua)\",\n    \"es-pa\": \"Spanish (Panama)\",\n    \"es-py\": \"Spanish (Paraguay)\",\n    \"es-pe\": \"Spanish (Peru)\",\n    \"es-pr\": \"Spanish (Puerto Rico)\",\n    \"es-es\": \"Spanish (Spain)\",\n    \"es-uy\": \"Spanish (Uruguay)\",\n    \"es-ve\": \"Spanish (Venezuela)\",\n    sx: \"Sutu\",\n    sw: \"Swahili\",\n    sv: \"Swedish\",\n    \"sv-fi\": \"Swedish (Finland)\",\n    \"sv-sv\": \"Swedish (Sweden)\",\n    ta: \"Tamil\",\n    tt: \"Tatar\",\n    te: \"Teluga\",\n    th: \"Thai\",\n    tig: \"Tigre\",\n    ts: \"Tsonga\",\n    tn: \"Tswana\",\n    tr: \"Turkish\",\n    tk: \"Turkmen\",\n    uk: \"Ukrainian\",\n    hsb: \"Upper Sorbian\",\n    ur: \"Urdu\",\n    ve: \"Venda\",\n    vi: \"Vietnamese\",\n    vo: \"Volapuk\",\n    wa: \"Walloon\",\n    cy: \"Welsh\",\n    xh: \"Xhosa\",\n    ji: \"Yiddish\",\n    zu: \"Zulu\"\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./constants.map","import { useIsInCurrentNavigationTarget } from \"framer\";\nimport { useEffect } from \"react\";\nexport function useOnEnter(onEnter, enabled) {\n    return useOnSpecificTargetChange(true, onEnter, enabled);\n}\nexport function useOnExit(onExit, enabled) {\n    return useOnSpecificTargetChange(false, onExit, enabled);\n}\nfunction useOnSpecificTargetChange(goal, callback, enabled = true) {\n    const isInTarget = useIsInCurrentNavigationTarget();\n    useEffect(()=>{\n        if (enabled && isInTarget === goal) callback();\n    }, [\n        isInTarget\n    ]);\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useOnEnter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnNavigationTargetChange.map","import { useRef } from \"react\";\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */ export function useConstant(init) {\n    const ref = useRef(null);\n    if (ref.current === null) {\n        ref.current = init();\n    }\n    return ref.current;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useConstant.map","import { Color } from \"framer\";\nexport function colorFromToken(color) {\n    if (color.startsWith(\"var(--token-\")) return \"rgb\" + color.split(\") /*\")[0].split(\", rgb\")[1];\n    return color;\n}\nexport function colorTokentoValue(color) {\n    return Color(colorFromToken(color)).toValue();\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"colorFromToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./colorFromToken.map","import { MotionValue } from \"framer\";\nexport const isMotionValue = (v)=>v instanceof MotionValue\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isMotionValue.map","import * as React from \"react\";\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\nconst l = ()=>letters[Math.floor(Math.random() * letters.length)]\n;\nexport const randomID = ()=>l() + l() + l() + l() + l() + l() + l() + l() + l()\n;\nfunction createUniqueClass(suffix) {\n    return `framer-${suffix}-${randomID()}`;\n}\nexport function useUniqueClassName(suffix, deps) {\n    const [className, setClassName] = React.useState(createUniqueClass(suffix));\n    React.useEffect(()=>{\n        setClassName(createUniqueClass(suffix));\n    }, [\n        suffix,\n        ...deps\n    ]);\n    return className;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useUniqueClassName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useUniqueClassName.map","import { ControlType } from \"framer\";\n// I realize this only applies to select right now\n// but we can work on it in here\nexport function getVariantControls(Component, variant, additionalControls = {\n}) {\n    return {\n        [`${variant}TextColor`]: {\n            type: ControlType.Color,\n            title: \"Text Color\",\n            defaultValue: Component.defaultProps[`${variant}TextColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}IconColor`]: {\n            type: ControlType.Color,\n            title: \"Icon Color\",\n            defaultValue: Component.defaultProps[`${variant}IconColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BackgroundColor`]: {\n            type: ControlType.Color,\n            title: \"Bg Color\",\n            defaultValue: Component.defaultProps[`${variant}BackgroundColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderColor`]: {\n            type: ControlType.Color,\n            title: \"Border Color\",\n            defaultValue: Component.defaultProps[`${variant}BorderColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderWidth`]: {\n            type: ControlType.Number,\n            title: \" \",\n            min: 0,\n            max: 5,\n            displayStepper: true,\n            defaultValue: Component.defaultProps[`${variant}BorderWidth`],\n            hidden: (props)=>props.variant !== variant\n        },\n        ...additionalControls\n    };\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"getVariantControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./variantUtils.map","import { useMemo } from \"react\";\nexport const isBrowserSafari = ()=>{\n    if (typeof navigator !== `undefined`) {\n        const userAgent = navigator.userAgent.toLowerCase();\n        const isSafari = (userAgent.indexOf(\"safari\") > -1 || userAgent.indexOf(\"framermobile\") > -1 || userAgent.indexOf(\"framerx\") > -1) && userAgent.indexOf(\"chrome\") < 0;\n        return isSafari;\n    } else return false;\n};\nexport const useIsBrowserSafari = ()=>useMemo(()=>isBrowserSafari()\n    , [])\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isBrowser.map","import { useEffect } from \"react\";\n//@ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\nexport function useOnChange(value, callback) {\n    useEffect(()=>// @ts-ignore this should be detected as a MV :shrug:\n        isMotionValue(value) ? value.onChange(callback) : undefined\n    );\n}\nexport function useMultiOnChange(values, handler) {\n    useEffect(()=>{\n        const subscriptions = values.map((value)=>value.onChange(handler)\n        );\n        return ()=>subscriptions.forEach((unsubscribe)=>unsubscribe()\n            )\n        ;\n    });\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"Subscriber\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnChange.map","import { useCallback, useEffect, useRef } from \"react\";\nimport { motionValue, animate, RenderTarget } from \"framer\";\n// @ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\n// @ts-ignore\nimport { useConstant } from \"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";\nexport function useAutoMotionValue(inputValue, options) {\n    var ref;\n    // Put options on a local ref\n    // Might wanna just memo instead but it works for now\n    const optionsRef = useRef(options);\n    const animation = useRef();\n    const didInitialMount = useRef(false);\n    const isOnCanvas = RenderTarget.current() === RenderTarget.canvas;\n    // in-progress - trying to figure out effect hooks\n    const onChangeDeps = (options === null || options === void 0 ? void 0 : options.onChangeDeps) ? options.onChangeDeps : [];\n    // Memoize the onChange handler\n    const onChange = useCallback(options === null || options === void 0 ? void 0 : options.onChange, [\n        ...onChangeDeps, \n    ]);\n    // Optionally scale the value from props\n    const transformer = useCallback((value)=>((ref = optionsRef.current) === null || ref === void 0 ? void 0 : ref.transform) ? optionsRef.current.transform(value) : value\n    , []);\n    // Create new MotionValue from inputValue\n    const value = useConstant(()=>isMotionValue(inputValue) ? inputValue : motionValue(transformer(inputValue))\n    );\n    // Setting value from prop change\n    useEffect(()=>{\n        if (!isMotionValue(inputValue) && didInitialMount.current) {\n            var ref1, ref2;\n            const newValue = transformer(inputValue);\n            (ref1 = animation.current) === null || ref1 === void 0 ? void 0 : ref1.stop();\n            // Call change callback\n            if (onChange) onChange(newValue, value);\n            // Trigger animation to new value\n            if (((ref2 = optionsRef.current) === null || ref2 === void 0 ? void 0 : ref2.animate) && !isOnCanvas) {\n                var ref3;\n                // @ts-ignore\n                animation.current = animate(value, newValue, (ref3 = optionsRef.current) === null || ref3 === void 0 ? void 0 : ref3.transition);\n            } else {\n                value.set(newValue);\n            }\n        }\n        didInitialMount.current = true;\n    }, [\n        inputValue,\n        ...onChangeDeps\n    ]);\n    return value;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","// @ts-ignore\nimport{fontStore}from\"framer\";import{useEffect}from\"react\";import{fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";const fontWeights={100:\"Thin\",200:\"Extra-light\",300:\"Light\",400:\"Regular\",500:\"Medium\",600:\"Semi-bold\",700:\"Bold\",800:\"Extra-bold\",900:\"Black\"};export function useFontControls(props){const{fontFamily=\"Inter\",fontSize=16,fontWeight=400,font=false}=props;const fontWeightName=fontWeights[fontWeight];const customFontStack=`\"${fontFamily} ${fontWeightName}\", \"${fontFamily}\", ${fontStack}`;const fontFamilyStyle=fontFamily?{fontSize,fontWeight,fontFamily:customFontStack}:{fontSize,fontWeight};const fetchCustomFonts=async()=>{await fontStore.loadWebFontsFromSelectors([`CUSTOM;${fontFamily}`,`CUSTOM;${fontFamily} ${fontWeightName}`,`GF;${fontFamily}-${fontWeightName.toLowerCase()}`,]).catch(e=>console.error(e));};useEffect(()=>{if(font)fetchCustomFonts();},[font,fontFamily,fontWeight]);return fontFamilyStyle;}\nexport const __FramerMetadata__ = {\"exports\":{\"useFontControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useFontControls.map","import { useMemo } from \"react\";\nimport { RenderTarget } from \"framer\";\nexport function useRenderTarget() {\n    const currentRenderTarget = useMemo(()=>RenderTarget.current()\n    , []);\n    return currentRenderTarget;\n}\nexport function useIsInPreview() {\n    const inPreview = useMemo(()=>RenderTarget.current() === RenderTarget.preview\n    , []);\n    return inPreview;\n}\nexport function useIsOnCanvas() {\n    const onCanvas = useMemo(()=>RenderTarget.current() === RenderTarget.canvas\n    , []);\n    return onCanvas;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsInPreview\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useRenderTarget.map","import * as React from \"react\";\nexport function useControlledState(value) {\n    const [controlledValue, setValue] = React.useState(value);\n    React.useEffect(()=>{\n        setValue(value);\n    }, [\n        value\n    ]);\n    return [\n        controlledValue,\n        setValue\n    ];\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useControlledState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useControlledState.map","import { useMemo } from \"react\";\nimport { ControlType } from \"framer\";\nexport function useRadius(props) {\n    const { borderRadius , isMixedBorderRadius , topLeftRadius , topRightRadius , bottomRightRadius , bottomLeftRadius ,  } = props;\n    const radiusValue = useMemo(()=>isMixedBorderRadius ? `${topLeftRadius}px ${topRightRadius}px ${bottomRightRadius}px ${bottomLeftRadius}px` : `${borderRadius}px`\n    , [\n        borderRadius,\n        isMixedBorderRadius,\n        topLeftRadius,\n        topRightRadius,\n        bottomRightRadius,\n        bottomLeftRadius, \n    ]);\n    return radiusValue;\n}\nexport const borderRadiusControl = {\n    borderRadius: {\n        title: \"Radius\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"isMixedBorderRadius\",\n        toggleTitles: [\n            \"Radius\",\n            \"Radius per corner\"\n        ],\n        valueKeys: [\n            \"topLeftRadius\",\n            \"topRightRadius\",\n            \"bottomRightRadius\",\n            \"bottomLeftRadius\", \n        ],\n        valueLabels: [\n            \"TL\",\n            \"TR\",\n            \"BR\",\n            \"BL\"\n        ],\n        min: 0\n    }\n};\nexport function usePadding(props) {\n    const { padding , paddingPerSide , paddingTop , paddingRight , paddingBottom , paddingLeft ,  } = props;\n    const paddingValue = useMemo(()=>paddingPerSide ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : padding\n    , [\n        padding,\n        paddingPerSide,\n        paddingTop,\n        paddingRight,\n        paddingBottom,\n        paddingLeft, \n    ]);\n    return paddingValue;\n}\nexport const paddingControl = {\n    padding: {\n        type: ControlType.FusedNumber,\n        toggleKey: \"paddingPerSide\",\n        toggleTitles: [\n            \"Padding\",\n            \"Padding per side\"\n        ],\n        valueKeys: [\n            \"paddingTop\",\n            \"paddingRight\",\n            \"paddingBottom\",\n            \"paddingLeft\", \n        ],\n        valueLabels: [\n            \"T\",\n            \"R\",\n            \"B\",\n            \"L\"\n        ],\n        min: 0,\n        title: \"Padding\"\n    }\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RadiusProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PaddingProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./propUtils.map","import{defaultEvents,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";import{useOnEnter,useOnExit}from\"https://framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";import{colorTokentoValue,colorFromToken}from\"https://framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";import{useUniqueClassName,randomID}from\"https://framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js\";import{getVariantControls}from\"https://framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js\";import{useIsBrowserSafari}from\"https://framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js\";import{useMultiOnChange,useOnChange}from\"https://framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js\";import{mstoMinAndSec,secondsToMinutes}from\"https://framerusercontent.com/modules/4zHZnO5JojN1PrIbu2jm/revv9QCWpkh8lPzi2jje/time.js\";import{useAutoMotionValue}from\"https://framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js\";import{useFontControls}from\"https://framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js\";import{useRenderTarget,useIsInPreview,useIsOnCanvas}from\"https://framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js\";import{useControlledState}from\"https://framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js\";import{usePadding,useRadius,paddingControl,borderRadiusControl}from\"https://framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js\";import{detectAutoSizingAxis}from\"https://framerusercontent.com/modules/8CkHAZatUz1UR8jNTcfD/HwbnIAZlUmQ2oTpcLkaH/detectAutoSizingAxis.js\";export{useOnEnter,useOnExit,defaultEvents,isMotionValue,colorFromToken,colorTokentoValue,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack,useUniqueClassName,getVariantControls,useIsBrowserSafari,randomID,useConstant,useMultiOnChange,useOnChange,usePadding,useRadius,paddingControl,borderRadiusControl,mstoMinAndSec,useFontControls,secondsToMinutes,useAutoMotionValue,useRenderTarget,useIsInPreview,useControlledState,detectAutoSizingAxis,useIsOnCanvas,};\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useUniqueClassName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getVariantControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorFromToken\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useControlledState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAutoMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsInPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"detectAutoSizingAxis\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mstoMinAndSec\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnEnter\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"secondsToMinutes\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useIsOnCanvas,emptyStateStyle,containerStyles}from\"https://framer.com/m/framer/default-utils.js\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerDisableUnlink\n */export default function Embed({type,url,html,zoom,radius,border,style={}}){if(type===\"url\"&&url){return /*#__PURE__*/_jsx(EmbedUrl,{url:url,zoom:zoom,radius:radius,border:border,style:style});}if(type===\"html\"&&html){return /*#__PURE__*/_jsx(EmbedHtml,{html:html,style:style});}return /*#__PURE__*/_jsx(Instructions,{style:style});}addPropertyControls(Embed,{type:{type:ControlType.Enum,defaultValue:\"url\",displaySegmentedControl:true,options:[\"url\",\"html\"],optionTitles:[\"URL\",\"HTML\"]},url:{title:\"URL\",type:ControlType.String,description:\"Some websites don’t support embedding.\",hidden(props){return props.type!==\"url\";}},html:{title:\"HTML\",type:ControlType.String,displayTextArea:true,hidden(props){return props.type!==\"html\";}},border:{title:\"Border\",type:ControlType.Border,optional:true,hidden(props){return props.type!==\"url\";}},radius:{type:ControlType.BorderRadius,title:\"Radius\",hidden(props){return props.type!==\"url\";}},zoom:{title:\"Zoom\",defaultValue:1,type:ControlType.Number,hidden(props){return props.type!==\"url\";},min:.1,max:1,step:.1,displayStepper:true}});function Instructions({style}){return /*#__PURE__*/_jsx(\"div\",{style:{minHeight:getMinHeight(style),...emptyStateStyle,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"To embed a website or widget, add it to the properties\\xa0panel.\"})});}function EmbedUrl({url,zoom,radius,border,style}){const hasAutoHeight=!style.height;// Add https:// if the URL does not have a protocol.\nif(!/[a-z]+:\\/\\//.test(url)){url=\"https://\"+url;}const onCanvas=useIsOnCanvas();// We need to check if the url is blocked inside an iframe by the X-Frame-Options\n// or Content-Security-Policy headers on the backend.\nconst[state,setState]=useState(onCanvas?undefined:false);useEffect(()=>{// We only want to check on the canvas.\n// On the website we want to avoid the additional delay.\nif(!onCanvas)return;// TODO: We could also use AbortController here.\nlet isLastEffect=true;setState(undefined);async function load(){const response=await fetch(\"https://api.framer.com/functions/check-iframe-url?url=\"+encodeURIComponent(url));if(response.status==200){const{isBlocked}=await response.json();if(isLastEffect){setState(isBlocked);}}else{const message=await response.text();console.error(message);const error=new Error(\"This site can’t be reached.\");setState(error);}}load().catch(error=>{console.error(error);setState(error);});return()=>{isLastEffect=false;};},[url]);if(onCanvas&&hasAutoHeight){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"URL embeds do not support auto height.\",style:style});}if(!url.startsWith(\"https://\")){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"Unsupported protocol.\",style:style});}if(state===undefined){return /*#__PURE__*/_jsx(LoadingIndicator,{});}if(state instanceof Error){return /*#__PURE__*/_jsx(ErrorMessage,{message:state.message,style:style});}if(state===true){const message=`Can’t embed ${url} due to its content security policy.`;return /*#__PURE__*/_jsx(ErrorMessage,{message:message,style:style});}return /*#__PURE__*/_jsx(\"iframe\",{src:url,style:{...iframeStyle,...style,...border,zoom:zoom,borderRadius:radius,transformOrigin:\"top center\"},loading:\"lazy\",// @ts-ignore\nfetchPriority:onCanvas?\"low\":\"auto\",referrerPolicy:\"no-referrer\",sandbox:getSandbox(onCanvas),allowFullScreen:true,allow:\"presentation; fullscreen; accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; clipboard-write\"});}const iframeStyle={width:\"100%\",height:\"100%\",border:\"none\"};function getSandbox(onCanvas){const result=[\"allow-same-origin\",\"allow-scripts\"];if(!onCanvas){result.push(\"allow-downloads\",\"allow-forms\",\"allow-modals\",\"allow-orientation-lock\",\"allow-pointer-lock\",\"allow-popups\",\"allow-popups-to-escape-sandbox\",\"allow-presentation\",\"allow-storage-access-by-user-activation\",\"allow-top-navigation-by-user-activation\");}return result.join(\" \");}function EmbedHtml({html,...props}){const hasScript=html.includes(\"</script>\");if(hasScript){const hasSplineViewer=html.includes(\"</spline-viewer>\");const hasComment=html.includes(\"<!-- framer-direct-embed -->\");if(hasSplineViewer||hasComment){return /*#__PURE__*/_jsx(EmbedHtmlWithScripts,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlInsideIframe,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlWithoutScripts,{html:html,...props});}function EmbedHtmlInsideIframe({html,style}){const ref=useRef();const[iframeHeight,setIframeHeight]=useState(0);// Handle auto sizing\nuseEffect(()=>{const iframeWindow=ref.current?.contentWindow;function handleMessage(event){if(event.source!==iframeWindow)return;const data=event.data;if(typeof data!==\"object\"||data===null)return;const height=data.embedHeight;if(typeof height!==\"number\")return;setIframeHeight(height);}window.addEventListener(\"message\",handleMessage);// After SSG the iframe loads before we attach the event handler,\n// therefore we need to request the latest height from the iframe.\niframeWindow?.postMessage(\"getEmbedHeight\",\"*\");return()=>{window.removeEventListener(\"message\",handleMessage);};},[]);// The CSS is mainly copied from:\n// FramerStudio/src/app/vekter/src/renderer/setDefaultFont.ts\n// FramerStudio/src/app/vekter/src/export/globalStylesForExport.ts\nconst srcDoc=`\n<html>\n    <head>\n        <style>\n            html, body {\n                margin: 0;\n                padding: 0;\n            }\n\n            body {\n                display: flex;\n                justify-content: center;\n                align-items: center;\n            }\n\n            :root {\n                -webkit-font-smoothing: antialiased;\n                -moz-osx-font-smoothing: grayscale;\n            }\n\n            * {\n                box-sizing: border-box;\n                -webkit-font-smoothing: inherit;\n            }\n\n            h1, h2, h3, h4, h5, h6, p, figure {\n                margin: 0;\n            }\n\n            body, input, textarea, select, button {\n                font-size: 12px;\n                font-family: sans-serif;\n            }\n        </style>\n    </head>\n    <body>\n        ${html}\n        <script type=\"module\">\n            let height = 0\n\n            function sendEmbedHeight() {\n                window.parent.postMessage({\n                    embedHeight: height\n                }, \"*\")\n            }\n\n            const observer = new ResizeObserver((entries) => {\n                if (entries.length !== 1) return\n                const entry = entries[0]\n                if (entry.target !== document.body) return\n\n                height = entry.contentRect.height\n                sendEmbedHeight()\n            })\n\n            observer.observe(document.body)\n\n            window.addEventListener(\"message\", (event) => {\n                if (event.source !== window.parent) return\n                if (event.data !== \"getEmbedHeight\") return\n                sendEmbedHeight()\n            })\n        </script>\n    <body>\n</html>\n`;const currentStyle={...iframeStyle,...style};const hasAutoHeight=!style.height;if(hasAutoHeight){currentStyle.height=iframeHeight+\"px\";}return /*#__PURE__*/_jsx(\"iframe\",{ref:ref,style:currentStyle,srcDoc:srcDoc});}function EmbedHtmlWithScripts({html,style}){const ref=useRef();useEffect(()=>{const div=ref.current;if(!div)return;div.innerHTML=html;executeScripts(div);return()=>{div.innerHTML=\"\";};},[html]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...htmlStyle,...style}});}function EmbedHtmlWithoutScripts({html,style}){return /*#__PURE__*/_jsx(\"div\",{style:{...htmlStyle,...style},dangerouslySetInnerHTML:{__html:html}});}const htmlStyle={width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\"};// This function replaces scripts with executable ones.\n// https://stackoverflow.com/questions/1197575/can-scripts-be-inserted-with-innerhtml\nfunction executeScripts(node){if(node instanceof Element&&node.tagName===\"SCRIPT\"){const script=document.createElement(\"script\");script.text=node.innerHTML;for(const{name,value}of node.attributes){script.setAttribute(name,value);}node.parentElement.replaceChild(script,node);}else{for(const child of node.childNodes){executeScripts(child);}}}// Generic components\nfunction LoadingIndicator(){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-componentPlaceholder\",style:{...containerStyles,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"Loading…\"})});}function ErrorMessage({message,style}){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-errorPlaceholder\",style:{minHeight:getMinHeight(style),...containerStyles,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:message})});}const centerTextStyle={textAlign:\"center\",minWidth:140};// Returns a min-height if the component is using auto-height.\nfunction getMinHeight(style){const hasAutoHeight=!style.height;if(hasAutoHeight)return 200;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Embed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"600\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Embed.map","// Generated by Framer (3ad0d99)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wUAEA,SAAS,GAAO,EAAM,CAAC,GAAG,CAAC,EAAM,OAAO,KAAK,IAAI,EAAK,EAAY,EAAU,EAAK,QAAQ,KAAK,EAAE,GAAG,IAAY,GAAG,CAAC,IAAM,EAAU,EAAK,QAAQ,IAAI,EAAU,CAAC,EAAE,EAAK,IAAY,GAAG,IAAI,EAAK,MAAM,CAAS,CAAE,CAAC,IAAM,EAAW,EAAK,OAAO,OAAO,EAA2I,OAAtI,IAAa,KAAG,EAAK,EAAK,MAAM,EAAE,CAAU,GAAM,EAAK,WAAW,GAAG,IAAE,EAAK,IAAI,KAAU,EAAK,OAAO,IAAE,EAAK,EAAK,QAAQ,QAAQ,EAAE,GAAS,EAAK,YAAY,GAAG,GAAI,CAA8D,SAAS,GAAO,EAAM,CAAC,GAAG,CAAC,EAAM,OAAO,KAAK,IAAM,EAAO,EAAM,QAAQ,GAAG,EAA6B,OAAxB,IAAS,GAAU,KAAY,EAAM,MAAM,EAAO,CAAC,CAAC,CAAC,KAAK,GAAG,IAAK,CAAC,SAAS,EAAM,EAAM,CAAC,OAAO,KAAK,MAAM,EAAM,GAAG,EAAE,IAAA,CAAK,SAAS,CAAE,CAA8E,SAAS,GAAS,EAAK,EAAO,CAAC,IAAM,EAAE,KAAK,IAAI,EAAO,EAAK,MAAM,EAAE,EAAK,OAAO,CAAC,EAAO,CAAC,IAAE,IAAE,MAAM,E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