{"version":3,"file":"Logo.BKsl02Sc.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","Image","useMemo"],"sources":["https:/framerusercontent.com/modules/eTQ0xHGIwMtIfqZKvMja/IcFy0QWZI8BMDDw6YF3E/xru3tE3hn.js","https:/framerusercontent.com/modules/IQXqjAGXltPKLdfjcdtf/AdYVRfUvx2HLE5qL3Xfw/Logo.js"],"sourcesContent":["// Generated by Framer (9f55354)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={w6435OXYP:{hover:true}};const serializationHash=\"framer-p2fFm\";const variantClassNames={w6435OXYP:\"framer-v-1vekx8e\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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,icon,id,link,newTab,width,...props})=>{return{...props,c20rbRN7x:icon??props.c20rbRN7x??{src:\"https://framerusercontent.com/images/DgiSybcY4VKA2NnS1lBf4fsuWtc.svg\"},Qbp3GMq00:link??props.Qbp3GMq00,TxOrC9YH2:newTab??props.TxOrC9YH2??true};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,Qbp3GMq00,TxOrC9YH2,c20rbRN7x,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"w6435OXYP\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();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:Qbp3GMq00,nodeId:\"w6435OXYP\",openInNewTab:TxOrC9YH2,smoothScroll:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1vekx8e\",className,classNames)} framer-1dhko67`,\"data-framer-name\":\"Icon Button\",layoutDependency:layoutDependency,layoutId:\"w6435OXYP\",ref:ref??ref1,style:{backdropFilter:\"blur(5px)\",background:\"linear-gradient(164deg, rgba(255, 255, 255, 0.07) 7.3462134009009015%, rgba(171, 171, 171, 0.03) 91.47839245495494%)\",borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50,boxShadow:\"inset 0.5px 1px 0.5px 0px rgba(255, 255, 255, 0.09)\",WebkitBackdropFilter:\"blur(5px)\",...style},variants:{\"w6435OXYP-hover\":{background:\"linear-gradient(164deg, rgba(255, 255, 255, 0.07) 86.78561373873875%, rgba(171, 171, 171, 0.03) 91.47839245495494%)\"}},...addPropertyOverrides({\"w6435OXYP-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(10+((componentViewport?.height||44)-20-24)/2)),pixelHeight:24,pixelWidth:24,sizes:\"24px\",...toResponsiveImage(c20rbRN7x),...{positionX:\"center\",positionY:\"center\"}},className:\"framer-d43ncq\",layoutDependency:layoutDependency,layoutId:\"mkib7QYC5\"})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-p2fFm.framer-1dhko67, .framer-p2fFm .framer-1dhko67 { display: block; }\",\".framer-p2fFm.framer-1vekx8e { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 10px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-p2fFm .framer-d43ncq { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); overflow: visible; position: relative; width: 24px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-p2fFm.framer-1vekx8e { gap: 0px; } .framer-p2fFm.framer-1vekx8e > * { margin: 0px; margin-left: calc(0px / 2); margin-right: calc(0px / 2); } .framer-p2fFm.framer-1vekx8e > :first-child { margin-left: 0px; } .framer-p2fFm.framer-1vekx8e > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 44\n * @framerIntrinsicWidth 44\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"v4lq75ziy\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Qbp3GMq00\":\"link\",\"TxOrC9YH2\":\"newTab\",\"c20rbRN7x\":\"icon\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerxru3tE3hn=withCSS(Component,css,\"framer-p2fFm\");export default Framerxru3tE3hn;Framerxru3tE3hn.displayName=\"Buttons/Icon Button\";Framerxru3tE3hn.defaultProps={height:44,width:44};addPropertyControls(Framerxru3tE3hn,{Qbp3GMq00:{title:\"Link\",type:ControlType.Link},TxOrC9YH2:{defaultValue:true,title:\"New Tab\",type:ControlType.Boolean},c20rbRN7x:{__defaultAssetReference:\"data:framer/asset-reference,DgiSybcY4VKA2NnS1lBf4fsuWtc.svg?originalFilename=Icon+Container+-+2025-01-30T105911.847.svg&preferredSize=auto\",title:\"Icon\",type:ControlType.ResponsiveImage}});addFonts(Framerxru3tE3hn,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerxru3tE3hn\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"v4lq75ziy\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"44\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"44\",\"framerVariables\":\"{\\\"Qbp3GMq00\\\":\\\"link\\\",\\\"TxOrC9YH2\\\":\\\"newTab\\\",\\\"c20rbRN7x\\\":\\\"icon\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./xru3tE3hn.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{NullState}from\"https://framer.com/m/framer/icon-nullstate.js@0.7.0\";var SrcType;(function(SrcType){SrcType[\"Upload\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const baseUrl=\"https://logo.clearbit.com/\";const getLogoUrl=company=>{if(!company)return null;return company.includes(\".\")?`${baseUrl}${company}?size=500`:`${baseUrl}${company}.com?size=500`;};/**\n * @framerIntrinsicWidth 64\n * @framerIntrinsicHeight 64\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function Logo(props){const{company,radius,isSearch,srcType,srcUrl,srcFile,style}=props;const logoURL=useMemo(()=>{if(isSearch)return getLogoUrl(company);if(srcType===SrcType.Upload)return srcFile;if(srcType===SrcType.Url)return srcUrl;return null;},[company,isSearch,srcType,srcUrl,srcFile]);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;const emptyState=isOnCanvas?/*#__PURE__*/ _jsx(NullState,{}):null;return logoURL?/*#__PURE__*/ _jsx(\"img\",{src:logoURL,style:{...baseStyles,...style,borderRadius:radius},alt:\"Logo\"}):emptyState;};Logo.defaultProps={company:\"Framer\",radius:100,width:64,height:64,isSearch:true};const baseStyles={position:\"absolute\",left:0,right:0,top:0,bottom:0,width:\"100%\",height:\"100%\"};addPropertyControls(Logo,{isSearch:{type:ControlType.Boolean,title:\"Type\",disabledTitle:\"Custom\",enabledTitle:\"Search\"},srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[SrcType.Url,SrcType.Upload],hidden:({isSearch})=>isSearch},srcUrl:{type:ControlType.String,title:\" \",placeholder:\"../example.jpg\",hidden:({srcType,isSearch})=>srcType===SrcType.Upload||isSearch},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"jpg\",\"png\",\"jpeg\",\"tiff\",\"gif\"],hidden:({srcType,isSearch})=>srcType===SrcType.Url||isSearch},company:{type:ControlType.String,title:\"Company\",placeholder:\"Github, Apple...\",hidden:({isSearch})=>!isSearch},radius:{type:ControlType.Number,min:0,max:100,title:\"Radius\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Logo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\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