{"version":3,"file":"Carousel.2WDNeQzn.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useRef"],"sources":["https:/framerusercontent.com/modules/mDEv8VYFPUgS73RWUVEh/oZ6IvdqvQo87mo6jajO7/uq3zPqvrs.js","https:/framerusercontent.com/modules/6wlxiq8gKMvGMB5JWIcM/iHyErQlmRuvza1AbkdM4/Carousel.js"],"sourcesContent":["// Generated by Framer (291a518)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ArrowIcon from\"https://framerusercontent.com/modules/4vqsqAkfjDFRL0lO8RiN/PJnPbvv6dFOVrcBdFQjk/ArrowIcon.js\";const ArrowIconFonts=getFonts(ArrowIcon);const enabledGestures={Oq_jJFOIH:{hover:true},T7IBzWju6:{hover:true}};const cycleOrder=[\"T7IBzWju6\",\"Oq_jJFOIH\"];const serializationHash=\"framer-tWyf3\";const variantClassNames={Oq_jJFOIH:\"framer-v-1hxqgcb\",T7IBzWju6:\"framer-v-175nr2m\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const mrlsyrVYM=undefined;const transition1={delay:0,duration:.3,ease:[.25,.1,.25,1],type:\"tween\"};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={Next:\"Oq_jJFOIH\",Prev:\"T7IBzWju6\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,width,...props})=>{return{...props,mrlsyrVYM:click??props.mrlsyrVYM,variant:humanReadableVariantMap[props.variant]??props.variant??\"T7IBzWju6\"};};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,mrlsyrVYM,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"T7IBzWju6\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapwfsxpl=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(mrlsyrVYM){const res=await mrlsyrVYM(...args);if(res===false)return false;}});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__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-175nr2m\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Prev\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"T7IBzWju6\",onTap:onTapwfsxpl,ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-264d28a1-0cbf-452f-8cc5-88dd21e4edf4)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",background:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},variants:{\"Oq_jJFOIH-hover\":{\"--border-color\":\"rgba(8, 212, 175, 0.5)\",background:\"linear-gradient(180deg, rgb(0, 160, 128) 0%, rgb(2, 90, 74) 50%, rgb(0, 160, 128) 100%)\"},\"T7IBzWju6-hover\":{\"--border-color\":\"rgba(8, 212, 175, 0.5)\",background:\"linear-gradient(180deg, rgb(0, 160, 128) 0%, rgb(2, 90, 74) 50%, rgb(0, 160, 128) 100%)\"}},...addPropertyOverrides({\"Oq_jJFOIH-hover\":{\"data-framer-name\":undefined},\"T7IBzWju6-hover\":{\"data-framer-name\":undefined},Oq_jJFOIH:{\"data-framer-name\":\"Next\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-6iof34-container\",\"data-code-component-plugin-id\":\"api\",\"data-framer-name\":\"Arrow\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"PYRAn7UrT-container\",name:\"Arrow\",nodeId:\"PYRAn7UrT\",rendersWithMotion:true,scopeId:\"uq3zPqvrs\",children:/*#__PURE__*/_jsx(ArrowIcon,{color:\"var(--token-5e31ba29-13ed-42fd-9d2f-6faa8d0ada8f)\",height:\"100%\",icon:\"Arrow Left\",id:\"PYRAn7UrT\",layoutId:\"PYRAn7UrT\",name:\"Arrow\",strokeWidth:1.5,style:{height:\"100%\",width:\"100%\"},width:\"100%\",...addPropertyOverrides({Oq_jJFOIH:{icon:\"Arrow Right\"}},baseVariant,gestureVariant)})})})})})})});});const css=[\".framer-tWyf3.framer-3169po, .framer-tWyf3 .framer-3169po { display: block; }\",\".framer-tWyf3.framer-175nr2m { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 40px; justify-content: center; padding: 0px; position: relative; width: 40px; }\",\".framer-tWyf3 .framer-6iof34-container { flex: none; height: 18px; position: relative; width: 18px; }\",'.framer-tWyf3[data-border=\"true\"]::after, .framer-tWyf3 [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"Oq_jJFOIH\":{\"layout\":[\"fixed\",\"fixed\"]},\"rUMkx7U6H\":{\"layout\":[\"fixed\",\"fixed\"]},\"Xaxei2KqZ\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"mrlsyrVYM\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Frameruq3zPqvrs=withCSS(Component,css,\"framer-tWyf3\");export default Frameruq3zPqvrs;Frameruq3zPqvrs.displayName=\"Arrow Button\";Frameruq3zPqvrs.defaultProps={height:40,width:40};addPropertyControls(Frameruq3zPqvrs,{variant:{options:[\"T7IBzWju6\",\"Oq_jJFOIH\"],optionTitles:[\"Prev\",\"Next\"],title:\"Variant\",type:ControlType.Enum},mrlsyrVYM:{title:\"Click\",type:ControlType.EventHandler}});addFonts(Frameruq3zPqvrs,[{explicitInter:true,fonts:[]},...ArrowIconFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameruq3zPqvrs\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Oq_jJFOIH\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"rUMkx7U6H\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Xaxei2KqZ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"40\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"40\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"mrlsyrVYM\\\":\\\"click\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./uq3zPqvrs.map","// Carousel arrows — attach withCarouselPrev / withCarouselNext as code overrides on arrow buttons.\n// They scroll the nearest horizontally scrollable row (overflow-x: auto) inside the same section.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useRef}from\"react\";function isScrollable(el){const s=getComputedStyle(el);return(s.overflowX===\"auto\"||s.overflowX===\"scroll\")&&el.scrollWidth>el.clientWidth+2;}function findTrack(from){let node=from;while(node&&node!==document.body){const all=node.querySelectorAll(\"*\");for(const el of Array.from(all))if(isScrollable(el))return el;node=node.parentElement;}return null;}function stepSize(track){const kids=Array.from(track.children);const first=kids.find(k=>k.getBoundingClientRect().width>40);if(!first)return track.clientWidth*.8;const w=first.getBoundingClientRect().width;const gap=parseFloat(getComputedStyle(track).columnGap||\"0\")||24;return w+gap;}function go(el,dir){const track=findTrack(el);if(!track)return;track.scrollBy({left:dir*stepSize(track),behavior:\"smooth\"});}function Wrap({Component,props,dir}){const ref=useRef(null);return /*#__PURE__*/_jsx(\"div\",{ref:ref,onClick:()=>go(ref.current,dir),style:{display:\"contents\",cursor:\"pointer\"},children:/*#__PURE__*/_jsx(Component,{...props})});}export function withCarouselNext(Component){return props=>/*#__PURE__*/_jsx(Wrap,{Component:Component,props:props,dir:1});}export function withCarouselPrev(Component){return props=>/*#__PURE__*/_jsx(Wrap,{Component:Component,props:props,dir:-1});}\nexport const __FramerMetadata__ = {\"exports\":{\"withCarouselPrev\":{\"type\":\"reactHoc\",\"name\":\"withCarouselPrev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselNext\":{\"type\":\"reactHoc\",\"name\":\"withCarouselNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Carousel.map"],"mappings":"+bACiwB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,2CAA74B,IAAqN,IAAkE,IAA4B,IAA8I,EAAO,EAAe,EAAS,CAAS,EAAQ,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,EAAE,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,EAAyN,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,KAAK,OAAO,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAwB,CAAC,KAAK,YAAY,KAAK,WAAW,EAAQ,EAAS,EAAO,OAAOC,CAAc,EAAQ,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,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