{"version":3,"file":"CMSFilterOverride.MKARLqaR.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts","PHOTO_DEFAULTS","useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/s4oPDfoiq5p9OH22gkJO/ThJAFw5gVtDc3zN4T1ur/ZOHkxBXJo.js","https:/framerusercontent.com/modules/RruYQBgeM2ilWs5YGwdK/cjXDq9KLTlD8px73dVCQ/InjectPhotos.js","https:/framerusercontent.com/modules/iSUv36fPMSGaTnvRHdgH/xHyftUUpXSydj3hAUBNY/CMSFilterOverride.js"],"sourcesContent":["// Generated by Framer (f21d278)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/7GMFNjwyzwni6J9u8pMM/wfla6cVp1M5HSnQFBHGx/XAka8ZhL0.js\";const enabledGestures={kCBUjLKaD:{hover:true,pressed:true},kG2pkzv52:{hover:true,pressed:true}};const cycleOrder=[\"kG2pkzv52\",\"kCBUjLKaD\"];const serializationHash=\"framer-8rxqR\";const variantClassNames={kCBUjLKaD:\"framer-v-199qul1\",kG2pkzv52:\"framer-v-mb8gi0\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Lnv1GHSIs=undefined;const IK5bgQafz=undefined;const KhVvp_pVY=undefined;const FGZi3aUZv=undefined;const Yda0Am2Cu=undefined;const s5NseQoUM=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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={Default:\"kCBUjLKaD\",Selected:\"kG2pkzv52\"};const Variants=motion.create(React.Fragment);const getProps=({buttonTitle,click,defaultTextColor,height,id,selectedFillColor,selectedTextColor,slug,width,...props})=>{return{...props,FGZi3aUZv:buttonTitle??props.FGZi3aUZv??\"not set\",IK5bgQafz:click??props.IK5bgQafz,KhVvp_pVY:selectedTextColor??props.KhVvp_pVY??\"var(--token-2546f2ec-502d-4b32-8634-ef8a4d8c3ed0, rgb(255, 255, 255))\",Lnv1GHSIs:selectedFillColor??props.Lnv1GHSIs??\"var(--token-38d5a9e2-c7fb-4fa6-8ddd-ff54aedb5882, rgb(174, 159, 100))\",s5NseQoUM:slug??props.s5NseQoUM??\"Not set\",variant:humanReadableVariantMap[props.variant]??props.variant??\"kG2pkzv52\",Yda0Am2Cu:defaultTextColor??props.Yda0Am2Cu??\"var(--token-a5a6e5cb-af92-46b8-90a9-7f1bb649c71e, rgb(27, 50, 27))\"};};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,FGZi3aUZv,KhVvp_pVY,Lnv1GHSIs,Yda0Am2Cu,IK5bgQafz,s5NseQoUM,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"kG2pkzv52\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1sp50u0=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(IK5bgQafz){const res=await IK5bgQafz(...args);if(res===false)return false;}setVariant(\"kCBUjLKaD\");});const onTapebo1ko=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(IK5bgQafz){const res=await IK5bgQafz(...args);if(res===false)return false;}setVariant(\"kG2pkzv52\");});const sharedStyleClassNames=[sharedStyle.className];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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-mb8gi0\",className,classNames),\"data-framer-name\":\"Selected\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"kG2pkzv52\",onTap:onTap1sp50u0,ref:refBinding,style:{backgroundColor:Lnv1GHSIs,...style},variants:{\"kCBUjLKaD-hover\":{backgroundColor:Lnv1GHSIs},\"kCBUjLKaD-pressed\":{backgroundColor:Lnv1GHSIs},\"kG2pkzv52-pressed\":{backgroundColor:\"rgba(0, 0, 0, 0)\"},kCBUjLKaD:{backgroundColor:\"rgba(0, 0, 0, 0)\"}},...addPropertyOverrides({\"kCBUjLKaD-hover\":{\"data-framer-name\":undefined},\"kCBUjLKaD-pressed\":{\"data-framer-name\":undefined},\"kG2pkzv52-hover\":{\"data-framer-name\":undefined},\"kG2pkzv52-pressed\":{\"data-framer-name\":undefined},kCBUjLKaD:{\"data-framer-name\":\"Default\",onTap:onTapebo1ko}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-r7iwnf\",\"data-styles-preset\":\"XAka8ZhL0\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-KhVvp_pVY-ZOHkxBXJo))\"},children:\"Show all\"})}),className:\"framer-mmhyum\",\"data-framer-name\":\"Filter by\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"Yx2AO4igX\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-KhVvp_pVY-ZOHkxBXJo)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-KhVvp_pVY-ZOHkxBXJo\":KhVvp_pVY,\"--variable-reference-Yda0Am2Cu-ZOHkxBXJo\":Yda0Am2Cu},text:FGZi3aUZv,variants:{\"kCBUjLKaD-hover\":{\"--extracted-r6o4lv\":\"var(--variable-reference-KhVvp_pVY-ZOHkxBXJo)\"},\"kCBUjLKaD-pressed\":{\"--extracted-r6o4lv\":\"var(--variable-reference-KhVvp_pVY-ZOHkxBXJo)\"},\"kG2pkzv52-pressed\":{\"--extracted-r6o4lv\":\"var(--variable-reference-Yda0Am2Cu-ZOHkxBXJo)\",\"--variable-reference-Yda0Am2Cu-ZOHkxBXJo\":Yda0Am2Cu},kCBUjLKaD:{\"--extracted-r6o4lv\":\"var(--variable-reference-Yda0Am2Cu-ZOHkxBXJo)\",\"--variable-reference-Yda0Am2Cu-ZOHkxBXJo\":Yda0Am2Cu}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"kCBUjLKaD-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-r7iwnf\",\"data-styles-preset\":\"XAka8ZhL0\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-KhVvp_pVY-ZOHkxBXJo))\"},children:\"Show all\"})})},\"kCBUjLKaD-pressed\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-r7iwnf\",\"data-styles-preset\":\"XAka8ZhL0\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-KhVvp_pVY-ZOHkxBXJo))\"},children:\"Show all\"})})},\"kG2pkzv52-pressed\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-r7iwnf\",\"data-styles-preset\":\"XAka8ZhL0\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-Yda0Am2Cu-ZOHkxBXJo))\"},children:\"Show all\"})})},kCBUjLKaD:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-r7iwnf\",\"data-styles-preset\":\"XAka8ZhL0\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-Yda0Am2Cu-ZOHkxBXJo))\"},children:\"Show all\"})})}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7VFQgSG92ZXMgUHJvIExpZ2h0\",\"--framer-font-family\":'\"TT Hoves Pro Light\", \"TT Hoves Pro Light Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-font-size\":\"5px\",\"--framer-font-weight\":\"300\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.6em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 0, 0))\"},children:/*#__PURE__*/_jsx(motion.mark,{style:{\"--framer-text-background-corner-shape\":\"superellipse(1)\"},children:\"Not set\"})})}),className:\"framer-obqaoi\",\"data-framer-name\":\"Slug\",fonts:[\"CUSTOMV2;TT Hoves Pro Light\"],layoutDependency:layoutDependency,layoutId:\"FVebustDg\",style:{\"--extracted-r6o4lv\":\"rgb(255, 0, 0)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:s5NseQoUM,verticalAlignment:\"top\",withExternalLayout:true})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-8rxqR.framer-1o0rr1a, .framer-8rxqR .framer-1o0rr1a { display: block; }\",\".framer-8rxqR.framer-mb8gi0 { 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: var(--overflow-clip-fallback, clip); padding: 8px 12px 8px 12px; position: relative; width: min-content; }\",\".framer-8rxqR .framer-mmhyum { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-8rxqR .framer-obqaoi { bottom: 1px; flex: none; height: 1px; left: calc(51.798561151079156% - 1px / 2); position: absolute; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; z-index: 1; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 41\n * @framerIntrinsicWidth 69\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"kCBUjLKaD\":{\"layout\":[\"auto\",\"auto\"]},\"X6x_CmZoC\":{\"layout\":[\"auto\",\"auto\"]},\"Yxj0gmELE\":{\"layout\":[\"auto\",\"auto\"]},\"V5NMOKqtK\":{\"layout\":[\"auto\",\"auto\"]},\"dO_CSdoOj\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"FGZi3aUZv\":\"buttonTitle\",\"KhVvp_pVY\":\"selectedTextColor\",\"Lnv1GHSIs\":\"selectedFillColor\",\"Yda0Am2Cu\":\"defaultTextColor\",\"IK5bgQafz\":\"click\",\"s5NseQoUM\":\"slug\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerZOHkxBXJo=withCSS(Component,css,\"framer-8rxqR\");export default FramerZOHkxBXJo;FramerZOHkxBXJo.displayName=\"button/filter\";FramerZOHkxBXJo.defaultProps={height:41,width:69};addPropertyControls(FramerZOHkxBXJo,{variant:{options:[\"kG2pkzv52\",\"kCBUjLKaD\"],optionTitles:[\"Selected\",\"Default\"],title:\"Variant\",type:ControlType.Enum},FGZi3aUZv:{defaultValue:\"not set\",description:\"\",displayTextArea:false,title:\"Button Title\",type:ControlType.String},KhVvp_pVY:{defaultValue:'var(--token-2546f2ec-502d-4b32-8634-ef8a4d8c3ed0, rgb(255, 255, 255)) /* {\"name\":\"white\"} */',title:\"Selected Text Color\",type:ControlType.Color},Lnv1GHSIs:{defaultValue:'var(--token-38d5a9e2-c7fb-4fa6-8ddd-ff54aedb5882, rgb(174, 159, 100)) /* {\"name\":\"gold\"} */',title:\"Selected Fill Color\",type:ControlType.Color},Yda0Am2Cu:{defaultValue:\"var(--token-a5a6e5cb-af92-46b8-90a9-7f1bb649c71e, rgb(27, 50, 27))\",title:\"Default Text Color\",type:ControlType.Color},IK5bgQafz:{title:\"Click\",type:ControlType.EventHandler},s5NseQoUM:{defaultValue:\"Not set\",description:\"The CMS slug of the category the filter is for\",displayTextArea:false,title:\"Slug\",type:ControlType.String}});addFonts(FramerZOHkxBXJo,[{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:\"TT Hoves Pro Light\",source:\"custom\",style:\"normal\",uiFamilyName:\"TT Hoves Pro\",url:\"https://framerusercontent.com/assets/fiwpWhg6pziuQXh4FRgDr8K8528.woff2\",weight:\"300\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZOHkxBXJo\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"69\",\"framerIntrinsicHeight\":\"41\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"kCBUjLKaD\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"X6x_CmZoC\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"Yxj0gmELE\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"V5NMOKqtK\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"dO_CSdoOj\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"FGZi3aUZv\\\":\\\"buttonTitle\\\",\\\"KhVvp_pVY\\\":\\\"selectedTextColor\\\",\\\"Lnv1GHSIs\\\":\\\"selectedFillColor\\\",\\\"Yda0Am2Cu\\\":\\\"defaultTextColor\\\",\\\"IK5bgQafz\\\":\\\"click\\\",\\\"s5NseQoUM\\\":\\\"slug\\\"}\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// --- Settings ---\nconst DEFAULTS={photoSelector:\"[data-framer-name='Photos']\",quoteSelector:\"[data-framer-name='Quotes']\",likelihood:.15};// Framer setup:\n// 1. Add a Photos CMS Collection List to the page, connect to photos collection\n// 2. Name the frame \"Photos\" in Framer (or use custom selector via createPhotoInjector)\n// 3. Hide it with display: none (or use a \"hidden\" override)\n// 4. Apply InjectPhotos override to the Case Studies Collection List\nfunction shuffle(array){const result=[...array];for(let i=result.length-1;i>0;i--){const j=Math.floor(Math.random()*(i+1));[result[i],result[j]]=[result[j],result[i]];}return result;}function extractPhotoUrls(selector){const container=document.querySelector(selector);if(!container)return[];const imgs=container.querySelectorAll(\"img\");return Array.from(imgs).map(img=>img.src).filter(Boolean);}function createPhotoElement(templateItem,photoUrl){const wrapper=templateItem.cloneNode(false);// Strip Framer CSS classes and data attributes (keeps inline sizing styles)\nwrapper.className=\"\";wrapper.id=\"\";Array.from(wrapper.attributes).forEach(attr=>{if(attr.name.startsWith(\"data-framer\"))wrapper.removeAttribute(attr.name);});if(wrapper.tagName===\"A\")wrapper.removeAttribute(\"href\");wrapper.setAttribute(\"data-injected\",\"true\");wrapper.style.overflow=\"hidden\";wrapper.style.width=\"50%\";const img=document.createElement(\"img\");img.src=photoUrl;img.style.width=\"100%\";img.style.height=\"235px\";img.style.paddingLeft=\"10px\";img.style.paddingRight=\"10px\";img.style.objectFit=\"cover\";img.loading=\"lazy\";wrapper.appendChild(img);return wrapper;}function injectPhotos(container,likelihood,photoSelector){const photoUrls=shuffle(extractPhotoUrls(photoSelector));if(photoUrls.length===0)return;const items=Array.from(container.children);if(items.length===0)return;let photoIndex=0;let cooldown=0;// Iterate backwards so insertions don't shift indices; skip last item\nfor(let i=items.length-2;i>=0;i--){if(cooldown>0){cooldown--;continue;}if(Math.random()<likelihood){if(photoIndex>=photoUrls.length)break;const photo=createPhotoElement(items[0],photoUrls[photoIndex]);items[i].insertAdjacentElement(\"afterend\",photo);photoIndex++;cooldown=4;}}}function sanitizeFramerClone(element){element.id=\"\";Array.from(element.attributes).forEach(attr=>{if(attr.name.startsWith(\"data-framer\"))element.removeAttribute(attr.name);});Array.from(element.children).forEach(child=>{if(child instanceof HTMLElement)sanitizeFramerClone(child);});}function extractQuoteElements(selector){const container=document.querySelector(selector);if(!container)return[];const quotes=container.querySelectorAll(\"[data-framer-name='Quote']\");return Array.from(quotes).map(quote=>{const clone=quote.cloneNode(true);sanitizeFramerClone(clone);return clone;});}function createQuoteElement(templateItem,quoteEl){const wrapper=templateItem.cloneNode(false);wrapper.className=\"\";wrapper.id=\"\";Array.from(wrapper.attributes).forEach(attr=>{if(attr.name.startsWith(\"data-framer\"))wrapper.removeAttribute(attr.name);});if(wrapper.tagName===\"A\")wrapper.removeAttribute(\"href\");wrapper.setAttribute(\"data-injected\",\"true\");wrapper.style.overflow=\"hidden\";wrapper.style.width=\"50%\";// Framer component containers use position:absolute — override so it\n// participates in normal flow and respects the wrapper width\nquoteEl.style.position=\"relative\";quoteEl.style.width=\"100%\";quoteEl.style.paddingLeft=\"10px\";quoteEl.style.paddingRight=\"10px\";quoteEl.style.height=\"235px\";wrapper.appendChild(quoteEl);return wrapper;}function injectQuotes(container,likelihood,quoteSelector){const quoteElements=shuffle(extractQuoteElements(quoteSelector));if(quoteElements.length===0)return;// Filter to only real content items (skip previously injected elements)\nconst items=Array.from(container.children).filter(el=>!el.hasAttribute(\"data-injected\"));if(items.length===0)return;let quoteIndex=0;let cooldown=0;for(let i=items.length-2;i>=0;i--){if(cooldown>0){cooldown--;continue;}if(Math.random()<likelihood){if(quoteIndex>=quoteElements.length)break;const quote=createQuoteElement(items[0],quoteElements[quoteIndex]);items[i].insertAdjacentElement(\"afterend\",quote);quoteIndex++;cooldown=4;}}}function createPhotoInjector(likelihood=DEFAULTS.likelihood,photoSelector=DEFAULTS.photoSelector){return function(){let processed=false;return{ref(element){if(element&&!processed){processed=true;requestAnimationFrame(()=>{requestAnimationFrame(()=>{injectPhotos(element,likelihood,photoSelector);});});}}};};}export{createPhotoInjector,injectPhotos,injectQuotes,DEFAULTS as PHOTO_DEFAULTS,};export const InjectPhotos=createPhotoInjector();\nexport const __FramerMetadata__ = {\"exports\":{\"injectQuotes\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createPhotoInjector\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"injectPhotos\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PHOTO_DEFAULTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"InjectPhotos\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InjectPhotos.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{injectPhotos,injectQuotes,PHOTO_DEFAULTS}from\"https://framerusercontent.com/modules/RruYQBgeM2ilWs5YGwdK/cjXDq9KLTlD8px73dVCQ/InjectPhotos.js\";const isBrowser=typeof window!==\"undefined\";function getActiveFilter(){if(!isBrowser)return\"all\";return window.location.hash.replace(\"#\",\"\")||\"all\";}function setActiveFilter(slug){if(!isBrowser)return;window.location.hash=slug===\"all\"?\"\":slug;window.dispatchEvent(new CustomEvent(\"resource-filter-change\"));}function findSlugs(element){const container=element.querySelector('[data-framer-name=\"Slug\"]');if(!container)return[];// Walk all text nodes to handle nested CMS collection structure\nconst slugs=[];const walker=document.createTreeWalker(container,NodeFilter.SHOW_TEXT);let node;while(node=walker.nextNode()){const text=node.textContent?.trim().toLowerCase();if(text){// Also split on commas for backward compat\ntext.split(\",\").forEach(s=>{const trimmed=s.trim().split(\"?\")[0];if(trimmed)slugs.push(trimmed);});}}return slugs;}function findSentinel(container){const last=container.children[container.children.length-1];return last?.querySelector('[data-framer-name=\"Loading\"]')?last:null;}function waitForNewChildren(container,currentCount,timeoutMs,signal){return new Promise(resolve=>{if(signal.aborted)return resolve(false);const onAbort=()=>{cleanup();resolve(false);};signal.addEventListener(\"abort\",onAbort,{once:true});const timer=setTimeout(()=>{cleanup();resolve(false);},timeoutMs);const mo=new MutationObserver(()=>{if(container.children.length>currentCount){cleanup();resolve(true);}});mo.observe(container,{childList:true});function cleanup(){clearTimeout(timer);mo.disconnect();signal.removeEventListener(\"abort\",onAbort);}});}let isForceLoading=false;async function forceLoadAll(container,signal){const BATCH_TIMEOUT=2e3;const MAX_CYCLES=20;let cycles=0;isForceLoading=true;const savedScrollBehavior=document.documentElement.style.scrollBehavior;document.documentElement.style.scrollBehavior=\"auto\";try{while(!signal.aborted&&cycles<MAX_CYCLES){const sentinel=findSentinel(container);if(!sentinel)break;const countBefore=container.children.length;const savedScrollY=window.scrollY;sentinel.scrollIntoView({behavior:\"instant\",block:\"center\"});await new Promise(r=>requestAnimationFrame(()=>requestAnimationFrame(()=>r())));if(signal.aborted){window.scrollTo(0,savedScrollY);break;}window.scrollTo(0,savedScrollY);const gotNew=await waitForNewChildren(container,countBefore,BATCH_TIMEOUT,signal);if(!gotNew)break;filterCollection(container);cycles++;}}finally{isForceLoading=false;document.documentElement.style.scrollBehavior=savedScrollBehavior;}}function filterCollection(container){const activeSlug=getActiveFilter();const items=Array.from(container.children);items.forEach(item=>{// Skip injected photos — they follow the \"all\" filter behavior automatically\nif(item.hasAttribute(\"data-injected\")){item.style.display=activeSlug===\"all\"?\"\":\"none\";return;}// Don't hide the loading sentinel\nif(item.querySelector('[data-framer-name=\"Loading\"]'))return;if(activeSlug===\"all\"){item.style.display=\"\";return;}const itemSlugs=findSlugs(item);item.style.display=itemSlugs.includes(activeSlug)?\"\":\"none\";});}// Apply to the Resources Collection List\nexport function FilterableCollection(){let container=null;let abortController=null;let mutationObserver=null;const cleanup=()=>{if(abortController){abortController.abort();abortController=null;}if(mutationObserver){mutationObserver.disconnect();mutationObserver=null;}window.removeEventListener(\"resource-filter-change\",onFilterChange);window.removeEventListener(\"hashchange\",onFilterChange);};const onFilterChange=()=>{if(!container)return;if(abortController){abortController.abort();abortController=null;}filterCollection(container);const activeSlug=getActiveFilter();if(activeSlug!==\"all\"&&findSentinel(container)){abortController=new AbortController;forceLoadAll(container,abortController.signal);}};return{ref(element){cleanup();if(!element){container=null;return;}container=element;mutationObserver=new MutationObserver(()=>{if(!isForceLoading&&getActiveFilter()!==\"all\"){filterCollection(container);}});mutationObserver.observe(element,{childList:true});requestAnimationFrame(()=>{requestAnimationFrame(onFilterChange);});window.addEventListener(\"resource-filter-change\",onFilterChange);window.addEventListener(\"hashchange\",onFilterChange);}};}// Apply to a Collection List that needs BOTH filtering AND photo injection\n// (Framer only allows one override per element)\nexport function FilterableCollectionWithPhotos(){const filterOverride=FilterableCollection();let photosInjected=false;return{ref(element){filterOverride.ref(element);if(element&&!photosInjected){photosInjected=true;// Run after filter's double RAF + initial filterCollection completes\nsetTimeout(()=>{injectPhotos(element,PHOTO_DEFAULTS.likelihood,PHOTO_DEFAULTS.photoSelector);injectQuotes(element,PHOTO_DEFAULTS.likelihood,PHOTO_DEFAULTS.quoteSelector);},200);}}};}// Apply to each Filter Button in the Resource Types Collection List\nexport function FilterButton(){const[slug,setSlug]=useState(null);const[activeFilter,setActiveFilterState]=useState(getActiveFilter());useEffect(()=>{const handleChange=()=>setActiveFilterState(getActiveFilter());window.addEventListener(\"hashchange\",handleChange);window.addEventListener(\"resource-filter-change\",handleChange);return()=>{window.removeEventListener(\"hashchange\",handleChange);window.removeEventListener(\"resource-filter-change\",handleChange);};},[]);const isActive=slug!==null&&slug===activeFilter;const variant=isActive?\"Selected\":\"Default\";return{variant,onClick(){if(slug){// Toggle: clicking active filter resets to \"all\"\nconst newFilter=isActive?\"all\":slug;setActiveFilter(newFilter);}},ref(el){if(el&&slug===null){requestAnimationFrame(()=>{setSlug(findSlugs(el)[0]||\"all\");});}}};}// Apply to a \"Show All\" button (doesn't need hidden slug)\nexport function ShowAllButton(){const[activeFilter,setActiveFilterState]=useState(getActiveFilter());useEffect(()=>{const handleChange=()=>setActiveFilterState(getActiveFilter());window.addEventListener(\"hashchange\",handleChange);window.addEventListener(\"resource-filter-change\",handleChange);return()=>{window.removeEventListener(\"hashchange\",handleChange);window.removeEventListener(\"resource-filter-change\",handleChange);};},[]);const isActive=activeFilter===\"all\";return{variant:isActive?\"Selected\":\"Default\",onClick(){setActiveFilter(\"all\");}};}// Apply to Hero section - hides when any filter is active\nexport function HideWhenFiltered(){const[activeFilter,setActiveFilterState]=useState(getActiveFilter());useEffect(()=>{const handleChange=()=>setActiveFilterState(getActiveFilter());window.addEventListener(\"hashchange\",handleChange);window.addEventListener(\"resource-filter-change\",handleChange);return()=>{window.removeEventListener(\"hashchange\",handleChange);window.removeEventListener(\"resource-filter-change\",handleChange);};},[]);const isFiltered=activeFilter!==\"all\";return{style:{display:isFiltered?\"none\":undefined}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withFilterableCollection(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FilterableCollection(props)});};}withFilterableCollection.displayName=\"FilterableCollection\";export function withFilterableCollectionWithPhotos(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FilterableCollectionWithPhotos(props)});};}withFilterableCollectionWithPhotos.displayName=\"FilterableCollectionWithPhotos\";export function withFilterButton(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FilterButton(props)});};}withFilterButton.displayName=\"FilterButton\";export function withShowAllButton(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowAllButton(props)});};}withShowAllButton.displayName=\"ShowAllButton\";export function withHideWhenFiltered(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideWhenFiltered(props)});};}withHideWhenFiltered.displayName=\"HideWhenFiltered\";\nexport const __FramerMetadata__ = {\"exports\":{\"withFilterableCollection\":{\"type\":\"reactHoc\",\"name\":\"withFilterableCollection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFilterButton\":{\"type\":\"reactHoc\",\"name\":\"withFilterButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideWhenFiltered\":{\"type\":\"override\",\"name\":\"HideWhenFiltered\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterableCollection\":{\"type\":\"override\",\"name\":\"FilterableCollection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideWhenFiltered\":{\"type\":\"reactHoc\",\"name\":\"withHideWhenFiltered\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowAllButton\":{\"type\":\"override\",\"name\":\"ShowAllButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterButton\":{\"type\":\"override\",\"name\":\"FilterButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowAllButton\":{\"type\":\"reactHoc\",\"name\":\"withShowAllButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFilterableCollectionWithPhotos\":{\"type\":\"reactHoc\",\"name\":\"withFilterableCollectionWithPhotos\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterableCollectionWithPhotos\":{\"type\":\"override\",\"name\":\"FilterableCollectionWithPhotos\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSFilterOverride.map"],"mappings":"+fACouB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAn1B,IAAqL,KAAkE,IAA4B,IAAmJ,CAAM,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,CAA0V,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,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