Your IP : 3.16.78.190


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

this.BX=this.BX||{};(function(e,t){"use strict";var n={params:{type:"EXTERNAL"}};function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);if(t)r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}));n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};if(t%2){r(Object(n),true).forEach((function(t){babelHelpers.defineProperty(e,t,n[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(n))}else{r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}return e}var s=Symbol("options");var a=function(){babelHelpers.createClass(e,null,[{key:"getInstance",value:function t(){return e.instance||e.createInstance()}},{key:"createInstance",value:function n(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};e.instance=new e(r);var i=t.Reflection.getClass("parent.BX.Landing.Env");if(i){i.instance=e.instance}return e.instance}}]);function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};babelHelpers.classCallCheck(this,e);this[s]=Object.seal(t.Runtime.merge(n,r))}babelHelpers.createClass(e,[{key:"getOptions",value:function e(){return i({},this[s])}},{key:"setOptions",value:function e(n){this[s]=t.Runtime.merge(this[s],n)}},{key:"getType",value:function e(){return this.getOptions().params.type}},{key:"getSiteId",value:function e(){return this.getOptions().site_id||-1}},{key:"getLandingEditorUrl",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var n=this.getOptions();var r=n.params.sef_url.landing_view;var i=t.site?t.site:n.site_id;return r.replace("#site_show#",i).replace("#landing_edit#",t.landing)}}]);return e}();babelHelpers.defineProperty(a,"instance",null);e.Env=a})(this.BX.Landing=this.BX.Landing||{},BX);
//# sourceMappingURL=env.bundle.map.js