{"version":3,"file":"s18GVMfUM.CCAwLh04.mjs","names":["Image1","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/vfPfsxTOklROiatni1hG/D2ou3gyv1VrviVM1I9sY/s18GVMfUM.js"],"sourcesContent":["// Generated by Framer (8b16de8)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useOnVariantChange,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const Image1WithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(Image1));const cycleOrder=[\"St94X6UOj\",\"ZzErhzC46\",\"EujzdkKMr\",\"wpildNBgX\",\"VLwvH1EZl\"];const serializationHash=\"framer-sw8AW\";const variantClassNames={EujzdkKMr:\"framer-v-1rgehp8\",St94X6UOj:\"framer-v-1es9e0\",VLwvH1EZl:\"framer-v-6tuvo1\",wpildNBgX:\"framer-v-1kpoz5y\",ZzErhzC46:\"framer-v-i7ex67\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const W_vu5mr0u=undefined;const eRGiamu0V=undefined;const transition1={delay:0,duration:1.4,ease:[.39,.19,0,.97],type:\"tween\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transition2={delay:.1,duration:.4,ease:[.39,.19,0,.97],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:-250};const animation2={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:400,y:0};const animation3={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:240,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 humanReadableVariantMap={\"Horizontal reveal\":\"wpildNBgX\",\"No effect\":\"VLwvH1EZl\",\"Vertical reveal\":\"ZzErhzC46\",Horizontal:\"EujzdkKMr\",Vertical:\"St94X6UOj\"};const Variants=motion.create(React.Fragment);const getProps=({height,heroImage,id,maskBg,width,...props})=>{return{...props,eRGiamu0V:heroImage??props.eRGiamu0V,variant:humanReadableVariantMap[props.variant]??props.variant??\"St94X6UOj\",W_vu5mr0u:maskBg??props.W_vu5mr0u??\"rgb(250, 250, 250)\"};};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,eRGiamu0V,W_vu5mr0u,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"St94X6UOj\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onAppear1art3p1=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"ZzErhzC46\",true),100);});const onAppear1g7xbn8=activeVariantCallback(async(...args)=>{setVariant(\"wpildNBgX\",true);});useOnVariantChange(baseVariant,{default:onAppear1art3p1,EujzdkKMr:onAppear1g7xbn8,VLwvH1EZl:undefined,wpildNBgX:undefined});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"VLwvH1EZl\")return false;return true;};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-1es9e0\",className,classNames),\"data-framer-name\":\"Vertical\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"St94X6UOj\",ref:refBinding,style:{backgroundColor:W_vu5mr0u,borderBottomLeftRadius:6,borderBottomRightRadius:6,borderTopLeftRadius:6,borderTopRightRadius:6,filter:\"blur(0px)\",WebkitFilter:\"blur(0px)\",...style},...addPropertyOverrides({EujzdkKMr:{\"data-framer-name\":\"Horizontal\"},VLwvH1EZl:{\"data-framer-name\":\"No effect\",\"data-highlight\":undefined},wpildNBgX:{\"data-framer-name\":\"Horizontal reveal\",\"data-highlight\":undefined},ZzErhzC46:{\"data-framer-name\":\"Vertical reveal\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image1WithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||250)-0-((componentViewport?.height||250)-0)*1)/2)),sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,...toResponsiveImage(eRGiamu0V)},className:\"framer-qllq3h\",\"data-framer-appear-id\":\"qllq3h\",\"data-framer-name\":\"Image\",initial:animation1,layoutDependency:layoutDependency,layoutId:\"e4GoUWovO\",optimized:true,style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8},...addPropertyOverrides({EujzdkKMr:{initial:animation2},VLwvH1EZl:{animate:undefined,initial:undefined,optimized:undefined},wpildNBgX:{initial:animation3}},baseVariant,gestureVariant),children:isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-vjzckf\",\"data-framer-name\":\"Mask reveal\",layoutDependency:layoutDependency,layoutId:\"hm7cbADHk\",style:{backgroundColor:W_vu5mr0u}})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-sw8AW.framer-pfu1mi, .framer-sw8AW .framer-pfu1mi { display: block; }\",\".framer-sw8AW.framer-1es9e0 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 250px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 524px; will-change: var(--framer-will-change-override, transform); }\",\".framer-sw8AW .framer-qllq3h { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 100%; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; z-index: 1; }\",\".framer-sw8AW .framer-vjzckf { bottom: 0px; flex: none; left: 0px; overflow: var(--overflow-clip-fallback, clip); position: absolute; right: 0px; top: 0px; z-index: 1; }\",\".framer-sw8AW.framer-v-i7ex67 .framer-vjzckf { bottom: -250px; height: 250px; left: 0px; right: 0px; top: unset; }\",\".framer-sw8AW.framer-v-1kpoz5y .framer-vjzckf { left: -525px; right: unset; width: 526px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 250\n * @framerIntrinsicWidth 524\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"ZzErhzC46\":{\"layout\":[\"fixed\",\"fixed\"]},\"EujzdkKMr\":{\"layout\":[\"fixed\",\"fixed\"]},\"wpildNBgX\":{\"layout\":[\"fixed\",\"fixed\"]},\"VLwvH1EZl\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"eRGiamu0V\":\"heroImage\",\"W_vu5mr0u\":\"maskBg\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framers18GVMfUM=withCSS(Component,css,\"framer-sw8AW\");export default Framers18GVMfUM;Framers18GVMfUM.displayName=\"Image mask reveal\";Framers18GVMfUM.defaultProps={height:250,width:524};addPropertyControls(Framers18GVMfUM,{variant:{options:[\"St94X6UOj\",\"ZzErhzC46\",\"EujzdkKMr\",\"wpildNBgX\",\"VLwvH1EZl\"],optionTitles:[\"Vertical\",\"Vertical reveal\",\"Horizontal\",\"Horizontal reveal\",\"No effect\"],title:\"Variant\",type:ControlType.Enum},eRGiamu0V:{title:\"Hero image\",type:ControlType.ResponsiveImage},W_vu5mr0u:{defaultValue:\"rgb(250, 250, 250)\",title:\"Mask bg\",type:ControlType.Color}});addFonts(Framers18GVMfUM,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framers18GVMfUM\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"250\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"524\",\"framerVariables\":\"{\\\"eRGiamu0V\\\":\\\"heroImage\\\",\\\"W_vu5mr0u\\\":\\\"maskBg\\\"}\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ZzErhzC46\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"EujzdkKMr\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"wpildNBgX\\\":{\\\"layout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