(function ymapsInit(e){var n=this,t={ns:{},supports:{},env:e},r=.01;t.performance=function(e){function n(){E=E||setTimeout(t,_)}function t(){clearTimeout(E),E=null;var e=r();if(e){var t=s+"/vars="+e+"/*";if(!a||!navigator.sendBeacon(o,t)){var i=new Image,u=(new Date).getTime()+Math.round(100*Math.random());i.src=o+"/rnd="+u+t}n()}}function r(){var e=[];return i(e,v),i(e,p),e.join(",")}function i(e,n){for(var t in n)if(n.hasOwnProperty(t)&&n[t].length&&(e.push(t+"="+n[t].shift()),e.length>=g))return}var o,s,a,u,c={exports:{}},l=(c.exports,window.performance||Object.create(null)),d=l.now?l.now.bind(l):function(){return Date.now()},f=l.getEntriesByType?function(e){return l.getEntriesByType("resource").filter(function(n){return n.name===e})[0]}:function(){},p={},v={},h={initjs:"i",mapjs:"m",combine_s:"cs",combine_m:"cm",combine_l:"cl"},m={eval:"e",duration:"d",cached:"c",encodedSize:"esz",decodedSize:"dsz",responseDuration:"res",requestDuration:"req"},y={statistics:{combine:{total:0,size:0,modules:0}},initTimings:{},now:d,getResourceTimings:function(e){return f(e)||{}},init:function(e){o=e.url,s="/pid=443/cid=73188/dtype=stred"+e.data,a=Boolean(e.useSendBeacon&&navigator.sendBeacon),u=e.enable,y.initTimings=y.getResourceTimings(e.initUrl),y.saveResourceTimings("initjs",y.initTimings,{size:!1,cached:!1})},saveMeasure:function(e,t){if(u){var r=/^@/.test(e);if(r){var i=e.replace(/^@/,"").split(".");e=(h[i[0]]||i[0])+"."+(m[i[1]]||i[1])}if(t=Math.round(t),!isNaN(t)){var o=r?p:v;o[e]=o[e]||[],o[e].push(t),n()}}},startMeasure:function(e,n){n="undefined"==typeof n?d():n;var t=!1;return{finish:function(r){t||(r="undefined"==typeof r?d():r,y.saveMeasure(e,r-n),t=!0)}}},saveResourceTimings:function(e,n,t){var r="object"==typeof n?n:f(n);if(r&&(t=t||{},e=e.replace(/^@?/,"@"),this.saveMeasure(e+".duration",r.duration),r.responseStart)){var i=0===r.transferSize?1:0;this.saveMeasure(e+".responseDuration",r.responseEnd-r.responseStart),this.saveMeasure(e+".requestDuration",r.responseStart-r.requestStart),t.cached!==!1&&this.saveMeasure(e+".cached",i),t.size===!1||i||(this.saveMeasure(e+".encodedSize",r.encodedBodySize/1024),this.saveMeasure(e+".decodedSize",r.decodedBodySize/1024))}}},g=40,_=5e3,E=null;return window.addEventListener("beforeunload",function(){y.saveMeasure("combine.total",y.statistics.combine.total),y.saveMeasure("combine.modules",y.statistics.combine.modules),y.saveMeasure("combine.size",y.statistics.combine.size/1024),t()}),c.exports=y,c.exports}();var i=t.performance.startMeasure("@initjs.eval");t.count=function(e){function n(){r.push(arguments)}var t={exports:{}},r=(t.exports,[]),i=null,o=function(){(i||n).apply(null,arguments)};return o.provideImplementation=function(e){if(i)throw new Error("ym.count: implementation was already provided.");i=e(r)},t.exports=o,t.exports}(),t.vow=t.ns.vow=function(e){var t,r={exports:{}};r.exports;return function(e){var n,i=function(){var n=[],t=function(e){return n.push(e),1===n.length},r=function(){var e=n,t=0,r=n.length;for(n=[];t1?function(e){t.isResolved()||t._reject(e)}:n,r>2?function(e){t.isResolved()||t._notify(e)}:n)}};m.prototype={valueOf:function(){return this._value},isResolved:function(){return this._status!==h.PENDING},isFulfilled:function(){return this._status===h.FULFILLED},isRejected:function(){return this._status===h.REJECTED},then:function(e,n,t,r){var i=new v;return this._addCallbacks(i,e,n,t,r),i.promise()},"catch":function(e,t){return this.then(n,e,t)},fail:function(e,t){return this.then(n,e,t)},always:function(e,n){var t=this,r=function(){return e.call(this,t)};return this.then(r,r,n)},progress:function(e,t){return this.then(n,n,e,t)},spread:function(e,n,t){return this.then(function(n){return e.apply(this,n)},n,t)},done:function(e,n,t,r){this.then(e,n,t,r).fail(o)},delay:function(e){var n,t=this.then(function(t){var r=new v;return n=setTimeout(function(){r.resolve(t)},e),r.promise()});return t.always(function(){clearTimeout(n)}),t},timeout:function(e){var n=new v,t=setTimeout(function(){n.reject(new _.TimedOutError("timed out"))},e);return this.then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise().always(function(){clearTimeout(t)}),n.promise()},_vow:!0,_resolve:function(e){if(!(this._status>h.RESOLVED)){if(e===this)return void this._reject(TypeError("Can't resolve promise with itself"));if(this._status=h.RESOLVED,e&&e._vow)return void(e.isFulfilled()?this._fulfill(e.valueOf()):e.isRejected()?this._reject(e.valueOf()):e.then(this._fulfill,this._reject,this._notify,this));if(a(e)||s(e)){var n;try{n=e.then}catch(t){return void this._reject(t)}if(s(n)){var r=this,i=!1;try{n.call(e,function(e){i||(i=!0,r._resolve(e))},function(e){i||(i=!0,r._reject(e))},function(e){r._notify(e)})}catch(t){i||this._reject(t)}return}}this._fulfill(e)}},_fulfill:function(e){this._status>h.RESOLVED||(this._status=h.FULFILLED,this._value=e,this._callCallbacks(this._fulfilledCallbacks,e),this._fulfilledCallbacks=this._rejectedCallbacks=this._progressCallbacks=n)},_reject:function(e){this._status>h.RESOLVED||(this._status=h.REJECTED,this._value=e,this._callCallbacks(this._rejectedCallbacks,e),this._fulfilledCallbacks=this._rejectedCallbacks=this._progressCallbacks=n)},_notify:function(e){this._callCallbacks(this._progressCallbacks,e)},_addCallbacks:function(e,t,r,i,o){r&&!s(r)?(o=r,r=n):i&&!s(i)&&(o=i,i=n);var a;this.isRejected()||(a={defer:e,fn:s(t)?t:n,ctx:o},this.isFulfilled()?this._callCallbacks([a],this._value):this._fulfilledCallbacks.push(a)),this.isFulfilled()||(a={defer:e,fn:r,ctx:o},this.isRejected()?this._callCallbacks([a],this._value):this._rejectedCallbacks.push(a)),this._status<=h.RESOLVED&&this._progressCallbacks.push({defer:e,fn:i,ctx:o})},_callCallbacks:function(e,n){var t=e.length;if(t){var r=this.isResolved(),o=this.isFulfilled(),s=this.isRejected();i(function(){for(var i,a,u,c=0;c6.1||"IEMobile"==e.name&&e.engineVersion>=6;n?e.eventMapper="pointer":e.eventMapper="touchMouse",e.androidBrokenBuild="AndroidBrowser"==e.name&&"534.30"==e.engineVersion;var r=window.devicePixelRatio||screen.deviceXDPI&&screen.deviceXDPI/96||1,i="iOS"===e.osFamily||"Safari"===e.name||"WebKit"===e.engine&&"Safari"===e.base;"MSIE"==e.name||"IEMobile"==e.name||"Android"==e.osFamily&&"Gecko"==e.engine||i||r>1&&r<2?e.graphicsRenderEngine="svg":e.graphicsRenderEngine="canvas",e.transformTransition="Android"==e.osFamily||"iOS"==e.osFamily||"MSIE"==e.name||e.isChromium,e.css3DTransform="WebKit"==e.engine&&!("Android"==e.osFamily&&parseFloat(e.osVersion)<3)||"Gecko"==e.engine&&parseInt(e.engineVersion.split(".")[0])>=10,e.unsupported="OperaMini"==e.name}();var s=function(e){function n(n){return e[n]}function t(e){this._config=e,this._sandbox=this._config.createSandbox(this),this._definitionsByName=Object.create(null),this._definitionsByStorage=Object.create(null),this._remoteLoadingAllowed=d.defer(),this._initialized=this._remoteLoadingAllowed.promise().then(function(){return this._loadBundle(this._config.initialBudleName)},this)}function r(e,n,t,r,i,o,s,a,u){this.state=e,this.alias=null,this.name=n,this.storage=t,this.key=r,this.depends=i,this.dynamicDepends=a,this.declaration=o,this.context=s,this.exports=e===m.DEFINED?u:void 0,this.resolvingPromise=void 0,this.fetchingDeferred=void 0}function i(e,n){if(!e.dynamicDepends)return h;var t=[];for(var r in e.dynamicDepends)if(p.call(e.dynamicDepends,r))for(var i=0,o=n.length;i=m.DECLARED)return;return t.state!==m.FETCHING&&n(),t.state=m.DECLARED,t.declaration=e.declaration,t.context=e.context,t.storage=e.storage,t.key=e.key,e.depends&&("function"==typeof e.depends&&(e.depends=e.depends.call({name:e.name},this._config.dependenciesContext)),t.depends=e.depends),t.dynamicDepends=e.dynamicDepends,void(t.exports=e.exports)}"function"==typeof e.depends&&(e.depends=e.depends.call({name:e.name},this._config.dependenciesContext)),e.depends=e.depends||h,this._definitionsByName[e.name]=e,this._saveDefinitionToStorage(e)},t.prototype._resolve=function(e,n){if(!e.dynamicDepends){if(e.state===m.DEFINED)return d.resolve(e.exports);if(e.state===m.ERROR)return d.reject(e.exports)}e.state=m.DECLARED?d.resolve():this._loadFullBundle()},t.prototype._loadFullBundle=function(){if(!this._fullBundlePromise){for(var e in this._definitionsByName)this._definitionsByName[e].state===m.MENTIONED&&(this._definitionsByName[e].state=m.FETCHING);this._fullBundlePromise=this._loadBundle("full")}return this._fullBundlePromise},t.prototype._loadBundle=function(e){return this._config.fetchBundle(e).then(function(e){function n(){return d.delay().then(function(){var e=i.splice(0,o);if(e.forEach(function(e){e(t)}),i.length>0)return n()})}e.missingModules.forEach(function(e){var n=new r(m.MENTIONED,e,(void 0),(void 0),[],null,null,(void 0));this._definitionsByName[e]=n},this);var t=this._sandbox,i=e.modules,o=400;return n()},this)["catch"](function(n){throw console.error('ymaps: Failed to bundle "'+e+'".'+(n?n.stack||n.message||"":"")),n})},t.prototype._loadModulesMap=function(){return this._config.fetchMap().spread(function(e,n){this._processLoadedMap(e),n()},this)},l.exports}({vow:t.vow,"./ym.utils":t.utils}),a=t.env.server.url+"/"+t.env.server.path.replace(/\/$/,"")+"/images/";t.modules=new s({dependenciesContext:t,initialBudleName:t.env.preload.bundle,fetchBundle:function(e){var r=("__ymaps_"+t.env.namespace+"_"+Date.now()).replace(/\W/g,"_");n[r]=t.ns;var i=document.createElement("script");i.src=t.env.bundles.BASE+t.env.bundles[e],i.setAttribute("data-ymaps-api-ns",r),i.setAttribute("data-ymaps-api-version","2.1.78"),i.async=!0;var o=t.vow.defer();return i.onerror=o.reject.bind(o),t.ns.__provideBundle=o.resolve.bind(o),document.head.appendChild(i),o.promise().always(function(e){return delete n[r],e})},createSandbox:function(e){var n=Object.create(e);return n.importImages=function(e){return{get:function(n){return a+e[n].src}}},t.utils.extend({},t,{modules:n})}}),t.ns.load=function(e,n,r,i){return"function"==typeof e?n?t.ns.ready(["package.full"],e,n):t.ns.ready(["package.full"],e):("string"==typeof e&&(e=[e]),t.ns.ready.apply(this,arguments))},function(){function e(e){return function(){console.warn("{NS}.modules.{FN} is not a public API and will be removed from {NS}.modules.".replace(/\{NS\}/g,t.env.namespace).replace(/\{FN\}/g,e));var n=t.modules[e].apply(t.modules,arguments);return n===t.modules?t.ns.modules:n}}t.ns.modules={require:function(){return t.modules.require.apply(t.modules,arguments)},isDefined:function(){return t.modules.isDefined.apply(t.modules,arguments)},requireSync:function(){return t.modules.requireSync.apply(t.modules,arguments)},define:function(e,n,r,i){return t.modules.define.apply(t.modules,arguments),t.ns.modules},defineSync:e("defineSync"),getDefinition:e("getDefinition"),getState:e("getState"),setOptions:e("setOptions"),flush:e("flush"),nextTick:e("nextTick"),watchResolving:e("watchResolving"),__modules:t.modules}}(),function(e){function n(){l&&(t.performance.saveMeasure("ymaps.readyDelay",t.performance.now()-t.performance.initTimings.responseEnd),l=!1);var e=t.performance.startMeasure("ymaps.ready"),n={};arguments.length&&(1!=arguments.length||"object"!=typeof arguments[0]||arguments[0].length?"function"!=typeof arguments[0]?(n.require="string"==typeof arguments[0]?[arguments[0]]:arguments[0],n.successCallback=arguments[1],n.errorCallback=arguments[2]&&"function"==typeof arguments[2]?arguments[2]:null,n.context=arguments[2]&&"object"==typeof arguments[2]?arguments[2]:arguments[3]):(n.successCallback=arguments[0],n.errorCallback=arguments[1]&&"function"==typeof arguments[1]?arguments[1]:null,n.context=arguments[1]&&"object"==typeof arguments[1]?arguments[1]:arguments[2]):n=arguments[0]);var r=n.require||[],i=o.all([t.modules.require(r),u,c]).spread(function(n){return t.utils.registerImports(t.ns,r,n),e.finish(),t.ns});return i.then(n.successCallback&&function(e){setTimeout(n.successCallback.bind(n.context),0,e)},n.errorCallback&&function(e){setTimeout(n.errorCallback.bind(n.context),0,e)}),i}function r(n,t){if(n){var r=i(e,n);r&&setTimeout(function(){r.method.call(r.context,t)})}}function i(e,n){var t=e;n=n.split(".");for(var r=0,i=n.length-1;r