{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ysjRxQelFNVcqHuTvtvg/s9oTHVp9sPZ0eXyacvQH/siteMetadata.js"],
  "sourcesContent": ["// Generated by Framer (013b13c)\nconst valuesByLocaleId={BvDyZYNkM:{v0:\"Gamercraft es la plataforma definitiva de deportes electr\\xf3nicos para gamers competitivos, ofrece torneos basados en habilidades con juego limpio, tecnolog\\xeda anti-trampas y premios en efectivo. \\xa1\\xdanete ahora para elevar tu experiencia de juego y competir contra los mejores!\"}};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{customHTMLHeadEnd:'<script>\\n    !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(\".\");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement(\"script\")).type=\"text/javascript\",p.async=!0,p.src=s.api_host.replace(\".i.posthog.com\",\"-assets.i.posthog.com\")+\"/static/array.js\",(r=t.getElementsByTagName(\"script\")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a=\"posthog\",u.people=u.people||[],u.toString=function(t){var e=\"posthog\";return\"posthog\"!==a&&(e+=\".\"+a),t||(e+=\" (stub)\"),e},u.people.toString=function(){return u.toString(1)+\".people (stub)\"},o=\"init push capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug\".split(\" \"),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);\\n    posthog.init(\\'phc_dJK0yWNqOdCGAOnxkmhx42jQiNOtVnVoLjPFBO7BPaK\\',{api_host:\\'https://eu.i.posthog.com\\', person_profiles: \\'identified_only\\' // or \\'always\\' to create profiles for anonymous users as well\\n        })\\n</script>',customHTMLHeadStart:\"<script>\\n  // Define supported languages and their corresponding URLs\\nconst SUPPORTED_LANGUAGES = {\\n  en: '/',\\n  es: '/es',\\n  pt: '/pt'\\n};\\n\\nfunction getBrowserLanguage() {\\n  return navigator.language || navigator.userLanguage || 'en-US';\\n}\\n\\nfunction getPreferredLanguage() {\\n  const browserLang = getBrowserLanguage().toLowerCase().split('-')[0];\\n  return SUPPORTED_LANGUAGES.hasOwnProperty(browserLang) ? browserLang : 'en';\\n}\\n\\nfunction redirectToLanguagePage() {\\n  const preferredLang = getPreferredLanguage();\\n  const currentPath = window.location.pathname;\\n\\n  // Check if we're already on a language-specific page\\n  const currentLangMatch = currentPath.match(/^\\\\/([a-z]{2})\\\\/?/);\\n  if (currentLangMatch && SUPPORTED_LANGUAGES.hasOwnProperty(currentLangMatch[1])) {\\n    return; // Already on a language-specific page, no need to redirect\\n  }\\n\\n  // Construct the new URL\\n  const newUrl = `${SUPPORTED_LANGUAGES[preferredLang]}${currentPath}`;\\n\\n  // Redirect only if the new URL is different from the current one\\n  if (newUrl !== currentPath) {\\n    window.location.href = newUrl;\\n  }\\n}\\n\\n// Run the redirect function when the page loads\\nif (document.readyState === 'complete') {\\n  redirectToLanguagePage();\\n} else {\\n  window.addEventListener('load', redirectToLanguagePage);\\n}\\n</script>\",description:getLocalizedValue(\"v0\",activeLocale)??\"Gamercraft transforms your gaming skills into real rewards. Connect your accounts, compete in tournaments or back skilled players, and monetize your performance. Join the platform where gaming skills finally pay off!\",favicon:\"https://framerusercontent.com/assets/xdely1JsDfyQs3URuJrwXDHWb4.jpg\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/1czpjgqgGXVTw9v75m5Zjyzm6w.jpg\",title:\"Gamercraft\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "AACA,IAAMA,EAAiB,CAAC,UAAU,CAAC,GAAG,8RAA8R,CAAC,EAAE,SAASC,EAAkBC,EAAIC,EAAO,CAAC,KAAMA,GAAO,CAAC,IAAMC,EAAOJ,EAAiBG,EAAO,EAAE,EAAE,GAAGC,EAAO,CAAC,IAAMC,EAAMD,EAAOF,CAAG,EAAE,GAAGG,EAAM,OAAOA,EAAOF,EAAOA,EAAO,SAAU,CAAgB,SAARG,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,kBAAkB;AAAA;AAAA;AAAA;AAAA,YAAu0D,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAqzC,YAAYP,EAAkB,KAAKO,CAAY,GAAG,2NAA2N,QAAQ,sEAAsE,OAAO,0BAA0B,YAAY,sEAAsE,MAAM,YAAY,CAAE",
  "names": ["valuesByLocaleId", "getLocalizedValue", "key", "locale", "values", "value", "metadata", "params", "activeLocale"]
}
