{"version":3,"file":"shared-lib.D8PTC_eN.mjs","names":["useId","useMemo","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/5ud8qv5Efso55pS6El2S/Rbjiw9VsYBUgzHxn0my2/FluidPaneSurface.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useId,useMemo,useRef}from\"react\";export function FluidPaneSurface(Component){return /*#__PURE__*/forwardRef(function FluidPaneSurfaceOverride(props,ref){const reactId=useId();const scopeId=useMemo(()=>`fluid-pane-surface-${reactId.replace(/[:]/g,\"\")}`,[reactId]);const rootRef=useRef(null);const setCombinedRef=useCallback(node=>{rootRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);useEffect(()=>{if(typeof window===\"undefined\")return;const styleTag=document.createElement(\"style\");styleTag.setAttribute(\"data-fluid-pane-surface-style\",scopeId);styleTag.textContent=`\n[data-fluid-pane-surface=\"${scopeId}\"] {\n    width: 100% !important;\n    min-width: 0 !important;\n    max-width: 100% !important;\n    margin-left: 0 !important;\n    margin-right: 0 !important;\n    box-sizing: border-box !important;\n    padding-left: 20px !important;\n    padding-right: 20px !important;\n}\n@media (min-width: 600px) {\n    [data-fluid-pane-surface=\"${scopeId}\"] {\n        width: 100vw !important;\n        max-width: none !important;\n        min-width: 100vw !important;\n        margin-left: calc(50% - 50vw) !important;\n        margin-right: 0 !important;\n        padding-left: max(20px, calc((100vw - 1056px) / 2)) !important;\n        padding-right: max(20px, calc((100vw - 1056px) / 2)) !important;\n    }\n}\n`;document.head.appendChild(styleTag);return()=>{styleTag.remove();};},[scopeId]);useEffect(()=>{if(typeof window===\"undefined\")return;const normalizedPath=window.location.pathname.toLowerCase().replace(/\\/+$/,\"\")||\"/\";const shouldRepairPath=normalizedPath===\"/capabilities\"||normalizedPath===\"/team\";if(!shouldRepairPath||window.innerWidth>=600)return;const root=rootRef.current;if(!root)return;const viewportWidth=Math.round(window.innerWidth);const patched=[];let current=root.parentElement;for(let i=0;i<5&&current;i++){const rect=current.getBoundingClientRect();if(rect.width<viewportWidth){patched.push({element:current,styleAttr:current.getAttribute(\"style\")});current.style.setProperty(\"width\",`${viewportWidth}px`,\"important\");current.style.setProperty(\"max-width\",`${viewportWidth}px`,\"important\");current.style.setProperty(\"min-width\",\"0\",\"important\");current.style.setProperty(\"margin-left\",\"0\",\"important\");current.style.setProperty(\"margin-right\",\"0\",\"important\");}current=current.parentElement;}return()=>{for(const item of patched){if(item.styleAttr===null){item.element.removeAttribute(\"style\");}else{item.element.setAttribute(\"style\",item.styleAttr);}}};},[]);const style=useMemo(()=>({...props.style,width:\"100%\",minWidth:0,maxWidth:\"100%\",marginLeft:0,marginRight:0,boxSizing:\"border-box\",paddingLeft:\"20px\",paddingRight:\"20px\"}),[props.style]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props,\"data-fluid-pane-surface\":scopeId,style:style});});}\nexport const __FramerMetadata__ = {\"exports\":{\"FluidPaneSurface\":{\"type\":\"reactHoc\",\"name\":\"FluidPaneSurface\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FluidPaneSurface.map"],"mappings":"8JAAoH,SAAgB,EAAiB,EAAU,CAAC,OAAoB,EAAW,SAAkC,EAAM,EAAI,CAAC,IAAM,EAAQA,EAAM,EAAQ,EAAQC,MAAY,sBAAsB,EAAQ,QAAQ,OAAO,EAAE,IAAI,CAAC,CAAO,CAAC,EAAQ,EAAQC,EAAO,IAAI,EAAQ,EAAeC,EAAY,GAAM,CAAC,EAAQ,QAAQ,EAAQ,OAAO,GAAM,WAAY,EAAI,CAAI,EAAW,GAAK,OAAO,GAAM,WAAU,EAAI,QAAQ,EAAM,EAAE,CAAC,CAAG,CAAC,EAAE,MAAc,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,EAAS,SAAS,cAAc,OAAO,EAsBplB,OAtBslB,EAAS,aAAa,gCAA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