Your IP : 18.191.233.251


Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/landing/loc/dist/
Upload File :
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/landing/loc/dist/loc.bundle.js.map

{"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 pageType = (() => {\n\t\t\tconst type = Env.getInstance().getType();\n\t\t\treturn pageTypeAlias[type] || type;\n\t\t})();\n\n\t\tif (pageType)\n\t\t{\n\t\t\tconst typedMessageKey = `${key}__${pageType}`;\n\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","pageType","type","Env","getInstance","getType","typedMessageKey","Type","isString","BX","message","MainLoc","getMessage"],"mappings":";;;;CAGA,IAAMA,aAAa,GAAG;CACrBC,EAAAA,KAAK,EAAE;CADc,CAAtB;CAIA;;;;AAGA,KAAaC,GAAb;CAAA;;CAAA;CAAA;CAAA;CAAA;;CAAA;CAAA;CAAA,+BAEmBC,GAFnB,EAGC;CACC,UAAMC,QAAQ,GAAI,YAAM;CACvB,YAAMC,IAAI,GAAGC,eAAG,CAACC,WAAJ,GAAkBC,OAAlB,EAAb;CACA,eAAOR,aAAa,CAACK,IAAD,CAAb,IAAuBA,IAA9B;CACA,OAHgB,EAAjB;;CAKA,UAAID,QAAJ,EACA;CACC,YAAMK,eAAe,aAAMN,GAAN,eAAcC,QAAd,CAArB;;CAEA,YAAIM,cAAI,CAACC,QAAL,CAAcC,EAAE,CAACC,OAAH,CAAWJ,eAAX,CAAd,CAAJ,EACA;CACC,iBAAOK,aAAO,CAACC,UAAR,CAAmBN,eAAnB,CAAP;CACA;CACD;;CAED,aAAOK,aAAO,CAACC,UAAR,CAAmBZ,GAAnB,CAAP;CACA;CApBF;CAAA;CAAA,EAAyBW,aAAzB;;;;;;;;"}