{"version":3,"file":"shared-lib.OdU5pWDv.mjs","names":["__esmMin","c","init_jsx_runtime","ce","init_npm_react_18_3_1","addPropertyControls","init_framer_DcGZRLrs","ControlType","DarkBody","prevBody","prevHtml","color","init_DarkBody"],"sources":["https:/framerusercontent.com/modules/oDltsuw2HN2YmUM8ih8C/vDvmx4CEo5sLYWh499Gc/DarkBody.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Paints the document background so overscroll and page-load\n * flashes match the site theme. Renders nothing.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DarkBody({color=\"#101010\"}){useEffect(()=>{const prevBody=document.body.style.backgroundColor;const prevHtml=document.documentElement.style.backgroundColor;document.body.style.backgroundColor=color;document.documentElement.style.backgroundColor=color;return()=>{document.body.style.backgroundColor=prevBody;document.documentElement.style.backgroundColor=prevHtml;};},[color]);return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,opacity:0,pointerEvents:\"none\"}});}addPropertyControls(DarkBody,{color:{type:ControlType.Color,defaultValue:\"#101010\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DarkBody\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DarkBody.map"],"mappings":"A,0KAKG,SAAwBQ,EAAS,CAAC,QAAM,WAAW,CAA6V,OAA5VL,MAAc,CAAC,IAAMM,EAAS,SAAS,KAAK,MAAM,gBAAsBC,EAAS,SAAS,gBAAgB,MAAM,gBAA+G,MAA/F,UAAS,KAAK,MAAM,gBAAgBC,EAAM,SAAS,gBAAgB,MAAM,gBAAgBA,MAAgB,CAAC,SAAS,KAAK,MAAM,gBAAgBF,EAAS,SAAS,gBAAgB,MAAM,gBAAgBC,CAAS,CAAE,EAAE,CAACC,CAAK,CAAC,EAAsB,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,MAAM,CAAC,CAAC,CAAE,C,0CAACN,EAAoBG,EAAS,CAAC,MAAM,CAAC,KAAKD,EAAY,MAAM,aAAa,SAAS,CAAC,CAAC,C"}