{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/osFBiss2dRsnCWoouYqb/rxXCiiRU7QtYkGDGtCNb/iWu6XT0N0.js"],
  "sourcesContent": ["// Generated by Framer (6aa4fc0)\nimport siteMetadata from\"https://framerusercontent.com/modules/fkacFTJOQlMUuzw2H7kQ/4sEAnRMEh6KiUvQAJpH0/siteMetadata.js\";const 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{breakpoints:[{hash:\"26f79s\",mediaQuery:\"(min-width: 1440px)\"},{hash:\"1i8sj68\",mediaQuery:\"(min-width: 1280px) and (max-width: 1439px)\"},{hash:\"1q862e9\",mediaQuery:\"(min-width: 810px) and (max-width: 1279px)\"},{hash:\"cvh5vi\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:'<script>\\n(function () {\\n\\n  /* 1 \u2014 helper: run logic only on the two diploma slugs */\\n  function onDiplomaPage () {\\n    const p = window.location.pathname;\\n    return (\\n      p === \"/postgraduate-diploma-in-data-science\" ||\\n      p === \"/za/postgraduate-diploma-in-data-science\"\\n    );\\n  }\\n\\n  /* 2 \u2014 redirect routine */\\n  function handleRedirect () {\\n    if (!onDiplomaPage()) return;                         // skip home/other pages\\n    if (window.location.hostname.includes(\"framer\")) return;\\n\\n    if (window.location.hash) {                          // keep deep-link scrolls\\n      console.log(\"\u274C Hash present, skipping redirect\");\\n      return;\\n    }\\n\\n    setTimeout(() => {\\n      const allowedUrls = {\\n        za  : \"https://www.datascienceinstitute.net/za/postgraduate-diploma-in-data-science\",\\n        intl: \"https://www.datascienceinstitute.net/postgraduate-diploma-in-data-science\",\\n      };\\n\\n      /* full ISO-2 list of African countries (54) */\\n      const africa = {\\n        dz:\"Algeria\", eg:\"Egypt\", ly:\"Libya\", ma:\"Morocco\", sd:\"Sudan\", tn:\"Tunisia\",\\n        bj:\"Benin\",   bf:\"Burkina Faso\", cv:\"Cabo Verde\", gm:\"Gambia\", gh:\"Ghana\",\\n        gn:\"Guinea\",  gw:\"Guinea-Bissau\", ci:\"C\\xf4te d\u2019Ivoire\", lr:\"Liberia\", ml:\"Mali\",\\n        mr:\"Mauritania\", ne:\"Niger\", ng:\"Nigeria\", sn:\"Senegal\", sl:\"Sierra Leone\", tg:\"Togo\",\\n        bi:\"Burundi\", cm:\"Cameroon\", cf:\"Central African Republic\", td:\"Chad\",\\n        cg:\"Republic of the Congo\", cd:\"DR Congo\", gq:\"Equatorial Guinea\", ga:\"Gabon\",\\n        st:\"S\\xe3o Tom\\xe9 & Pr\\xedncipe\",\\n        ao:\"Angola\", bw:\"Botswana\", sz:\"Eswatini\", ls:\"Lesotho\", na:\"Namibia\",\\n        mw:\"Malawi\", mz:\"Mozambique\", za:\"South Africa\", zm:\"Zambia\", zw:\"Zimbabwe\",\\n        ke:\"Kenya\", et:\"Ethiopia\", dj:\"Djibouti\", er:\"Eritrea\", so:\"Somalia\",\\n        ss:\"South Sudan\", tz:\"Tanzania\", ug:\"Uganda\", rw:\"Rwanda\",\\n        km:\"Comoros\", mg:\"Madagascar\", mu:\"Mauritius\", sc:\"Seychelles\"\\n      };\\n\\n      fetch(\"https://ipapi.co/json/\")\\n        .then(r => r.json())\\n        .then(d => {\\n          const code = (d.country_code || \"\").toLowerCase();\\n          const target = africa.hasOwnProperty(code) ? allowedUrls.za : allowedUrls.intl;\\n\\n          if (window.location.href !== target) {\\n            console.log(`\uD83C\uDF0D User from ${d.country_name}, redirecting to: ${target}`);\\n            window.location.replace(target);\\n          } else {\\n            console.log(\"\u2705 Already on correct page.\");\\n          }\\n        })\\n        .catch(err => {\\n          console.error(\"\uD83C\uDF10 Geo-IP lookup failed:\", err);\\n          if (window.location.href !== allowedUrls.intl) {\\n            window.location.replace(allowedUrls.intl);\\n          }\\n        });\\n\\n    }, 100);   // tiny delay for Framer runtime\\n  }\\n\\n  /* 3 \u2014 first run after initial load */\\n  handleRedirect();\\n\\n  /* 4 \u2014 patch both pushState & replaceState so SPA nav calls the same logic */\\n  const origPush    = history.pushState;\\n  const origReplace = history.replaceState;\\n\\n  history.pushState = function () {\\n    origPush.apply(history, arguments);\\n    handleRedirect();               // menu link with pushState\\n  };\\n\\n  history.replaceState = function () {\\n    origReplace.apply(history, arguments);\\n    handleRedirect();               // menu link with replaceState\\n  };\\n\\n  /* 5 \u2014 re-run on browser back/forward */\\n  window.addEventListener(\"popstate\", handleRedirect);\\n\\n})();\\n</script>\\n',customHTMLHeadEnd:'<link rel=\"canonical\" href=\"https://www.datascienceinstitute.net/\">\\n\\n<script type=\"application/ld+json\">\\n{\\n  \"@context\": \"https://schema.org\",\\n  \"@graph\": [\\n    {\\n      \"@type\": \"Organization\",\\n      \"@id\": \"https://www.datascienceinstitute.net/#organization\",\\n      \"name\": \"Data Science Institute\",\\n      \"url\": \"https://www.datascienceinstitute.net/\",\\n      \"logo\": {\\n        \"@type\": \"ImageObject\",\\n        \"url\": \"https://www.datascienceinstitute.net/logo.png\",\\n        \"width\": 300,\\n        \"height\": 60\\n      },\\n      \"sameAs\": [\\n        \"https://www.linkedin.com/company/your-linkedin\",\\n        \"https://twitter.com/your-twitter\",\\n        \"https://www.facebook.com/your-facebook\"\\n      ]\\n    },\\n    {\\n      \"@type\": \"WebPage\",\\n      \"@id\": \"https://www.datascienceinstitute.net/#webpage\",\\n      \"url\": \"https://www.datascienceinstitute.net/\",\\n      \"name\": \"Data Science Training & Certification Programs | Data Science Institute\",\\n      \"description\": \"Professional data science certifications and training programs including CPDA, CPDS, and advanced analytics credentials.\",\\n      \"publisher\": {\\n        \"@id\": \"https://www.datascienceinstitute.net/#organization\"\\n      }\\n    },\\n    {\\n      \"@type\": \"EducationalOccupationalCredential\",\\n      \"name\": \"Certified Professional Data Analyst (CPDA)\",\\n      \"description\": \"Professional certification in core data analytics skills.\",\\n      \"credentialCategory\": \"Professional Certification\",\\n      \"timeRequired\": \"P1M\",\\n      \"url\": \"https://www.datascienceinstitute.net/certified-data-analyst\",\\n      \"provider\": {\\n        \"@id\": \"https://www.datascienceinstitute.net/#organization\"\\n      }\\n    },\\n    {\\n      \"@type\": \"EducationalOccupationalCredential\",\\n      \"name\": \"Certified Professional Data Scientist (CPDS)\",\\n      \"description\": \"Advanced certification in machine learning and AI techniques.\",\\n      \"credentialCategory\": \"Professional Certification\",\\n      \"timeRequired\": \"P2M\",\\n      \"url\": \"https://www.datascienceinstitute.net/certified-professional-data-scientist\",\\n      \"provider\": {\\n        \"@id\": \"https://www.datascienceinstitute.net/#organization\"\\n      }\\n    },\\n    {\\n      \"@type\": \"Course\",\\n      \"name\": \"Data Science Bootcamp\",\\n      \"description\": \"Comprehensive training program covering all aspects of data science.\",\\n      \"provider\": {\\n        \"@id\": \"https://www.datascienceinstitute.net/#organization\"\\n      },\\n      \"offers\": {\\n        \"@type\": \"Offer\",\\n        \"price\": \"1200\",\\n        \"priceCurrency\": \"EUR\",\\n        \"availability\": \"https://schema.org/InStock\",\\n        \"category\": \"Professional Certificate\"\\n      }\\n    }\\n  ]\\n}\\n</script>\\n',description:siteMetadata(params,activeLocale).description,elements:{E5gAdsPzp:\"academic\",gJAZjsXvP:\"home\",l9gwmu06r:\"logo\"},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-h2x18\",title:\"Data Science Institute Accredited AI & Data Science Courses\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "yCACoV,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,qBAAqB,EAAE,CAAC,KAAK,UAAU,WAAW,6CAA6C,EAAE,CAAC,KAAK,UAAU,WAAW,4CAA4C,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