{"version":3,"file":"yErqh_s5c.C7fCQ-pF.mjs","names":["Image","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/t2eJuWhO43tnvwTYShGb/fyWK9wnzQhwVvMAgHU5L/yErqh_s5c.js"],"sourcesContent":["// Generated by Framer (716ed5b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Image,optimizeAppear,optimizeAppearTransformTemplate,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const ImageWithFX=withFX(Image);const cycleOrder=[\"O_T6zIS7t\",\"CdtdZqmMa\",\"MxGfVhS1p\"];const serializationHash=\"framer-KD11m\";const variantClassNames={CdtdZqmMa:\"framer-v-6ofkvy\",MxGfVhS1p:\"framer-v-ng5tst\",O_T6zIS7t:\"framer-v-1av962h\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transitions={default:{delay:.5,duration:1,ease:[.44,0,.56,1],type:\"tween\"},MxGfVhS1p:{delay:.2,duration:.7,ease:[.12,.23,.5,1],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 transition1={delay:.2,duration:.7,ease:[.12,.23,.5,1],type:\"tween\"};const animation={opacity:0,rotate:0,scale:1,transition:transition1,x:0,y:0};const transformTemplate1=(_,t)=>`perspective(1200px) ${t}`;const animation1={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,transition:transition1,x:0,y:0};const animation2={opacity:.001,rotate:0,scale:1,x:0,y:0};const transition2={delay:0,duration:1,ease:[1,.02,.22,.95],type:\"tween\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion(React.Fragment);const humanReadableVariantMap={\"Fade In\":\"MxGfVhS1p\",Covered:\"O_T6zIS7t\",Revealed:\"CdtdZqmMa\"};const getProps=({height,id,image,width,...props})=>{var _ref,_humanReadableVariantMap_props_variant,_ref1;return{...props,lyYPKz353:(_ref=image!==null&&image!==void 0?image:props.lyYPKz353)!==null&&_ref!==void 0?_ref:{src:\"https://framerusercontent.com/images/CY6YzDHoS9Bobyoufa5l5mOWCkY.jpg\"},variant:(_ref1=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref1!==void 0?_ref1:\"O_T6zIS7t\"};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,lyYPKz353,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"O_T6zIS7t\",transitions,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"MxGfVhS1p\")return false;return true;};const defaultLayoutId=React.useId();const sharedStyleClassNames=[];return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition,children:/*#__PURE__*/_jsx(motion.div,{...restProps,background:{alt:\"\",fit:\"fill\"},className:cx(serializationHash,...sharedStyleClassNames,\"framer-1av962h\",className,classNames),\"data-framer-name\":\"Covered\",layoutDependency:layoutDependency,layoutId:\"O_T6zIS7t\",onHoverEnd:()=>setGestureState({isHovered:false}),onHoverStart:()=>setGestureState({isHovered:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),onTapStart:()=>setGestureState({isPressed:true}),ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({CdtdZqmMa:{\"data-framer-name\":\"Revealed\"},MxGfVhS1p:{\"data-framer-name\":\"Fade In\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ImageWithFX,{background:{alt:\"\",fit:\"fill\",pixelHeight:4608,pixelWidth:3456,sizes:\"max(min(200px, 100vw), 0px)\",...toResponsiveImage(lyYPKz353),...{positionX:\"center\",positionY:\"center\"}},className:\"framer-d68go8\",\"data-framer-name\":\"Stack\",layoutDependency:layoutDependency,layoutId:\"q_6FMsBcV\",...addPropertyOverrides({MxGfVhS1p:{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,\"data-framer-appear-id\":\"1etaw2s\",animate:optimizeAppear(\"animate\",\"1etaw2s\",animation1,\"ng5tst\"),exit:animation,initial:optimizeAppear(\"initial\",\"1etaw2s\",animation2,\"ng5tst\"),transformTemplate:optimizeAppearTransformTemplate(\"1etaw2s\",transformTemplate1)}},baseVariant,gestureVariant),children:isDisplayed()&&/*#__PURE__*/_jsx(Transition,{value:transition2,children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-aqobmp\",\"data-framer-name\":\"Cover\",layoutDependency:layoutDependency,layoutId:\"CTCvGHOoL\",style:{backgroundColor:\"rgb(255, 255, 255)\"}})})})})})})});});const css=['.framer-KD11m[data-border=\"true\"]::after, .framer-KD11m [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; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-KD11m.framer-16vhydc, .framer-KD11m .framer-16vhydc { display: block; }\",\".framer-KD11m.framer-1av962h { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 300px; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 200px; }\",\".framer-KD11m .framer-d68go8 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 100%; justify-content: center; overflow: visible; padding: 0px 0px 0px 0px; position: relative; width: 1px; z-index: 1; }\",\".framer-KD11m .framer-aqobmp { bottom: -1px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: -1px; z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-KD11m.framer-1av962h, .framer-KD11m .framer-d68go8 { gap: 0px; } .framer-KD11m.framer-1av962h > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-KD11m.framer-1av962h > :first-child, .framer-KD11m .framer-d68go8 > :first-child { margin-left: 0px; } .framer-KD11m.framer-1av962h > :last-child, .framer-KD11m .framer-d68go8 > :last-child { margin-right: 0px; } .framer-KD11m .framer-d68go8 > * { margin: 0px; margin-left: calc(0px / 2); margin-right: calc(0px / 2); } }\",\".framer-KD11m.framer-v-6ofkvy .framer-aqobmp { bottom: -300px; height: 300px; top: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 300\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"CdtdZqmMa\":{\"layout\":[\"fixed\",\"fixed\"]},\"MxGfVhS1p\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"lyYPKz353\":\"image\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n */const FrameryErqh_s5c=withCSS(Component,css,\"framer-KD11m\");export default FrameryErqh_s5c;FrameryErqh_s5c.displayName=\"Drop Photo\";FrameryErqh_s5c.defaultProps={height:300,width:200};addPropertyControls(FrameryErqh_s5c,{variant:{options:[\"O_T6zIS7t\",\"CdtdZqmMa\",\"MxGfVhS1p\"],optionTitles:[\"Covered\",\"Revealed\",\"Fade In\"],title:\"Variant\",type:ControlType.Enum},lyYPKz353:{__defaultAssetReference:\"data:framer/asset-reference,CY6YzDHoS9Bobyoufa5l5mOWCkY.jpg?originalFilename=photo-1568044852337-9bcc3378fc3c%3Fcrop%3Dentropy%26cs%3Dsrgb%26fm%3Djpg%26ixid%3DM3wxMzc5NjJ8MHwxfHNlYXJjaHwzMDl8fHBob3RvZ3JhcGh5fGVufDB8fHx8MTcwMTM0OTU0NXww%26ixlib%3Drb-4.0.jpg&preferredSize=full\",title:\"Image\",type:ControlType.ResponsiveImage}});addFonts(FrameryErqh_s5c,[]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameryErqh_s5c\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"200\",\"framerIntrinsicHeight\":\"300\",\"framerVariables\":\"{\\\"lyYPKz353\\\":\\\"image\\\"}\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"CdtdZqmMa\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"MxGfVhS1p\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./yErqh_s5c.map"],"mappings":"+UACwhB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAA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