{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/LohiEmYavQXXxmx8R6iE/gWNvppEhGHYLONolAZQE/FyUUyePlv.js"],
  "sourcesContent": ["// Generated by Framer (259a342)\nimport siteMetadata from\"https://framerusercontent.com/modules/n4SPgYRmGDwu6wac37nd/SDT9kSjLTnEMYtpJKXhe/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"oaoips\",mediaQuery:\"(min-width: 1920px)\"},{hash:\"1fvyaw4\",mediaQuery:\"(min-width: 1440px) and (max-width: 1919px)\"},{hash:\"5l3qi2\",mediaQuery:\"(min-width: 1390px) and (max-width: 1439px)\"},{hash:\"x8z638\",mediaQuery:\"(min-width: 1247px) and (max-width: 1389px)\"},{hash:\"1mr88xl\",mediaQuery:\"(min-width: 800px) and (max-width: 1246px)\"},{hash:\"162gzxk\",mediaQuery:\"(max-width: 799px)\"}],customHTMLHeadEnd:\"<script>\\n  window.fbAsyncInit = function() {\\n    FB.init({\\n      appId      : '1053297933049610',\\n      cookie     : true,\\n      xfbml      : true,\\n      version    : 'v20.0'\\n    });\\n      \\n    FB.AppEvents.logPageView();   \\n      \\n  };\\n\\n  (function(d, s, id){\\n     var js, fjs = d.getElementsByTagName(s)[0];\\n     if (d.getElementById(id)) {return;}\\n     js = d.createElement(s); js.id = id;\\n     js.src = \\\"https://connect.facebook.net/en_US/sdk.js\\\";\\n     fjs.parentNode.insertBefore(js, fjs);\\n   }(document, 'script', 'facebook-jssdk'));\\n</script>\\n<!-- Google tag (gtag.js) -->\\n<script async=\\\"\\\" src=\\\"https://www.googletagmanager.com/gtag/js?id=AW-16638722059\\\"></script>\\n<script>\\n  window.dataLayer = window.dataLayer || [];\\n  function gtag(){dataLayer.push(arguments);}\\n  gtag('js', new Date());\\n\\n  gtag('config', 'AW-16638722059');\\n</script>\\n\\n\\n<!-- Hotjar Tracking Code for Site 5160115 (name missing) -->\\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:5160115,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\\n<script>\\n(function () {\\n  async function sendAttributionData() {\\n    const url = 'https://nfo-arbitrium.el.r.appspot.com/channelAttribution/store-attribution';\\n    const apiKey = 'lZxTPXggnP4ygq4PKaVjCQWdRVCYFrz4uxwWf3H3';\\n    const urlParams = new URLSearchParams(window.location.search);\\n\\n    // Log extracted query parameters\\n    console.log('URL Parameters:', {\\n      fbclid: urlParams.get(\\\"fbclid\\\"),\\n      utm_campaign: urlParams.get(\\\"utm_campaign\\\"),\\n      utm_source: urlParams.get(\\\"utm_source\\\"),\\n      utm_medium: urlParams.get(\\\"utm_medium\\\"),\\n      utm_term: urlParams.get(\\\"utm_term\\\"),\\n      utm_content: urlParams.get(\\\"utm_content\\\"),\\n    });\\n\\n    const existingSessionId = getCookie('session_id');\\n    console.log('Existing session_id:', existingSessionId);\\n\\n    const payload = {\\n      username: null,\\n      phone_number: null,\\n      session_id: existingSessionId || null,\\n      data: {\\n        currentUrl: window.location.href || null,\\n        currentPath: window.location.pathname || null,\\n        referrer: document.referrer || null,\\n        fbclid: urlParams.get(\\\"fbclid\\\") || null,\\n        utm_campaign: urlParams.get(\\\"utm_campaign\\\") || null,\\n        utm_source: urlParams.get(\\\"utm_source\\\") || null,\\n        utm_medium: urlParams.get(\\\"utm_medium\\\") || null,\\n        utm_term: urlParams.get(\\\"utm_term\\\") || null,\\n        utm_content: urlParams.get(\\\"utm_content\\\") || null,\\n        additional_data:{\\n          event_name:\\\"user_viewed_NFO_Books_landing_page_6_8\\\"\\n        }\\n      },\\n    };\\n\\n    // Log the constructed payload\\n    console.log('Payload to be sent:', payload);\\n\\n    try {\\n      const response = await fetch(url, {\\n        method: 'POST',\\n        headers: {\\n          'Content-Type': 'application/json',\\n          'x-api-key': apiKey,\\n        },\\n        body: JSON.stringify(payload),\\n      });\\n\\n      // Log the response status\\n      console.log('Response status:', response.status);\\n\\n      if (!response.ok) {\\n        console.error('Failed to send attribution data:', response.statusText);\\n        return;\\n      }\\n\\n      const responseData = await response.json();\\n      // Log the response data\\n      console.log('Response data:', responseData);\\n\\n      if (responseData.session_id && !existingSessionId) {\\n        console.log('Setting new session_id:', responseData.session_id);\\n        setCookie('session_id', responseData.session_id, 7);\\n      }\\n    } catch (error) {\\n      console.error('Error sending attribution data:', error);\\n    }\\n  }\\n\\n  function setCookie(name, value, days) {\\n    const expires = new Date();\\n    expires.setDate(expires.getDate() + days);\\n    console.log(`Setting cookie: ${name}=${value}; expires=${expires.toUTCString()}; path=/`);\\n    document.cookie = `${name}=${value}; expires=${expires.toUTCString()}; path=/; domain=nationalfinanceolympiad.com; secure; SameSite=None`;\\n  }\\n\\n  function getCookie(name) {\\n    const cookieArr = document.cookie.split(';');\\n    console.log('All cookies:', document.cookie);\\n    for (const cookie of cookieArr) {\\n      const [key, val] = cookie.trim().split('=');\\n      if (key === name) {\\n        console.log(`Cookie found: ${key}=${val}`);\\n        return val;\\n      }\\n    }\\n    console.log(`Cookie not found: ${name}`);\\n    return null;\\n  }\\n\\n  console.log('Initializing attribution data function on window load.');\\n  window.onload = sendAttributionData;\\n})();\\n\\n</script>\\n\\n\",description:\"Why wait for adulthood to teach your child about money? The Personal Finance Handbook is here to make learning about finances exciting, fun, and practical. Packed with 65 colorful pages, real-life examples, and interactive activities.\",elements:{bNWFPH6aU:\"title\",TShJTPCQ7:\"footer\"},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-AWIht\",title:siteMetadata(params,activeLocale).title||\"6 8 Guidebook\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1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