{"version":3,"file":"iT4U7FeWR.MdO98mO2.mjs","names":["Visual","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/22sB4gXQqHDmIqyCh8rI/oYj9oGELImHNag06tvGK/iT4U7FeWR.js"],"sourcesContent":["// Generated by Framer (569b461)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Visual from\"https://framerusercontent.com/modules/qQXKKfNGLRlX1cjOpme9/gi8oYAqzxVUh0YKrun6z/Tpg8jvl_O.js\";const VisualFonts=getFonts(Visual);const VisualControls=getPropertyControls(Visual);const serializationHash=\"framer-RHmUs\";const variantClassNames={YIl75r5Sn:\"framer-v-1dddgag\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const gpOVkygdT=undefined;const axtazpVpE=undefined;const qeIfLXhtl=undefined;const aGoWeYwpt=undefined;const TwyEzu4fW=undefined;const XBSES9Zum=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};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 getProps=({height,id,image,showVideo,videoFile,videoPoster,videoSource,videoURL,width,...props})=>{return{...props,aGoWeYwpt:videoSource??props.aGoWeYwpt??\"URL\",axtazpVpE:showVideo??props.axtazpVpE,gpOVkygdT:image??props.gpOVkygdT,qeIfLXhtl:videoPoster??props.qeIfLXhtl,TwyEzu4fW:videoURL??props.TwyEzu4fW,XBSES9Zum:videoFile??props.XBSES9Zum};};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,gpOVkygdT,axtazpVpE,qeIfLXhtl,aGoWeYwpt,TwyEzu4fW,XBSES9Zum,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"YIl75r5Sn\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];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-1dddgag\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"YIl75r5Sn\",ref:refBinding,style:{borderBottomLeftRadius:40,borderBottomRightRadius:40,borderTopLeftRadius:40,borderTopRightRadius:40,...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-9dp6ci\",\"data-framer-name\":\"Image Container\",layoutDependency:layoutDependency,layoutId:\"AaK0CYFLo\",style:{backgroundColor:\"var(--token-1a970736-0fa4-4682-820c-a2b184727689, rgb(249, 250, 251))\",borderBottomLeftRadius:40,borderBottomRightRadius:40,borderTopLeftRadius:40,borderTopRightRadius:40},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:(Math.max(0,((componentViewport?.height||379)-0-0)/1)*1-16)*1,width:`max(${componentViewport?.width||\"100vw\"} - 16px, 1px)`,y:(componentViewport?.y||0)+0+(((componentViewport?.height||379)-0-(Math.max(0,((componentViewport?.height||379)-0-0)/1)*1+0))/2+0+0)+(8+(Math.max(0,((componentViewport?.height||379)-0-0)/1)*1-16-(Math.max(0,((componentViewport?.height||379)-0-0)/1)*1-16)*1)/2),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-w2u2ad-container\",layoutDependency:layoutDependency,layoutId:\"ewDW103yh-container\",nodeId:\"ewDW103yh\",rendersWithMotion:true,scopeId:\"iT4U7FeWR\",children:/*#__PURE__*/_jsx(Visual,{b1yLCVmjE:toResponsiveImage(qeIfLXhtl),height:\"100%\",hjFJ8DN90:aGoWeYwpt,id:\"ewDW103yh\",layoutId:\"ewDW103yh\",lySB10pD9:XBSES9Zum,qr_eL5_qQ:toResponsiveImage(gpOVkygdT),style:{height:\"100%\",width:\"100%\"},tRQiAbNTk:axtazpVpE,width:\"100%\",XfrnL5PUK:TwyEzu4fW,yUdHfVGai:\"32px\"})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-RHmUs.framer-h7k6jx, .framer-RHmUs .framer-h7k6jx { display: block; }\",\".framer-RHmUs.framer-1dddgag { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 379px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 464px; will-change: var(--framer-will-change-override, transform); }\",\".framer-RHmUs .framer-9dp6ci { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 1px; justify-content: center; overflow: visible; padding: 8px; position: relative; width: 100%; }\",\".framer-RHmUs .framer-w2u2ad-container { flex: 1 0 0px; height: 100%; position: relative; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 379\n * @framerIntrinsicWidth 464\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"gpOVkygdT\":\"image\",\"axtazpVpE\":\"showVideo\",\"qeIfLXhtl\":\"videoPoster\",\"aGoWeYwpt\":\"videoSource\",\"TwyEzu4fW\":\"videoURL\",\"XBSES9Zum\":\"videoFile\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameriT4U7FeWR=withCSS(Component,css,\"framer-RHmUs\");export default FrameriT4U7FeWR;FrameriT4U7FeWR.displayName=\"Visual Card\";FrameriT4U7FeWR.defaultProps={height:379,width:464};addPropertyControls(FrameriT4U7FeWR,{gpOVkygdT:{title:\"Image\",type:ControlType.ResponsiveImage},axtazpVpE:{defaultValue:false,title:\"Show Video\",type:ControlType.Boolean},qeIfLXhtl:{title:\"Video Poster\",type:ControlType.ResponsiveImage},aGoWeYwpt:VisualControls?.[\"hjFJ8DN90\"]&&{...VisualControls[\"hjFJ8DN90\"],defaultValue:\"URL\",description:undefined,hidden:undefined,title:\"Video Source\"},TwyEzu4fW:{defaultValue:\"\",title:\"Video URL\",type:ControlType.String},XBSES9Zum:VisualControls?.[\"lySB10pD9\"]&&{...VisualControls[\"lySB10pD9\"],__defaultAssetReference:\"\",description:undefined,hidden:undefined,title:\"Video File\"}});addFonts(FrameriT4U7FeWR,[{explicitInter:true,fonts:[]},...VisualFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameriT4U7FeWR\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"379\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"gpOVkygdT\\\":\\\"image\\\",\\\"axtazpVpE\\\":\\\"showVideo\\\",\\\"qeIfLXhtl\\\":\\\"videoPoster\\\",\\\"aGoWeYwpt\\\":\\\"videoSource\\\",\\\"TwyEzu4fW\\\":\\\"videoURL\\\",\\\"XBSES9Zum\\\":\\\"videoFile\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"464\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mbAC2C,IAAgN,IAAkE,IAA4B,IAA2I,CAAM,EAAY,EAASA,EAAO,CAAO,EAAe,EAAoBA,EAAO,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,CAA0V,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,YAAU,YAAU,cAAY,cAAY,WAAS,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAa,EAAM,WAAW,MAAM,UAAU,GAAW,EAAM,UAAU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