{"version":3,"file":"main.tJMkGm.js","sources":["theme-25/virtual:theme","theme-25/discourse/api-initializers/init-theme.js","theme-25/virtual:entrypoint:main"],"sourcesContent":["import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(25);\n\nexport function themePrefix(key) {\n  return `theme_translations.25.${key}`;\n}\n","import { apiInitializer } from \"discourse/lib/api\";\n\nexport default apiInitializer((api) => {\n  // reverts the solved icon to the old solid icon\n  api.replaceIcon(\"check-square-o\", \"square-check\");\n  // add Kibana language to HighlightJS\n  // Must build highlight.js with \"node tools/build.js -t cdn\"\n  // and take the function from the minified language file (kibana.min.js in this case)\n  let kibanaLang = function () {\n    return {\n      aliases: [\"es\", \"elasticsearch\", \"elastic\"],\n      cI: !1,\n      c: [\n        {\n          bK: \"GET HEAD PUT POST DELETE PATCH\",\n          e: \"$\",\n          c: [{ cN: \"title\", b: \"/?.+\" }],\n        },\n        { b: \"^{$\", e: \"^}$\", sL: \"json\" },\n      ],\n    };\n  };\n  api.registerHighlightJSLanguage(\"kibana\", kibanaLang);\n});\n","import * as Mod1 from \"./discourse/api-initializers/init-theme\";\nconst compatModules = {\n  \"discourse/api-initializers/init-theme\": Mod1,\n};\nexport { compatModules };\nexport default compatModules;\n"],"names":["getObjectForTheme","initTheme","apiInitializer","api","replaceIcon","registerHighlightJSLanguage","aliases","cI","c","bK","e","cN","b","sL","compatModules"],"mappings":";AAEwBA,EAAkB;;ACA1C,IAAAC;oCAAeC,CAAgBC,IAE7BA,EAAIC,YAAY,iBAAkB;AAkBlCD,EAAIE,4BAA4B,SAdf,WACf,MAAO,CACLC,QAAS,CAAC,KAAM,gBAAiB,WACjCC,IAAI,EACJC,EAAG,CACD,CACEC,GAAI,iCACJC,EAAG,IACHF,EAAG,CAAC,CAAEG,GAAI,QAASC,EAAG,UAExB,CAAEA,EAAG,MAAOF,EAAG,MAAOG,GAAI,SAGhC;ACpBG,MAACC,EAAgB,CACpB;"}