{"version":3,"file":"browser-timezone.js","sources":["../../../../frontend/js/pages/browser-timezone.js"],"sourcesContent":["try {\n  const tz = Intl.DateTimeFormat().resolvedOptions().timeZone;\n  const link = document.querySelector(\"a[data-timezone]\");\n  if (link) link.href = `?localtime=${tz}`;\n  const label = document.querySelector(\"span[data-tzname]\");\n  // NOTE: `.innerHtml` (not `.innerHTML`) in both original copies of this snippet -\n  // not a real DOM property, so this line is a silent no-op. Preserved as-is rather\n  // than fixed here since that's a behavior change, not just an extraction.\n  if (label) label.innerHtml = tz;\n} catch {\n  // Intl unsupported or resolution failed - leave the server-rendered timezone as-is.\n}\n"],"names":["tz","link","label"],"mappings":"AAAA,GAAI,CACF,MAAMA,EAAK,KAAK,eAAc,EAAG,gBAAe,EAAG,SAC7CC,EAAO,SAAS,cAAc,kBAAkB,EAClDA,IAAMA,EAAK,KAAO,cAAcD,CAAE,IACtC,MAAME,EAAQ,SAAS,cAAc,mBAAmB,EAIpDA,IAAOA,EAAM,UAAYF,EAC/B,MAAQ,CAER"}