{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/JNP7RHUBeHyptBaQpY3G/lUKJaFWejoR1hR3C8Zwi/Utilities.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withBoldValue(Component){return props=>{useEffect(()=>{// Find the #pricing-retreat container\nconst container=document.getElementById(\"pricing-retreat\");if(container){// Find the element with aria-label=\"last-checkmark\" inside #pricing-retreat\nconst lastCheckmarkElement=container.querySelector(\"[aria-label='last-checkmark']\");if(lastCheckmarkElement){// Find the h5 element inside the aria-label=\"last-checkmark\" element\nconst h5=lastCheckmarkElement.querySelector(\"h5\");if(h5&&h5.textContent?.includes(\"BONUS:\")){// Make the word BONUS bold\nh5.innerHTML=h5.innerHTML.replace(/BONUS:/g,\"<strong>BONUS:</strong>\");}}}},[])// This runs once after component mounts\n;// Properly render the wrapped component\nreturn /*#__PURE__*/_jsx(Component,{...props});};}export function withTransformOverride(Component){return props=>{useEffect(()=>{const container=document.querySelector('[aria-label=\"_3d-part\"]');if(!container)return;const images=[{id:\"image-1\",x:0,y:0,z:13,rx:0,ry:-90,rz:0},{id:\"image-2\",x:13,y:0,z:0,rx:0,ry:0,rz:0},{id:\"image-3\",x:0,y:0,z:-13,rx:0,ry:90,rz:0},{id:\"image-4\",x:-13,y:0,z:0,rx:0,ry:0,rz:0},{id:\"image-5\",x:-9.2,y:0,z:9.2,rx:0,ry:45,rz:0},{id:\"image-6\",x:9.2,y:0,z:-9.2,rx:0,ry:45,rz:0},{id:\"image-7\",x:-9.2,y:0,z:-9.2,rx:0,ry:-45,rz:0},{id:\"image-8\",x:9.2,y:0,z:9.2,rx:0,ry:-45,rz:0}];const applyTransforms=width=>{const scaleFactor=width/400;images.forEach(({id,x,y,z,rx,ry,rz})=>{const el=document.getElementById(id);if(el){el.style.transform=`\n                            translate3d(${x*scaleFactor}rem, ${y}rem, ${z*scaleFactor}rem)\n                            rotateX(${rx}deg)\n                            rotateY(${ry}deg)\n                            rotateZ(${rz}deg)\n                        `;el.style.transformStyle=\"preserve-3d\";}});};// Initial apply\napplyTransforms(container.clientWidth);// Set up ResizeObserver\nconst observer=new ResizeObserver(entries=>{for(const entry of entries){applyTransforms(entry.contentRect.width);}});observer.observe(container);// Clean up on unmount\nreturn()=>observer.disconnect();},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withDynamicZIndex(Component){return props=>{useEffect(()=>{// Grab the container by its aria-label\nconst container=document.querySelector('[aria-label=\"case-studies-container\"]');if(container){// Get only direct child div elements\nconst childDivs=Array.from(container.children).filter(child=>child.tagName===\"DIV\");// Apply z-index to the first-level child divs\nchildDivs.forEach((div,index)=>{const htmlElement=div;htmlElement.style.zIndex=`${childDivs.length-index}`;// Find the first child <div> inside this div\nconst innerChildDiv=htmlElement.querySelector(\"div\");if(innerChildDiv){const innerHtmlElement=innerChildDiv;// Apply z-index to the first inner child div\ninnerHtmlElement.style.zIndex=`${childDivs.length-index}`;}});}else{console.error('No container found with aria-label \"case-studies-container\"');}},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withBlur(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{WebkitBackdropFilter:\"blur(5px)\",backdropFilter:\"blur(5px)\",...props.style}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBoldValue\":{\"type\":\"reactHoc\",\"name\":\"withBoldValue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTransformOverride\":{\"type\":\"reactHoc\",\"name\":\"withTransformOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBlur\":{\"type\":\"reactHoc\",\"name\":\"withBlur\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDynamicZIndex\":{\"type\":\"reactHoc\",\"name\":\"withDynamicZIndex\",\"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AG,EAAAC,EAAE,EAAAC,EAAE,EAAAC,EAAE,GAAAC,EAAG,GAAAC,EAAG,GAAAC,CAAE,IAAI,CAAC,IAAMC,EAAG,SAAS,eAAeP,CAAE,EAAKO,IAAIA,EAAG,MAAM,UAAU;AAAA,0CAChtBN,EAAEF,CAAW,QAAQG,CAAC,QAAQC,EAAEJ,CAAW;AAAA,sCAC/CK,CAAE;AAAA,sCACFC,CAAE;AAAA,sCACFC,CAAE;AAAA,0BACdC,EAAG,MAAM,eAAe,cAAe,CAAC,CAAE,EACpEV,EAAgBF,EAAU,WAAW,EACrC,IAAMa,EAAS,IAAI,eAAeC,GAAS,CAAC,QAAUC,KAASD,EAASZ,EAAgBa,EAAM,YAAY,KAAK,CAAG,CAAC,EAAE,OAAAF,EAAS,QAAQb,CAAS,EACzI,IAAIa,EAAS,WAAW,CAAE,EAAE,CAAC,CAAC,EAAsBG,EAAKnB,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI,CAK0H,SAASmB,EAASC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,qBAAqB,YAAY,eAAe,YAAY,GAAGA,EAAM,KAAK,CAAC,CAAC,CAAI",
  "names": ["withHover", "Component", "props", "p", "withTransformOverride", "Component", "props", "ue", "container", "images", "applyTransforms", "width", "scaleFactor", "id", "x", "y", "z", "rx", "ry", "rz", "el", "observer", "entries", "entry", "p", "withBlur", "Component", "props", "p"]
}
