{"version":3,"file":"shared-lib.eIbubG7p.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6eqJimHulP0HUFvhTvXT/nowlqIQ6gCIvL7qUosvq/siteMetadata.js"],"sourcesContent":["// Generated by Framer (bb5607f)\nconst valuesByLocaleId={};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<script>\\n    function getUrlParameter(name) {\\n        const urlParams = new URLSearchParams(window.location.search);\\n        return urlParams.get(name);\\n    }\\n\\n        document.addEventListener(\\\"DOMContentLoaded\\\", () => {\\n            const primaryColor = getUrlParameter('primary_colour');\\n            const goalType = getUrlParameter('goal_type');\\n            const targetWeight = getUrlParameter('target_weight');\\n            const activityLevel = getUrlParameter('activity_level');\\n\\n            const goalTypeTextElement = document.getElementById('goal_type_text');\\n            const targetWeightTextElement = document.getElementById('target_weight_text');\\n            const activityLevelTextElement = document.getElementById('activity_level_text');\\n\\n\\n            // if (primaryColor) {\\n            //     document.body.style.backgroundColor = primaryColor;\\n            // }\\n\\n            // if (goalType && goalTypeTextElement) {\\n            //     goalTypeTextElement.textContent = goalType;\\n            // }\\n\\n            // if (targetWeight && targetWeightTextElement) {\\n            //     targetWeightTextElement.textContent = targetWeight;\\n            // }\\n\\n            // if (activityLevel && activityLevelTextElement) {\\n            //     activityLevelTextElement.textContent = activityLevel;\\n            // }\\n\\n\\n    });\\n    </script>\",customHTMLHeadEnd:\"<script>\\n/*\\nThis is a script that adds the utm_* parameters from the current url to stripe.com external links (so they can be passed on through checkout)\\n*/\\n\\n// Function to get UTM parameters from current URL\\nfunction getUtmParams() {\\n    const urlParams = new URLSearchParams(window.location.search);\\n    const utmParams = new URLSearchParams();\\n    \\n    // Get all UTM parameters from current URL\\n    for (const [key, value] of urlParams.entries()) {\\n        if (key.toLowerCase().startsWith('utm_')) {\\n            utmParams.append(key, value);\\n        }\\n    }\\n    \\n    return utmParams;\\n}\\n\\n// Function to update Stripe payment links with UTM parameters\\nfunction updateStripeLinks() {\\n    const utmParams = getUtmParams();\\n    \\n    // If no UTM parameters found, exit\\n    if (utmParams.toString() === '') return;\\n    \\n    // Find all links that contain stripe.com\\n    const stripeLinks = document.querySelectorAll('a[href*=\\\"stripe.com\\\"]');\\n    \\n    stripeLinks.forEach(link => {\\n        const url = new URL(link.href);\\n        const existingParams = new URLSearchParams(url.search);\\n        \\n        // Add UTM parameters to existing parameters\\n        // UTM parameters from current page will override any existing ones\\n        for (const [key, value] of utmParams.entries()) {\\n            existingParams.set(key, value);\\n        }\\n        \\n        // Update the link's href with new parameters\\n        url.search = existingParams.toString();\\n        link.href = url.toString();\\n    });\\n}\\n\\n// Run when DOM is loaded\\ndocument.addEventListener('DOMContentLoaded', updateStripeLinks);\\n\\n// Optional: Also run when URL changes if you're using client-side routing\\nwindow.addEventListener('popstate', updateStripeLinks);\\n</script>\",customHTMLHeadStart:'<script>\\n  !function(){var i=\"analytics\",analytics=window[i]=window[i]||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error(\"Segment snippet included twice.\");else{analytics.invoked=!0;analytics.methods=[\"trackSubmit\",\"trackClick\",\"trackLink\",\"trackForm\",\"pageview\",\"identify\",\"reset\",\"group\",\"track\",\"ready\",\"alias\",\"debug\",\"page\",\"screen\",\"once\",\"off\",\"on\",\"addSourceMiddleware\",\"addIntegrationMiddleware\",\"setAnonymousId\",\"addDestinationMiddleware\",\"register\"];analytics.factory=function(e){return function(){if(window[i].initialized)return window[i][e].apply(window[i],arguments);var n=Array.prototype.slice.call(arguments);if([\"track\",\"screen\",\"alias\",\"group\",\"page\",\"identify\"].indexOf(e)>-1){var c=document.querySelector(\"link[rel=\\'canonical\\']\");n.push({__t:\"bpc\",c:c&&c.getAttribute(\"href\")||void 0,p:location.pathname,u:location.href,s:location.search,t:document.title,r:document.referrer})}n.unshift(e);analytics.push(n);return analytics}};for(var n=0;n<analytics.methods.length;n++){var key=analytics.methods[n];analytics[key]=analytics.factory(key)}analytics.load=function(key,n){var t=document.createElement(\"script\");t.type=\"text/javascript\";t.async=!0;t.setAttribute(\"data-global-segment-analytics-key\",i);t.src=\"https://cdn.segment.com/analytics.js/v1/\" + key + \"/analytics.min.js\";var r=document.getElementsByTagName(\"script\")[0];r.parentNode.insertBefore(t,r);analytics._loadOptions=n};analytics._writeKey=\"IUSVHlJjlpfVujILtE7n70Pb5fzwvxmD\";;analytics.SNIPPET_VERSION=\"5.2.0\";\\n  analytics.load(\"IUSVHlJjlpfVujILtE7n70Pb5fzwvxmD\");\\n  analytics.page();\\n  }}();\\n</script>\\n\\n<!-- Hotjar Tracking Code for https://nutriaiplatform.com/ -->\\n<script>\\n    (function(h,o,t,j,a,r){\\n        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\\n        h._hjSettings={hjid:5326939,hjsv:6};\\n        a=o.getElementsByTagName(\\'head\\')[0];\\n        r=o.createElement(\\'script\\');r.async=1;\\n        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\\n        a.appendChild(r);\\n    })(window,document,\\'https://static.hotjar.com/c/hotjar-\\',\\'.js?sv=\\');\\n</script>\\n<script id=\"vtag-ai-js\" async=\"\" src=\"https://r2.leadsy.ai/tag.js\" data-pid=\"CO7FQGkHIu1NPmN1\" data-version=\"062024\"></script>',description:\"Helping recipe creators grow, engage, and monetize with the  recipe and meal planning app of their dreams\",favicon:\"https://framerusercontent.com/assets/QrekEjIM9ePF6OFYNfqZMtgsLk.png\",robots:\"max-image-preview:large\",title:\"NutriAI | The #1 customizable app platform for recipe creators\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DAC2M,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAAs2C,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAsvD,oBAAoB;;;;;;;;;;;;;;;;;;gIAAktE,YAAY,4GAA4G,QAAQ,sEAAsE,OAAO,0BAA0B,MAAM,gEAAiE,CAAE"}