{"version":3,"file":"q9B1aU67f.Bk59LEgr.mjs","names":[],"sources":["https:/framerusercontent.com/modules/hLkBYrRWVjTODSJkdc8M/05kVuvB8y6yGs0MmEk9d/q9B1aU67f.js"],"sourcesContent":["// Generated by Framer (aabb2d2)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"bk3sk5\",mediaQuery:\"(min-width: 1900px)\"},{hash:\"ldesw\",mediaQuery:\"(min-width: 1200px) and (max-width: 1899.98px)\"},{hash:\"12ydli2\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"gx1131\",mediaQuery:\"(max-width: 809.98px)\"}],customHTMLHeadEnd:'<script>\\ndocument.addEventListener(\"DOMContentLoaded\", async () => {\\n  try {\\n    // 1. Fetch location data from your worker\\n    const res = await fetch(\"https://website-live-status-worker.emaps.workers.dev/\");\\n    const data = await res.json();\\n\\n    // 2. Extract zoneKey from the worker response\\n    let zoneKey = data.zoneKey;\\n\\n    // 3. Convert sub-zones to country-level zones (e.g., DK-DK2 → DK)\\n    if (zoneKey && zoneKey.includes(\"-\")) {\\n      zoneKey = zoneKey.split(\"-\")[0];\\n    }\\n\\n    // 4. Redirect to the correct zone on the Electricity Maps app\\n    if (zoneKey) {\\n      window.location.href =\\n        `https://app.electricitymaps.com/map/zone/${zoneKey}?utm_source=nfc_worker_zone`;\\n      return;\\n    }\\n\\n    // 5. Fallback if no zoneKey was returned\\n    window.location.href =\\n      \"https://app.electricitymaps.com/map/live/fifteen_minutes?utm_source=nfc_no_zone\";\\n\\n  } catch (e) {\\n    // 6. Fallback on unexpected errors\\n    window.location.href =\\n      \"https://app.electricitymaps.com/map/live/fifteen_minutes?utm_source=nfc_error\";\\n  }\\n});\\n</script>',description:\"Our mission is to decarbonise electricity by building the world’s most comprehensive, granular and useful electricity data platform.\",elements:{rmTamFwEl:\"platform-pricing\",VxsddNshv:\"hero\"},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-veEJg\",title:\"We’re on a mission to power decarbonization through data.\",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":"oDACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,sBAAsB,CAAC,CAAC,KAAK,QAAQ,WAAW,iDAAiD,CAAC,CAAC,KAAK,UAAU,WAAW,gDAAgD,CAAC,CAAC,KAAK,SAAS,WAAW,wBAAwB,CAAC,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA8kC,YAAY,uIAAuI,SAAS,CAAC,UAAU,mBAAmB,UAAU,OAAO,CAAC,aAAa,CAAC,MAAM,GAAK,CAAC,OAAO,0BAA0B,gBAAgB,eAAe,MAAM,4DAA4D,SAAS,qBAAqB,mBAAe,EAAgB,EAC9zD,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,gBAAkB,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA"}