(function(d,c,ia){function N(b,g){return function(){try{return b.apply(this,arguments)}catch(c){var d=["cp: "+g,c.name+": "+c.message,"debug: "+Ha,"stack: "+c.stack];(new Image).src="//an.yandex.ru/jserr/"+counterId+"?"+Z({"cnt-class":100+counterType,errmsg:d.join("; ").replace(/\r?\n/g,"\\n")})}}}function S(b,g,c){return d.setTimeout(N(b,c||"setTimeout"),g)}function K(b){for(var g=1,c=b.length;g<arguments.length;g++)b[c++]=arguments[g];return b.length}function ja(b){return"[object Array]"==Object.prototype.toString.call(b)}
function Ia(b,g,c){var d,r,w=0;for(d in b)if(b.hasOwnProperty(d)&&(r=c?g.call(c,b[d],d,b,w):g(b[d],d,b,w),w++,!1===r))break;return this}function F(){for(var b={},g="hash host hostname href pathname port protocol search".split(" "),c=g.length,q=c;q--;)b[g[q]]="";try{for(var r=d.location,q=c;q--;){var w=g[q];b[w]=""+r[w]}}catch(k){O&&(b=O)}return b}function Kb(b){return b?(""+b).replace(/^\s+/,"").replace(/\s+$/,""):""}function E(){return+new Date}function ka(b){return Math.floor(Math.random()*("number"==
typeof b?b:1073741824))}function Yb(){var b=c.documentElement,g=c.doctype,d=b.attributes,q="",r="",w="",r=b.outerHTML;if(!r){for(r=0;r<d.length;r++){var k=d[r];k&&(q+=" "+k.name+'="'+(k.value||"")+'"')}r="<html"+q+">"+b.innerHTML+"</html>"}g&&(w="<!DOCTYPE "+g.name+(g.publicId?' PUBLIC "'+g.publicId+'"':"")+(g.systemId?' "'+g.systemId+'"':"")+">\n");return w+r}function Z(b){var g=[],c;for(c in b)b.hasOwnProperty(c)&&(g[g.length]=c+"="+encodeURIComponent(b[c]).replace(/\+/g,"%2B"));return g.join("&")}
function Ja(b){for(var g=b.length,c=0,d=255,r=255;g;){var w=21<g?21:g,g=g-w;do{var k="string"==typeof b?b.charCodeAt(c):b[c];c++;if(255<k)var u=k>>8,k=k&255,k=k^u;d+=k;r+=d}while(--w);d=(d&255)+(d>>8);r=(r&255)+(r>>8)}b=(d&255)+(d>>8)<<8|(r&255)+(r>>8);return 65535==b?0:b}function Xa(b){for(var g=E(),c=1;0<c;c++)if(0==c%1E3){var d=E();if(g>d)break;if(d-g>b)break}}function Ka(b){return-1!==(""+d.navigator.userAgent).toLowerCase().search(b)}function la(b,g,d,q){/[^a-z0-9.-]/.test(q)&&(q=null);b=b+"="+
encodeURIComponent(g);d&&(g=new Date,g.setTime(g.getTime()+6E4*d),b+=";expires="+g.toGMTString());q&&(b+=";domain="+q);c.cookie=b+";path=/"}function va(b){return c.cookie.match(RegExp("(?:^|;\\s*)"+b+"=([^;]*)"))?decodeURIComponent(RegExp.$1):null}function pb(){la("_metrika_enabled","1",60);var b=!!va("_metrika_enabled");la("_metrika_enabled","",-1,void 0);return b}function wa(){var b=c.documentElement;return"CSS1Compat"==c.compatMode?b:c.body||b}function Za(){var b=wa();return[b.clientWidth,b.clientHeight]}
function $a(){var b=wa(),c=Za();return[Math.max(b.scrollWidth,c[0]),Math.max(b.scrollHeight,c[1])]}function ab(){return[d.pageXOffset||c.documentElement&&c.documentElement.scrollLeft||c.body&&c.body.scrollLeft||0,d.pageYOffset||c.documentElement&&c.documentElement.scrollTop||c.body&&c.body.scrollTop||0]}function bb(b){if(!b.ownerDocument||"PARAM"==b.tagName||b==c.body||b==c.documentElement)return[0,0];if(b.getBoundingClientRect)return b=b.getBoundingClientRect(),[Math.round(b.left+W[0]),Math.round(b.top+
W[1])];for(var g=0,d=0;b;)g+=b.offsetLeft,d+=b.offsetTop,b=b.offsetParent;return[g,d]}function V(b,g){return b==c.documentElement?null:g?b.tagName.toLowerCase()===g?b:V(b.parentNode,g):b==c.body?c.documentElement:b.parentNode}function cb(b,c){var d=[];if(b)for(var q=b.childNodes,r=0,w=q.length;r<w;r++){var k=q[r];"INPUT"==k.nodeName&&k.type&&"hidden"==k.type.toLocaleLowerCase()||c&&k.nodeName!=c||K(d,k)}return d}function La(b){var g=bb(b);b=b==c.body||b==c.documentElement?$a():[b.offsetWidth,b.offsetHeight];
return[g[0],g[1],b[0],b[1]]}function Lb(b){var c="";b=b.childNodes;for(var d=0,q=b.length;d<q;d++)b[d]&&3==b[d].nodeType&&(c+=b[d].nodeValue);return Ja(c.replace(/[\u0000-\u0020]+/g,""))}function Mb(b){var c="",d="width height align title alt name".split(" ");"IMG"==b.tagName&&(c+=b.src.toLowerCase());"A"==b.tagName&&(c+=b.href.toLowerCase());for(var c=c+String(b.className||"").toLowerCase(),q=0;q<d.length;q++)b.getAttribute&&(c+=String(b.getAttribute(d[q])||"").toLowerCase());return Ja(c.replace(/[\u0000-\u0020]+/g,
""))}function Nb(b){for(var d=c.getElementsByTagName("form"),v=0,q=d.length;v<q;v++)if(d[v]==b)return v;return-1}function ma(b,c){return RegExp("(?:^|\\s)"+c+"(?:\\s|$)").test(b.className)}function Ob(b){return"INPUT"==b.nodeName&&"submit"!=b.type&&"image"!=b.type&&"hidden"!=b.type?"radio"==b.type||"checkbox"==b.type?!b.checked:!b.value:"TEXTAREA"==b.nodeName?!b.value:"SELECT"==b.nodeName?0>b.selectedIndex:!0}function T(b,c,d,q){P[P.length]=[d,d];b.addEventListener?b.addEventListener(c,d,!!q):b.attachEvent&&
b.attachEvent("on"+c,d)}function Ma(b,c,d,q){for(var r=0;r<P.length;r++)if(P[r]&&P[r][0]==d){var w=P[r][1];delete P[r];break}w&&(b.removeEventListener?b.removeEventListener(c,w,!!q):b.detachEvent&&b.detachEvent("on"+c,w))}function xa(b){try{delete d[b]}catch(c){d[b]=ia}}function na(b){var d=c.createElement("script");d.type="text/javascript";d.async=!0;d.src=b;try{var v=c.getElementsByTagName("html")[0];c.getElementsByTagName("head")[0]||v.appendChild(c.createElement("head"));var q=c.getElementsByTagName("head")[0];
q.insertBefore(d,q.firstChild)}catch(r){}}function ya(){if(top!=d&&parent==top&&d.postMessage&&!Ya.Metrika_visorPlayerOn){Ya.Metrika_visorPlayerOn=!0;var b=c.createElement("div");b.innerHTML='<iframe name="RemoteIframe" allowtransparency="true" style="position: absolute; left: -999px; top: -999px; width: 1px; height: 1px;"></iframe>';var g=b.firstChild;S(function(){function b(c,d,g,q,v){try{g.postMessage&&(c.onmessage=function(b){b=b||c.event;try{var g=JSON.parse(b.data)}catch(r){return}if(/(^|\.)yandex\.(ru|com|ua|kz|by|com\.tr)(:\d{4})?$/.test(b.origin)&&
g&&"script"==g.name&&g.data){b=q.getElementsByTagName("head")[0];var x=q.createElement("base");x.href=g.data;b.appendChild(x);x=q.createElement("script");x.src=g.data;b.appendChild(x);-1<v.userAgent.indexOf("Firefox/3.6.")&&d.removeEventListener("message",c.onmessage,!1);c.onmessage=null}},-1<v.userAgent.indexOf("Firefox/3.6.")&&d.addEventListener("message",c.onmessage,!1),g.postMessage('{"name":"ping"}',"*"))}catch(r){}}var d=c.body||c.documentElement;d.insertBefore(g,d.firstChild);try{var r=g.contentWindow.document}catch(w){}r&&
(r.open(),r.write('<!doctype html><html><head><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7,IE=edge" /></head><body><script type="text/javascript">('+b.toString()+")(window, parent, top, document, navigator);\x3c/script></body></html>"),r.close())},500)}}function qb(b,g,v,q,r,w){function k(a,b,f){var e=N(function(a){return f(a||d.event)},b);$[$.length]=[a,b,f,e];a.addEventListener?a.addEventListener(b,e,!0):a.attachEvent&&a.attachEvent("on"+b,e)}function u(a,b,f){for(var e=0;e<$.length;e++)if($[e]&&
$[e][0]==a&&$[e][1]==b&&$[e][2]==f){var c=$[e][3];delete $[e];break}c&&(a.removeEventListener?a.removeEventListener(b,c,!0):a.detachEvent&&a.detachEvent("on"+b,c))}function G(a){var b=wa();return[a.pageX||a.clientX+W[0]-(b.clientLeft||0)||0,a.pageY||a.clientY+W[1]-(b.clientTop||0)||0]}function E(a){return a.target||a.srcElement}function O(a){return(a.shiftKey?Pb:0)|(a.ctrlKey?rb:0)|(a.altKey?Qb:0)|(a.metaKey?Gb:0)|(a.ctrlKey||a.altKey?db:0)}function M(a){var b=(new Date).getTime();a&&b<a&&(sb+=a-
b+B);S(function(){M(b)},B)}function T(){var a=(new Date).getTime()+sb;a<tb&&(a=tb+B/2);return tb=a}function I(){return Math.round((T()-Jb)/za)}function P(a,b){b=Math.max(0,Math.min(b,65535));K(a,b>>8,b&255)}function x(a,b){K(a,b&255)}function n(a,b){for(b=Math.max(0,b|0);127<b;)K(a,b&127|128),b>>=7;K(a,b)}function U(a,b){255<b.length&&(b=b.substr(0,255));K(a,b.length);for(var f=0;f<b.length;f++)P(a,b.charCodeAt(f))}function Z(a,b){n(a,b.length);for(var f=0;f<b.length;f++)n(a,b.charCodeAt(f))}function ga(a){if(!a.nodeName)return a[H]=
-1,null;var b=+a[H];if(!isFinite(b)||0>=b)return null;var f=Eb,e=0,c=V(a),p=c&&c[H]?c[H]:0;0>p&&(p=0);var d=a.nodeName.toUpperCase(),g=Hb[d];g||(f|=Ia);var m;a:{m=cb(V(a),a.nodeName);for(var C=0;C<m.length;C++)if(m[C]==a){m=C;break a}m=0}m||(f|=pb);C=La(a);(c=c?La(c):null)&&C[0]==c[0]&&C[1]==c[1]&&C[2]==c[2]&&C[3]==c[3]&&(f|=Rb);eb[b].pos=C[0]+"x"+C[1];eb[b].size=C[2]+"x"+C[3];a.id&&"string"==typeof a.id&&(f|=Sb);(c=Lb(a))&&(f|=qb);var B=Mb(a);B&&(e|=Fb);var h;a:{h=cb(V(a),a.tagName);for(var s=0;s<
h.length;s++)if((!h[s].id||"string"!=typeof h[s].id)&&Mb(h[s])==B&&Lb(h[s])==c){h=!0;break a}h=!1}if(h)var f=f|Tb,q=Ja((a.innerHTML||"").replace(/(<[^>]*>|[\u0000-\u0020])/g,""));h=[];x(h,L);n(h,b);x(h,f);n(h,p);g?x(h,g):U(h,d);m&&n(h,m);f&Rb||(n(h,C[0]),n(h,C[1]),n(h,C[2]),n(h,C[3]));f&Sb&&U(h,a.id);c&&P(h,c);f&Tb&&P(h,q);x(h,e);B&&P(h,B);return h}function da(a,b,f,e,c,p){for(;f&&(!f.offsetWidth||!f.offsetHeight);)f=V(f);if(!f)return null;var d=f[H];if(!d||0>d)return null;var g={mousemove:y,click:ya,
dblclick:mb,mousedown:Zb,mouseup:xa,touch:Fa}[b];if(!g)return null;var h=bb(f);f=[];x(f,g);n(f,a);n(f,d);n(f,Math.max(0,e[0]-h[0]));n(f,Math.max(0,e[1]-h[1]));/^mouse(up|down)|click$/.test(b)&&(a=c||p,x(f,2>a?nb:a==(c?2:4)?Ha:ob));return f}function ha(a,b,f,e){b=b[H];if(!b||0>b)return null;var c=[];x(c,na);n(c,a);n(c,b);n(c,f[0]);n(c,f[1]);x(c,0);x(c,0);x(c,e);return c}function oa(a,b){var f=[];x(f,$b);n(f,a);n(f,b[0]);n(f,b[1]);return f}function ia(a,b,f){var c=[];f=f[H];if(!f||0>f)return null;x(c,
z);n(c,a);n(c,b[0]);n(c,b[1]);n(c,f);return c}function ka(a,b,f){var c=[];x(c,ua);n(c,a);n(c,b[0]);n(c,b[1]);n(c,f[0]);n(c,f[1]);return c}function la(a,b,f,c){var e=[];x(e,ac);n(e,a);P(e,b);x(e,f);a=c[H];if(!a||0>a)a=0;n(e,a);return e}function ra(a,b){var f,c;0==b.length?c=f="":100>=b.length?(f=b,c=""):200>=b.length?(f=b.substr(0,100),c=b.substr(100)):(f=b.substr(0,97),c=b.substr(b.length-97));var e=[];x(e,Xa);n(e,a);Z(e,f);Z(e,c);return e}function sa(a){var b=[];x(b,Wa);n(b,a);return b}function ea(a){var b=
[];x(b,ja);n(b,a);return b}function va(a){var b=[];x(b,Ka);n(b,a);return b}function Na(a,b){var f=[];x(f,Ma);n(f,a);n(f,b[H]);return f}function Da(a,b){var f=[];x(f,Ua);n(f,a);n(f,b[H]);return f}function l(a,b,f){var c=[];x(c,Va);n(c,a);n(c,b[H]);U(c,String(f));return c}function Oa(a,b){var f=b[H];if(0<f){var c=[],e=La(b),p=eb[f],d=e[0]+"x"+e[1],g=e[2]+"x"+e[3];d!=p.pos&&(p.pos=d,x(c,bc),n(c,a),n(c,f),n(c,e[0]),n(c,e[1]));g!=p.size&&(p.size=g,x(c,cc),n(c,a),n(c,f),n(c,e[2]),n(c,e[3]));if(c.length)return c}return null}
function aa(a){var b=a[H];if(!b||0>b||!/^INPUT|SELECT|TEXTAREA$/.test(a.nodeName)||!a.form||ma(a.form,"-metrika-noform"))return null;var f=Nb(a.form);if(0>f)return null;var c;c="INPUT"==a.nodeName?{text:0,password:2,radio:3,checkbox:4,file:6,image:7}[a.type]:{SELECT:1,TEXTAREA:5}[a.nodeName];if("number"!=typeof c)return null;for(var e=-1,p=a.form.elements,d=p.length,g=0,h=0;g<d;g++)if(p[g].name==a.name){if(p[g]==a){e=h;break}h++}if(0>e)return null;p=[];x(p,dc);n(p,b);n(p,f);n(p,c);Z(p,a.name||"");
n(p,e);return p}function Pa(a,b){var f=Nb(b);if(0>f)return null;for(var c=b.elements,e=c.length,p=[],d=0;d<e;d++)if(!Ob(c[d])){var g=c[d][H];g&&0<g&&K(p,g)}c=[];x(c,Ea);n(c,a);n(c,f);n(c,p.length);for(f=0;f<p.length;f++)n(c,p[f]);return c}function Aa(){var a=[];x(a,Ga);return a}function Qa(a){ub&&clearTimeout(ub);for(var b=(new Date).getTime()+Q;fb.length&&(a||+(new Date).getTime()<b);){var f=fb.shift();if(f=f[0].apply(d,f[1])){var c=f;6500<Ba.length+c.length&&gb();for(var f=Ba,e=0,p=f.length;e<c.length;e++)f[p++]=
c[e];Ra||(Ra=S(gb,A))}}!0===a&&gb(!0);fb.length&&(ub=S(Qa,ec))}function D(a,b,f){K(fb,[a,b]);Qa(f)}function t(a){if(a[H])D(Oa,[I(),a]);else{var b=V(a);b&&t(b);a[H]=vb;eb[vb]={};vb++;D(ga,[a]);D(aa,[a])}}function X(a){var b=E(a),f,c,e=0;if(b&&"SCROLLBAR"!=b.nodeName){if(b&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(b.tagName))if(b[H])t(b);else if(f=V(b,"form"))for(f=f.elements,c=f.length;e<c;e++)/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(f[e].tagName)&&!f[e][H]&&t(f[e]);else t(b);else t(b);D(da,[I(),a.type,
b,G(a),a.which,a.button])}}function ba(a){X(a);var b,f;d.getSelection?(a=d.getSelection(),b=a.toString(),f=a.anchorNode):c.selection&&c.selection.createRange&&(a=c.selection.createRange(),b=a.text,f=a.parentElement());for(;f&&1!=f.nodeType;)f=f.parentNode;f&&"INPUT"==f.tagName&&"password"==f.type||f&&/(?:^|\s)-metrika-nokeys(?:\s|$)/.test(f.className)||b==wb||(wb=b,D(ra,[I(),b]))}function J(a){var b=T(),f=b-Ub;if(!(f<hb)){var c=G(a),e=xb[0]-c[0],p=xb[1]-c[1],e=e*e+p*p;0>=e||16>e&&100>f||20>f&&256>
e||(Ub=b,xb=c,X(a))}}function pa(){W=ab();var a=T();a-Vb<hb||10>Math.abs(W[0]-yb[0])&&10>Math.abs(W[1]-yb[1])||(Vb=a,yb=W,D(oa,[I(),W]))}function ta(a){a=E(a);var b=Math.random(),f=[a.scrollLeft,a.scrollTop];if(a.localId){if(b=zb[a.localId],!b||10>Math.abs(f[0]-b[0])&&10>Math.abs(f[1]-b[1]))return}else{for(;zb[b];)b=Math.random();a.localId=b}zb[a.localId]=f;a!==c&&(t(a),D(ia,[I(),f,a]))}function Ca(){D(ka,[I(),Za(),$a()])}function R(a){D(Aa,[],!0);gb(!0);try{if("beforeunload"==a.type)for(var b=+new Date+
50;+new Date<b;);}catch(f){}}function qa(a,b,f){a=E(a);"INPUT"==a.tagName&&"password"==a.type||/(?:^|\s)-metrika-nokeys(?:\s|$)/.test(a.className)||(t(a),D(la,[I(),b,f,a]))}function fa(a){var b=a.keyCode,f=O(a);if({3:1,8:1,9:1,13:1,16:1,17:1,18:1,19:1,20:1,27:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,45:1,46:1,91:1,92:1,93:1,106:1,110:1,111:1,144:1,145:1}[b]||112<=b&&123>=b||96<=b&&105>=b||f&db)19==b&&(f&~db)==rb&&(b=144),qa(a,b,f|db),Ab=!1,S(function(){Ab=!0},1),67==b&&f&rb&&!(f&Qb||f&Pb)&&Y()}function Sa(a){Ab&&
!Bb&&0!==a.which&&(qa(a,a.charCode||a.keyCode,O(a)),Bb=!0,S(function(){Bb=!1},1))}function Y(){Cb||(Cb=!0,wb&&D(sa,[I()]),S(function(){Cb=!1},1))}function a(){Ta||(Ta=!0,D(ea,[I()]))}function f(){Ta&&(Ta=!1,D(va,[I()]))}function p(b){(!Ta||b&&!b.fromElement)&&a()}function e(a){a&&!a.toElement&&f()}function C(a){a=E(a);var b,f,c=0;if(a&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)){if(a[H])t(a);else if(b=V(a,"form"))for(b=b.elements,f=b.length;c<f;c++)/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(b[c].tagName)&&
!b[c][H]&&t(b[c]);else t(a);D(Na,[I(),a])}}function m(a){(a=E(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)&&(t(a),D(Da,[I(),a]))}function h(a){a=E(a);if(!("INPUT"==a.tagName&&"password"==a.type||a&&/(?:^|\s)-metrika-nokeys(?:\s|$)/.test(a.className))&&a&&/^INPUT|SELECT|TEXTAREA$/.test(a.tagName)){var b=/^(checkbox|radio)$/.test(a.type)?a.checked:a.value;t(a);D(l,[I(),a,b])}}function s(a){a=E(a);if(!ma(a,"-metrika-noform")&&"FORM"==a.nodeName){for(var b=a.elements,f=0;f<b.length;f++)Ob(b[f])||
t(b[f]);D(Pa,[I(),a],!0)}}function ib(a){pa();if(a.touches&&a.touches.length){var b=E(a);if(b){t(b);for(var f=0;f<a.touches.length;f++)D(da,[I(),"touch",b,[a.touches[f].pageX,a.touches[f].pageY],0,0])}}}function jb(a){var b=E(a);if(b){var f;"wheel"==a.type?f=0<a.deltaY?1:0>a.deltaY?2:0:"mousewheel"==a.type&&(f=0<a.wheelDelta?2:0>a.wheelDelta?1:0);f&&(t(b),D(ha,[I(),b,G(a),f]))}}function gb(a){Ra&&clearTimeout(Ra);Ra=0;if(Ba.length){a={rn:Math.round(1E5*Math.random()),"wv-type":0,"cnt-class":g,"page-url":F().href,
wmode:0,"wv-hit":q,"wv-part":Ib++,"wv-check":Ja(Ba),"browser-info":["z",Db,"i",kb].join(":")};for(var b=Ba,f=b.length,c=[],e=f-f%3,p,d=0;d<e;d+=3)p=(b[d]<<16)+(b[d+1]<<8)+b[d+2],K(c,ca[p>>18&63],ca[p>>12&63],ca[p>>6&63],ca[p&63]);switch(f-e){case 1:p=b[e]<<4;K(c,ca[p>>6&63],ca[p&63],"__");break;case 2:p=(b[e]<<10)+(b[e+1]<<2),K(c,ca[p>>12&63],ca[p>>6&63],ca[p&63],"_")}b={"wv-data":c.join("")};r.send("visor","webvisor",a,b);Ba.length=0}}var Q=100,ec=200,A=15E3,B=20,za=50,hb=10,L=1,y=2,$b=3,z=16,Zb=
4,ac=5,dc=7,bc=9,cc=10,Ea=11,Fa=12,Ga=13,ja=14,Ka=15,Ma=17,Ua=18,Va=19,Wa=27,ua=28,Xa=29,xa=30,na=31,ya=32,mb=33,nb=1,ob=2,Ha=4,Tb=1,Ia=2,pb=4,Rb=8,qb=16,Sb=32,Eb=64,Fb=2,Qb=1,Pb=2,rb=4,Gb=8,db=16,Hb={A:1,ABBR:2,ACRONYM:3,ADDRESS:4,APPLET:5,AREA:6,B:7,BASE:8,BASEFONT:9,BDO:10,BIG:11,BLOCKQUOTE:12,BODY:13,BR:14,BUTTON:15,CAPTION:16,CENTER:17,CITE:18,CODE:19,COL:20,COLGROUP:21,DD:22,DEL:23,DFN:24,DIR:25,DIV:26,DL:27,DT:28,EM:29,FIELDSET:30,FONT:31,FORM:32,FRAME:33,FRAMESET:34,H1:35,H2:36,H3:37,H4:38,
H5:39,H6:40,HEAD:41,HR:42,HTML:43,I:44,IFRAME:45,IMG:46,INPUT:47,INS:48,ISINDEX:49,KBD:50,LABEL:51,LEGEND:52,LI:53,LINK:54,MAP:55,MENU:56,META:57,NOFRAMES:58,NOSCRIPT:59,OBJECT:60,OL:61,OPTGROUP:62,OPTION:63,P:64,PARAM:65,PRE:66,Q:67,S:68,SAMP:69,SCRIPT:70,SELECT:71,SMALL:72,SPAN:73,STRIKE:74,STRONG:75,STYLE:76,SUB:77,SUP:78,TABLE:79,TBODY:80,TD:81,TEXTAREA:82,TFOOT:83,TH:84,THEAD:85,TITLE:86,TR:87,TT:88,U:89,UL:90,VAR:91,NOINDEX:100},$=[],sb=0;M(0);var tb=0,fb=[],ub,vb=1,Ub=0,xb=[0,0],Vb=0,yb=[0,
0],zb={},Ab=!0,Bb=!1,wb="",Cb=!1,Ta=!0,ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789*-".split(""),Ba=[],Ra,Ib=1,Jb=T(),H="metrikaId_"+Math.random(),eb={},lb=":submit"+Math.random();if("MetrikaPlayer"!=d.name){k(c,"mousemove",J);k(c,"click",X);k(c,"dblclick",X);k(c,"mousedown",X);k(c,"mouseup",ba);k(d,"scroll",pa);"onmousewheel"in c?k(c,"mousewheel",jb):k(c,"wheel",jb);k(d,"beforeunload",R);Wb||k(d,"unload",R);k(d,"resize",Ca);k(c,"keydown",fa);k(c,"keypress",Sa);k(c,"copy",Y);
k(c,"touchmove",ib);k(c,"touchstart",ib);c.attachEvent&&!d.opera?(k(c,"focusin",p),k(c,"focusout",e)):(k(d,"focus",a),k(d,"blur",f),k(c,"blur",f));c.addEventListener?(c.addEventListener("scroll",ta,!0),c.addEventListener("focus",C,!0),c.addEventListener("blur",m,!0),c.addEventListener("change",h,!0),c.addEventListener("submit",s,!0)):c.attachEvent&&(k(c,"focusin",C),k(c,"focusout",m),function(){for(var a=c.getElementsByTagName("form"),b=0;b<a.length;b++){for(var f=a[b].getElementsByTagName("*"),e=
0;e<f.length;e++)/^INPUT|SELECT|TEXTAREA$/.test(f[e].tagName)&&k(f[e],"change",h);k(a[b],"submit",s)}}());(function(){var a=c.getElementsByTagName("form");if(a.length)for(var b=0;b<a.length;b++)a[b][lb]=a[b].submit,a[b].submit=function(){s({target:this});return this[lb]()}})();"0:0"!=W.join(":")&&pa();Ca();var Xb=function(a,b){if(a){var f={"wv-type":1,"cnt-class":g,"page-url":F().href,"wv-hit":q,"browser-info":["z",Db,"i",kb,"pct",b||""].join(":")};c.all&&(a=a.replace(/\r\n/g,"\n"));var e;e=a;e=e.replace(/\r\n/g,
"\n");for(var p=[],d=String.fromCharCode,h=0,C=e.length;h<C;h++){var m=e.charCodeAt(h);128>m?p.push(d(m)):(127<m&&2048>m?p.push(d(m>>6|192)):(p.push(d(m>>12|224)),p.push(d(m>>6&63|128))),p.push(d(m&63|128)))}e=p.join("");for(var p=[],B,s,v,m=0,L=e.length;m<L;)B=e.charCodeAt(m++),d=e.charCodeAt(m++),h=e.charCodeAt(m++),C=B>>2,B=(B&3)<<4|d>>4,s=(d&15)<<2|h>>6,v=h&63,isNaN(d)?s=v=64:isNaN(h)&&(v=64),p.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(C)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(B)+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(v));e={"wv-data":p.join("")};r.sendMultipart("webvisor",f,e,3)}};w.uploadPage=function(a){if("function"==typeof d.toStaticHTML&&-1<d.toStaticHTML.toString().indexOf("NoScript"))return!1;var b=c.documentElement;if(b&&19E4<(""+b.innerHTML).length)return!1;var f=d.XMLHttpRequest?new d.XMLHttpRequest:new ActiveXObject("Msxml2.XMLHTTP"),e=(""+(c.characterSet||
c.charset||"")).toLowerCase(),b="text/html"+(e?";charset="+e:"");if("html"==a)return a=RegExp("<script [^>]*?//mc\\.yandex\\.ru/watch/.*?\x3c/script>","gi"),Xb(Yb().replace(a,""),b),!0;f&&(f.open("get",F().href,!0),f.onreadystatechange=function(){4==f.readyState&&Xb(f.responseText,f.getResponseHeader("content-type"))},f.overrideMimeType&&e&&f.overrideMimeType(b),f.send(null));return!0}}return{stop:function(){u(c,"mousemove",J);u(c,"click",X);u(c,"dblclick",X);u(c,"mousedown",X);u(c,"mouseup",ba);
u(c,"mousewheel",jb);u(c,"wheel",jb);u(d,"scroll",pa);u(d,"beforeunload",R);u(d,"unload",R);u(d,"resize",Ca);u(c,"keydown",fa);u(c,"keypress",Sa);u(c,"copy",Y);u(c,"touchmove",ib);u(c,"touchstart",ib);u(c,"focusin",p);u(c,"focusout",e);u(d,"focus",a);u(d,"blur",f);u(c,"blur",f);c.removeEventListener?(c.removeEventListener("scroll",ta,!0),c.removeEventListener("focus",C,!0),c.removeEventListener("blur",m,!0),c.removeEventListener("change",h,!0),c.removeEventListener("submit",s,!0)):c.detachEvent&&
(u(c,"focusin",C),u(c,"focusout",m),function(){for(var a=c.getElementsByTagName("form"),b=0;b<a.length;b++){for(var f=a[b].getElementsByTagName("*"),e=0;e<f.length;e++)/^INPUT|SELECT|TEXTAREA$/.test(f[e].tagName)&&u(f[e],"change",h);u(a[b],"submit",s)}}());(function(){for(var a=c.getElementsByTagName("form"),b=0;b<a.length;b++)a[b][lb]&&(a[b].submit=a[b][lb])})()},uploadPages:function(a,b){function f(){u(c,"DOMContentLoaded",f);u(d,"load",f);for(var e=a.split(/\n/),p=F().href,g=/regexp:/,h=0;h<e.length;h++){var m=
e[h];if(m)if(g.test(m)){if(m=Kb(m.replace(g,"")),RegExp(m).test(p)){w.uploadPage(b);break}}else if(-1!==p.indexOf(m)){w.uploadPage(b);break}}}"complete"==c.readyState?f():(k(c,"DOMContentLoaded",f),k(d,"load",f))}}}var Eb=!1,Ha="",Wb=!Ka(/webkit/)&&Ka(/gecko/),W=ab(),P=[],Ua=null,G={mixin:function(b){for(var c=1;c<arguments.length;c++)if(arguments[c]){for(var d in arguments[c])arguments[c].hasOwnProperty(d)&&(b[d]=arguments[c][d]);arguments[c].hasOwnProperty("toString")&&(b.toString=arguments[c].toString)}return b}},
ga=function(b){b=b||{};G.mixin(this,b);this._initComponent()};ga.prototype._initComponent=function(){};ga.inherit=function(b){b=b||{};var c="function"==typeof this?this:Object;b.hasOwnProperty("constructor")||(b.constructor=function(){c.apply(this,arguments)});var d=function(){};d.prototype=c.prototype;b.constructor.prototype=new d;G.mixin(b.constructor.prototype,b);b.constructor.prototype.constructor=b.constructor;b.constructor.superclass=c.prototype;b.constructor.inherit=ga.inherit;return b.constructor};
var da=ga.inherit({counterId:"",_initComponent:function(){da.superclass._initComponent.apply(this,arguments);this._buffer={};this._ls=null;try{this._ls=d.localStorage}catch(b){}},set:function(b,c){if(this.isEnabled())try{!c||c&&ja(c)&&!c.length?this.remove(b):this._ls.setItem(this._getLsKey(b),JSON.stringify(c))}catch(d){}},get:function(b){if(this.isEnabled())try{return JSON.parse(this._ls.getItem(this._getLsKey(b)))}catch(c){}return null},remove:function(b){if(this.isEnabled())try{this._ls.removeItem(this._getLsKey(b))}catch(c){}},
isEnabled:function(){return this._ls&&d.JSON&&"object"==typeof this._ls&&"object"==typeof d.JSON},_getLsKey:function(b){return"_ym"+this.counterId+"_"+b}}),Da=ga.inherit({counterId:"",onlyCurrentDomain:!1,skipPrefix:!1,_initComponent:function(){Da.superclass._initComponent.apply(this,arguments);this._domain=this.onlyCurrentDomain?"":"."+O.host.split(".").slice(-2).join(".")},create:function(b,d,v){b=[this._prepareName(b)+"="+encodeURIComponent(d)];v&&(d=new Date,d.setTime(d.getTime()+6E4*v),b.push("expires="+
d.toGMTString()));this._domain&&b.push("domain="+this._domain);b.push("path=/");c.cookie=b.join(";")},read:function(b){return c.cookie.match(RegExp("(?:^|;\\s*)"+this._prepareName(b)+"=([^;]*)"))?decodeURIComponent(RegExp.$1):null},erase:function(b){this.create(b,"",-1)},_prepareName:function(b){return(this.skipPrefix?"":"_ym_")+b+(this.counterId?"_"+this.counterId:"")}});Da.isEnabled=function(){var b=new Da;b.create("metrika_enabled","1",60);var c=!!b.read("metrika_enabled");b.erase("metrika_enabled");
return c};d.Ya=d.Ya||{};Ya._metrika=Ya._metrika||{};Ya._metrika.counters=Ya._metrika.counters||{};Ya._metrika.hitParam=Ya._metrika.hitParam||{};var Fb=!1,O=F(),Db,kb,ra=d.navigator,sa=d.screen,ha="https:"==O.protocol?"https:":"http:",Gb=466,ta="object"==typeof c.all,Va=ta?512:2048,Hb=ta?512:2048,mb=ta?100:400,Ea="noindex",Fa=50,nb=RegExp("\\.(3gp|7z|aac|ac3|acs|ai|avi|ape|apk|asf|bmp|bz2|cab|cdr|crc32|css|csv|cue|divx|dmg|djvu?|doc(x|m|b)?|emf|eps|exe|flac?|flv|iso|swf|gif|t?gz|jpe?g?|js|m3u8?|m4a|mp(3|4|e?g?)|m4v|md5|mkv|mov|msi|ods|og(g|m|v)|pdf|phps|png|ppt(x|m|b)?|psd|rar|rss|rtf|sea|sfv|sit|sha1|svg|tar|tif?f|torrent|ts|txt|vob|wave?|wma|wmv|wmf|webm|xls(x|m|b)?|xpi|g?zip)$",
"i"),Ib=E(),Jb="_ym_visorc",Wa,Ga,fc="//mc.yandex.ru/clmap/";d.Ya.Metrika=function(b,g,v,q){function r(a,b){b=b||256;if(!a)return"";a.length>b&&(a=a.substr(0,b));return(d.encodeURIComponent||d.escape)(a).replace(/\+/g,"%2B")}function w(a){function b(a){return a?a.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):""}if(a===ia)return"";if(null===a)return"null";switch(a.constructor){case Boolean:return a.toString();case Number:return isFinite(a)?a.toString():"null";case String:return'"'+b(a)+'"';case Array:for(var c=
[],e=0,d=a.length;e<d;e++)c[c.length]=w(a[e]);return"["+c.join(",")+"]";case Object:c="{";e=0;for(d in a)if(a.hasOwnProperty(d)){var m=a[d];m!==ia&&(c+=(e?",":"")+'"'+b(d)+'":'+w(m),e++)}return c+"}";default:return"null"}}function k(a,b){if(!a||!b)return!1;for(var c=[],e=0;e<b.length;e++)c.push(b[e].replace(/\^/g,"\\^").replace(/\$/g,"\\$").replace(/\./g,"\\.").replace(/\[/g,"\\[").replace(/\]/g,"\\]").replace(/\|/g,"\\|").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/\?/g,"\\?").replace(/\*/g,
"\\*").replace(/\+/g,"\\+").replace(/\{/g,"\\{").replace(/\}/g,"\\}"));return RegExp("\\.("+c.join("|")+")$","i").test(a)}function u(a){a=a.target||a.srcElement;if(!a)return!1;3==a.nodeType&&(a=a.parentNode);for(var b=a.nodeName.toString().toLowerCase();a.parentNode&&a.parentNode.nodeName&&("a"!=b&&"area"!=b||!a.href);)a=a.parentNode,b=a.nodeName.toString().toLowerCase();return a.href?a:!1}function M(a,b){return(a?a.replace(/^www\./,""):"")==(b?b.replace(/^www\./,""):"")?!0:!1}function P(a,b){function c(a){a=
a.split(":");a=a[1]||"";a=a.replace(/^\/*/,"").replace(/^www\./,"");return a.split("/")[0]}return a&&b?c(a)==c(b)?!0:!1:a||b?!1:!0}function U(a,b){var c=b.target,e=!1;if(!b.hostname)return!1;c&&"_self"!=c&&"_top"!=c&&"_parent"!=c||(e=!0);(c=a.shiftKey||a.ctrlKey||a.altKey)||a.modifiers&&d.Event&&(c=a.modifiers&d.Event.CONTROL_MASK||a.modifiers&d.Event.SHIFT_MASK||a.modifiers&d.Event.ALT_MASK);return e&&!c}function W(a,f,p){function e(a,b){a&&b&&(p?m[a]=b:m[m.length]=[a,b].join(":"))}function g(a){e(a,
f[a]?"1":"")}f=f||{};var m=p?{}:[],h=-1*(new Date).getTimezoneOffset(),s=I();kb||(kb=s,Db=h);e("j",ra.javaEnabled()?"1":"");sa&&e("s",sa.width+"x"+sa.height+"x"+(sa.colorDepth||sa.pixelDepth));e("f",J.getFlashVersion());e("l",J.getSilverlightVersion()||"");f.pa||e("w",ea()+"x"+x());e("z",h);e("i",s);e("en",(""+(c.characterSet||c.charset||"")).toLowerCase());e("v",Gb);e("c",ra.cookieEnabled?"1":"");e("jv",J.getJScriptVersion());e("la",J.getLanguage());e("ex","prerender"==c.webkitVisibilityState?"pre1":
"");Y&&e("wh","1");s="ar ln dl ad nb pa".split(" ");for(h=0;h<s.length;h++)g(s[h]);s=["va","vt","sn","sa","he"];f.nb&&s.push("cl");for(h=0;h<s.length;h++){var q=s[h];e(q,f[q])}f.reqNum&&(h=new da({counterId:b}),h.isEnabled()&&((s=h.get("reqNum"))?s++:s=1,h.set("reqNum",s),(s=h.get("reqNum"))&&e("rqn",s)));e("rn",ka());e("hid",Oa);e("ds",ja());l._firstPaint||(l._firstPaint=ua(),e("fp",l._firstPaint));if(l._webvisor){d.name||(d.name=Math.round(65535*Math.random()));if(h=+d.name)0>h&&(h*=-1),h%=65535;
e("wn",h||Ja(d.name));try{d.history&&e("hl",String(d.history.length))}catch(n){}}a="undefined"==typeof a?(a=V())?G.trim(a,mb):"":G.trim(a,mb);e("t",a);return p?m:m.join(":")}function V(){var a=c.title;"string"!=typeof a&&(a=(a=c.getElementsByTagName("title"))&&a.length?a[0].innerHTML:"");return a}function I(){for(var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()],b="",c=0;c<a.length;c++)b+=10>a[c]?"0"+a[c]:a[c];return b}function ea(){var a=-1;
c.documentElement&&"CSS1Compat"==c.compatMode?a=c.documentElement.clientWidth:c.body&&(a=c.body.clientWidth);return a}function x(){var a=-1;c.documentElement&&"CSS1Compat"==c.compatMode?a=c.documentElement.clientHeight:c.body&&(a=c.body.clientHeight);return a}function n(){var a=d.performance||d.webkitPerformance,b=[];if(a=a&&a.timing){var c=a.navigationStart;if(c)for(b=[a.domainLookupEnd-a.domainLookupStart,a.connectEnd-a.connectStart,a.responseStart-a.requestStart,a.responseEnd-a.responseStart,a.fetchStart-
c,a.redirectEnd-a.redirectStart,a.redirectCount],b.push(a.domInteractive&&a.domLoading?a.domInteractive-a.domLoading:null),b.push(a.domContentLoadedEventStart&&a.domContentLoadedEventEnd?a.domContentLoadedEventEnd-a.domContentLoadedEventStart:null),b.push(a.domComplete?a.domComplete-c:null),b.push(a.loadEventStart?a.loadEventStart-c:null),b.push(a.loadEventStart&&a.loadEventEnd?a.loadEventEnd-a.loadEventStart:null),b.push(a.domContentLoadedEventStart?a.domContentLoadedEventStart-c:null),a=0;a<b.length;a++)c=
b[a],null!==c&&(0>c||36E5<c)&&(b[a]=null)}return b}function ja(){var a=[],b=l._lastPerformanceTiming,c=n();if(b)for(var e=0,d=b.length;e<d;e++)null===c[e]?a.push(c[e]):a.push(b[e]===c[e]?"":c[e]);else a=c;l._lastPerformanceTiming=c;return a.join(",")}function ua(){var a;if("object"==typeof d.chrome&&d.chrome.loadTimes){if(a=d.chrome.loadTimes(),a.requestTime&&a.firstPaintTime)return~~(1E3*(a.firstPaintTime-a.requestTime))}else if(d.performance&&d.performance.timing&&(a=d.performance.timing,a.navigationStart&&
a.msFirstPaint))return a.msFirstPaint-a.navigationStart;return null}function xa(a){var b=c.referrer||"";if(RegExp("^https?://"+O.host+"/").test(b))return!1;for(var d=a.patterns,e=0;e<d.length;e++)if(b.match(RegExp(d[e],"i"))){var g=a.params||[];if(g.length)for(var m=oa((RegExp.$1||"").replace(/\+/g,"%20")),h=0;h<g.length;h++){if(m==oa(g[h]))return!0}else return!0}return!1}function na(a){var b=!1;if(a&&"string"!=typeof a&&a.length)for(var d=0;d<a.length;d++){var e=a[d].selector,g=a[d].text,m=e.charAt(0),
e=e.slice(1);if("#"==m){if(m=c.getElementById(e))b=!0,m.innerHTML=g}else if("."==m){m=e;e=(e=void 0)||c;if(e.getElementsByClassName)m=e.getElementsByClassName(m);else{for(var e=e.getElementsByTagName("*"),h=[],s=0;s<e.length;s++)ma(e[s],m)&&h.push(e[s]);m=h}for(e=0;e<m.length;e++)b=!0,m[e].innerHTML=g}}return b}function ya(a,b){a=a&&a.replace(/^\?/,"");b=b&&b.replace(/^#/,"");var c="";if(a)for(var e=a.split("&"),d=0;d<e.length;d++){var m=e[d].split("=");"_openstat"==m[0]&&(c=m[1])}b&&0==b.indexOf("_openstat=")&&
(c=b.slice(10));c&&(c=-1<c.indexOf(";")?oa(c):Ha(c.replace(/[-*_]/g,function(a){return{"*":"+","-":"/",_:"="}[a]||a})));return c&&(c=c.split(";"),4==c.length)?{service:c[0],campaign:c[1],ad:c[2],source:c[3]}:null}function oa(a){try{return decodeURIComponent(a)}catch(b){return""}}function Ha(a){for(;a.length%4;)a+="=";var b,c,e,d,m,h=0,g="";do{b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));
d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));if(0>b||0>c||0>d||0>m)return null;e=b<<18|c<<12|d<<6|m;b=e>>16&255;c=e>>8&255;e&=255;g=64==d?g+String.fromCharCode(b):64==m?g+String.fromCharCode(b,c):g+String.fromCharCode(b,c,e)}while(h<a.length);a=g;d="";for(h=c1=c2=m=0;m<a.length;)h=a.charCodeAt(m),128>h?(d+=String.fromCharCode(h),m++):191<h&&224>h?(c2=a.charCodeAt(m+
1),d+=String.fromCharCode((h&31)<<6|c2&63),m+=2):(c2=a.charCodeAt(m+1),c3=a.charCodeAt(m+2),d+=String.fromCharCode((h&15)<<12|(c2&63)<<6|c3&63),m+=3);return d}function Ia(){var a=!1;if(Ya._metrika.hitParam[aa]){if(1!=v||Ya._metrika.counters[aa])return!1;a=!0}Ya._metrika.counters[aa]=l;Ya._metrika.hitParam[aa]=1;l._webvisor=!q&&(t&&t.webvisor||Eb||Fb);l._directCampaign=t&&t.directCampaign;t&&t.trackHash&&l.trackHash(!0);if(!q&&!a){l.replacePhones();var f=new Da({counterId:b}),p=f.read("visorc")||va(Jb);
"b"!=p&&"w"!=p&&(p="");if(!pb()||Ka("opera mini"))p="b";Wa=E();var a=new cb({protocol:ha,counterType:v,counterId:b}),e={ut:Pa,he:t?~~t.httpError:0,ad:1==v&&d.Ya&&d.Ya.Direct?!0:!1,saveRef:!0};a.sendHit(O.href,V(),c.referrer,g,e,p,function(a){Ga||(Ga=E());a=a||{};var e=a.webvisor||{},g=[];if(qa){var s=+e.recp;if(!isFinite(s)||0>s||1<s)p="w";p||(p=Oa%1E4/1E4<s?"w":"b");f.create("visorc",p,30);"w"==p?(K(g,"visor"),s=e.arch_type,(e=e.urls)&&s&&qa.uploadPages(e,s)):qa.stop()}Ca.init(g);s=a.mp2;g=b;a=l;
e="."+O.host.replace(/^www\./,"");la("_ym_mp2_substs_"+g,"",-1,e);if(s){var q="_ym_mp2_track_"+g;b:{var n=s.conditions;if(n&&n.length)for(var v=0;v<n.length;v++){var r;if("ref"==n[v].type)r=xa(n[v]);else if(r="adv"==n[v].type){var k=n[v],A=Ya._metrika.counter._directCampaign,B=k.ServiceNamePattern,za=k.RefererPattern;r=A?k.direct_orders:k.direct_camp;var hb=c.referrer,L=O.search,L=L&&L.replace(/^\?/,""),y={};if(L)for(var L=L.split("&"),x=0;x<L.length;x++){var z=L[x].split("=");y[oa(z[0])]=oa(z[1])}for(var L=
ya(O.search,O.hash),x={},z=["source","medium","campaign","term","content"],t=0;t<z.length;t++)y["utm_"+z[t]]&&(x[z[t]]=y["utm_"+z[t]]);t=A?"direct.yandex.ru":L&&L.service||x.source;z=!1;if(!z&&B&&B.length)for(var u=0;u<B.length;u++)if(RegExp(B[u],"i").test(t)){z=!0;break}if(!z&&za&&za.length)for(B=0;B<za.length;B++)if(RegExp(za[B],"i").test(hb)){z=!0;break}!z&&k.google_adwords&&y.gclid&&(z=!0);!z&&k.yandex_direct&&y.yclid&&(z=!0);if(z&&r&&r.length&&(z=!1,k=A||L&&L.campaign||x&&x.campaign))for(A=0;A<
r.length;A++)if(r[A]==k){z=!0;break}r=z}if(r){n[v].track_id&&la(q,n[v].track_id,43200,e);break b}}}(q=va(q))&&s.substs&&(s=s.substs[q])&&(la("_ym_mp2_substs_"+g,w(s),0,e),g=na(s),a.params("__ym",g?"mp_trackid":"mp_trackid_bad",q))}T(d,"load",l.replacePhones);l._inited=!0})}La();t&&(t.enableAll?l.enableAll():(t.clickmap&&l.clickmap(t.clickmap),t.trackLinks&&l.trackLinks(t.trackLinks),t.accurateTrackBounce&&l.accurateTrackBounce(t.accurateTrackBounce),t.ad&&ad()));l._webvisor&&(qa=new qb(b,v,t,Oa,Ca,
l))}function wa(a){var b={delay:Fa};switch(typeof a){case "string":b.on=!0;break;case "object":b.on=!0;b.delay="number"!=typeof a.delay?Fa:a.delay;break;case "boolean":b.on=a;break;default:return}l._trackLinks=b}function La(){wa(!1);T(c,"click",function(a){l._trackLinks.on&&Za(a)})}function Za(a){var b=u(a);if(b){var c=!1,e=""+b.href,d=e?e.split(/\?/)[0]:"",g=function(a){var c=Kb(b.innerHTML?b.innerHTML.toString().replace(/<\/?[^>]+>/gi,""):"");R.sendClickLink(e,e==c?"":c,a)},h=function(){return U(a,
b)?l._trackLinks.delay:0};if(nb.test(d)||nb.test(e)||k(e,fa)||k(d,fa))c=!0;var s=ma(b,"ym-disable-tracklink"),d=ma(b,"ym-external-link");s||(s={ln:!0,dl:c},d?(s.delay=h(),g(s)):M(F().hostname,b.hostname)?c&&(s.ln=!1,s.delay=h(),g(s)):e&&-1!=e.search(/^ *(data|javascript):/i)||(s.ut=Ea,s.delay=h(),g(s)))}}function $a(a,b){function p(){if(!l){k&&clearTimeout(k);var c=b,e;e=n?r:r+E()-v;c-=e;0>c&&(c=0);k=S(function(){l=!0;h(!1);a()},c)}}function e(){n=s=q=!0;r+=E()-v;v=E();p()}function g(){s||q||(r=0);
v=E();s=q=!0;n=!1;p()}function m(){q||(s=!0,n=!1,q=!0,p())}function h(a){for(var b=0;b<B.length;b+=3)a?T(B[b],B[b+1],B[b+2]):Ma(B[b],B[b+1],B[b+2])}var s=!1,q=!1,n=!0,r=0,v=E(),k=null,l=!1;if(ta)S(a,b);else{var B=[d,"blur",e,d,"focus",g,c,"click",m,c,"mousemove",m,c,"keydown",m,c,"scroll",m];h(!0);p()}}function ab(a){function b(){var a=F().hash.split("#")[1];if("undefined"==typeof a)return!1;var c=a.indexOf("?");0<c&&(a=a.substring(0,c));return a}var c=b();(function C(){var d=b();d!==c&&(a(),c=d);
Sa=S(C,200)})()}function Na(a){D=lastReferrer=Qa;a={ut:Pa,ad:1==v&&d.Ya&&d.Ya.Direct?!0:!1,wh:!0,saveRef:!0};R.sendAjaxHit(F().href,V(),D,a);Qa=F().href}function bb(a){function f(){var a=c.documentElement;return Math.max(a.scrollWidth,c.body.scrollWidth,a.clientWidth)}function p(a){function b(a){a=a.getBoundingClientRect();var f=c.body,e=c.documentElement,p=a.left+(d.pageXOffset||e.scrollLeft||f.scrollLeft)-(e.clientLeft||f.clientLeft||0);return{top:Math.round(a.top+(d.pageYOffset||e.scrollTop||f.scrollTop)-
(e.clientTop||f.clientTop||0)),left:Math.round(p)}}return a.getBoundingClientRect?b(a):function(a){for(var b=0,c=0;a;)b+=parseInt(a.offsetTop),c+=parseInt(a.offsetLeft),a=a.offsetParent;return{top:b,left:c}}(a)}function e(a){return a.toString().toUpperCase()}function g(a){if(null==a.pageX&&null!=a.clientX){var b=c.documentElement,f=c.body;a.pageX=a.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}return{x:a.pageX,
y:a.pageY}}function m(a){for(var b=e(a.nodeName);a.parentNode&&"BODY"!=b&&"HTML"!=b;){if("A"==b||"INPUT"==b||"TEXTAREA"==b)return!0;a=a.parentNode;b=a.nodeName}return!1}for(var h=this,s=0,q=null,n="A B BIG BODY BUTTON DD DIV DL DT EM FIELDSET FORM H1 H2 H3 H4 H5 H6 HR I IMG INPUT LI OL P PRE SELECT SMALL SPAN STRONG SUB SUP TABLE TBODY TD TEXTAREA TFOOT TH THEAD TR U UL ABBR AREA BLOCKQUOTE CAPTION CENTER CITE CODE CANVAS DFN EMBED FONT INS KBD LEGEND LABEL MAP OBJECT Q S SAMP STRIKE TT ARTICLE AUDIO ASIDE FOOTER HEADER MENU METER NAV PROGRESS SECTION TIME VIDEO NOINDEX NOBR".split(" "),
k=59,l=String.fromCharCode,x={},t=0;t<n.length;t++)x[n[t]]=l(k),l(k),k++;this.handler=function(a){var n=c.getElementsByTagName("body")[0];if(!d.ymDisabledClickmap&&!ma(n,"ym-clickmap-ignore")){if(h._prefs.hasQuota){if(!h._prefs.quota)return;h._prefs.quota--}var k=a.target||a.srcElement;3==k.nodeType&&(k=k.parentNode);var n=e(k.nodeName),l=g(a),y;a.which||a.button===ia||(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);y=a.which;if(y=2!=y&&3!=y||"A"==n)if(y=k.offsetHeight,y=!(0===k.offsetWidth&&0===
y||k.style&&"none"===k.style.display)){b:{for(y=k;y.parentNode;){if(ma(y,"ym-clickmap-ignore")){y=!0;break b}y=y.parentNode}y=!1}if(y=!y){b:{y=h._prefs.ignoreTags;for(var t=0;t<y.length;t++)if(e(y[t])==e(n)){y=!0;break b}y=!1}y=!y&&h._prefs.filter(k,n)}}if(y){n=E();k={dom:k,x:l.x,y:l.y,time:n};if((l=50<n-s)&&!(l=!h._prefs.ignoreSameClicks)){if(l=q){y=Math.abs(l.x-k.x);var t=Math.abs(l.y-k.y),z=k.time-l.time,l=l.dom==k.dom&&2>y&&2>t&&1E3>z?!0:!1}else l=!1;l=!l}if(l&&"MetrikaPlayer"!=d.name){if(l=a.target||
a.srcElement){3==l.nodeType&&(l=l.parentNode);for(y=e(l.nodeName);l.parentNode&&l.parentNode.nodeName&&("A"!=y&&"AREA"!=y||!l.href);)l=l.parentNode,y=e(l.nodeName);y=l.href?l:!1}else y=!1;l=!1;y&&U(a,y)&&!M(F().hostname,y.hostname)&&(l=!0);y=ob;var z=g(a),t=z.x,z=z.y,u=a.target||a.srcElement,w=h._prefs,Q=p(u),A="";a=F().href;switch(w.mode){case "fixed":A="0";m(u)&&(A+="u");break;case "centered":A="1";Q=Math.floor(f()/2);t=t>Q?t-Q+32768:t;m(u)&&(A+="u");break;default:A=e(u.nodeName);A="BODY"==A||"HTML"==
A?f():u.offsetWidth;w=e(u.nodeName);"BODY"==w||"HTML"==w?(w=c.documentElement,w=Math.max(w.scrollHeight,c.body.scrollHeight,w.clientHeight)):w=u.offsetHeight;A||(A=1);w||(w=1);t=Math.floor(65535*(t-Q.left)/A);z=Math.floor(65535*(z-Q.top)/w);for(Q="";u.parentNode&&"BODY"!=e(u.nodeName)&&"HTML"!=e(u.nodeName);){Q+=x[u.nodeName]||"*";b:{for(var A=u.parentNode,D=w=0;D<A.childNodes.length;D++)if(u.nodeName==A.childNodes[D].nodeName){if(u==A.childNodes[D]){A=w;break b}w++}A=0}Q+=A||"";u=u.parentNode}A=
r(Q,128)}z=["rn",ka(),"x",t,"y",z,"t",Math.floor(Math.floor(E()-Ib)/100),"p",A];Y?z=z.concat("wh","1"):a=a?a.replace(/\#.*$/,""):a;"function"==typeof h._prefs.urlFilter&&(a=h._prefs.urlFilter(a));t=fc;a=["page-url",r(a,Va),"pointer-click",z.join(":")];a=["cnt-class",v].concat(a);z=[];for(u=0;u<a.length;u+=2)(Q=a[u+1])&&(z[z.length]=a[u]+"="+Q);a=Aa+t+b+"?"+z.join("&");y(a,l?h._prefs.delay:0)}s=n;q=k}}};this.setPrefs=function(a){function b(a,c){return!0}this._prefs="undefined"==typeof a||!1===a||!0===
a?{filter:b,ignoreTags:[],mode:"",delay:Fa,quota:0,hasQuota:!1,ignoreSameClicks:!0}:{filter:a.filter||b,ignoreTags:a.ignoreTags||[],mode:a.mode||"",delay:"undefined"==typeof a.delay?Fa:a.delay,quota:a.quota||0,hasQuota:!!a.quota,ignoreSameClicks:"undefined"==typeof a.ignoreSameClicks?!0:!1,urlFilter:a.urlFilter}};this.updateStatus=function(a){switch(typeof a){case "undefined":this.start(!0);break;case "boolean":a?this.start(a):this.stop();break;case "object":this.start(a)}};this._start=!1;this.start=
function(a){this.setPrefs(a);this._start||T(c,"click",this.handler,!0);this._start=!0};this.stop=function(){this._start&&Ma(c,"click",this.handler,!0);this._start=!1};this.start(a)}var l=this,Oa=Math.round(1073741824*Math.random()),aa,Pa="",Aa=ha,Qa=Ua=O.href,D="",t;Ya._metrika.counter||(Ya._metrika.counter=l);"object"==typeof b&&(t=b,q=b.defer,Pa=b.ut,v=b.type,g=b.params,Aa=b.onlyHttps?"https:":ha,b=b.id);b=b||0;v=v||0;aa=b+":"+v;if(Ya._metrika.counters[aa])return Ya._metrika.counters[aa];G.forEachKey=
function(a,b,c){for(var e in a)a.hasOwnProperty(e)&&b.call(c,e,a[e],a)};G.inArray=function(a,b){for(var c=0;c<a.length;c++)if(a[c]==b)return!0;return!1};var X=ga.inherit({senderTypes:["htmlfile","xhr","img"],postParams:[],_initComponent:function(){X.superclass._initComponent.apply(this,arguments);this._htmlfile=this._createHtmlfile();this._senders={htmlfile:this._sendByHtmlfile,xhr:this._sendByXhr,img:this._sendByImg,script:this._sendByScript,multipart:this._sendMultipart}},send:function(a,b,c,e){c=
c||function(){};a=this._createRequestParams(a,b);for(b=0;b<this.senderTypes.length&&!this._senders[this.senderTypes[b]].call(this,a,c,e);b++);},_sendByHtmlfile:function(a,b,c){return this._htmlfile?(this._submitForm(this._htmlfile,a,"application/x-www-form-urlencoded",b,c),!0):!1},_sendByXhr:function(a,b,c){if("XMLHttpRequest"in d){var e=new XMLHttpRequest;if("withCredentials"in e)return e.open(a.method,a.url,!0),e.withCredentials=!0,"POST"==a.method&&e.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),
e.send(a.postBody),N(function(){4==e.readyState?200==e.status&&b.call(c):S(arguments.callee,50,"transport.xhr")},"transport.xhr")(),!0}return!1},_sendByImg:function(a,b,c){var e=new Image;e.onload=N(function(){b.call(c)},"transport.img");e.src=a.onlyGetUrl;return!0},_sendByScript:function(a,b,p){var e="_ymjsp"+ka(),g=c.createElement("script");d[e]=N(function(a){try{delete d[e]}catch(c){d[e]=ia}b.call(p,a);g.parentNode&&g.parentNode.removeChild(g)},"transport.script");a=a.onlyGetUrl;a+=(-1<a.indexOf("?")?
"&":"?")+"wmode=5&callback="+e;g.type="text/javascript";g.src=a;a=c.getElementsByTagName("head")[0];a.insertBefore(g,a.firstChild);return!0},_sendMultipart:function(a,b,d){this._submitForm(this._htmlfile||c,a,"multipart/form-data",b,d);return!0},_submitForm:function(a,b,c,e,d){var g="ifr"+Math.round(1E10*Math.random()),h=a.createElement("div");h.style.position="absolute";h.style.left="-99999px";h.style.top="-99999px";c=['<iframe name="',g,'"></iframe>','<form action="',b.url,'" method="'+b.method+
'" target="',g,'" enctype="',c,'">'];for(var s in b.postParams)b.postParams.hasOwnProperty(s)&&K(c,'<textarea name="',s,'"></textarea>');K(c,"</form>");h.innerHTML=c.join("");a.body.appendChild(h);s=h.getElementsByTagName("form")[0];var l=h.getElementsByTagName("iframe")[0],k;for(k in b.postParams)b.postParams.hasOwnProperty(k)&&(s[k].value=b.postParams[k]);l.onload=N(function(){l.onload=null;e.call(d)},"transport.form");s.submit();S(function(){a.body.removeChild(h)},1E4,"transport.form")},_createRequestParams:function(a,
b){var c={},e={};G.forEachKey(b,function(a,b){G.inArray(this.postParams,a)?e[a]=b:c[a]=b},this);a+=-1<a.indexOf("?")?"&":"?";return{method:this.postParams.length?"POST":"GET",url:a+Z(c),postBody:this.postParams.length?Z(e):null,postParams:e,onlyGetUrl:a+Z(b)}},_createHtmlfile:function(){try{if(d.ActiveXObject){var a=new ActiveXObject("htmlfile");a.open();a.write("<html><body></body></html>");a.close();return a}}catch(b){}return null}}),ba=X.inherit({protocol:"http:",host:"mc.yandex.ru",resource:"",
counterId:"",counterType:0,retry:!1,_initComponent:function(){ba.superclass._initComponent.apply(this,arguments);this.retry&&(this._storage=new da)},send:function(a,b,c,e){if(this.retry&&this._storage.isEnabled()){b.rqnl=b.rqnl||0;b.rqnl++;for(var d=this._storage.get("retryReqs")||{},g=0;d[g];)g++;d[g]={protocol:this.protocol,host:this.host,resource:this.resource,counterId:this.counterId,params:a,browserInfo:b,time:+new Date};this._storage.set("retryReqs",d)}var d=[this.protocol,"//",this.host,"/"+
this.resource+"/"+this.counterId].join(""),h=[];if(b)for(var k in b)b.hasOwnProperty(k)&&b[k]&&h.push(k,b[k]);h.length&&(a["browser-info"]=h.join(":"));this.counterType&&(a["cnt-class"]=this.counterType);return ba.superclass.send.call(this,d,a,function(){if(this.retry&&this._storage.isEnabled()){var a=this._storage.get("retryReqs")||{};delete a[g];this._storage.set("retryReqs",a)}c&&c.apply(e,arguments)},this)}});ba.retransmit=function(){var a=new da,b=a.get("retryReqs")||{};a.remove("retryReqs");
G.forEachKey(b,function(a,b){b.time&&b.time+6E5>+new Date&&(new ba({protocol:b.protocol,host:b.host,resource:b.resource,counterId:b.counterId,retry:!0})).send(b.params,b.browserInfo)})};G.trim=function(a,b){a=String(a).replace(/^\s+|\s+$/g,"");b&&a.length>b&&(a=a.substr(0,b));return a};var J={_jScriptVersion:0,getJScriptVersion:function(){J._jScriptVersion||(J._jScriptVersion=(new Function("return /*@cc_on @_jscript_version @*/;"))());return J._jScriptVersion},_silverlightVersion:"",getSilverlightVersion:function(){if(!J._silverlightVersion)if(d.ActiveXObject)try{var a=
new ActiveXObject("AgControl.AgControl"),b=function(a,b,c,e){for(;a.isVersionSupported(b[0]+"."+b[1]+"."+b[2]+"."+b[3]);)b[c]+=e;b[c]-=e},c=[1,0,0,0];b(a,c,0,1);b(a,c,1,1);b(a,c,2,1E4);b(a,c,2,1E3);b(a,c,2,100);b(a,c,2,10);b(a,c,2,1);b(a,c,3,1);J._silverlightVersion=c.join(".")}catch(e){}else if(a=ra.plugins["Silverlight Plug-In"])J._silverlightVersion=a.description;return J._silverlightVersion},_flashVersion:0,getFlashVersion:function(){if(!J._flashVersion){var a=d.navigator;if("undefined"!=typeof a.plugins&&
"object"==typeof a.plugins["Shockwave Flash"]){var b=a.plugins["Shockwave Flash"].description;b&&(a=a.mimeTypes,"undefined"==typeof a||!a["application/x-shockwave-flash"]||a["application/x-shockwave-flash"].enabledPlugin)&&(J._flashVersion=b.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,"."))}else if("undefined"!=typeof d.ActiveXObject)try{if(b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var c=b.GetVariable("$version");c&&(J._flashVersion=c.split(" ")[1].replace(/,/g,".").replace(/[^.\d]/g,
""))}}catch(e){}}return J._flashVersion},getLanguage:function(){return(d.navigator&&(ra.language||ra.browserLanguage)||"").toLowerCase()}},pa=ba.inherit({resource:"watch",retry:!0,postParams:["site-info"],senderTypes:["htmlfile","xhr","img"],trimParams:!1,sendHit:function(a,b,c,e,d){this._hitExt(a,b,c,e,{ut:d,ar:!0,saveRef:!0})},sendAjaxHit:function(a,b,c,e){this._hitExt(a,b,c,null,e)},sendParams:function(a){this._hitExt(F().href,"","",a,{ar:!0,pa:!0,onlyData:!0})},sendGoal:function(a,b){if(!/[\/&=?#]/.test(a)){var d=
a?"goal://"+F().hostname+"/"+encodeURIComponent(a):F().href,e=V(),g=a?F().href:c.referrer;this._hitExt(d,e,g,b,{ar:!0})}},sendClickLink:function(a,b,c){this._hitExt(a,b,F().href,null,c)},sendExtLink:function(a,b,c,e){this._hitExt(a,"",F().href,e,{ar:!0,ln:!0,ut:Ea})},sendFileUpload:function(a,b,c,e){this._hitExt(a,"",F().href,e,{ar:!0,ln:!0,dl:!0})},sendNotBounce:function(a){this._hitExt(F().href,"","",null,{cl:a,ar:!0,nb:!0,onlyData:!0})},sendVideoAction:function(a,b,c,e){this._hitExt(c,e||"","",
null,{ar:!0,va:a,vt:+b})},sendSocialClick:function(a,b,c){this._hitExt(c||F().href,"","",null,{ar:!0,sn:G.trim(a,64),sa:G.trim(b,64)})},_hitExt:function(a,b,c,e,g,m,h,k){g=g||{};m=m||{};if("MetrikaPlayer"!=d.name){c="undefined"!=typeof c?c:Ua;var l={};g.ar&&!g.onlyData&&(c=this._prepareHitUrl(c),a=this._prepareHitUrl(a));g.reqNum=!0;var n=G.trim(c,Va);n&&(l["page-ref"]=n);(a=G.trim(a,Va))&&(l["page-url"]=a);-1!=F().hostname.search(/(?:^|\.)(?:ya|yandex|narod|narod2)\.(?:\w+|com\.\w+)$/)?Ea&&(l.ut=
Ea):"undefined"!=typeof g.ut&&(a=G.trim(g.ut,64))&&(l.ut=a);e&&(e=w(e),this.trimParams&&(e=G.trim(e,Hb)),e&&(l["site-info"]=e));g.saveRef&&(Ua=c);G.mixin(m,W(b,g,!0));this.send(l,m,h,k)}},_prepareHitUrl:function(a){var b=F(),c=b.host,b=b.href;if(!a)return b;if(-1!=a.search(/^\w+:\/\//))return a;var e=a.charAt(0);if("?"==e)return e=b.search(/\?/),-1==e?b+a:b.substr(0,e)+a;if("#"==e)return e=b.search(/#/),-1==e?b+a:b.substr(0,e)+a;if("/"==e){if(e=b.search(c),-1!=e)return b.substr(0,e+c.length)+a}else return c=
b.split("/"),c[c.length-1]=a,c.join("/");return a}}),cb=pa.inherit({senderTypes:["script"],retry:!1,trimParams:!0,sendHit:function(a,b,c,e,d,g,h,k){this._hitExt(a,b,c,e,d,g?{vc:g}:null,h,k)}});d.postMessage&&d.addEventListener&&T(d,"message",function(a){if(a.data)try{var b="string"==typeof a.data?JSON.parse(a.data):a.data;"object"==typeof b&&"ym_counters"==b.name&&a.source.postMessage({name:"ym_counters",data:d.Ya.Metrika.counters()},"*")}catch(c){}},!1);ba.retransmit();var Ca=new function(a,b,g){function e(a,
b,c){if(l)k(l,m(a,b,0),c,"application/x-www-form-urlencoded");else{if("XMLHttpRequest"in d){var e=new XMLHttpRequest;if("withCredentials"in e){var f=c?"POST":"GET";a=m(a,b,"POST"==f?1:0);e.open(f,a,!0);e.withCredentials=!0;"POST"==f&&e.setRequestHeader("Content-Type","application/x-www-form-urlencoded");e.send("POST"==f?Z(c):null);return}}for(f in c)c.hasOwnProperty(f)&&(b[f]=c[f]);(new Image).src=m(a,b,0)}}function k(a,b,c,e){var d="ifr"+Math.round(1E10*Math.random()),f=a.createElement("div");f.style.position=
"absolute";f.style.left="-99999px";f.style.top="-99999px";b=['<iframe name="',d,'"></iframe>','<form action="',b,'" method="post" target="',d,'" enctype="',e,'">'];for(var g in c)c.hasOwnProperty(g)&&K(b,'<textarea name="',g,'"></textarea>');K(b,"</form>");f.innerHTML=b.join("");a.body.appendChild(f);g=f.getElementsByTagName("form")[0];for(var h in c)c.hasOwnProperty(h)&&(g[h].value=c[h]);g.submit();S(function(){a.body.removeChild(f)},1E4)}function m(c,e,d){e["browser-info"]=["ct",d,e["browser-info"]].join(":");
return a+"//"+b+"/"+c+"/"+g+"?"+Z(e)}function h(){if(d.ActiveXObject){var a=new ActiveXObject("htmlfile");a.open();a.write("<html><body></body></html>");a.close();return a}return null}try{var l=h()}catch(n){}var q="",r=[];return{send:function(a,b,c,d){a?q?-1<q.indexOf("|"+a+"|")&&e(b,c,d):K(r,arguments):e(b,c,d)},sendMultipart:function(a,b,e,d){k(l||c,m(a,b,d),e,"multipart/form-data")},init:function(a){q="|"+a.join("|")+"|";for(a=0;a<r.length;a++)-1<q.indexOf("|"+r[a][0]+"|")&&e(r[a][1],r[a][2],r[a][3]);
r.length=0}}}(Aa,"mc.yandex.ru",b),R=new pa({protocol:Aa,counterType:v,counterId:b}),qa;l.replacePhones=N(function(){try{var a=va("_ym_mp2_substs_"+b);if(a){var c=(new Function("return "+a))();c&&na(c)}}catch(d){}},"counter.replacePhones");l.reachGoal=N(function(a,b){R.sendGoal(a,b);return!0},"counter.reachGoal");l.trackLinks=N(wa,"counter.trackLinks");l.hit=N(function(a,b,c,e,d){a&&R.sendHit(a,b,c,e,d)},"counter.hit");l.params=N(function(a){if(a){var b=arguments.length;if(1<b){for(var c={},e=c,d=
0;d<b-1;d++){var g=""+arguments[d];e[g]={};d<b-2&&(e=e[g])}e[g]=arguments[b-1];a=c}R.sendParams(a)}},"counter.params");l.file=N(function(a,b,c,e){a&&R.sendFileUpload(a,b,c,e)},"counter.file");l.extLink=N(function(a,b,c,e){a&&R.sendExtLink(a,b,c,e)},"counter.extLink");l.notBounce=N(function(){var a=0;Wa&&Ga&&(a=Ga-Wa);R.sendNotBounce(a)},"counter.notBounce");var fa=[];l.addFileExtension=function(a){"string"==typeof a?fa.push(a):fa=fa.concat(a)};l.clickmap=function(a){l._clickmap?l._clickmap.updateStatus(a):
l._clickmap=new bb(a)};l.accurateTrackBounce=function(a){"number"!=typeof a&&(a=15E3);if(!l._isAccurateTrackBounce){l._isAccurateTrackBounce=!0;var d=new da({counterId:b}),g=d.get("lastHit");d.set("lastHit",+new Date);((d=d.get("lastHit"))&&(!g||g<d-18E5)||!P(c.referrer,F().href)||0.1>Math.random())&&$a(function(){l.notBounce()},a)}};var Sa=null,Y=!1;l.trackHash=function(a){!1===a?Y&&("onhashchange"in d?Ma(d,"hashchange",Na):clearInterval(Sa),Y=!1):Y||("onhashchange"in d?T(d,"hashchange",Na):ab(Na),
Y=!0);l._trackHash=Y};l.video=N(function(a,b,c,e){var d=["end","play","pause","seek"];if(a&&c){a:{for(var g=0,h=d.length;g<h;g+=1)if(a===d[g]){d=g;break a}d=-1}-1!==d&&R.sendVideoAction(a,b,c,e)}},"counter.video");l.social=N(function(a,b,c){a&&b&&R.sendSocialClick(a,b,c)},"counter.social");l.enableAll=function(){l.trackLinks(!0);l.clickmap(!0);l.accurateTrackBounce()};l.pause=Xa;l.uploadPage=function(){};l._performanceTiming=n;b&&Ia()};d.Ya.Metrika.counters=function(){var b=[];Ia(d.Ya._metrika.counters,
function(c,v){var q=v.split(":");b.push({id:+q[0],type:+q[1],accurateTrackBounce:c._isAccurateTrackBounce,clickmap:c._clickmap&&c._clickmap._start,oldCode:!!d.ya_cid,trackHash:!!c._trackHash,trackLinks:c._trackLinks&&c._trackLinks.on,webvisor:!!c._webvisor})});return b};var ob=function(b,c){var v=/(&|\?)browser-info=rqnl:(\d+):/;b=b.match(v)?b.replace(v,"$1browser-info=rqnl:"+(+RegExp.$2+1)+":"):b.replace(/(&|\?)browser-info=/,"$1browser-info=rqnl:1:");v=new Image;ua.add(b,c);v.onload=function(){ua.deleteHit(b)};
v.src=b;"function"==typeof d.ymLog&&d.ymLog(b)},ua=function(){var b=new da;return{init:function(){this.send();this._events()},_events:function(){var b=this,c=function(){b._wasEnd||(b._wasEnd=!0,b._onEnd())};T(d,"beforeunload",c);Wb||T(d,"unload",c)},_onEnd:function(){var c=[],d=0;this._update(c);for(var q=0;q<c.length;q++)c[q].delay>d&&(d=c[q].delay);d&&Xa(d);b.set("defer",c)},get:function(){return b.get("defer")},add:function(c,d){var q=[{url:c,delay:d,time:E()}];this._update(q);b.set("defer",q)},
deleteHit:function(c){var d=[];this._update(d,c);b.set("defer",d)},_update:function(b,c){var d=this.get(),r=E();if(d&&ja(d)&&d.length)for(var w=0;w<d.length;w++){var k=d[w];k.url&&k.url!=c&&k.time>r-4E3&&b.push(k)}return b},send:function(){var b=this.get(),c=E();if(b){if(ja(b)&&b.length)for(var d=0;d<b.length&&10>d;d++){var r=b[d];r&&r.url&&r.time>c-36E5&&this._isCorrectUrl(r.url)&&ob(r.url)}this.clear()}},_isCorrectUrl:function(b){return 0===b.replace(/^https?:/,"").indexOf("//mc.yandex.ru/")},clear:function(){b.remove("defer")}}}();
ua.init();d.ya_cid&&new Ya.Metrika(d.ya_cid,d.ya_params,d.ya_class);d.ya_cid&&!d.ya_hit&&(d.ya_hit=function(b,c){Ya._metrika.counter&&Ya._metrika.counter.reachGoal(b,c)});var M=d.yandex_metrika_callback,U=d.yandex_metrika_callbacks;"function"==typeof M&&M();if("object"==typeof U)for(M=0;M<U.length;M++){var ea=U[M];ea&&(U[M]=null,ea())}xa("yandex_metrika_callback");xa("yandex_metrika_callbacks");U=["link","click","scroll","res"];for(M=0;M<U.length;M++)if(ea=U[M]+"map",-1!=O.href.search("ym_playback="+
ea)){na(ha+"//metrika.yandex.ru/js/"+ea+"/_loader.js");break}d.Ya.Metrika.informer=function(b){var c=!!Ya.Metrika._informer;Ya.Metrika._informer=b;c||na(ha+"//mc.yandex.ru/metrika/informer.js")};"complete"==c.readyState?ya():T(d,"load",ya);(function(){var b=function(){var b=c.getElementsByTagName("body")[0],d=c.createElement("iframe");d.src="http://awaps.yandex.ru/0/2153/0.htm?ad=165746&pl=93829&rnd="+ka();d.setAttribute("style","position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;visibility:hidden");
b.appendChild(d);S(function(){b.removeChild(d)},1E4)},g=function(){d.removeEventListener("load",g,!1);b()},v=d.performance;ka(200)||Ya._metrika.isAd||(Ya._metrika.isAd=!0,"http:"==ha&&"object"==typeof v&&d.addEventListener&&(v.timing&&v.timing.loadEventStart?b():d.addEventListener("load",g,!1)))})()})(this,this.document);
