{"version":3,"file":"QoOxVHyKa.C_HyAqO2.mjs","names":["Vimeo","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/3KSUHRu1a5lUd9CLaK6E/uPew3To0rBPZDlmeIECn/QoOxVHyKa.js"],"sourcesContent":["// Generated by Framer (9840458)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,Image,Link,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Vimeo from\"https://framerusercontent.com/modules/0sWquksFr1YDkaIgrl9Z/VgWe6mCMJOseqaLiMnaC/Vimeo.js\";const VimeoFonts=getFonts(Vimeo);const SmartComponentScopedContainerWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(SmartComponentScopedContainer));const cycleOrder=[\"Eh47QDm_Y\",\"kx4nhm9Ze\",\"cCRUBqgny\"];const serializationHash=\"framer-8SQmD\";const variantClassNames={cCRUBqgny:\"framer-v-1a75m3m\",Eh47QDm_Y:\"framer-v-12l15m8\",kx4nhm9Ze:\"framer-v-y72xt9\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const isSet=value=>{if(Array.isArray(value))return value.length>0;return value!==undefined&&value!==null&&value!==\"\";};const transformTemplate1=(_,t)=>`translateY(-50%) ${t}`;const transition2={delay:5,duration:.4,ease:[.44,0,.56,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"Eh47QDm_Y\",Hover:\"kx4nhm9Ze\",Static:\"cCRUBqgny\"};const getProps=({click2,click3,coverImage,height,id,link,video,width,...props})=>{return{...props,CHvkvAbfW:video??props.CHvkvAbfW??\"https://vimeo.com/642263700\",I_rB68nTv:coverImage??props.I_rB68nTv,Sc3NrzNGP:click3??props.Sc3NrzNGP,variant:humanReadableVariantMap[props.variant]??props.variant??\"Eh47QDm_Y\",vYP1g5p3s:link??props.vYP1g5p3s,Yi3OKIooT:click2??props.Yi3OKIooT};};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,I_rB68nTv,Yi3OKIooT,Sc3NrzNGP,CHvkvAbfW,vYP1g5p3s,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Eh47QDm_Y\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap10fgi18=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(Yi3OKIooT){const res=await Yi3OKIooT(...args);if(res===false)return false;}if(Sc3NrzNGP){const res=await Sc3NrzNGP(...args);if(res===false)return false;}});const onMouseEnteroxg3uv=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"kx4nhm9Ze\");});const onMouseLeaveqvyx97=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"Eh47QDm_Y\");});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=isSet(CHvkvAbfW);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:vYP1g5p3s,motionChild:true,nodeId:\"Eh47QDm_Y\",openInNewTab:false,scopeId:\"QoOxVHyKa\",children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,as:\"a\",background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(I_rB68nTv),...{positionX:\"center\",positionY:\"bottom\"}},className:`${cx(scopingClassNames,\"framer-12l15m8\",className,classNames)} framer-1wgb2su`,\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"Eh47QDm_Y\",onMouseEnter:onMouseEnteroxg3uv,onTap:onTap10fgi18,ref:refBinding,style:{borderBottomLeftRadius:12,borderBottomRightRadius:12,borderTopLeftRadius:12,borderTopRightRadius:12,filter:\"brightness(0.9) saturate(0.9)\",WebkitFilter:\"brightness(0.9) saturate(0.9)\",...style},variants:{cCRUBqgny:{filter:\"brightness(1) saturate(1)\",WebkitFilter:\"brightness(1) saturate(1)\"},kx4nhm9Ze:{filter:\"brightness(1) saturate(1)\",WebkitFilter:\"brightness(1) saturate(1)\"}},...addPropertyOverrides({cCRUBqgny:{\"data-framer-name\":\"Static\",onMouseEnter:undefined},kx4nhm9Ze:{\"data-framer-name\":\"Hover\",onMouseLeave:onMouseLeaveqvyx97}},baseVariant,gestureVariant),children:visible&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainerWithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,className:\"framer-n9dvgc-container\",\"data-framer-appear-id\":\"n9dvgc\",initial:animation1,isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"LmU9IbHaZ-container\",nodeId:\"LmU9IbHaZ\",optimized:true,rendersWithMotion:true,scopeId:\"QoOxVHyKa\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(Vimeo,{autoplay:true,backgroundColor:\"var(--token-db54caba-b31b-41fa-9f69-699e0eb81f2b, rgb(18, 18, 17))\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"LmU9IbHaZ\",isMixedBorderRadius:false,layoutId:\"LmU9IbHaZ\",loop:true,mute:true,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,video:CHvkvAbfW,width:\"100%\"})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-8SQmD.framer-1wgb2su, .framer-8SQmD .framer-1wgb2su { display: block; }\",\".framer-8SQmD.framer-12l15m8 { cursor: pointer; height: 539px; overflow: hidden; position: relative; text-decoration: none; width: 465px; will-change: var(--framer-will-change-override, transform); }\",\".framer-8SQmD .framer-n9dvgc-container { aspect-ratio: 1.7708978328173375 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 646px); left: -339px; position: absolute; right: -340px; top: 50%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 539\n * @framerIntrinsicWidth 465\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"kx4nhm9Ze\":{\"layout\":[\"fixed\",\"fixed\"]},\"cCRUBqgny\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"I_rB68nTv\":\"coverImage\",\"Yi3OKIooT\":\"click2\",\"Sc3NrzNGP\":\"click3\",\"CHvkvAbfW\":\"video\",\"vYP1g5p3s\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerQoOxVHyKa=withCSS(Component,css,\"framer-8SQmD\");export default FramerQoOxVHyKa;FramerQoOxVHyKa.displayName=\"Editorial Video Highlight Frame\";FramerQoOxVHyKa.defaultProps={height:539,width:465};addPropertyControls(FramerQoOxVHyKa,{variant:{options:[\"Eh47QDm_Y\",\"kx4nhm9Ze\",\"cCRUBqgny\"],optionTitles:[\"Default\",\"Hover\",\"Static\"],title:\"Variant\",type:ControlType.Enum},I_rB68nTv:{title:\"Cover Image\",type:ControlType.ResponsiveImage},Yi3OKIooT:{title:\"Click 2\",type:ControlType.EventHandler},Sc3NrzNGP:{title:\"Click 3\",type:ControlType.EventHandler},CHvkvAbfW:{defaultValue:\"https://vimeo.com/642263700\",title:\"Video\",type:ControlType.String},vYP1g5p3s:{title:\"Link\",type:ControlType.Link}});addFonts(FramerQoOxVHyKa,[{explicitInter:true,fonts:[]},...VimeoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerQoOxVHyKa\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"kx4nhm9Ze\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"cCRUBqgny\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"I_rB68nTv\\\":\\\"coverImage\\\",\\\"Yi3OKIooT\\\":\\\"click2\\\",\\\"Sc3NrzNGP\\\":\\\"click3\\\",\\\"CHvkvAbfW\\\":\\\"video\\\",\\\"vYP1g5p3s\\\":\\\"link\\\"}\",\"framerIntrinsicHeight\":\"539\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"465\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QoOxVHyKa.map"],"mappings":"8xBAC65B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,uDAA1hC,IAA2R,IAAkE,IAA4B,IAAsI,CAAM,EAAW,EAASA,EAAM,CAAO,EAA6D,EAA0B,EAAO,EAA8B,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,CAA8L,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAM,GAAW,MAAM,QAAQ,EAAM,CAAQ,EAAM,OAAO,EAAS,GAA2B,MAAM,IAAQ,GAAW,GAAoB,EAAE,IAAI,oBAAoB,IAAkF,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAtI,CAAC,MAAM,EAAE,SAAS,GAAG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