{"version":3,"file":"main.BBw2CU.js","sources":["theme-194/virtual:theme","theme-194/discourse/api-initializers/sw-empty-state.js","theme-194/virtual:entrypoint:main"],"sourcesContent":["import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(194);\n\nexport function themePrefix(key) {\n  return `theme_translations.194.${key}`;\n}\n","import { apiInitializer } from \"discourse/lib/api\";\n\n// Empty topic list (Nothing new / unread): animated radar + subtitle.\nexport default apiInitializer(\"1.8.0\", () => {\n  const RADAR = '<div class=\"sw-radar\" aria-hidden=\"true\"><i class=\"r1\"></i><i class=\"r2\"></i><i class=\"r3\"></i><span class=\"sweep\"></span><span class=\"ping\"></span><span class=\"ping p2\"></span><b class=\"blip b1\"></b><b class=\"blip b2\"></b><b class=\"core\"></b></div>';\n  const SUB = \"Radar is on. Fresh listings and replies show up here the second they drop.\";\n  const run = () => {\n    document.querySelectorAll('.empty-state__container[class*=\"empty-topic-filter\"] .empty-state').forEach((es) => {\n      const img = es.querySelector(\".empty-state__image\");\n      if (img && !img.querySelector(\".sw-radar\")) img.insertAdjacentHTML(\"beforeend\", RADAR);\n      const t = es.querySelector(\".empty-state__title\");\n      if (t && !es.querySelector(\".sw-empty-sub\")) t.insertAdjacentHTML(\"afterend\", '<div class=\"sw-empty-sub\">' + SUB + \"</div>\");\n    });\n  };\n  new MutationObserver(run).observe(document.body, { childList: true, subtree: true });\n  run();\n});\n","import * as Mod1 from \"./discourse/api-initializers/sw-empty-state\";\nconst compatModules = {\n  \"discourse/api-initializers/sw-empty-state\": Mod1,\n};\nexport default compatModules;\n"],"names":["getObjectForTheme","swEmptyState","apiInitializer","run","document","querySelectorAll","forEach","es","img","querySelector","insertAdjacentHTML","t","MutationObserver","observe","body","childList","subtree","compatModules"],"mappings":";AAEwBA,EAAkB;ACC1C,IAAAC,EAAeC,EAAe,QAAS,KACrC,MAEMC,EAAMA,KACVC,SAASC,iBAAiB,qEAAqEC,QAASC,IACtG,MAAMC,EAAMD,EAAGE,cAAc;AACzBD,IAAQA,EAAIC,cAAc,cAAcD,EAAIE,mBAAmB,YALzD;AAMV,MAAMC,EAAIJ,EAAGE,cAAc;AACvBE,IAAMJ,EAAGE,cAAc,kBAAkBE,EAAED,mBAAmB,WAAY;AAGlF,IAAIE,iBAAiBT,GAAKU,QAAQT,SAASU,KAAM,CAAEC,WAAW,EAAMC,SAAS,IAC7Eb;ACdG,MAACc,EAAgB,CACpB;"}