Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/loc/dist/ |
Upload File : |
this.BX = this.BX || {}; (function (exports,main_core,landing_env) { 'use strict'; var pageTypeAlias = { GROUP: 'KNOWLEDGE' }; /** * @memberOf BX.Landing */ var Loc = /*#__PURE__*/function (_MainLoc) { babelHelpers.inherits(Loc, _MainLoc); function Loc() { babelHelpers.classCallCheck(this, Loc); return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Loc).apply(this, arguments)); } babelHelpers.createClass(Loc, null, [{ key: "getMessage", value: function getMessage(key) { var types = function () { var type = landing_env.Env.getInstance().getType(); var specialType = landing_env.Env.getInstance().getSpecialType() || ''; return { type: pageTypeAlias[type] || type, specialType: specialType.toUpperCase() }; }(); if (types) { if (types.specialType.length > 0) { var specialTypeMessageKey = "".concat(key, "__").concat(types.specialType); if (main_core.Type.isString(BX.message[specialTypeMessageKey])) { return main_core.Loc.getMessage(specialTypeMessageKey); } } var typedMessageKey = "".concat(key, "__").concat(types.type); if (main_core.Type.isString(BX.message[typedMessageKey])) { return main_core.Loc.getMessage(typedMessageKey); } } return main_core.Loc.getMessage(key); } }]); return Loc; }(main_core.Loc); exports.Loc = Loc; }((this.BX.Landing = this.BX.Landing || {}),BX,BX.Landing)); //# sourceMappingURL=loc.bundle.js.map