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 : |
{"version":3,"file":"loc.bundle.js","sources":["../src/loc.js"],"sourcesContent":["import {Type, Loc as MainLoc} from 'main.core';\nimport {Env} from 'landing.env';\n\nconst pageTypeAlias = {\n\tGROUP: 'KNOWLEDGE',\n};\n\n/**\n * @memberOf BX.Landing\n */\nexport class Loc extends MainLoc\n{\n\tstatic getMessage(key: string): string\n\t{\n\t\tconst types = (() => {\n\t\t\tconst type = Env.getInstance().getType();\n\t\t\tconst specialType = Env.getInstance().getSpecialType() || '';\n\n\t\t\treturn {\n\t\t\t\ttype: pageTypeAlias[type] || type,\n\t\t\t\tspecialType: specialType.toUpperCase(),\n\t\t\t};\n\t\t})();\n\n\t\tif (types)\n\t\t{\n\t\t\tif (types.specialType.length > 0)\n\t\t\t{\n\t\t\t\tconst specialTypeMessageKey = `${key}__${types.specialType}`;\n\t\t\t\tif (Type.isString(BX.message[specialTypeMessageKey]))\n\t\t\t\t{\n\t\t\t\t\treturn MainLoc.getMessage(specialTypeMessageKey);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst typedMessageKey = `${key}__${types.type}`;\n\t\t\tif (Type.isString(BX.message[typedMessageKey]))\n\t\t\t{\n\t\t\t\treturn MainLoc.getMessage(typedMessageKey);\n\t\t\t}\n\t\t}\n\n\t\treturn MainLoc.getMessage(key);\n\t}\n}"],"names":["pageTypeAlias","GROUP","Loc","key","types","type","Env","getInstance","getType","specialType","getSpecialType","toUpperCase","length","specialTypeMessageKey","Type","isString","BX","message","MainLoc","getMessage","typedMessageKey"],"mappings":";;;;CAGA,IAAMA,aAAa,GAAG;GACrBC,KAAK,EAAE;CACR,CAAC;;CAED;CACA;CACA;AACA,KAAaC,GAAG;GAAA;GAAA;KAAA;KAAA;;GAAA;KAAA;KAAA,2BAEGC,GAAW,EAC7B;OACC,IAAMC,KAAK,GAAI,YAAM;SACpB,IAAMC,IAAI,GAAGC,eAAG,CAACC,WAAW,EAAE,CAACC,OAAO,EAAE;SACxC,IAAMC,WAAW,GAAGH,eAAG,CAACC,WAAW,EAAE,CAACG,cAAc,EAAE,IAAI,EAAE;SAE5D,OAAO;WACNL,IAAI,EAAEL,aAAa,CAACK,IAAI,CAAC,IAAIA,IAAI;WACjCI,WAAW,EAAEA,WAAW,CAACE,WAAW;UACpC;QACD,EAAG;OAEJ,IAAIP,KAAK,EACT;SACC,IAAIA,KAAK,CAACK,WAAW,CAACG,MAAM,GAAG,CAAC,EAChC;WACC,IAAMC,qBAAqB,aAAMV,GAAG,eAAKC,KAAK,CAACK,WAAW,CAAE;WAC5D,IAAIK,cAAI,CAACC,QAAQ,CAACC,EAAE,CAACC,OAAO,CAACJ,qBAAqB,CAAC,CAAC,EACpD;aACC,OAAOK,aAAO,CAACC,UAAU,CAACN,qBAAqB,CAAC;;;SAIlD,IAAMO,eAAe,aAAMjB,GAAG,eAAKC,KAAK,CAACC,IAAI,CAAE;SAC/C,IAAIS,cAAI,CAACC,QAAQ,CAACC,EAAE,CAACC,OAAO,CAACG,eAAe,CAAC,CAAC,EAC9C;WACC,OAAOF,aAAO,CAACC,UAAU,CAACC,eAAe,CAAC;;;OAI5C,OAAOF,aAAO,CAACC,UAAU,CAAChB,GAAG,CAAC;;;GAC9B;CAAA,EAjCuBe,aAAO;;;;;;;;"}