{"version":3,"names":["window","define","_exports","Object","defineProperty","value","default","name","initialize","data","zh_CN","en","toggle_button_title","lang","cursor","I18n","translations","key"],"sourceRoot":"theme-14/","sources":["discourse/pre-initializers/theme-14-translations.js"],"sourcesContent":["if ('define' in window) {\ndefine(\"discourse/theme-14/discourse/pre-initializers/theme-14-translations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    name: \"theme-14-translations\",\n    initialize() {\n      /* Translation data for theme 14 (zh_CN)*/\n      const data = {\n        \"zh_CN\": {},\n        \"en\": {\n          \"toggle_button_title\": \"Toggle color scheme\"\n        }\n      };\n      for (let lang in data) {\n        let cursor = I18n.translations;\n        for (let key of [lang, \"js\", \"theme_translations\"]) {\n          cursor = cursor[key] = cursor[key] || {};\n        }\n        cursor[14] = data[lang];\n      }\n    }\n  };\n});\n}\n"],"mappings":"AAAI,WAAYA,QAChBC,OAAO,sEAAuE,CAAC,YAAY,SAAUC,GACnG;AAEAC,OAAOC,eAAeF,EAAU,aAAc,CAC5CG,OAAO,IAETH,EAASI,aAAU;AACJJ,EAASI,QAAU,CAChCC,KAAM,wBACN,UAAAC,GAEE,MAAMC,EAAO,CACXC,MAAS,CAAC,EACVC,GAAM,CACJC,oBAAuB;AAG3B,IAAK,IAAIC,KAAQJ,EAAM,CACrB,IAAIK,EAASC,KAAKC;AAClB,IAAK,IAAIC,IAAO,CAACJ,EAAM,KAAM,sBAC3BC,EAASA,EAAOG,GAAOH,EAAOG,IAAQ,CAAC;AAEzCH,EAAO,IAAML,EAAKI,EACpB,CACF,EAEJ"}