{"version":3,"file":"FloatingPillNavigation.VikkFyHp.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useState","useRef"],"sources":["https:/framerusercontent.com/modules/0pCQMyT8bNPuURjuPyiH/dThJzeGqiYp9ChfE6vVS/AvrRo_9pH.js","https:/framerusercontent.com/modules/lQZO1EeJgt02ZAp6eA0t/kBZKOM2kqN8qYOlepqH7/xoAf9A2dg.js","https:/framerusercontent.com/modules/u7lJ09QuzAUgCm06izpq/TMOHmUFA2dEtgri0f5P7/FloatingPillNavigation.js"],"sourcesContent":["// Generated by Framer (ba156f5)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-6YvlG .framer-styles-preset-eoarm9:not(.rich-text-wrapper), .framer-6YvlG .framer-styles-preset-eoarm9.rich-text-wrapper a { --framer-link-hover-text-color: var(--token-997a895d-0dfb-444c-9a9c-b6c8f00bd2ee, #0b67ff); --framer-link-text-color: var(--token-058fe669-480c-4945-991b-312b217553a9, #909090); }\"];export const className=\"framer-6YvlG\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (d22cd96)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/0pCQMyT8bNPuURjuPyiH/dThJzeGqiYp9ChfE6vVS/AvrRo_9pH.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/5OzxLCulv4PNYSzKhwIe/3IbIIcACU4IrKsBTFqUd/MFJAINMry.js\";const cycleOrder=[\"x3u8m5Tkc\",\"q6nXs4rXC\",\"x49GCx7ax\",\"Z5hCK0mqU\"];const serializationHash=\"framer-4MY2f\";const variantClassNames={q6nXs4rXC:\"framer-v-snlyar\",x3u8m5Tkc:\"framer-v-1h2mh8t\",x49GCx7ax:\"framer-v-19eba4h\",Z5hCK0mqU:\"framer-v-aqnzyf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={\"Desktop 2\":\"q6nXs4rXC\",Desktop:\"x3u8m5Tkc\",Phone:\"Z5hCK0mqU\",Tablet:\"x49GCx7ax\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"x3u8m5Tkc\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"x3u8m5Tkc\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1h2mh8t\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"x3u8m5Tkc\",ref:refBinding,style:{...style},...addPropertyOverrides({q6nXs4rXC:{\"data-framer-name\":\"Desktop 2\"},x49GCx7ax:{\"data-framer-name\":\"Tablet\"},Z5hCK0mqU:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mnvo1x\",\"data-styles-preset\":\"MFJAINMry\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-00dd9447-2872-4f15-9cf7-e3f077cf1ddc, rgb(31, 31, 31)))\"},children:\"francoissavard.fr\"})}),className:\"framer-s3l4pr\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"lkKYc6GOK\",style:{\"--extracted-r6o4lv\":\"var(--token-00dd9447-2872-4f15-9cf7-e3f077cf1ddc, rgb(31, 31, 31))\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1f7stc0\",layoutDependency:layoutDependency,layoutId:\"U5cA_Ld1C\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mnvo1x\",\"data-styles-preset\":\"MFJAINMry\",dir:\"auto\",style:{\"--framer-text-alignment\":\"right\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144)))\"},children:/*#__PURE__*/_jsx(Link,{href:{webPageId:\"augiA20Il\"},motionChild:true,nodeId:\"PiWAEeMWT\",openInNewTab:false,relValues:[],scopeId:\"xoAf9A2dg\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-eoarm9\",\"data-styles-preset\":\"AvrRo_9pH\",children:\"Home\"})})})}),className:\"framer-1v66ipl\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"PiWAEeMWT\",style:{\"--extracted-r6o4lv\":\"var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144))\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mnvo1x\",\"data-styles-preset\":\"MFJAINMry\",dir:\"auto\",style:{\"--framer-text-alignment\":\"right\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144)))\"},children:/*#__PURE__*/_jsx(Link,{href:{webPageId:\"qkNbVfn4k\"},motionChild:true,nodeId:\"iIKGYBuxD\",openInNewTab:false,relValues:[],scopeId:\"xoAf9A2dg\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-eoarm9\",\"data-styles-preset\":\"AvrRo_9pH\",children:\"About\"})})})}),className:\"framer-11eqlnm\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"iIKGYBuxD\",style:{\"--extracted-r6o4lv\":\"var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144))\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mnvo1x\",\"data-styles-preset\":\"MFJAINMry\",dir:\"auto\",style:{\"--framer-text-alignment\":\"right\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144)))\"},children:/*#__PURE__*/_jsx(Link,{href:{webPageId:\"OoLIt5rVB\"},motionChild:true,nodeId:\"W0HGeiCbJ\",openInNewTab:false,relValues:[],scopeId:\"xoAf9A2dg\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-eoarm9\",\"data-styles-preset\":\"AvrRo_9pH\",children:\"Blog\"})})})}),className:\"framer-du2050\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"W0HGeiCbJ\",style:{\"--extracted-r6o4lv\":\"var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144))\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mnvo1x\",\"data-styles-preset\":\"MFJAINMry\",dir:\"auto\",style:{\"--framer-text-alignment\":\"right\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144)))\"},children:/*#__PURE__*/_jsx(Link,{href:{webPageId:\"qnjwghc9H\"},motionChild:true,nodeId:\"Fqsz0Cv_u\",openInNewTab:false,relValues:[],scopeId:\"xoAf9A2dg\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-eoarm9\",\"data-styles-preset\":\"AvrRo_9pH\",children:\"Contact\"})})})}),className:\"framer-18u0h4z\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"Fqsz0Cv_u\",style:{\"--extracted-r6o4lv\":\"var(--token-058fe669-480c-4945-991b-312b217553a9, rgb(144, 144, 144))\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mnvo1x\",\"data-styles-preset\":\"MFJAINMry\",dir:\"auto\",style:{\"--framer-text-alignment\":\"right\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-00dd9447-2872-4f15-9cf7-e3f077cf1ddc, rgb(31, 31, 31)))\"},children:\"\\xa9 1997\"})}),className:\"framer-zjmpst\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"XOKfrTgUQ\",style:{\"--extracted-r6o4lv\":\"var(--token-00dd9447-2872-4f15-9cf7-e3f077cf1ddc, rgb(31, 31, 31))\"},verticalAlignment:\"top\",withExternalLayout:true})]})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-4MY2f.framer-1hwvjot, .framer-4MY2f .framer-1hwvjot { display: block; }\",\".framer-4MY2f.framer-1h2mh8t { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; max-width: 600px; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 600px; }\",\".framer-4MY2f .framer-s3l4pr { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-4MY2f .framer-1f7stc0 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-4MY2f .framer-1v66ipl, .framer-4MY2f .framer-11eqlnm, .framer-4MY2f .framer-du2050, .framer-4MY2f .framer-18u0h4z, .framer-4MY2f .framer-zjmpst { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-4MY2f.framer-v-aqnzyf.framer-1h2mh8t { width: 358px; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 152\n * @framerIntrinsicWidth 600\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,\"600px\",null,null]},\"q6nXs4rXC\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,\"600px\",null,null]},\"x49GCx7ax\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,\"600px\",null,null]},\"Z5hCK0mqU\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,\"600px\",null,null]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerxoAf9A2dg=withCSS(Component,css,\"framer-4MY2f\");export default FramerxoAf9A2dg;FramerxoAf9A2dg.displayName=\"Footer\";FramerxoAf9A2dg.defaultProps={height:152,width:600};addPropertyControls(FramerxoAf9A2dg,{variant:{options:[\"x3u8m5Tkc\",\"q6nXs4rXC\",\"x49GCx7ax\",\"Z5hCK0mqU\"],optionTitles:[\"Desktop\",\"Desktop 2\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerxoAf9A2dg,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerxoAf9A2dg\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"152\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"600\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,\\\"600px\\\",null,null]},\\\"q6nXs4rXC\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,\\\"600px\\\",null,null]},\\\"x49GCx7ax\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,\\\"600px\\\",null,null]},\\\"Z5hCK0mqU\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,\\\"600px\\\",null,null]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./xoAf9A2dg.map","// Pill-shaped navigation with animated background that shifts between links on click\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{useState,startTransition,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function FloatingPillNavigation(props){const{items,backgroundColor,textColor,activeBackgroundColor,activeTextColor,padding,gap,font,activeLink=\"Home\",transition,linkPadding}=props;// Internal state for interactive clicking\nconst[internalActiveLink,setInternalActiveLink]=useState(activeLink);const navRef=useRef(null);const linkRef=useRef(null);const[navBorderRadius,setNavBorderRadius]=useState(50);const[linkBorderRadius,setLinkBorderRadius]=useState(25);// Sync internal state when activeLink prop changes\nuseEffect(()=>{startTransition(()=>{setInternalActiveLink(activeLink);});},[activeLink]);// Calculate border radii based on heights\nuseEffect(()=>{const updateBorderRadii=()=>{if(navRef.current){const navHeight=navRef.current.offsetHeight;setNavBorderRadius(navHeight/2);}if(linkRef.current){const linkHeight=linkRef.current.offsetHeight;setLinkBorderRadius(linkHeight/2);}};updateBorderRadii();// Use ResizeObserver to update when size changes\nconst resizeObserver=new ResizeObserver(updateBorderRadii);if(navRef.current)resizeObserver.observe(navRef.current);if(linkRef.current)resizeObserver.observe(linkRef.current);return()=>resizeObserver.disconnect();},[linkPadding,font,items]);const handleClick=(label,href,target)=>{startTransition(()=>{setInternalActiveLink(label);});// Navigate if href is provided\nif(href&&typeof window!==\"undefined\"){// Add https:// if the URL doesn't have a protocol and isn't a relative path\nlet finalHref=href;if(!href.match(/^(https?:\\/\\/|mailto:|tel:|#|\\/)/)){finalHref=`https://${href}`;}if(target===\"_blank\"){window.open(finalHref,\"_blank\");}else{window.location.href=finalHref;}}};return /*#__PURE__*/_jsx(\"nav\",{ref:navRef,style:{display:\"inline-flex\",backgroundColor,borderRadius:navBorderRadius,padding,gap,position:\"relative\",width:\"max-content\",userSelect:\"none\",WebkitUserSelect:\"none\",MozUserSelect:\"none\"},children:items.map((item,index)=>{const isActive=item.label===internalActiveLink;return /*#__PURE__*/_jsxs(\"div\",{ref:index===0?linkRef:null,onClick:()=>handleClick(item.label,item.href,item.target),style:{position:\"relative\",padding:linkPadding,textDecoration:\"none\",color:isActive?activeTextColor:textColor,cursor:\"pointer\",zIndex:1,transition:\"color 0.3s ease\",userSelect:\"none\",WebkitUserSelect:\"none\",MozUserSelect:\"none\",...font},children:[isActive&&/*#__PURE__*/_jsx(motion.div,{layoutId:\"activeBackground\",style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,backgroundColor:activeBackgroundColor,borderRadius:linkBorderRadius,zIndex:-1},transition:transition}),item.label]},index);})});}addPropertyControls(FloatingPillNavigation,{activeLink:{type:ControlType.String,title:\"Active Link\",defaultValue:\"All products\",description:\"Enter the label of the link you want to be active initially\"},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{type:\"spring\",stiffness:800,damping:60,mass:1}},linkPadding:{type:ControlType.Padding,title:\"Link Padding\",defaultValue:\"12px 22px 12px 22px\"},items:{type:ControlType.Array,control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Link\"},href:{type:ControlType.String,title:\"Link To\",placeholder:\"/page or #section\",description:\"Optional: Link to a page or section\"},target:{type:ControlType.Enum,title:\"Open In\",options:[\"_self\",\"_blank\"],optionTitles:[\"Same Tab\",\"New Tab\"],defaultValue:\"_self\",hidden:props=>!props.href}}},defaultValue:[{label:\"All products\"},{label:\"Laptops\"},{label:\"Desktops\"},{label:\"Displays\"}]},backgroundColor:{type:ControlType.Color,defaultValue:\"#E8E8ED\"},textColor:{type:ControlType.Color,defaultValue:\"#000000\",title:\"Inactive Text\"},activeBackgroundColor:{type:ControlType.Color,defaultValue:\"#1D1D1F\",title:\"Active BG\"},activeTextColor:{type:ControlType.Color,defaultValue:\"#FFFFFF\",title:\"Active Text\"},padding:{type:ControlType.Number,defaultValue:6,min:0,max:20,step:1,unit:\"px\"},gap:{type:ControlType.Number,defaultValue:0,min:0,max:20,step:1,unit:\"px\"},font:{type:ControlType.Font,controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"17px\",variant:\"Regular\",letterSpacing:\"-0.37px\",lineHeight:\"20px\"}}});FloatingPillNavigation.displayName=\"Floating Pill Navigation\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FloatingPillNavigation\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FloatingPillNavigation.map"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