{"version":3,"file":"virtual_main.js","sources":["theme-14/virtual:init-settings","theme-14/virtual:theme","theme-14/discourse/api-initializers/init-custom-hamburger-links.js","theme-14/virtual:main"],"sourcesContent":["import { registerSettings } from \"discourse/lib/theme-settings-store\";\n\nregisterSettings(14, {\n  \"Hamburger_links\": \"VH Support,https://voyeur-house.tv/support,f,blank|News,https://voyeur-house.tv/news/,g,blank|Earn Money (VHTV Affiliate),https://voyeur-house.tv/affiliate,g,blank\"\n});\n","import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(14);\n\nexport function themePrefix(key) {\n  return `theme_translations.14.${key}`;\n}\n","import { apiInitializer } from \"discourse/lib/api\";\n\nexport default apiInitializer(\"0.8.18\", (api) => {\n  (settings.Hamburger_links || \"\").split(\"|\").forEach((link, index) => {\n    let [rawLabel, href] = (link || \"\").split(\",\");\n\n    api.addCommunitySectionLink((baseSectionLink) => {\n      return class CustomSectionLink extends baseSectionLink {\n        name = `custom-link-${index + 1}`;\n        href = href;\n        route = \"\";\n        text = rawLabel;\n        title = rawLabel;\n      };\n    }, false);\n  });\n});\n","import \"virtual:init-settings\";\n\nconst themeCompatModules = {};\nimport * as Mod1 from \"./discourse/api-initializers/init-custom-hamburger-links\";\nthemeCompatModules[\"discourse/api-initializers/init-custom-hamburger-links\"] = Mod1;\n\nexport default themeCompatModules;\n"],"names":["registerSettings","Hamburger_links","settings","getObjectForTheme","initCustomHamburgerLinks","apiInitializer","api","split","forEach","link","index","rawLabel","href","addCommunitySectionLink","baseSectionLink","name","route","text","title","themeCompatModules","Mod1"],"mappings":";AAEAA,EAAiB,GAAI,CACnBC,gBAAmB;ACDd,MAAMC,EAAWC,EAAkB;ACA1C,IAAAC,EAAeC,EAAe,SAAWC,KACtCJ,EAASD,iBAAmB,IAAIM,MAAM,KAAKC,QAAQ,CAACC,EAAMC,KACzD,IAAKC,EAAUC,IAASH,GAAQ,IAAIF,MAAM;AAE1CD,EAAIO,wBAAyBC,GACpB,cAAgCA,EACrCC,KAAI,KAAG,eAAeL,EAAQ,IAA1B;AACJE,UAAOA;AACPI,MAAQ;AACRC,UAAON;AACPO,WAAQP,OAET;ACZF,MAACQ,EAAqB,CAAA;AAE3BA,EAAmB,0DAA4DC;"}