{"version":3,"file":"BcJq5fAss.GoYRp3ed.mjs","names":["Image"],"sources":["https:/framerusercontent.com/modules/zMRkcghB38N3S5QjmBvQ/8dhSCjCMDcyQx8RTFUVB/BcJq5fAss.js"],"sourcesContent":["// Generated by Framer (890879b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={noieOsrRI:{hover:true}};const cycleOrder=[\"noieOsrRI\",\"WTYwOQzFQ\"];const serializationHash=\"framer-ZzJim\";const variantClassNames={noieOsrRI:\"framer-v-8pz6jf\",WTYwOQzFQ:\"framer-v-plvwv5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,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 transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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={Image:\"noieOsrRI\",Text:\"WTYwOQzFQ\"};const getProps=({height,id,image,textBG,width,...props})=>{return{...props,HJYYGhJC3:textBG??props.HJYYGhJC3??\"rgb(218, 225, 25)\",shYZ8xZ6P:image??props.shYZ8xZ6P,variant:humanReadableVariantMap[props.variant]??props.variant??\"noieOsrRI\"};};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,shYZ8xZ6P,HJYYGhJC3,b4EsfMO6DwoijqL5Mw,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"noieOsrRI\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"WTYwOQzFQ\")return true;return false;};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-8pz6jf\",className,classNames),\"data-framer-name\":\"Image\",layoutDependency:layoutDependency,layoutId:\"noieOsrRI\",ref:refBinding,style:{...style},...addPropertyOverrides({\"noieOsrRI-hover\":{\"data-framer-name\":undefined},WTYwOQzFQ:{\"data-framer-name\":\"Text\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),sizes:(componentViewport?.height||40)-0,...toResponsiveImage(shYZ8xZ6P)},className:\"framer-15xkgpc\",\"data-border\":true,layoutDependency:layoutDependency,layoutId:\"Tn6rxuaQ8\",style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"var(--token-7bc77d28-260e-4b84-92a3-3084b520b0ce, rgb(255, 255, 255))\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:99,borderBottomRightRadius:99,borderTopLeftRadius:99,borderTopRightRadius:99},variants:{\"noieOsrRI-hover\":{backgroundColor:\"rgba(0, 0, 0, 0)\"},WTYwOQzFQ:{backgroundColor:HJYYGhJC3}},...addPropertyOverrides({\"noieOsrRI-hover\":{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+-10),sizes:(componentViewport?.height||40)-0,...toResponsiveImage(shYZ8xZ6P)}},WTYwOQzFQ:{background:undefined}},baseVariant,gestureVariant),children:isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"13px\",\"--framer-font-weight\":\"600\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-b4EsfMO6D-woijqL5Mw))\"},children:\"+1k\"})}),className:\"framer-179uqxs\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"bVegXyZLk\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-b4EsfMO6D-woijqL5Mw)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-b4EsfMO6D-woijqL5Mw\":b4EsfMO6DwoijqL5Mw},transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ZzJim.framer-lfsitx, .framer-ZzJim .framer-lfsitx { display: block; }\",\".framer-ZzJim.framer-8pz6jf { cursor: pointer; gap: 10px; height: 40px; overflow: visible; position: relative; width: 28px; }\",\".framer-ZzJim .framer-15xkgpc { aspect-ratio: 1 / 1; bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; top: 0px; width: var(--framer-aspect-ratio-supported, 40px); z-index: 1; }\",\".framer-ZzJim .framer-179uqxs { flex: none; height: auto; left: 50%; position: absolute; top: 50%; white-space: pre; width: auto; z-index: 1; }\",\".framer-ZzJim.framer-v-plvwv5.framer-8pz6jf { cursor: unset; }\",\".framer-ZzJim.framer-v-8pz6jf.hover .framer-15xkgpc { bottom: 10px; top: -10px; }\",'.framer-ZzJim[data-border=\"true\"]::after, .framer-ZzJim [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; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 28\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"WTYwOQzFQ\":{\"layout\":[\"fixed\",\"fixed\"]},\"VNcXUByQT\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"shYZ8xZ6P\":\"image\",\"HJYYGhJC3\":\"textBG\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerBcJq5fAss=withCSS(Component,css,\"framer-ZzJim\");export default FramerBcJq5fAss;FramerBcJq5fAss.displayName=\"User Avatar\";FramerBcJq5fAss.defaultProps={height:40,width:28};addPropertyControls(FramerBcJq5fAss,{variant:{options:[\"noieOsrRI\",\"WTYwOQzFQ\"],optionTitles:[\"Image\",\"Text\"],title:\"Variant\",type:ControlType.Enum},shYZ8xZ6P:{title:\"Image\",type:ControlType.ResponsiveImage},HJYYGhJC3:{defaultValue:\"rgb(218, 225, 25)\",title:\"Text BG\",type:ControlType.Color}});addFonts(FramerBcJq5fAss,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZ1rib2Bg-4.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerBcJq5fAss\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"shYZ8xZ6P\\\":\\\"image\\\",\\\"HJYYGhJC3\\\":\\\"textBG\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"28\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"40\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WTYwOQzFQ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"VNcXUByQT\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BcJq5fAss.map"],"mappings":"gkBAC0hB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAE,EAAsF,MAArF,IAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,CAAe,8CAWjP,AAXhe,GAA2C,IAAoK,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,OAAM,CAAK,CAAC,EA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