{"version":3,"file":"CMS_Display.DAKoUID6.mjs","names":["ArrowIcon","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image1","RichText","useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/eZA1bz0g11BylzUV7jEz/xLfO7IxQQSs2Xlhp9jnD/h9H0OjLNs.js","https:/framerusercontent.com/modules/yhJB2AV71ZAMqj3wXdjM/EMl3iyGGvzxYF4Cokurf/CMS_Display.js"],"sourcesContent":["// Generated by Framer (4b28574)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,getLoadingLazyAtYPosition,Image as Image1,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleCode,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ArrowIcon from\"https://framerusercontent.com/modules/HtUSTHQcTuG5HKV2895u/D6cRTlgdU50651YEPd0Q/OpNaW4i0k.js\";const ArrowIconFonts=getFonts(ArrowIcon);const enabledGestures={ohi20w1Nu:{hover:true}};const cycleOrder=[\"ohi20w1Nu\",\"FWuYAebkP\"];const serializationHash=\"framer-TlHp5\";const variantClassNames={FWuYAebkP:\"framer-v-ymzv5p\",ohi20w1Nu:\"framer-v-1ad92e5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const hejnydubm=undefined;const bkzBwkZO5=undefined;const cwVW8Igne=undefined;const transition1={bounce:0,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 sharedDateFormatter=(value,formatOptions,locale)=>{if(typeof value!==\"string\")return\"\";const date=new Date(value);if(isNaN(date.getTime()))return\"\";const fallbackLocale=\"en-US\";try{return date.toLocaleString(locale||fallbackLocale,formatOptions);}catch{return date.toLocaleString(fallbackLocale,formatOptions);}};const dateOptions={dateStyle:\"medium\",timeZone:\"UTC\"};const toDateString=(value,activeLocale)=>{return sharedDateFormatter(value,dateOptions,activeLocale);};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return 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 humanReadableVariantMap={Desktop:\"ohi20w1Nu\",Mobile:\"FWuYAebkP\"};const Variants=motion.create(React.Fragment);const getProps=({coverImage,height,id,published,title,width,...props})=>{return{...props,bkzBwkZO5:title??props.bkzBwkZO5??\"COPY 2 Knowledge overtaking trust: Comprehensive monitoring and tailored\",cwVW8Igne:published??props.cwVW8Igne??\"2024-09-10T00:00:00.000Z\",hejnydubm:coverImage??props.hejnydubm,variant:humanReadableVariantMap[props.variant]??props.variant??\"ohi20w1Nu\"};};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,bkzBwkZO5,cwVW8Igne,hejnydubm,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ohi20w1Nu\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const activeLocaleCode=useLocaleCode();const textContent=toDateString(cwVW8Igne,activeLocaleCode);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-1ad92e5\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"ohi20w1Nu\",ref:refBinding,style:{backgroundColor:\"var(--token-c9858a54-6d7c-4cba-ba92-6b1f0b0402f5, rgb(252, 253, 254))\",boxShadow:\"1px 0px 0px 0px var(--token-33e816d3-aeda-4571-bea7-201858c2e3d9, rgb(203, 213, 225)), 0px 1px 0px 0px var(--token-33e816d3-aeda-4571-bea7-201858c2e3d9, rgb(203, 213, 225)), 1px 1px 0px 0px var(--token-33e816d3-aeda-4571-bea7-201858c2e3d9, rgb(203, 213, 225)), inset 1px 1px 0px 0px var(--token-33e816d3-aeda-4571-bea7-201858c2e3d9, rgb(203, 213, 225))\",...style},variants:{\"ohi20w1Nu-hover\":{boxShadow:\"1px 0px 0px 0px var(--token-1537b5ff-fc9c-4fc2-9ef8-f047a02e1df9, rgb(71, 85, 105)), 0px 1px 0px 0px var(--token-1537b5ff-fc9c-4fc2-9ef8-f047a02e1df9, rgb(71, 85, 105)), 1px 1px 0px 0px var(--token-1537b5ff-fc9c-4fc2-9ef8-f047a02e1df9, rgb(71, 85, 105)), inset 1px 1px 0px 0px var(--token-1537b5ff-fc9c-4fc2-9ef8-f047a02e1df9, rgb(71, 85, 105))\"}},...addPropertyOverrides({\"ohi20w1Nu-hover\":{\"data-framer-name\":undefined},FWuYAebkP:{\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-evxg74\",\"data-framer-name\":\"News Card\",layoutDependency:layoutDependency,layoutId:\"gLrVJKwdS\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ylzfny\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"wwvFUmrSU\",children:[/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(0+0+((componentViewport?.height||480)-0-Math.max(0,((componentViewport?.height||480)-0-0)/1)*1)/1*0)+24+0+0+0),sizes:`calc(${componentViewport?.width||\"100vw\"} - 48px)`,...toResponsiveImage(hejnydubm)},className:\"framer-wzvqbh\",\"data-border\":true,\"data-framer-name\":\"Cover\",layoutDependency:layoutDependency,layoutId:\"kMOyxMCXb\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-2a65cb53-1085-41e1-b6d6-b6f861e7a0ce, rgb(226, 232, 240))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4},...addPropertyOverrides({FWuYAebkP:{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(0+0+((componentViewport?.height||180)-0-Math.max(0,((componentViewport?.height||180)-0-0)/1)*1)/1*0)+16+0+0),sizes:(Math.max(0,(Math.max(0,((componentViewport?.height||180)-0-0)/1)*1-32-0)/1)*1-0)*1,...toResponsiveImage(hejnydubm)}}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-zuelrv\",\"data-framer-name\":\"Title\",layoutDependency:layoutDependency,layoutId:\"cjRRvi6pp\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--framer-line-height\":\"20px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-15738a84-d1dd-4d59-8e71-5c8abe09420a, rgb(13, 32, 57)))\"},children:\"Cula and Supercritical Partner to Increase trust in Carbon Credits\"})}),className:\"framer-167yo3z\",\"data-framer-name\":\"Text\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"mmQmb5KOm\",style:{\"--extracted-r6o4lv\":\"var(--token-15738a84-d1dd-4d59-8e71-5c8abe09420a, rgb(13, 32, 57))\",\"--framer-paragraph-spacing\":\"0px\"},text:bkzBwkZO5,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1vv7vjj\",\"data-framer-name\":\"CTA\",layoutDependency:layoutDependency,layoutId:\"IGD3v9fXx\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1o1wl52\",\"data-framer-name\":\"Metadata\",layoutDependency:layoutDependency,layoutId:\"kYv2AuHXo\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7R2Vpc3QtcmVndWxhcg==\",\"--framer-font-family\":'\"Geist\", \"Geist Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-line-height\":\"20px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-1537b5ff-fc9c-4fc2-9ef8-f047a02e1df9, rgb(71, 85, 105)))\"},children:\"10/09/2024\"})}),className:\"framer-nikrpo\",\"data-framer-name\":\"Text\",fonts:[\"GF;Geist-regular\"],layoutDependency:layoutDependency,layoutId:\"KxdS4zy6S\",style:{\"--extracted-r6o4lv\":\"var(--token-1537b5ff-fc9c-4fc2-9ef8-f047a02e1df9, rgb(71, 85, 105))\",\"--framer-paragraph-spacing\":\"0px\"},text:/*#__PURE__*/_jsx(\"time\",{dateTime:cwVW8Igne,children:textContent}),verticalAlignment:\"top\",withExternalLayout:true})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:20,y:(componentViewport?.y||0)+0+(0+0+((componentViewport?.height||480)-0-Math.max(0,((componentViewport?.height||480)-0-0)/1)*1)/1*0)+24+0+0+(0+Math.max(0,(Math.max(0,(Math.max(0,((componentViewport?.height||480)-0-0)/1)*1-48-0)/1)*1-0-224)/1)*1+16)+0+108+40,...addPropertyOverrides({FWuYAebkP:{y:(componentViewport?.y||0)+0+(0+0+((componentViewport?.height||180)-0-Math.max(0,((componentViewport?.height||180)-0-0)/1)*1)/1*0)+16+0+0+0+(0+100+((Math.max(0,(Math.max(0,((componentViewport?.height||180)-0-0)/1)*1-32-0)/1)*1-0)*1-0-200)/1*1)+40}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-13k8zh7-container\",layoutDependency:layoutDependency,layoutId:\"oN3Kyqnl6-container\",nodeId:\"oN3Kyqnl6\",rendersWithMotion:true,scopeId:\"h9H0OjLNs\",children:/*#__PURE__*/_jsx(ArrowIcon,{height:\"100%\",id:\"oN3Kyqnl6\",layoutId:\"oN3Kyqnl6\",variant:matchVariant(\"DR3fWXxV_\"),width:\"100%\",...addPropertyOverrides({\"ohi20w1Nu-hover\":{variant:matchVariant(\"V3uqCeX5T\")},FWuYAebkP:{variant:matchVariant(\"WyFbuLmc8\")}},baseVariant,gestureVariant)})})})]})]})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-TlHp5.framer-sr9nur, .framer-TlHp5 .framer-sr9nur { display: block; }\",\".framer-TlHp5.framer-1ad92e5 { align-content: flex-start; align-items: flex-start; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; height: 480px; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 480px; }\",\".framer-TlHp5 .framer-evxg74 { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: 1px; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 24px; position: relative; width: 100%; }\",\".framer-TlHp5 .framer-ylzfny { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: 1px; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-TlHp5 .framer-wzvqbh { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 12px; height: 1px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; will-change: var(--framer-will-change-override, transform); }\",\".framer-TlHp5 .framer-zuelrv { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",'.framer-TlHp5 .framer-167yo3z { --text-truncation-display-inline-for-safari-16: inline; --text-truncation-display-none-for-safari-16: none; --text-truncation-line-break-for-safari-16: \"\\\\A\"; -webkit-box-orient: vertical; -webkit-line-clamp: 3; display: -webkit-box; flex: none; height: auto; min-height: 60px; overflow: var(--overflow-clip-fallback, clip); position: relative; white-space: pre-line; width: 100%; word-break: break-word; word-wrap: break-word; }',\".framer-TlHp5 .framer-1vv7vjj { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-TlHp5 .framer-1o1wl52 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-TlHp5 .framer-nikrpo { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-TlHp5 .framer-13k8zh7-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-TlHp5.framer-v-ymzv5p.framer-1ad92e5 { cursor: unset; height: 180px; }\",\".framer-TlHp5.framer-v-ymzv5p .framer-evxg74 { padding: 16px; }\",\".framer-TlHp5.framer-v-ymzv5p .framer-ylzfny { flex-direction: row; }\",\".framer-TlHp5.framer-v-ymzv5p .framer-wzvqbh { aspect-ratio: 1 / 1; flex: none; height: 100%; width: var(--framer-aspect-ratio-supported, 148px); }\",\".framer-TlHp5.framer-v-ymzv5p .framer-zuelrv { flex: 1 0 0px; gap: unset; height: 100%; justify-content: space-between; width: 1px; }\",'.framer-TlHp5[data-border=\"true\"]::after, .framer-TlHp5 [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; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 480\n * @framerIntrinsicWidth 480\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"FWuYAebkP\":{\"layout\":[\"fixed\",\"fixed\"]},\"lE9896Jhp\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"bkzBwkZO5\":\"title\",\"cwVW8Igne\":\"published\",\"hejnydubm\":\"coverImage\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerh9H0OjLNs=withCSS(Component,css,\"framer-TlHp5\");export default Framerh9H0OjLNs;Framerh9H0OjLNs.displayName=\"New Card Wrapper\";Framerh9H0OjLNs.defaultProps={height:480,width:480};addPropertyControls(Framerh9H0OjLNs,{variant:{options:[\"ohi20w1Nu\",\"FWuYAebkP\"],optionTitles:[\"Desktop\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum},bkzBwkZO5:{defaultValue:\"COPY 2 Knowledge overtaking trust: Comprehensive monitoring and tailored\",title:\"Title\",type:ControlType.String},onbkzBwkZO5Change:{changes:\"bkzBwkZO5\",type:ControlType.ChangeHandler},cwVW8Igne:{defaultValue:\"2024-09-10T00:00:00.000Z\",title:\"Published\",type:ControlType.Date},oncwVW8IgneChange:{changes:\"cwVW8Igne\",type:ControlType.ChangeHandler},hejnydubm:{title:\"Cover Image\",type:ControlType.ResponsiveImage}});addFonts(Framerh9H0OjLNs,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"},{cssFamilyName:\"Geist\",source:\"google\",style:\"normal\",uiFamilyName:\"Geist\",url:\"https://fonts.gstatic.com/s/geist/v4/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOM4mJPby1QNtA.woff2\",weight:\"400\"}]},...ArrowIconFonts],{supportsExplicitInterCodegen:true});Framerh9H0OjLNs.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(ArrowIcon,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerh9H0OjLNs\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"bkzBwkZO5\\\":\\\"title\\\",\\\"cwVW8Igne\\\":\\\"published\\\",\\\"hejnydubm\\\":\\\"coverImage\\\"}\",\"framerIntrinsicHeight\":\"480\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"480\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"FWuYAebkP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"lE9896Jhp\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./h9H0OjLNs.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef,useCallback,startTransition}from\"react\";function countChildItems(container){let target=container;let depth=0;while(target&&depth<5){const kids=Array.from(target.children).filter(k=>!k.id?.endsWith(\"-divider\")&&!k.id?.endsWith(\"-styles\"));if(kids.length>1)return kids.length;if(kids.length===1){target=kids[0];depth++;}else{break;}}return target?Array.from(target.children).filter(k=>!k.id?.endsWith(\"-divider\")&&!k.id?.endsWith(\"-styles\")).length:0;}function buildCSS(id,count,config){if(count===0)return\"\";const{tallHeight,shortHeight,hGap,vGap,padding,twoItemDirection,fourItemDirection}=config;const clamped=Math.min(Math.max(count,0),6);const item=n=>`#${id} > * > *:nth-child(${n})`;const wrapper=`#${id} > *`;const divider=`#${id}-divider`;let css=\"\";if(clamped===1){css+=`\n            ${wrapper} {\n                display: flex !important;\n                flex-direction: column !important;\n                gap: 0 !important;\n                width: 100% !important;\n            }\n            ${item(1)} {\n                width: 100% !important;\n                height: ${tallHeight}px !important;\n                overflow: hidden !important;\n            }\n            ${divider} { display: none !important; }\n        `;return css;}if(clamped===2){const isVertical=twoItemDirection===\"vertical\";const itemHeight=isVertical?tallHeight:shortHeight;if(isVertical){const dividerTop=padding+itemHeight+vGap;css+=`\n                ${wrapper} {\n                    display: flex !important;\n                    flex-direction: column !important;\n                    gap: ${vGap*2}px !important;\n                    width: 100% !important;\n                }\n                ${item(1)} {\n                    width: 100% !important;\n                    height: ${itemHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${item(2)} {\n                    width: 100% !important;\n                    height: ${itemHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${divider} {\n                    display: block !important;\n                    top: ${dividerTop}px !important;\n                }\n            `;}else{css+=`\n                ${wrapper} {\n                    display: flex !important;\n                    flex-direction: row !important;\n                    gap: ${hGap}px !important;\n                    width: 100% !important;\n                }\n                ${item(1)} {\n                    flex: 1 !important;\n                    height: ${itemHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${item(2)} {\n                    flex: 1 !important;\n                    height: ${itemHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${divider} { display: none !important; }\n            `;}return css;}if(clamped===3){const dividerTop=padding+tallHeight+vGap;css+=`\n            ${wrapper} {\n                display: grid !important;\n                grid-template-columns: 1fr 1fr !important;\n                column-gap: ${hGap}px !important;\n                row-gap: ${vGap*2}px !important;\n                width: 100% !important;\n            }\n            ${item(1)} {\n                grid-column: 1 / -1 !important;\n                height: ${tallHeight}px !important;\n                overflow: hidden !important;\n            }\n            ${item(2)} {\n                grid-column: span 1 !important;\n                height: ${shortHeight}px !important;\n                overflow: hidden !important;\n            }\n            ${item(3)} {\n                grid-column: span 1 !important;\n                height: ${shortHeight}px !important;\n                overflow: hidden !important;\n            }\n            ${divider} {\n                display: block !important;\n                top: ${dividerTop}px !important;\n            }\n        `;return css;}if(clamped===4){if(fourItemDirection===\"horizontal\"){css+=`\n                ${wrapper} {\n                    display: flex !important;\n                    flex-direction: row !important;\n                    gap: ${hGap}px !important;\n                    width: 100% !important;\n                }\n                ${item(1)}, ${item(2)}, ${item(3)}, ${item(4)} {\n                    flex: 1 !important;\n                    height: ${shortHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${divider} { display: none !important; }\n            `;}else{const dividerTop=padding+tallHeight+vGap;css+=`\n                ${wrapper} {\n                    display: grid !important;\n                    grid-template-columns: 1fr 1fr !important;\n                    column-gap: ${hGap}px !important;\n                    row-gap: ${vGap*2}px !important;\n                    width: 100% !important;\n                }\n                ${item(1)} {\n                    grid-column: span 1 !important;\n                    height: ${tallHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${item(2)} {\n                    grid-column: span 1 !important;\n                    height: ${tallHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${item(3)} {\n                    grid-column: span 1 !important;\n                    height: ${tallHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${item(4)} {\n                    grid-column: span 1 !important;\n                    height: ${tallHeight}px !important;\n                    overflow: hidden !important;\n                }\n                ${divider} {\n                    display: block !important;\n                    top: ${dividerTop}px !important;\n                }\n            `;}return css;}if(clamped===5){const dividerTop=padding+tallHeight+vGap;css+=`\n            ${wrapper} {\n                display: grid !important;\n                grid-template-columns: repeat(4, 1fr) !important;\n                column-gap: ${hGap}px !important;\n                row-gap: ${vGap*2}px !important;\n                width: 100% !important;\n            }\n            ${item(1)} {\n                grid-column: 1 / -1 !important;\n                height: ${tallHeight}px !important;\n                overflow: hidden !important;\n            }\n            ${item(2)}, ${item(3)}, ${item(4)}, ${item(5)} {\n                grid-column: span 1 !important;\n                height: ${shortHeight}px !important;\n                overflow: hidden !important;\n            }\n            ${divider} {\n                display: block !important;\n                top: ${dividerTop}px !important;\n            }\n        `;return css;}// 6 items\nconst dividerTop=padding+tallHeight+vGap;css+=`\n        ${wrapper} {\n            display: grid !important;\n            grid-template-columns: repeat(4, 1fr) !important;\n            column-gap: ${hGap}px !important;\n            row-gap: ${vGap*2}px !important;\n            width: 100% !important;\n        }\n        ${item(1)} {\n            grid-column: span 2 !important;\n            height: ${tallHeight}px !important;\n            overflow: hidden !important;\n        }\n        ${item(2)} {\n            grid-column: span 2 !important;\n            height: ${tallHeight}px !important;\n            overflow: hidden !important;\n        }\n        ${item(3)}, ${item(4)}, ${item(5)}, ${item(6)} {\n            grid-column: span 1 !important;\n            height: ${shortHeight}px !important;\n            overflow: hidden !important;\n        }\n        ${divider} {\n            display: block !important;\n            top: ${dividerTop}px !important;\n        }\n    `;return css;}function injectStyles(id,css){let styleEl=document.getElementById(`${id}-styles`);if(!styleEl){styleEl=document.createElement(\"style\");styleEl.id=`${id}-styles`;document.head.appendChild(styleEl);}styleEl.textContent=css;}export default function AdaptiveLayout(props){const{children,style,layout={},tileSize={},twoItemDirection=\"vertical\",fourItemDirection=\"grid\",dividerColor=\"#000000\",visibleItems=6}=props;const{padding=24,vGap=48,hGap=24,maxHeightDefault=800,maxHeightTwo=960}=layout;const{tallHeight=432,shortHeight=272}=tileSize;const[itemCount,setItemCount]=useState(0);const[containerId]=useState(()=>`al-${Math.random().toString(36).slice(2,8)}`);const configRef=useRef({tallHeight,shortHeight,hGap,vGap,padding,twoItemDirection,fourItemDirection});configRef.current={tallHeight,shortHeight,hGap,vGap,padding,twoItemDirection,fourItemDirection};const containerIdRef=useRef(containerId);const visibleItemsRef=useRef(visibleItems);visibleItemsRef.current=visibleItems;const itemCountRef=useRef(0);// Shared recount: count children, inject CSS, update state\nconst recountAndApply=useCallback((node,force=false)=>{if(!node)return;const count=countChildItems(node);if(!force&&count===itemCountRef.current)return;itemCountRef.current=count;const effectiveCount=Math.min(Math.min(Math.max(count,0),6),visibleItemsRef.current);const css=buildCSS(containerIdRef.current,effectiveCount,configRef.current);let hideCss=\"\";if(visibleItemsRef.current<count){const wrapper=`#${containerIdRef.current} > * > *`;for(let i=visibleItemsRef.current+1;i<=count;i++){hideCss+=`${wrapper}:nth-child(${i}) { display: none !important; }\n`;}}injectStyles(containerIdRef.current,css+hideCss);startTransition(()=>{setItemCount(count);});},[]);const nodeRef=useRef(null);// Callback ref: immediate count on mount\nconst combinedRef=useCallback(node=>{nodeRef.current=node;recountAndApply(node,true);},[children,recountAndApply]);// Post-mount recount: catches CMS content that hydrates after ref fires\n// Uses rAF for next paint, then short polling to catch late-arriving content\nuseEffect(()=>{const node=nodeRef.current;if(!node)return;let rafId;let timers=[];// Recount after next paint\nrafId=requestAnimationFrame(()=>{recountAndApply(node);// Poll a few times to catch Framer template hydration\nconst delays=[50,150,400];delays.forEach(ms=>{const t=window.setTimeout(()=>{recountAndApply(node);},ms);timers.push(t);});});return()=>{cancelAnimationFrame(rafId);timers.forEach(t=>clearTimeout(t));};},[children,recountAndApply]);// MutationObserver: catches dynamic content changes\nuseEffect(()=>{const node=nodeRef.current;if(!node)return;const observer=new MutationObserver(()=>{recountAndApply(node);});observer.observe(node,{childList:true,subtree:true});return()=>observer.disconnect();},[children,recountAndApply]);// Re-inject CSS when config props change (without waiting for mutation)\nuseEffect(()=>{const effectiveCount=Math.min(Math.min(Math.max(itemCount,0),6),visibleItems);const css=buildCSS(containerId,effectiveCount,{tallHeight,shortHeight,hGap,vGap,padding,twoItemDirection,fourItemDirection});let hideCss=\"\";if(visibleItems<itemCount){const wrapper=`#${containerId} > * > *`;for(let i=visibleItems+1;i<=itemCount;i++){hideCss+=`${wrapper}:nth-child(${i}) { display: none !important; }\n`;}}injectStyles(containerId,css+hideCss);return()=>{const el=document.getElementById(`${containerId}-styles`);el?.remove();};},[itemCount,containerId,tallHeight,shortHeight,hGap,vGap,padding,twoItemDirection,fourItemDirection,visibleItems]);const clamped=Math.min(Math.max(itemCount,0),6);const effectiveCount=Math.min(clamped,visibleItems);const isHorizontalTwo=effectiveCount===2&&twoItemDirection===\"horizontal\";const isHorizontalFour=effectiveCount===4&&fourItemDirection===\"horizontal\";const maxHeight=isHorizontalTwo||isHorizontalFour?shortHeight+padding*2:effectiveCount===2||effectiveCount===4?maxHeightTwo:maxHeightDefault;return /*#__PURE__*/_jsxs(\"div\",{id:containerId,ref:combinedRef,style:{...style,width:\"100%\",height:\"auto\",maxHeight:`${maxHeight}px`,overflow:\"visible\",position:\"relative\",padding:`${padding}px`},children:[children,/*#__PURE__*/_jsx(\"div\",{id:`${containerId}-divider`,style:{position:\"absolute\",left:0,right:0,height:1,backgroundColor:dividerColor,pointerEvents:\"none\",zIndex:1,display:\"none\",top:0}})]});}AdaptiveLayout.defaultProps={layout:{padding:24,vGap:48,hGap:24,maxHeightDefault:800,maxHeightTwo:960},tileSize:{tallHeight:432,shortHeight:272},twoItemDirection:\"vertical\",fourItemDirection:\"grid\",dividerColor:\"#000000\",visibleItems:6};addPropertyControls(AdaptiveLayout,{children:{type:ControlType.ComponentInstance,title:\"Collection\"},visibleItems:{type:ControlType.Number,title:\"Visible Items\",defaultValue:6,min:1,max:6,step:1,description:\"Limits how many items are shown. Layout adapts to visible count.\"},layout:{type:ControlType.Object,title:\"Layout\",controls:{padding:{type:ControlType.Number,title:\"Padding\",defaultValue:24,min:0,max:96,step:4,unit:\"px\"},vGap:{type:ControlType.Number,title:\"V Gap\",defaultValue:48,min:-48,max:96,step:4,unit:\"px\"},hGap:{type:ControlType.Number,title:\"H Gap\",defaultValue:24,min:-48,max:64,step:4,unit:\"px\"},maxHeightDefault:{type:ControlType.Number,title:\"Max Height\",defaultValue:800,min:200,max:2e3,step:8,unit:\"px\",description:\"For 1, 3, 5, 6 items.\"},maxHeightTwo:{type:ControlType.Number,title:\"Max Height (2/4)\",defaultValue:960,min:200,max:2e3,step:8,unit:\"px\",description:\"For 2 or 4 items.\"}}},tileSize:{type:ControlType.Object,title:\"Tile Size\",controls:{tallHeight:{type:ControlType.Number,title:\"Tall\",defaultValue:432,min:100,max:800,step:8,unit:\"px\"},shortHeight:{type:ControlType.Number,title:\"Short\",defaultValue:272,min:100,max:600,step:8,unit:\"px\"}}},twoItemDirection:{type:ControlType.Enum,title:\"2-Item Direction\",defaultValue:\"vertical\",options:[\"vertical\",\"horizontal\"],optionTitles:[\"Vertical\",\"Horizontal\"],displaySegmentedControl:true},fourItemDirection:{type:ControlType.Enum,title:\"4-Item Direction\",defaultValue:\"grid\",options:[\"grid\",\"horizontal\"],optionTitles:[\"Grid\",\"Horizontal\"],displaySegmentedControl:true},dividerColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AdaptiveLayout\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMS_Display.map"],"mappings":"2dAC6yB,SAAS,EAAqB,E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