{"version":3,"file":"TextDisplay.Dwc4aFwp.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/Hj7VXtQVZlXDfH2nFg9w/8XPfdThGPuFQv4CXo6aY/StickyCards.js","https:/framerusercontent.com/modules/aiXZdNwoE9x8EIyg0tnb/lplPl0CCzhufqmzjTovx/TextDisplay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function StickyChildrenShowcase(){useEffect(()=>{const parent=document.querySelector('[data-framer-name=\"Showcase-div\"]');if(!parent)return;const children=parent.children;const baseTop=110;const increment=45;Array.from(children).forEach((child,index)=>{const el=child;el.style.position=\"sticky\";el.style.top=`${baseTop+increment*index}px`;el.style.zIndex=`${index}`;});},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withStickyChildrenShowcase(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...StickyChildrenShowcase(props)});};}withStickyChildrenShowcase.displayName=\"StickyChildrenShowcase\";\nexport const __FramerMetadata__ = {\"exports\":{\"withStickyChildrenShowcase\":{\"type\":\"reactHoc\",\"name\":\"withStickyChildrenShowcase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StickyChildrenShowcase\":{\"type\":\"override\",\"name\":\"StickyChildrenShowcase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StickyCards.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function CustomText({text,fontSize,font,lineHeight,letterSpacing,color}){// Just trust the user input; invalid colors won't crash the component\nconst safeColor=color||\"#000000\";return /*#__PURE__*/_jsx(\"div\",{style:{color:safeColor,fontSize,fontWeight:font.fontWeight,fontStyle:font.fontStyle,lineHeight:`${lineHeight}px`,letterSpacing:`${letterSpacing}px`,fontFamily:font.fontFamily,wordWrap:\"break-word\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",textAlign:\"center\"},children:text});}CustomText.defaultProps={text:\"Edit me!\",fontSize:24,font:{fontFamily:\"Inter\",fontWeight:500,fontStyle:\"normal\"},lineHeight:32,letterSpacing:0,color:\"#000000\"};addPropertyControls(CustomText,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Edit me!\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:24,min:8,max:120,unit:\"px\"},font:{type:ControlType.Font,title:\"Font\"},lineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:32,min:10,max:200,unit:\"px\"},letterSpacing:{type:ControlType.Number,title:\"Letter Spacing\",defaultValue:0,min:-5,max:20,unit:\"px\"},color:{type:ControlType.String,title:\"Text Color\",defaultValue:\"#000000\",placeholder:\"Hex, rgb(), rgba(), etc\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CustomText\":{\"type\":\"reactComponent\",\"name\":\"CustomText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextDisplay.map"],"mappings":"8KAAwE,SAAgB,GAAwB,CAAsV,OAArV,MAAc,CAAC,IAAM,EAAO,SAAS,cAAc,oCAAoC,CAAC,GAAG,CAAC,EAAO,OAAO,IAAM,EAAS,EAAO,SAA8C,MAAM,KAAK,EAAS,CAAC,SAAS,EAAM,IAAQ,CAAC,IAAM,EAAG,EAAM,EAAG,MAAM,SAAS,SAAS,EAAG,MAAM,IAAI,GAAG,IAAQ,GAAU,EAAM,IAAI,EAAG,MAAM,OAAO,GAAG,KAAU,EAAG,EAAE,CAAC,CAAO,EAAE,CAAqJ,SAAgB,EAA2B,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAuB,EAAM,CAAC,CA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