{"version":3,"file":"main.Di2pS7.js","sources":["theme-13/virtual:theme","theme-13/discourse/helpers/ms.js","theme-13/discourse/connectors/below-site-header/hero.gjs","theme-13/virtual:entrypoint:main"],"sourcesContent":["import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(13);\n\nexport function themePrefix(key) {\n  return `theme_translations.13.${key}`;\n}\n","import { trustHTML } from \"@ember/template\";\n\nexport default function ms(icon, args) {\n  const { fill = null, weight = null, grade = null, size = null } = args || {};\n\n  let styles = [];\n\n  if (fill !== null) {\n    styles.push(`'FILL' ${fill}`);\n  }\n  if (weight !== null) {\n    styles.push(`'wght' ${weight}`);\n  }\n  if (grade !== null) {\n    styles.push(`'GRAD' ${grade}`);\n  }\n  if (size !== null) {\n    styles.push(`'opsz' ${size}`);\n  }\n\n  let styleAttribute = \"\";\n  if (styles.length > 0) {\n    styleAttribute = `style=\"font-variation-settings: ${styles.join(\", \")};\"`;\n  }\n\n  return trustHTML(\n    `<i class=\"material-symbols-outlined\" ${styleAttribute}>${icon}</i>`\n  );\n}\n","import { i18n } from \"discourse-i18n\";\nimport ms from \"../../helpers/ms\";\n\nconst HeroConnector = <template>\n  <div class=\"below-site-header-outlet hero\">\n    <div class=\"wrap\">\n      <h1>\n        {{i18n (themePrefix \"homepage.title\")}}\n      </h1>\n\n      <div class=\"hero-links\">\n        <a href=\"/faq\">\n          <span class=\"label\">\n            {{i18n (themePrefix \"homepage.faq_label\")}}\n          </span>\n          {{ms \"arrow_forward\"}}\n        </a>\n        <a href=\"/tags\">\n          <span class=\"label\">\n            {{i18n (themePrefix \"homepage.tags_label\")}}\n          </span>\n          {{ms \"arrow_forward\"}}\n        </a>\n      </div>\n    </div>\n  </div>\n</template>;\n\nexport default HeroConnector;\n","import * as Mod1 from \"./discourse/connectors/below-site-header/hero.gjs\";\nimport * as Mod2 from \"./discourse/helpers/ms\";\nconst compatModules = {\n  \"discourse/connectors/below-site-header/hero\": Mod1,\n  \"discourse/helpers/ms\": Mod2,\n};\nexport { compatModules };\nexport default compatModules;\n"],"names":["themePrefix","key","ms","icon","args","fill","weight","grade","size","styles","push","styleAttribute","length","join","trustHTML","getObjectForTheme","HeroConnector","setComponentTemplate","createTemplateFactory","id","block","moduleName","scope","i18n","isStrictMode","templateOnly","compatModules","Mod2"],"mappings":";AAIO,SAASA,EAAYC,GAC1B,MAAO,yBAAyBA,GAClC,CCJe,SAASC,EAAGC,EAAMC,GAC/B,MAAMC,KAAEA,EAAO,KAAIC,OAAEA,EAAS,KAAIC,MAAEA,EAAQ,KAAIC,KAAEA,EAAO,MAASJ,GAAQ,CAAA;AAE1E,IAAIK,EAAS;AAEA,OAATJ,GACFI,EAAOC,KAAK,UAAUL,KAET,OAAXC,GACFG,EAAOC,KAAK,UAAUJ,KAEV,OAAVC,GACFE,EAAOC,KAAK,UAAUH,KAEX,OAATC,GACFC,EAAOC,KAAK,UAAUF;AAGxB,IAAIG,EAAiB;AAKrB,OAJIF,EAAOG,OAAS,IAClBD,EAAiB,mCAAmCF,EAAOI,KAAK,WAG3DC,EACL,wCAAwCH,KAAkBR,QAE9D,CD1BwBY,EAAkB;;AEC1C,MAAMC,EAAAC,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,o2BAAAC,WAAA,4BAAAC,MAAAA,KAAAA,CAAAC,OAAAvB,cAAAE,OAAAsB,cAAA,IAAAC;ACDD,MAACC,EAAgB,CACpB,wFACA,uBAAwBC;"}