{"version":3,"file":"MD_CMS.BkO2OKlZ.mjs","names":["React.useCallback","useState"],"sources":["https:/framerusercontent.com/modules/CaN367C2uJdgWAbkutwq/VgUV0mn8foLt5zmGcQXN/MD_CMS.js"],"sourcesContent":["// @ts-nocheck\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{useState,useEffect}from\"react\";const CMS_SELECTOR='[data-framer-name=\"Content\"][data-framer-component-type=\"RichTextContainer\"]';const notInternationalPricesCountries=[\"US\"];const useCheckLocation=()=>{const[isLoading,setIsLoading]=useState(true);const[isIntl,setIsIntl]=useState(false);useEffect(()=>{async function checkLocation(){try{const res=await fetch(\"https://app.mynucleus.com/api/location\");const data=await res.json();if(data?.data?.countryCode&&!notInternationalPricesCountries.includes(data.data.countryCode)){setIsIntl(true);}setIsLoading(false);}catch(err){console.error(\"Geo lookup failed\",err);setIsLoading(false);}}checkLocation();},[]);return{isIntl,isLoading};};const getTextNodes=node=>{let textNodes=[];if(node.nodeType===Node.TEXT_NODE){textNodes.push(node);}else if(node.nodeType===Node.ELEMENT_NODE){node.childNodes.forEach(child=>{textNodes=textNodes.concat(getTextNodes(child));});}return textNodes;};const escapeHtml=str=>str.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#039;\");export function CMSOverride(Component){return props=>{const{isIntl,isLoading}=useCheckLocation();const makeImagesFullWidth=React.useCallback(()=>{document.querySelectorAll(CMS_SELECTOR).forEach(container=>{container.querySelectorAll(\"img\").forEach(img=>{img.style.width=\"100%\";});});},[]);const makeLinksNewTab=React.useCallback(()=>{document.querySelectorAll(CMS_SELECTOR).forEach(container=>{container.querySelectorAll(\"a\").forEach(link=>{if(link instanceof HTMLAnchorElement){link.target=\"_blank\";}});});},[]);const parseVariables=React.useCallback(()=>{const variables={PRICE:{MEMBERSHIP:{ONE:\"$39\",TWO:\"$78\",THREE:\"$117\"},KIT_SOLO:{ONE:\"$499\",TWO:\"$948\",TWO_NO_DISCOUNT:\"$998\",THREE:\"$1,422\",THREE_NO_DISCOUNT:\"$1,497\"},KIT_AND_MEMBERSHIP:{ONE:\"$538\",TWO:\"$1,026\",TWO_NO_DISCOUNT:\"$1,076\",THREE:\"$1,539\",THREE_NO_DISCOUNT:\"$1,614\"},UPLOAD:{WGS_SOLO:\"$199\",WGS_AND_MEMBERSHIP:\"$238\"},EMBRYO:\"$9,999\",IVF:\"$29,999\"},PRICEINTER:{MEMBERSHIP:{ONE:\"$59\",TWO:\"$118\",THREE:\"$177\"},KIT_SOLO:{ONE:\"$699\",TWO:\"$1,348\",TWO_NO_DISCOUNT:\"$1,398\",THREE:\"$2,022\",THREE_NO_DISCOUNT:\"$2,097\"},KIT_AND_MEMBERSHIP:{ONE:\"$758\",TWO:\"$1,466\",TWO_NO_DISCOUNT:\"$1,516\",THREE:\"$2,199\",THREE_NO_DISCOUNT:\"$2,274\"},UPLOAD:{WGS_SOLO:\"$199\",WGS_AND_MEMBERSHIP:\"$238\"},EMBRYO:\"$9,999\",IVF:\"$29,999\"},NUM_CONDITIONS_SCREENED:\"2000\"};const regexVariables=/\\[(?:PRICE(?:\\.[\\w-]+)+|NUM_CONDITIONS_SCREENED)\\]/g;// Get all text nodes in the document\nconst textNodes=getTextNodes(document.body);textNodes.forEach(textNode=>{let text=textNode.textContent||\"\";const matches=text.match(regexVariables);if(matches){matches.forEach(match=>{let variable=match.replace(\"[\",\"\").replace(\"]\",\"\");// Replace PRICE with PRICEINTER if user is international\nif(isIntl&&variable.startsWith(\"PRICE.\")){variable=variable.replace(\"PRICE\",\"PRICEINTER\");}// Get the value from the variables object by splitting the variable string and reducing it to the final value\nconst value=variable.split(\".\").reduce((obj,key)=>obj&&obj[key],variables);if(value!==undefined){const regex=new RegExp(match.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\"),\"g\");text=text.replace(regex,value);}});// Update the actual text node content\ntextNode.textContent=text;}});},[isIntl]);const parseAndEmbedPosts=React.useCallback(()=>{// Used to auto-generate tailored CTAs based on the ID\n// See below, accessed via [CTA]{ID}\nconst ctaTypes={HEALTH:{TITLE:\"Live healthier, longer\",BUTTON:\"Order your kit\",HREF:\"https://www.mynucleus.com/product?promocode=welcome10\"},IVF:{TITLE:\"Interested in having your best baby?\",BUTTON:\"Explore IVF+\",HREF:\"https://app.mynucleus.com/pick-your-baby\"},FAMILY:{TITLE:\"Save 50$ when you carrier screen with your partner\",BUTTON:\"Screen Today\",HREF:\"https://www.mynucleus.com/family/shop\"}};const ctaTypeIds=Object.keys(ctaTypes);const contentDivs=document.querySelectorAll(CMS_SELECTOR);contentDivs.forEach(contentDiv=>{const codeBlocks=contentDiv.querySelectorAll(\".framer-text.framer-text-module\");codeBlocks.forEach(codeBlock=>{if(codeBlock instanceof HTMLElement){// Skip already-processed blocks\nif(codeBlock.getAttribute(\"data-embeds-processed\")===\"true\")return;// Clone and strip <style> tags so Framer/Stitches CSS\n// doesn't leak into textContent as visible text\nconst clone=codeBlock.cloneNode(true);clone.querySelectorAll(\"style\").forEach(s=>s.remove());const text=clone.textContent||\"\";// Check if it's a table\nif(text.trim().startsWith(\"|\")&&text.includes(\"\\n|\")){// It's a table, don't process it here\nreturn;}// REGEX SOCIAL EMBEDS\nconst regexX=/\\[X\\]\\((https?:\\/\\/[^\\s\\)]+)\\)(?:\\((\\d+)\\))?/g;const regexReddit=/\\[Reddit\\]\\((https?:\\/\\/[^\\s\\)]+)\\)(?:\\((\\d+)\\))?/g;const regexYoutube=/\\[Youtube\\]\\((https?:\\/\\/(?:www\\.)?youtube\\.com\\/watch\\?v=([^\\s&\\)]+)|https?:\\/\\/(?:www\\.)?youtu\\.be\\/([^\\s\\)]+))\\)(?:\\((\\d+)\\))?/g;const regexInstagram=/\\[Instagram\\]\\((https?:\\/\\/(?:www\\.)?instagram\\.com\\/p\\/([^\\s\\)]+))\\)(?:\\((\\d+)\\))?/g;const regexLinkedIn=/\\[LinkedIn\\]\\((https?:\\/\\/(?:www\\.)?linkedin\\.com\\/(?:posts|feed\\/update)\\/[^\\s\\)]+)\\)(?:\\((\\d+)\\))?/g;const regexGoogleMaps=/\\[GoogleMaps\\]\\((https?:\\/\\/(?:www\\.)?(?:google\\.com\\/maps|maps\\.google\\.com|maps\\.app\\.goo\\.gl|goo\\.gl\\/maps|share\\.google)[^\\s\\)]+)\\)(?:\\((\\d+)\\))?/g;// REGEX CTA - Update to handle multi-line content\nconst regexCTA=/\\[CTA\\]\\s*\\{\\s*([^}\\s]+)\\s*\\}/g;// Check if there are any matches before proceeding\nif(!text.match(regexX)&&!text.match(regexReddit)&&!text.match(regexYoutube)&&!text.match(regexInstagram)&&!text.match(regexLinkedIn)&&!text.match(regexGoogleMaps)&&!text.match(regexCTA)){return;}let match;let lastIndex=0;const fragments=[];while((match=regexX.exec(text))!==null){// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}// Create an X post embed\nconst xPostUrl=match[1];const iframeHeight=match[2]||\"520\"// Default height to 520 if not specified\n;const embedContainer=document.createElement(\"div\");embedContainer.style.margin=\"10px 0\";// Generate the tweet embed iframe\nembedContainer.innerHTML=`<iframe\n                border=\"0\"\n                frameborder=\"0\"\n                height=\"${iframeHeight}\"\n                width=\"100%\"\n                max-width=\"500px\"\n                scrolling=\"no\"\n                src=\"https://platform.twitter.com/embed/Tweet.html?dnt=true&id=${xPostUrl.split(\"/\").pop()}\">\n              </iframe>`;fragments.push(embedContainer);lastIndex=regexX.lastIndex;}while((match=regexReddit.exec(text))!==null){// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}// Create a Reddit post embed\nconst redditPostUrl=match[1];const iframeHeight=match[2]||\"316\"// Default height to 316 if not specified\n;const embedContainer=document.createElement(\"div\");embedContainer.style.margin=\"10px 0\";// Generate the Reddit embed iframe\nembedContainer.innerHTML=`<iframe\n                border=\"0\"\n                frameborder=\"0\"\n                height=\"${iframeHeight}\"\n                width=\"100%\"\n                max-width=\"500px\"\n                scrolling=\"no\"\n                src=\"https://www.redditmedia.com${new URL(redditPostUrl).pathname}?ref_source=embed&ref=share&embed=true\">\n              </iframe>`;fragments.push(embedContainer);lastIndex=regexReddit.lastIndex;}while((match=regexYoutube.exec(text))!==null){// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}// Extract video ID from either youtube.com or youtu.be URL\nconst videoId=match[2]||match[3];const iframeHeight=match[4]||\"450\"// Default height\n;const embedContainer=document.createElement(\"div\");embedContainer.style.margin=\"10px 0\";// Generate the YouTube embed iframe\nembedContainer.innerHTML=`<iframe\n                width=\"100%\"\n                height=\"${iframeHeight}\"\n                src=\"https://www.youtube.com/embed/${videoId}\"\n                frameborder=\"0\"\n                allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\"\n                allowfullscreen>\n              </iframe>`;fragments.push(embedContainer);lastIndex=regexYoutube.lastIndex;}while((match=regexInstagram.exec(text))!==null){// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}// Create an Instagram post embed\nconst postId=match[2].split(\"/\")[0];const iframeHeight=match[3]||\"750\"// Default height\n;const embedContainer=document.createElement(\"div\");embedContainer.style.margin=\"10px 0\";embedContainer.innerHTML=`<blockquote class=\"instagram-media\" data-instgrm-permalink=\"https://www.instagram.com/p/${postId}/?utm_source=ig_embed&amp;utm_campaign=loading\" data-instgrm-version=\"14\" style=\" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);\"><div style=\"padding:16px;\"> <a href=\"https://www.instagram.com/p/${postId}/?utm_source=ig_embed&amp;utm_campaign=loading\" style=\" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;\" target=\"_blank\"> <div style=\" display: flex; flex-direction: row; align-items: center;\"> <div style=\"background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;\"></div> <div style=\"display: flex; flex-direction: column; flex-grow: 1; justify-content: center;\"> <div style=\" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;\"></div> <div style=\" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;\"></div></div></div><div style=\"padding: 19% 0;\"></div> <div style=\"display:block; height:50px; margin:0 auto 12px; width:50px;\"><svg width=\"50px\" height=\"50px\" viewBox=\"0 0 60 60\" version=\"1.1\" xmlns=\"https://www.w3.org/2000/svg\" xmlns:xlink=\"https://www.w3.org/1999/xlink\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(-511.000000, -20.000000)\" fill=\"#000000\"><g><path d=\"M556.869,30.41 C554.814,30.41 553.148,32.076 553.148,34.131 C553.148,36.186 554.814,37.852 556.869,37.852 C558.924,37.852 560.59,36.186 560.59,34.131 C560.59,32.076 558.924,30.41 556.869,30.41 M541,60.657 C535.114,60.657 530.342,55.887 530.342,50 C530.342,44.114 535.114,39.342 541,39.342 C546.887,39.342 551.658,44.114 551.658,50 C551.658,55.887 546.887,60.657 541,60.657 M541,33.886 C532.1,33.886 524.886,41.1 524.886,50 C524.886,58.899 532.1,66.113 541,66.113 C549.9,66.113 557.115,58.899 557.115,50 C557.115,41.1 549.9,33.886 541,33.886 M565.378,62.101 C565.244,65.022 564.756,66.606 564.346,67.663 C563.803,69.06 563.154,70.057 562.106,71.106 C561.058,72.155 560.06,72.803 558.662,73.347 C557.607,73.757 556.021,74.244 553.102,74.378 C549.944,74.521 548.997,74.552 541,74.552 C533.003,74.552 532.056,74.521 528.898,74.378 C525.979,74.244 524.393,73.757 523.338,73.347 C521.94,72.803 520.942,72.155 519.894,71.106 C518.846,70.057 518.197,69.06 517.654,67.663 C517.244,66.606 516.755,65.022 516.623,62.101 C516.479,58.943 516.448,57.996 516.448,50 C516.448,42.003 516.479,41.056 516.623,37.899 C516.755,34.978 517.244,33.391 517.654,32.338 C518.197,30.938 518.846,29.942 519.894,28.894 C520.942,27.846 521.94,27.196 523.338,26.654 C524.393,26.244 525.979,25.756 528.898,25.623 C532.057,25.479 533.004,25.448 541,25.448 C548.997,25.448 549.943,25.479 553.102,25.623 C556.021,25.756 557.607,26.244 558.662,26.654 C560.06,27.196 561.058,27.846 562.106,28.894 C563.154,29.942 563.803,30.938 564.346,32.338 C564.756,33.391 565.244,34.978 565.378,37.899 C565.522,41.056 565.552,42.003 565.552,50 C565.552,57.996 565.522,58.943 565.378,62.101 M570.82,37.631 C570.674,34.438 570.167,32.258 569.425,30.349 C568.659,28.377 567.633,26.702 565.965,25.035 C564.297,23.368 562.623,22.342 560.652,21.575 C558.743,20.834 556.562,20.326 553.369,20.18 C550.169,20.033 549.148,20 541,20 C532.853,20 531.831,20.033 528.631,20.18 C525.438,20.326 523.257,20.834 521.349,21.575 C519.376,22.342 517.703,23.368 516.035,25.035 C514.368,26.702 513.342,28.377 512.574,30.349 C511.834,32.258 511.326,34.438 511.181,37.631 C511.035,40.831 511,41.851 511,50 C511,58.147 511.035,59.17 511.181,62.369 C511.326,65.562 511.834,67.743 512.574,69.651 C513.342,71.625 514.368,73.296 516.035,74.965 C517.703,76.634 519.376,77.658 521.349,78.425 C523.257,79.167 525.438,79.673 528.631,79.82 C531.831,79.965 532.853,80.001 541,80.001 C549.148,80.001 550.169,79.965 553.369,79.82 C556.562,79.673 558.743,79.167 560.652,78.425 C562.623,77.658 564.297,76.634 565.965,74.965 C567.633,73.296 568.659,71.625 569.425,69.651 C570.167,67.743 570.674,65.562 570.82,62.369 C570.966,59.17 571,58.147 571,50 C571,41.851 570.966,40.831 570.82,37.631\"></path></g></g></g></svg></div><div style=\"padding-top: 8px;\"> <div style=\" color:#3897f0; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:550; line-height:18px;\">View this post on Instagram</div></div><div style=\"padding: 12.5% 0;\"></div> <div style=\"display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;\"><div> <div style=\"background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);\"></div> <div style=\"background-color: #F4F4F4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;\"></div> <div style=\"background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);\"></div></div><div style=\"margin-left: 8px;\"> <div style=\" background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;\"></div> <div style=\" width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg)\"></div></div><div style=\"margin-left: auto;\"> <div style=\" width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);\"></div> <div style=\" background-color: #F4F4F4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);\"></div> <div style=\" width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);\"></div></div></div> <div style=\"display: flex; flex-direction: column; flex-grow: 1; justify-content: center; margin-bottom: 24px;\"> <div style=\" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 224px;\"></div> <div style=\" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 144px;\"></div></div></a><p style=\" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;\"><a href=\"https://www.instagram.com/p/${postId}/?utm_source=ig_embed&amp;utm_campaign=loading\" style=\" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none;\" target=\"_blank\">A post shared by Bryan Johnson (@bryanjohnson_)</a></p></div></blockquote>`;fragments.push(embedContainer);lastIndex=regexInstagram.lastIndex;}while((match=regexLinkedIn.exec(text))!==null){// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}// Create a LinkedIn post embed\nconst linkedInUrl=match[1];const iframeHeight=match[2]||\"600\"// Default height\n;const embedContainer=document.createElement(\"div\");embedContainer.style.margin=\"10px 0\";// Extract activity ID and build proper LinkedIn embed URL\nlet embedUrl;const activityMatch=linkedInUrl.match(/activity-(\\d+)/);if(activityMatch){embedUrl=`https://www.linkedin.com/embed/feed/update/urn:li:activity:${activityMatch[1]}`;}else{embedUrl=linkedInUrl.includes(\"/embed\")?linkedInUrl:`${linkedInUrl}/embed`;}embedContainer.innerHTML=`<iframe\n                src=\"${embedUrl}\"\n                height=\"${iframeHeight}\"\n                width=\"100%\"\n                frameborder=\"0\"\n                allowfullscreen=\"\"\n                title=\"LinkedIn Post\"\n                style=\"max-width: 504px;\">\n              </iframe>`;fragments.push(embedContainer);lastIndex=regexLinkedIn.lastIndex;}while((match=regexGoogleMaps.exec(text))!==null){// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}// Create a Google Maps embed\nconst mapsUrl=match[1];const iframeHeight=match[2]||\"450\"// Default height\n;const embedContainer=document.createElement(\"div\");embedContainer.style.margin=\"10px 0\";const isShortUrl=mapsUrl.includes(\"maps.app.goo.gl\")||mapsUrl.includes(\"goo.gl/maps\")||mapsUrl.includes(\"share.google\");// Helper: build a review link + optional map embed from a resolved Google Maps URL\nconst buildGoogleMapsEmbed=(resolvedUrl,container,height,originalUrl)=>{let iframeSrc;// Extract CID from URL (e.g. 0x0:0xef2df6c9b3fdeddd)\nconst cidMatch=resolvedUrl.match(/0x[0-9a-f]+:0x([0-9a-f]+)/);if(cidMatch){const cid=BigInt(\"0x\"+cidMatch[1]).toString();iframeSrc=`https://maps.google.com/maps?cid=${cid}&output=embed`;}else if(resolvedUrl.includes(\"/place/\")){const placeMatch=resolvedUrl.match(/\\/place\\/([^\\/]+)/);if(placeMatch){iframeSrc=`https://maps.google.com/maps?q=${encodeURIComponent(placeMatch[1].replace(/\\+/g,\" \"))}&output=embed`;}}// Only embed the iframe if we extracted a valid embeddable URL\nconst linkUrl=originalUrl||resolvedUrl;const iframeHtml=iframeSrc?`<iframe\n                      src=\"${iframeSrc}\"\n                      width=\"100%\"\n                      height=\"${height}\"\n                      style=\"border:0;\"\n                      allowfullscreen=\"\"\n                      loading=\"lazy\"\n                      referrerpolicy=\"no-referrer-when-downgrade\">\n                    </iframe>`:\"\";container.innerHTML=`<a href=\"${linkUrl}\" target=\"_blank\" rel=\"noopener noreferrer\"\n                  style=\"display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 18px;font-size:14px;font-weight:500;color:#333;text-decoration:none;background:#f8f8f8;border:1px solid #e0e0e0;border-radius:8px;transition:background 0.15s ease;\">\n                  <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 512 512\" fill=\"none\"><g clip-path=\"url(#gm)\"><path fill=\"#1A73E8\" d=\"M302.925 41.371C288.18 36.688 272.046 34 255.653 34c-47.272 0-89.86 21.42-118.397 55.327l73.12 61.396 92.549-109.352z\"/><path fill=\"#EA4335\" d=\"M137.256 89.327C114.791 116.123 101 151.07 101 188.62c0 29.137 5.725 52.638 15.439 73.797l93.937-111.693-73.12-61.397z\"/><path fill=\"#4285F4\" d=\"M256 129.564c32.873 0 59.328 26.449 59.328 59.316 0 14.395-5.377 27.836-14.051 38.243 0 0 46.665-55.674 92.202-109.7-18.822-36.248-51.349-63.738-90.554-76.139L210.376 150.723c11.102-12.747 27.149-21.159 45.624-21.159z\"/><path fill=\"#FBBC04\" d=\"M256 247.935c-32.873 0-59.328-26.449-59.328-59.316 0-14.395 5.03-27.836 13.791-37.896L116.439 262.33c16.134 35.555 42.936 64.346 70.431 100.247L301.277 226.776c-11.102 13.094-27.149 21.159-45.277 21.159z\"/><path fill=\"#34A853\" d=\"M299.282 400.213C350.978 319.392 411 282.883 411 188.967c0-25.843-6.332-49.95-17.434-71.457L186.87 362.664c8.761 11.36 17.781 24.455 26.455 37.896 31.573 48.65 22.812 77.44 42.935 77.44 20.123 0 11.449-29.137 43.022-77.787z\"/></g><defs><clipPath id=\"gm\"><rect width=\"310\" height=\"444\" fill=\"#fff\" transform=\"translate(101 34)\"/></clipPath></defs></svg>\n                  View review\n                </a>\n                ${iframeHtml}`;};if(isShortUrl){(async()=>{try{const res=await fetch(\"https://app.mynucleus.com/api/resolve-url?url=\"+encodeURIComponent(mapsUrl));const data=await res.json();buildGoogleMapsEmbed(data.resolved_url,embedContainer,iframeHeight,mapsUrl);}catch{// Fallback: styled link\nembedContainer.innerHTML=`<a href=\"${mapsUrl}\" target=\"_blank\" rel=\"noopener noreferrer\"\n                      style=\"display:block;padding:20px;background:#f0f0f0;border-radius:8px;text-decoration:none;color:#1a73e8;\">\n                      View on Google Maps\n                    </a>`;}})();}else{buildGoogleMapsEmbed(mapsUrl,embedContainer,iframeHeight,mapsUrl);}fragments.push(embedContainer);lastIndex=regexGoogleMaps.lastIndex;}while((match=regexCTA.exec(text))!==null){console.debug(\"CTA REGEX MATCH\");// Add text before the match\nif(match.index>lastIndex){fragments.push(document.createTextNode(text.slice(lastIndex,match.index)));}try{// Parse the CTA content\n// [CTA](ID)\nlet ctaVariable=match[1];if(!ctaTypeIds.includes(ctaVariable))ctaVariable=\"HEALTH\";const ctaData=ctaTypes[ctaVariable];// Create CTA container\nconst ctaContainer=document.createElement(\"div\");ctaContainer.style.cssText=`\n                  margin: 20px 0;\n                  padding: 32px;\n                  border-radius: 16px;\n                  background-color: #FAF9F8;\n                  display: flex;\n                  justify-content: space-between;\n                  align-items: center;\n                  flex-direction: row;\n                `;// Make it flex-col on small screens (inject once)\nctaContainer.classList.add(\"md-cms-cta-container\");if(!document.getElementById(\"md-cms-cta-styles\")){const style=document.createElement(\"style\");style.id=\"md-cms-cta-styles\";style.textContent=`\n                    @media (max-width: 600px) {\n                      .md-cms-cta-container {\n                        flex-direction: column !important;\n                        align-items: stretch !important;\n                        gap: 16px !important;\n                      }\n                    }\n                  `;document.head.appendChild(style);}// Add title\nconst title=document.createElement(\"h3\");title.textContent=ctaData.TITLE;title.style.cssText=`\n                  margin: 0;\n                  font-size: 20px;\n                  font-weight: 500;\n                  color: #333;\n                  line-height: 1.2;\n                `;// Add CTA button\nconst button=document.createElement(\"a\");button.href=ctaData.HREF;button.textContent=ctaData.BUTTON;// IVF should use different button text/background combo, to be distinct\nconst buttonColor=ctaVariable===\"IVF\"?\"#FDD17C\":\"#1C1C1C\";const buttonColorHover=ctaVariable===\"IVF\"?\"#DEB15C\":\"#000000\";const buttonTextColor=ctaVariable===\"IVF\"?\"#1C1C1C\":\"#FFFFFF\";button.onclick=()=>window.ours.track(\"Lead\",{location:\"in-text\",from:window.location.href.includes(\"/blog\")?\"blog\":\"\"});button.style.cssText=`\n                  display: inline-block;\n                  padding: 16px 32px;\n                  background-color: ${buttonColor};\n                  color: ${buttonTextColor};\n                  text-decoration: none;\n                  border-radius: 100px;\n                  font-weight: 500;\n                  font-size: 18px;\n                  white-space: nowrap;\n                  text-align: center;\n                  transition: all 0.2s cubic-bezier(0.44, 0, 0.56, 1);\n                `;// Janky way to add hover\nbutton.addEventListener(\"mouseenter\",()=>{button.style.backgroundColor=buttonColorHover;});button.addEventListener(\"mouseleave\",()=>{button.style.backgroundColor=buttonColor;});button.addEventListener(\"focus\",()=>{button.style.backgroundColor=buttonColorHover;});button.addEventListener(\"blur\",()=>{button.style.backgroundColor=buttonColor;});ctaContainer.appendChild(title);ctaContainer.appendChild(button);fragments.push(ctaContainer);}catch(error){console.error(\"Error parsing CTA:\",error);}lastIndex=regexCTA.lastIndex;}// Add remaining text\nif(lastIndex<text.length){fragments.push(document.createTextNode(text.slice(lastIndex)));}// Replace the original content with the new fragments\nif(fragments.length>0){codeBlock.innerHTML=\"\";fragments.forEach(fragment=>codeBlock.appendChild(fragment));codeBlock.setAttribute(\"data-embeds-processed\",\"true\");}}});});// Load Twitter widget script if not already loaded\nif(!document.getElementById(\"twitter-widget-script\")){const script=document.createElement(\"script\");script.id=\"twitter-widget-script\";script.src=\"https://platform.twitter.com/widgets.js\";script.async=true;document.body.appendChild(script);}// load Instagram widget script if not already loaded\nif(!document.getElementById(\"instagram-widget-script\")){const script=document.createElement(\"script\");script.id=\"instagram-widget-script\";script.src=\"//www.instagram.com/embed.js\";script.async=true;document.body.appendChild(script);}// load LinkedIn widget script if not already loaded\nif(!document.getElementById(\"linkedin-widget-script\")){const script=document.createElement(\"script\");script.id=\"linkedin-widget-script\";script.src=\"https://platform.linkedin.com/in.js\";script.async=true;script.type=\"text/javascript\";document.body.appendChild(script);}},[]);const extractAndFormatTable=React.useCallback(()=>{const cmScroller=document.querySelectorAll(\".cm-scroller\");cmScroller.forEach((scroller,idx)=>{const content=scroller.querySelector(\".cm-content\");// Add null check for content or if it doesn't start with a pipe\nif(!content||!content.innerText.startsWith(\"|\")){return;}// Skip if this content block has already been processed\nif(content.getAttribute(\"data-table-processed\")===\"true\"){return;}// Mark this content block as processed\ncontent.setAttribute(\"data-table-processed\",\"true\");const cmLines=content.querySelectorAll(\".cm-line\");const cmLinesArrayOfStrings=Array.from(cmLines).map(line=>line.innerText);// Log the first few lines for debugging\ncmLinesArrayOfStrings.slice(0,6).forEach((line,lineIdx)=>{console.log(`Line ${lineIdx}:`,line);});const outerContainer=document.createElement(\"div\");outerContainer.style.cssText=`\n                    border: 1px solid #D0D9DE;\n                    border-radius: 6px;\n                    overflow: hidden;\n                    width: 100%;\n                    height: 100%;\n                `;// Create an inner container for the scrollable content\nconst innerContainer=document.createElement(\"div\");innerContainer.style.cssText=`\n                    overflow: auto;\n                    width: 100%;\n                    height: 100%;\n                `;// Create the table\nconst table=document.createElement(\"table\");table.style.cssText=`\n                    border-collapse: separate;\n                    border-spacing: 0;\n                    width: 100%;\n                `;const tableHtml=cmLinesArrayOfStrings.map((line,index)=>{console.log(\"line\",line);const cells=line.split(\"|\").map(cell=>cell.trim()).filter(cell=>cell!==\"\");if(index===0){// Header row: Convert to <th> elements\nreturn`<tr>${cells.map((cell,cellIndex)=>`<th${cellIndex===0?' class=\"first-column\"':\"\"}>${escapeHtml(cell)}</th>`).join(\"\")}</tr>`;}else if(index===1){return\"\"// Skip the separator row\n;}else{// Convert Markdown links to HTML links within the cells\nreturn`<tr>${cells.map((cell,cellIndex)=>`<td${cellIndex===0?' class=\"first-column\"':\"\"}>${escapeHtml(cell).replace(/\\[([^\\]]+)\\]\\(((?:https?:\\/\\/|\\/)[^)]+)\\)/g,'<a href=\"$2\" target=\"_blank\">$1</a>')}</td>`).join(\"\")}</tr>`;}}).filter(row=>row!==\"\").join(\"\");table.innerHTML=`\n                    <table style=\"width: 100%; border-collapse: separate; border-spacing: 0;\">\n                        ${tableHtml}\n                    </table>\n                `;// Add table styles (inject once globally)\nif(!document.getElementById(\"md-cms-table-styles\")){const style=document.createElement(\"style\");style.id=\"md-cms-table-styles\";style.textContent=`\n            .md-cms-table th, .md-cms-table td {\n              padding: 12px;\n              text-align: left;\n              background-color: #FFF;\n              border-right: 1px solid #D0D9DE;\n              border-bottom: 1px solid #D0D9DE;\n            }\n            .md-cms-table th {\n              font-weight: bold;\n              font-size: 18px;\n              color: #333;\n              position: sticky;\n              top: 0;\n              z-index: 1;\n            }\n            .md-cms-table td {\n              font-size: 16px;\n              line-height: 1.5;\n            }\n            .md-cms-table .first-column {\n              white-space: nowrap;\n              overflow: hidden;\n              text-overflow: ellipsis;\n            }\n            .md-cms-table tr:last-child td {\n              border-bottom: none;\n            }\n            .md-cms-table th:last-child,\n            .md-cms-table td:last-child {\n              border-right: none;\n            }\n          `;document.head.appendChild(style);}outerContainer.classList.add(\"md-cms-table\");// Assemble the structure\ninnerContainer.appendChild(table);outerContainer.appendChild(innerContainer);// Add new html table\nscroller.appendChild(outerContainer);// Remove old markdown table\nif(scroller.firstChild){scroller.removeChild(scroller.firstChild);}});},[]);React.useEffect(()=>{// Wait for location check to complete before parsing variables\nif(isLoading)return;const runTransformations=()=>{parseAndEmbedPosts();extractAndFormatTable();makeImagesFullWidth();makeLinksNewTab();parseVariables();};runTransformations();// Scoped, debounced, bounded MutationObserver\n// - debounced to batch rapid DOM changes\n// - capped at 20 runs to prevent runaway loops on heavy pages\nconst bodyTag=document.querySelector(\"body\");let observerRunCount=0;const MAX_OBSERVER_RUNS=20;let debounceTimer;const observer=new MutationObserver(()=>{if(observerRunCount>=MAX_OBSERVER_RUNS){observer.disconnect();return;}clearTimeout(debounceTimer);debounceTimer=setTimeout(()=>{observerRunCount++;console.log(`🔄 Observer run ${observerRunCount}/${MAX_OBSERVER_RUNS}`);observer.disconnect();runTransformations();if(observerRunCount<MAX_OBSERVER_RUNS){observer.observe(bodyTag,{childList:true,subtree:true});}},300);});observer.observe(bodyTag,{childList:true,subtree:true});// Remove white-space: pre-wrap from the Content div (inject once)\nconst styleId=\"md-cms-whitespace-override\";if(!document.getElementById(styleId)){const style=document.createElement(\"style\");style.id=styleId;style.textContent=`\n          ${CMS_SELECTOR} {\n            white-space: normal !important;\n          }\n          ${CMS_SELECTOR} > div {\n            white-space: normal !important;\n          }\n        `;document.head.appendChild(style);}return()=>{observer.disconnect();clearTimeout(debounceTimer);};},[extractAndFormatTable,parseAndEmbedPosts,parseVariables,isLoading]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"CMSOverride\":{\"type\":\"reactHoc\",\"name\":\"CMSOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MD_CMS.map"],"mappings":"yIACsnC,SAAgB,EAAY,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,S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