{"version":3,"file":"StudioPrecision.CYMkdpfS.mjs","names":["useRef","_Fragment","useEffect","useLayoutEffect","__esmMin","init_npm_react_18_3_1","le","window","de","init_jsx_runtime","J","p","ce","init_ssg_sandbox_shims","useIsStaticRenderer","init_framer_BWFVvmND","withStudioCarousel","elementRef","isStatic","useClientLayoutEffect","el","previous","lastWidth","align","width","native","outer","CONTENT_WIDTH","left","right","observer","children","previousAlign","child","key","event","behaviour","distance","focus","blur","i","name","value","l","Component","props","forwardedRef","withPricingSectionSpacing","init_StudioPrecision"],"sources":["https:/framerusercontent.com/modules/zxYvgPPDn7vqoEBpTqvz/Il0MtBLO3L8xo3QTv6co/StudioPrecision.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useEffect,useLayoutEffect,useRef}from\"react\";import{useIsStaticRenderer}from\"framer\";// Matches the page's 1280px outer content container, including its native gutters.\nconst CONTENT_WIDTH=1280;const useClientLayoutEffect=typeof window===\"undefined\"?useEffect:useLayoutEffect;/** Container-aligned, full-bleed native scrolling with keyboard navigation. */export function withStudioCarousel(Component){return /*#__PURE__*/forwardRef(function StudioCarousel(props,forwardedRef){const elementRef=useRef(null);const isStatic=useIsStaticRenderer();useClientLayoutEffect(()=>{const el=elementRef.current;if(!el)return;const previous={left:el.style.paddingLeft,right:el.style.paddingRight,scroll:el.style.scrollPaddingInline};let lastWidth=-1;const align=()=>{// clientWidth is independent of the Framer editor's canvas zoom.\nconst width=el.clientWidth;if(!width||width===lastWidth)return;lastWidth=width;// Read the native breakpoint gutter, before adding the outer margin.\nel.style.paddingLeft=previous.left;el.style.paddingRight=previous.right;const native=getComputedStyle(el);const outer=Math.max(0,(width-CONTENT_WIDTH)/2);const left=parseFloat(native.paddingLeft)+outer;const right=parseFloat(native.paddingRight)+outer;el.style.paddingLeft=`${left}px`;el.style.paddingRight=`${right}px`;el.style.scrollPaddingInline=`${left}px ${right}px`;};align();const observer=new ResizeObserver(align);observer.observe(el,{box:\"border-box\"});return()=>{observer.disconnect();el.style.paddingLeft=previous.left;el.style.paddingRight=previous.right;el.style.scrollPaddingInline=previous.scroll;};},[]);useEffect(()=>{const el=elementRef.current;if(!el||isStatic)return;const previous={tabIndex:el.getAttribute(\"tabindex\"),role:el.getAttribute(\"role\"),label:el.getAttribute(\"aria-label\"),snap:el.style.scrollSnapType,overflowY:el.style.overflowY};el.tabIndex=0;el.setAttribute(\"role\",\"region\");el.setAttribute(\"aria-label\",\"Design Studio features. Use the arrow keys to explore.\");el.style.scrollSnapType=\"x proximity\";// Framer uses overflow: auto for horizontal sliders. Stop the cards from moving vertically.\nel.style.overflowY=\"hidden\";el.scrollTop=0;const children=Array.from(el.children);const previousAlign=children.map(child=>child.style.scrollSnapAlign);children.forEach(child=>{child.style.scrollSnapAlign=\"start\";});const key=event=>{if(event.target!==el||![\"ArrowLeft\",\"ArrowRight\",\"Home\",\"End\"].includes(event.key))return;event.preventDefault();const reduced=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const behaviour=reduced?\"auto\":\"smooth\";const distance=(children[0]?.getBoundingClientRect().width||el.clientWidth*.8)+parseFloat(getComputedStyle(el).columnGap||\"0\");if(event.key===\"Home\"||event.key===\"End\")el.scrollTo({left:event.key===\"Home\"?0:el.scrollWidth,behavior:behaviour});else el.scrollBy({left:event.key===\"ArrowRight\"?distance:-distance,behavior:behaviour});};const focus=()=>{if(el.matches(\":focus-visible\")){el.style.outline=\"2px solid var(--token-1756daa2-c3a8-4f68-94af-4b98a6371e5c, #007aff)\";el.style.outlineOffset=\"-3px\";}};const blur=()=>{el.style.outline=\"\";el.style.outlineOffset=\"\";};el.addEventListener(\"keydown\",key);el.addEventListener(\"focus\",focus);el.addEventListener(\"blur\",blur);return()=>{el.removeEventListener(\"keydown\",key);el.removeEventListener(\"focus\",focus);el.removeEventListener(\"blur\",blur);el.style.scrollSnapType=previous.snap;el.style.overflowY=previous.overflowY;children.forEach((child,i)=>{child.style.scrollSnapAlign=previousAlign[i];});for(const[name,value]of[[\"tabindex\",previous.tabIndex],[\"role\",previous.role],[\"aria-label\",previous.label]])if(value===null)el.removeAttribute(name);else el.setAttribute(name,value);blur();};},[isStatic]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:'@media(max-width:809.98px){[data-framer-name=\"Left align - split\"] > [data-framer-name=\"Responsive header columns\"]{display:flex!important;flex-direction:column!important;gap:24px!important;align-items:stretch!important}[data-framer-name=\"Left align - split\"] > [data-framer-name=\"Responsive header columns\"] > div{width:100%!important;height:auto!important}}'}}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:'@media(max-width:809.98px){\\n#reviews [data-framer-name=\"Expanded still\"]{width:280px!important;height:248px!important;padding:16px!important;flex-shrink:0!important}\\n#reviews [data-framer-name=\"Review Quote\"] p{font-size:16px!important;line-height:24px!important;-webkit-line-clamp:7!important}\\n#reviews [data-framer-name=\"Review Footer\"],#reviews [data-framer-name=\"Reviewer Group\"]{gap:8px!important}\\n#reviews [data-framer-name=\"Reviewer Avatar\"]{width:36px!important;height:36px!important}\\n#reviews [data-framer-name=\"Reviewer Name\"] p{font-size:14px!important;line-height:21px!important}\\n#reviews [data-framer-name=\"Reviewer Role\"] p{font-size:12px!important;line-height:18px!important}\\n#reviews [data-framer-name=\"Company Logo Badge\"]{width:64px!important;height:36px!important;padding:6px!important}\\n}'}}),/*#__PURE__*/_jsx(Component,{...props,ref:el=>{elementRef.current=el;if(typeof forwardedRef===\"function\")forwardedRef(el);else if(forwardedRef)forwardedRef.current=el;}})]});});}// Keep the legacy pricing CTA aligned with the native tablet section spacing.\nexport function withPricingSectionSpacing(Component){return props=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:'@media(min-width:810px) and (max-width:1199.98px){[data-framer-name=\"Branded Products Desktop\"],[data-framer-name=\"Branded Products Mobile\"]{padding:88px 40px!important}}'}}),/*#__PURE__*/_jsx(Component,{...props})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"withPricingSectionSpacing\":{\"type\":\"reactHoc\",\"name\":\"withPricingSectionSpacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStudioCarousel\":{\"type\":\"reactHoc\",\"name\":\"withStudioCarousel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StudioPrecision.map"],"mappings":"A,sNAC0L,SAAgBgB,EAAmB,EAAU,CAAC,MAAoB,gBAAW,SAAwB,EAAM,EAAa,CAAC,IAAMC,EAAWjB,EAAO,IAAI,EAAQkB,EAASJ,EAAoB,EAG2tC,OAHztCK,MAA0B,CAAC,IAAMC,EAAGH,EAAW,QAAQ,GAAG,CAACG,EAAG,OAAO,IAAMC,EAAS,CAAC,KAAKD,EAAG,MAAM,YAAY,MAAMA,EAAG,MAAM,aAAa,OAAOA,EAAG,MAAM,mBAAmB,EAAME,EAAU,GAASC,MAAU,CACvkB,IAAMC,EAAMJ,EAAG,YAAY,GAAG,CAACI,GAAOA,IAAQF,EAAU,OAAO,EAAUE,EACzE,EAAG,MAAM,YAAYH,EAAS,KAAK,EAAG,MAAM,aAAaA,EAAS,MAAM,IAAMI,EAAO,iBAAiBL,CAAE,EAAQM,EAAM,KAAK,IAAI,GAAGF,EAAMG,GAAe,CAAC,EAAQC,EAAK,WAAWH,EAAO,WAAW,EAAEC,EAAYG,EAAM,WAAWJ,EAAO,YAAY,EAAEC,EAAM,EAAG,MAAM,YAAY,GAAGE,EAAK,IAAI,EAAG,MAAM,aAAa,GAAGC,EAAM,IAAI,EAAG,MAAM,oBAAoB,GAAGD,EAAK,KAAKC,EAAM,GAAI,EAAEN,EAAM,EAAE,IAAMO,EAAS,IAAI,eAAeP,CAAK,EAA0C,OAAxCO,EAAS,QAAQV,EAAG,CAAC,IAAI,YAAY,CAAC,MAAY,CAACU,EAAS,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