/* */ (function(D,r,h,g,v,E,c,F){if(!D.response){return}var p=window.location.protocol==="file:"?"http:":"",a=p+c+"2.1/",m={MAP:"yandex#map",SATELLITE:"yandex#satellite",HYBRID:"yandex#hybrid",PMAP:"yandex#publicMap"},u=D.response.map,w=["package.full"],x=e(r[0]),s=e(r[1]),B=String(Number(new Date))+String(Math.round(Math.random()*1000000)),o="ymaps"+B,b="fid"+B,F=F||u.lang||"ru-RU",d=a+"?lang="+F+"&coordorder=longlat&load="+w.join(",")+"&wizard=constructor&ns="+E,f=document.getElementsByTagName("script"),C,l=h.match(/\/\/(.+)$/),t=l&&l[1],q,n;if(t){for(var A=f.length-1;A>-1;A--){C=f[A];if(C.src.indexOf(t)!==-1&&!C.ctorInited){C.ctorInited=true;break}}if(C){z(function(){if(v){n=document.getElementById(v)}q=k();if(n){n.appendChild(q)}else{C.parentNode.insertBefore(q,C)}y(q);if(C.parentNode){C.parentNode.removeChild(C)}})}}function k(){var i=document.createElement("ymaps");i.setAttribute("id",o);i.style.display="block";i.style.width=x;i.style.height=s;return i}function y(J){var I=window[E],H=new I.Map(J,{center:u.center,zoom:u.zoom,type:m[u.type],controls:["default","routeEditor"]},{autoFitToViewport:"always",searchControlProvider:"yandex#search",geoObjectStrokeOpacity:1,geoObjectFillOpacity:1,geoObjectStrokeColor:"ff0000e6",geoObjectStrokeWidth:5,geoObjectFillColor:"ff000099",geoObjectIconContentLayout:I.templateLayoutFactory.createClass("{{ properties.number }}"),geoObjectBalloonContentLayout:I.templateLayoutFactory.createClass("{{ properties.name|raw }}"),geoObjectHintContentLayout:I.templateLayoutFactory.createClass("{{ properties.description|raw }}")}),N=u.geoObjects,Q=u.styles;H.behaviors.disable("scrollZoom");var P=H.controls.get("typeSelector");P.remove(I.mapType.storage.get("yandex#publicMap"));P.remove(I.mapType.storage.get("yandex#publicMapHybrid"));for(var K in Q){if(Q.hasOwnProperty(K)){I.option.presetStorage.add(g+"#"+K.replace("#",""),Q[K])}}for(var M=0,O=N.length;M