!function(global){var ym={project:{preload:[],namespace:"",jsonpPrefix:"",loadLimit:500},ns:{},env:{},envCallbacks:[]};!function(){var e={exports:{}},t=e.exports;!function(n){var r,o={NOT_RESOLVED:"NOT_RESOLVED",IN_RESOLVING:"IN_RESOLVING",RESOLVED:"RESOLVED"},i=function(){var e={trackCircularDependencies:!0,allowMultipleDeclarations:!0},t={},d=!1,m=[],h=function(e,n,i){i||(i=n,n=[]);var s=t[e];s||(s=t[e]={name:e,decl:r}),s.decl={name:e,prev:s.decl,fn:i,state:o.NOT_RESOLVED,deps:n,dependents:[],exports:r}},v=function(e,t,r){"string"==typeof e&&(e=[e]),d||(d=!0,p(w)),m.push({deps:e,cb:function(e,o){o?(r||s)(o):t.apply(n,e)}})},y=function(e){var n=t[e];return n?o[n.decl.state]:"NOT_DEFINED"},g=function(e){var n=t[e];return n?n.decl.deps:null},E=function(e){return!!t[e]},_=function(t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},w=function(){d=!1,b()},b=function(){var e,t=m,n=0;for(m=[];e=t[n++];)k(null,e.deps,[],e.cb)},k=function(e,n,r,o){var i=n.length;i||o([]);for(var s,u,c=[],l=function(e,t){if(t)return void o(null,t);if(!--i){for(var n,r=[],s=0;n=c[s++];)r.push(n.exports);o(r)}},f=0,p=i;f

1?function(e){t.isResolved()||t._reject(e)}:o,n>2?function(e){t.isResolved()||t._notify(e)}:o)}};g.prototype={valueOf:function(){return this._value},isResolved:function(){return this._status!==y.PENDING},isFulfilled:function(){return this._status===y.FULFILLED},isRejected:function(){return this._status===y.REJECTED},then:function(e,t,n,r){var o=new v;return this._addCallbacks(o,e,t,n,r),o.promise()},"catch":function(e,t){return this.then(o,e,t)},fail:function(e,t){return this.then(o,e,t)},always:function(e,t){var n=this,r=function(){return e.call(this,n)};return this.then(r,r,t)},progress:function(e,t){return this.then(o,o,e,t)},spread:function(e,t,n){return this.then(function(t){return e.apply(this,t)},t,n)},done:function(e,t,n,r){this.then(e,t,n,r).fail(a)},delay:function(e){var t,n=this.then(function(n){var r=new v;return t=setTimeout(function(){r.resolve(n)},e),r.promise()});return n.always(function(){clearTimeout(t)}),n},timeout:function(e){var t=new v,n=setTimeout(function(){t.reject(new w.TimedOutError("timed out"))},e);return this.then(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise().always(function(){clearTimeout(n)}),t.promise()},_vow:!0,_resolve:function(e){if(!(this._status>y.RESOLVED)){if(e===this)return void this._reject(TypeError("Can't resolve promise with itself"));if(this._status=y.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(c(e)||u(e)){var t,n=s(function(){t=e.then},function(e){this._reject(e)},this);if(!n)return;if(u(t)){var r=this,o=!1;return void s(function(){t.call(e,function(e){o||(o=!0,r._resolve(e))},function(e){o||(o=!0,r._reject(e))},function(e){r._notify(e)})},function(e){o||this._reject(e)},this)}}this._fulfill(e)}},_fulfill:function(e){this._status>y.RESOLVED||(this._status=y.FULFILLED,this._value=e,this._callCallbacks(this._fulfilledCallbacks,e),this._fulfilledCallbacks=this._rejectedCallbacks=this._progressCallbacks=o)},_reject:function(e){this._status>y.RESOLVED||(this._status=y.REJECTED,this._value=e,this._callCallbacks(this._rejectedCallbacks,e),this._fulfilledCallbacks=this._rejectedCallbacks=this._progressCallbacks=o)},_notify:function(e){this._callCallbacks(this._progressCallbacks,e)},_addCallbacks:function(e,t,n,r,i){n&&!u(n)?(i=n,n=o):r&&!u(r)&&(i=r,r=o);var s;this.isRejected()||(s={defer:e,fn:u(t)?t:o,ctx:i},this.isFulfilled()?this._callCallbacks([s],this._value):this._fulfilledCallbacks.push(s)),this.isFulfilled()||(s={defer:e,fn:n,ctx:i},this.isRejected()?this._callCallbacks([s],this._value):this._rejectedCallbacks.push(s)),this._status<=y.RESOLVED&&this._progressCallbacks.push({defer:e,fn:r,ctx:i})},_callCallbacks:function(e,t){var n=e.length;if(n){var r=this.isResolved(),o=this.isFulfilled();i(function(){for(var i,a,u,c=0;c5)continue;console.warn("Timeout: Module `"+e[n]+"` was required but is still "+t.getState(e[n])+" within "+s+" sec.")}},1e3*s)}},_createPatchedCallback:function(e){var t=this;return function(){var n=l[e],r=u.call(arguments,0),o=n.callback,s=n.context;ym.env.debug&&t.watchResolving([e]),r[0]=i._patchProvideFunction(r[0],e),o&&o.apply(s||this,r)}},_processModuleList:function(e,n,r){for(var o={list:[]},i=0,s=e.length;i0){var t=this.entry.dynamicDepends;for(var r in t){var o=t[r](e);if(i._isDepend(o)&&!i.getDefinition(o).getModuleSync(e))return n}}return this.entry.module},r.prototype.getModule=function(e){var t={modules:[this.entry.name]};return e&&(t.data=e),i.require(t)};var m="_retriever@";o.prototype.register=function(e,t){e&&"*"!=e?this._fallbacks.unshift({filter:e,func:t}):this._fallbacks.push({filter:e||"*",func:t})},o.prototype.retrieve=function(e){"string"==typeof e&&(e=[e]);for(var t=[],n=0,r=e.length;nYandex.Maps"}},fr:{"constructor-service":{move_to_map:"",removed_map:""}},ru:{"constructor-service":{move_to_map:"На большую карту",removed_map:"Карта удалена владельцем, нужные адрес или место можно найти на Яндекс.Картах"}},tr:{"constructor-service":{move_to_map:"Haritalar'da aç",removed_map:"Harita, sahibi tarafından silindi, istediğiniz adresi veya yeri Yandex.Haritalar'da bulabilirsiniz"}},uk:{"constructor-service":{move_to_map:"На велику карту",removed_map:"Карту видалено власником, потрібні адресу та місце можна знайти на Яндекс.Картах\n"}}};e(n[t.lang]&&n[t.lang]["constructor-service"])}),ym.modules.define("main",["map-data","params","cnst.current-script"],function(e,t,n,r){function o(){var e=document.createElement("ymaps");return e.setAttribute("id","ymaps"+n.tid),e.style.display="block",e.style.width=n.containerSize[0],e.style.height=n.containerSize[1],e}function i(e){for(;e;){if(e.parentNode===document.body)return!0;e=e.parentNode}return!1}function s(e){console&&console.error&&console.error(e)}return t.maps&&t.maps.length?(r?ym.modules.require(["ymaps","create-map"],function(e,t){var a,u=o();if(n.elementId){if(a=document.getElementById(n.elementId),!a)return void s("DOMElement #"+n.elementId+" not found.");a.appendChild(u)}else{if(!document.documentElement.contains(r))return void s("Script element was removed from document.");i(r)?r.parentNode.insertBefore(u,r):document.body.appendChild(u)}t(u),r.parentNode&&r.parentNode.removeChild(r)}):s("Script element was not found."),void e({})):void e()}),ym.modules.require("main",function(){}),ym.modules.define("cnst.env",function(e){e({"lang":"ru"})}),ym.modules.define("create-map",["config","params","map-data","check-size-component","ymaps","show"],function(e,t,n,r,o,i,s){var a=r.maps[0];e(function(e){function t(e,t){if(window.MutationObserver){var n=new window.MutationObserver(function(r){var o=!r.some(function(e){return 0===e.removedNodes.length});o&&!document.body.contains(t)&&(n.disconnect(),n=null,e.destroy(),e=null,t=null)});n.observe(document.body,{childList:!0,subtree:!0})}}[].indexOf(1);var u={autoFitToViewport:"always"},c=["fullscreenControl","rulerControl","routeButtonControl","searchControl","trafficControl","zoomControl","geolocationControl"];n.isEnterprise||(u.searchControlProvider="yandex#search",c.push("typeSelector"));var l=new i.Map(e,{center:a.state.center,zoom:Math.round(a.state.zoom),type:a.state.type,controls:c},u);return o(l,e),l.state.set({mapSid:n.sid,mapSourceType:n.sourceType}),n.scrollZoomBehavior||l.behaviors.disable("scrollZoom"),a.state.traffic&&a.state.traffic.shown&&l.controls.get("trafficControl").state.set("trafficShown",!0),s(l,r),t(l,e),l})});var currentScript=document.currentScript;ym.modules.define("cnst.current-script",["config"],function(e,t){function n(e,t){return!!e&&t.indexOf(e.replace(/^.*?\/\//,""))>-1}if(!currentScript||!currentScript.parentNode)for(var r,o=document.getElementsByTagName("script"),i=0,s=o.length;i<10):null})}),ym.modules.define("system.supports.css",[],function(e){function t(e){return"undefined"==typeof f[e]?f[e]=n(e):f[e]}function n(e){return r(e)||r(d+i(e))||r(p.cssPrefix+i(e))}function r(e){return"undefined"!=typeof o().style[e]?e:null}function o(){return u||(u=document.createElement("div"))}function i(e){return e?e.substr(0,1).toUpperCase()+e.substr(1):e}function s(e){var n=t(e);return n&&n!=e&&(n="-"+d+"-"+e),n}function a(e){return c[e]&&t("transitionProperty")?s(c[e]):null}var u,c={transform:"transform",opacity:"opacity",transitionTimingFunction:"transition-timing-function",userSelect:"user-select",height:"height"},l={},f={},p=ym.env.browser,d=p.cssPrefix.toLowerCase();e({checkProperty:t,checkTransitionProperty:function(e){return"undefined"==typeof l[e]?l[e]=a(e):l[e]},checkTransitionAvailability:a})}),ym.modules.define("system.supports.graphics",[],function(e){function t(){if(!window.WebGLRenderingContext)return!1;var e=ym.env.browser,t={"Samsung Internet":!0,AndroidBrowser:!0},n="Webkit"==e.engine&&+e.engineVersion<537;return!n&&!t[e.name]}function n(){if(!t())return null;var e;try{var n=document.createElement("canvas"),r=n.getContext(e="webgl",o);r||(r=n.getContext(e="experimental-webgl",o),r||(e=null))}catch(i){e=null}return e?{contextName:e}:null}function r(e,t){e.width=226,e.height=256,t.fillStyle="#fff",t.fillRect(0,0,150,150),t.globalCompositeOperation="xor",t.fillStyle="#f00",t.fillRect(10,10,100,100),t.fillStyle="#0f0",t.fillRect(50,50,100,100);for(var n=t.getImageData(49,49,2,2),r=[],o=0;o<16;o++)r.push(n.data[o]);return"0x0x0x0x0x0x0x0x0x0x0x0x0x255x0x255"==r.join("x")}var o={failIfMajorPerformanceCaveat:!0,antialias:!1},i={};e({hasSvg:function(){return"svg"in i||(i.svg=document.implementation&&document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")),i.svg},hasCanvas:function(){if(!("canvas"in i)){var e=document.createElement("canvas"),t="getContext"in e?e.getContext("2d"):null;i.canvas=!!t&&r(e,t)}return i.canvas},hasWebGl:function(){return"webgl"in i||(i.webgl=n()),i.webgl},hasVml:function(){if(!("vml"in i)){var e,t=!1,n=document.createElement("div");n.innerHTML='',e=n.firstChild,e&&e.style&&(e.style.behavior="url(#default#VML)",t=!e||"object"==typeof e.adj,n.removeChild(e)),i.vml=t}return i.vml},redetect:function(){i={}},getWebGlContextName:function(){return i.webgl&&i.webgl.contextName}})}),ym.modules.define("template.Parser",["util.id","system.supports.csp"],function(provide,utilId,cspSupport){function trim(e){return nativeTrim?e.trim():e.replace(trimRegExp,"")}function escape(e){return e.replace(/&/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")}function getKeyValuePairs(e){for(var t=[],n=trim(e).replace(/\s*=\s*/g,"=").replace(/\s+/g," ").split(" "),r=0,o=n.length;r=r){var s=e.indexOf(t[0],i+1);r!=i&&parseExpressionSubstitutes(o,e.slice(r,i)),o.push(e.slice(i,s+1)),r=s+1}}return ro&&e.push(t.slice(o,i)),stopWords[s]?e.push(s):e.push('data.get("'+s+'")'),o=a}o-1?e.substring(0,t):e);this._contexts.hasOwnProperty(n)&&(e=e.replace(n,this._contexts[n]));var r=this._dataManager.get(e);return this.set(e,r),r},DataLogger.prototype.setContext=function(e,t){this._contexts[e]=t},DataLogger.prototype.set=function(e,t){if(e.indexOf(".")>-1)for(var n=e.split("."),r="",o=0,i=n.length-1;o=s){t=o.index,r=t+o[0].length,s!=t&&i.push(CONTENT,e.slice(s,t));var a=this.scanners[o[0]];a.token?(i.push(a.token,null),s=r):(n=e.indexOf(a.stopToken,r),a.scan(i,e.slice(r,n)),s=n+a.stopToken.length)}return s');for(var o={id:n,key:r,value:e.data.get(r)||r},i=[],s=[],a=e.nodes[e.left+1][1],u=0,c=a.length;u

1)for(r=1;r

",r[0];);return t>4?t:e}())}),ym.modules.define("js-loader",[],function(e){e(function(e,t){var n=document.getElementsByTagName("head")[0],r=document.createElement("script"),o=function(){n.removeChild(r),t&&t(),t=null};return r.charset="utf-8",r.src=e,n.insertBefore(r,n.firstChild),r.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||o()},r.onload=o,r.src=e,r})}),ym.modules.define("util.jsonp",["util.id","util.querystring","util.script"],function(e,t,n,r){function o(e){return o.handler?o.handler(e,i):i(e)}function i(e){var o,i,a="undefined"==typeof e.checkResponse||e.checkResponse,f=e.responseFieldName||"response",p=e.requestParams?"&"+n.stringify(e.requestParams,null,null,{joinArrays:!0}):"",d=ym.vow.defer(),m=d.promise(),h=e.timeout||3e4,v=setTimeout(function(){d.reject(c)},h),y=function(){s(i,o),clearTimeout(v),v=null};if(!e.padding){if(o=e.paddingKey||t.prefix()+t.gen(),"function"==typeof window[o]&&window[o].promise)return window[o].promise;u(o),window[o]=function(e){if(a){var t=!e||e.error||e[f]&&e[f].error;t?d.reject(t):d.resolve(e&&e[f]||e)}else d.resolve(e)},window[o].promise=m}var g=e.url+(/\?/.test(e.url)?"&":"?")+(e.paramName||"callback")+"="+(e.padding||o)+(e.noCache?"&_="+Math.floor(1e7*Math.random()):"")+p;if(e.postprocessUrl)if("function"==typeof e.postprocessUrl)g=e.postprocessUrl(g);else for(;e.postprocessUrl.length;)g=e.postprocessUrl.shift()(g);return i=r.create(g),i.onerror=function(){d.reject(l)},m.always(y),m}function s(e,t){t&&a(t),setTimeout(function(){e&&e.parentNode&&e.parentNode.removeChild(e)},0)}function a(e){window[e]=f,p[e]=setTimeout(function(){window[e]=void 0;try{delete window[e]}catch(t){}},500)}function u(e){p[e]&&(clearTimeout(p[e]),p[e]=null)}var c={message:"timeoutExceeded"},l={message:"scriptError"},f=function(){},p={};e(o)}),ym.modules.define("system.nextTick",[],function(e){var t=function(){var e=[],t=function(t){return 1===e.push(t)},n=function(){var t=e,n=0,r=e.length;for(e=[];n','',f,"",""].join("")},options:{maxWidth:"99999",selectOnClick:!1}}),e.controls.add(h,{position:{left:10,right:10,bottom:5}}),h.getLayoutSync()?t(h.getLayoutSync()):h.getLayout().then(t),e.panes.get("copyrights").getElement().style.marginBottom="29px",u(e)}function u(e){function t(t){var n=t.getElement().querySelector("."+v),r=e.container.getSize();r[0]<175?(n.style.paddingLeft="0px",n.style.backgroundImage=null):(n.style.paddingLeft="18px",n.style.backgroundImage="url("+p+")")}i<9||h&&(h.getLayoutSync()?t(h.getLayoutSync()):h.getLayout().then(t))}function c(e){e.controls.remove("fullscreenControl")}function l(e){e.controls.add("fullscreenControl")}var f=s.move_to_map,p=["data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAxNCAyMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtLjUgLS4yMjIpIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik01LjUgMjMuMjIybDUuNTM1LTcuNTdzMS42LTIuMTg1IDIuNjEtNC4xNWMxLjAxLTEuOTY2Ljg0NS00LjI4Ljg0NS00LjI4TDggMTMuMiA1LjUgMjMuMjJ6IiBmaWxsPSIjQ0QwMDAwIi8+PGNpcmNsZSBmaWxsPSIjRTAwIiBjeD0iNy41IiBjeT0iNy4yMjIiIHI9IjciLz48ZWxsaXBzZSBmaWxsPSIjRkZGIiBjeD0iNy41IiBjeT0iNy4yMjIiIHJ4PSIzIiByeT0iMyIvPjwvZz48L3N2Zz4="].join(""),d="background-size: 10px 16px; background-repeat: no-repeat; background-position: left center;display: inline-block;";i<9&&(d="");var m,h,v;e({show:function(e){function i(e){o.countByKey("distribution",[e,r.system.browser.platform,r.meta.version.replace(/\W/g,"_")].join("."))}e.options.set({copyrightLogoVisible:!1,suppressMapOpenBlock:!0}),a(e),c(e),h.events.add("click",function(){window.open([t.mapHost,"?um=",n.sourceType,":",n.sid,"&source=constructor"].join("")),i("mapsButton-constructor.smallMap")})},onResize:function(e){u(e)},hide:function(e){h&&e.controls.remove(h),l(e),e.panes.get("copyrights").getElement().style.marginBottom="0px",e.options.unset(["copyrightLogoVisible","suppressMapOpenBlock"]),m&&(m.removeAll(),m=null)}})}),ym.modules.define("ymaps-counter",["ymaps"],function(e,t){var n;e({countByKey:function(e,r){n||(n=t.modules.require("yandex.counter").then(function(e){return e[0]})),n.then(function(t){return t.countByKey(e,r),t})}})})}(this);