{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/iRI3OS7PXYNnUENF6LTz/GD4QWDoFDvrc3vTT8ywk/Utils.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";// import { createStore } from \"https://framer.com/m/framer/store.js@^1.0.0\"\n// Learn more: https://www.framer.com/docs/guides/overrides/\nexport function withImgCenter(Component){return props=>{return props&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                \n                .${props===null||props===void 0?void 0:props.className} img {\n                    margin-left: auto ! important;\n                    margin-right: auto ! important;\n                    border-radius: 8px;\n                    }\n\n                     .${props===null||props===void 0?void 0:props.className} code {\n                         display: inline-block;\n                           text-align: center;\n                     }\n\n\n\n`}),/*#__PURE__*/_jsx(Component,{...props})]});};}export function withReplaceHR(Component){return props=>{var _props_children_props_children,_props_children_props,_props_children;const _props=props;_props===null||_props===void 0?void 0:(_props_children=_props.children)===null||_props_children===void 0?void 0:(_props_children_props=_props_children.props)===null||_props_children_props===void 0?void 0:(_props_children_props_children=_props_children_props.children)===null||_props_children_props_children===void 0?void 0:_props_children_props_children.forEach((item,index,arr)=>{if(checkChildrenContailRecursively(item.props.children,\"{***}\")){arr[index]=/*#__PURE__*/_jsx(\"hr\",{style:{width:\"1fr\",marginTop:\"40px\",marginLeft:\"24px\",marginRight:\"24px\",border:\"none\",borderTop:\"1px solid #F8650A\"}});// console.log(arr[index])\n}// else return item\n});return props&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${props===null||props===void 0?void 0:props.className} img {\n                    margin-left: auto ! important;\n                    margin-right: auto ! important;\n                    border-radius: 8px;\n                    }\n\n                     .${props===null||props===void 0?void 0:props.className} code {\n                         display: inline-block;\n                           text-align: center;\n                     }\n                `}),/*#__PURE__*/_jsx(Component,{..._props})]});};}function checkChildrenContailRecursively(children,string){if(!children)return false;if(typeof children==\"string\"){// console.log(\"found string\", children)\nif(children.startsWith(string)){console.log(\"found match\");return true;}else return false;}if(Array.isArray(children))return children.some((item,index,array)=>{// console.log(item)\nreturn checkChildrenContailRecursively(item,string);});else{var _children_props;return checkChildrenContailRecursively(children===null||children===void 0?void 0:(_children_props=children.props)===null||_children_props===void 0?void 0:_children_props.children,string);}}export function withRedirect404toOldSitte(Component){if(window!==undefined){var _window_location_host,_window_location,_window,_window_location_host1,_window_location1,_window1;if(!((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:(_window_location_host=_window_location.host)===null||_window_location_host===void 0?void 0:_window_location_host.includes(\"framer\"))||((_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:(_window_location_host1=_window_location1.host)===null||_window_location_host1===void 0?void 0:_window_location_host1.includes(\"framer.app\"))){var _window2;const params=new URLSearchParams((_window2=window)===null||_window2===void 0?void 0:_window2.location.search);if(!params.get(\"noredirect\")){const newPath=window.location.pathname+window.location.search;const newUrl=`https://pages.brook.health${newPath}`;window.location.replace(newUrl);}}}return props=>{return /*#__PURE__*/_jsx(Component,{...props});};}export function withHashLinkScrollMarginTop(Component){return props=>{return props&&/*#__PURE__*/_jsx(Component,{...props,style:{scrollMarginTop:\"100px\",scrollSnapMarginTop:\"100px\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withReplaceHR\":{\"type\":\"reactHoc\",\"name\":\"withReplaceHR\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRedirect404toOldSitte\":{\"type\":\"reactHoc\",\"name\":\"withRedirect404toOldSitte\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHashLinkScrollMarginTop\":{\"type\":\"reactHoc\",\"name\":\"withHashLinkScrollMarginTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withImgCenter\":{\"type\":\"reactHoc\",\"name\":\"withImgCenter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{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Center", "Component", "props", "u", "l", "p", "withReplaceHR", "_props_children_props_children", "_props_children_props", "_props_children", "_props", "item", "index", "arr", "checkChildrenContailRecursively", "children", "string", "array", "_children_props", "withRedirect404toOldSitte", "window", "_window_location_host", "_window_location", "_window", "_window_location_host1", "_window_location1", "_window1", "_window2", "newUrl", "withHashLinkScrollMarginTop"]
}
